 :root {
        --bg1: #4b2eff;
        --bg2: #00c2ff;
        --text: #e9edff;
        --muted: #b8c0ff;
        --glass: rgba(255, 255, 255, 0.12);
        --glass-strong: rgba(255, 255, 255, 0.18);
        --line: rgba(255, 255, 255, 0.28);
        --shadow: 0 18px 42px rgba(10, 14, 52, 0.3);
        --radius: 18px;
        --ok: #4ade80;
      }

      * {
        box-sizing: border-box;
      }

      html,
      body {
        margin: 0;
        padding: 0;
        font-family:
          "Inter",
          system-ui,
          -apple-system,
          Segoe UI,
          Roboto,
          sans-serif;
        color: var(--text);
        background: radial-gradient(
          circle at 0% 0%,
          #5f45ff 0%,
          #2e1f8f 45%,
          #120f36 100%
        );
        min-height: 100%;
        scroll-behavior: smooth;
      }

      body::before {
        content: "";
        position: fixed;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(
          140deg,
          rgba(117, 92, 255, 0.3),
          rgba(0, 195, 255, 0.2)
        );
        z-index: -1;
      }

      .container {
        width: min(1120px, 92vw);
        margin: 0 auto;
        padding: 2.5rem 0 4rem;
      }

      .glass {
        background: var(--glass);
        border: 1px solid var(--line);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
      }

      div.hero {
        padding: 2rem;
        margin-bottom: 1.5rem;
        animation: fadeUp 420ms ease;
      }

      h1,
      h2,
      h3 {
        margin: 0 0 0.7rem;
      }

      h1 {
        font-size: clamp(1.8rem, 5vw, 3rem);
        line-height: 1.15;
        letter-spacing: -0.02em;
        color: #ffffff;
      }

      .subtitle {
        margin: 0;
        color: #ffffff;
        max-width: 62ch;
        font-size: clamp(0.98rem, 1.5vw, 1.12rem);
      }

      .btn {
        border: 0;
        cursor: pointer;
        border-radius: 12px;
        padding: 0.82rem 1rem;
        color: #fff;
        font-weight: 700;
        transition:
          transform 180ms ease,
          box-shadow 180ms ease,
          opacity 180ms ease;
        background: linear-gradient(125deg, var(--bg1), var(--bg2));
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
      }

      .btn:hover {
        transform: translateY(-2px);
      }
      .btn:active {
        transform: translateY(0);
      }
      .btn.secondary {
        background: rgba(255, 255, 255, 0.18);
        border: 1px solid var(--line);
        box-shadow: none;
      }

      

      .layout {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 1rem;
      }

      @media (max-width: 900px) {
        .layout {
          grid-template-columns: 1fr;
        }
      }

      .panel {
        padding: 1rem;
        animation: fadeUp 480ms ease;
      }

      section.panel + section.panel {
  margin-top: 2rem;
}

      .panel h2 {
        font-size: 1.2rem;
        color: #f6f7ff;
        margin-bottom: 0.95rem;
      }

      .form-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem;
      }

      .form-grid .full {
        grid-column: 1 / -1;
      }

      @media (max-width: 680px) {
        .form-grid {
          grid-template-columns: 1fr;
        }
      }

      label {
        font-weight: 600;
        font-size: 0.92rem;
        display: block;
        margin-bottom: 0.35rem;
        color: #f0f2ff;
      }

      input,
      select {
        width: 100%;
        border: 1px solid rgba(255, 255, 255, 0.25);
        background: rgba(19, 23, 65, 0.55);
        color: #eef1ff;
        padding: 0.75rem 0.85rem;
        border-radius: 12px;
        outline: none;
        transition:
          border-color 180ms ease,
          box-shadow 180ms ease;
      }

      input:focus,
      select:focus {
        border-color: #8ea0ff;
        box-shadow: 0 0 0 3px rgba(122, 148, 255, 0.25);
      }

      .emoji-field label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.6rem; /* same level as inputs */
  cursor: pointer;
}

.emoji-field input {
  width: 16px;
  height: 16px;
}

      .action-row {
        display: flex;
        gap: 0.7rem;
        flex-wrap: wrap;
        margin-top: 0.9rem;
      }

      .preview {
        padding: 1rem;
        margin-top: 1rem;
        background: linear-gradient(
          160deg,
          rgba(255, 255, 255, 0.13),
          rgba(255, 255, 255, 0.07)
        );
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.28);
      }

      .ig-box {
        border-radius: 16px;
        background: #151737;
        border: 1px solid #2b2f6d;
        padding: 0.9rem;
        min-height: 176px;
      }

      .ig-head {
        display: flex;
        align-items: center;
        gap: 0.7rem;
        margin-bottom: 0.65rem;
      }

      .avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: linear-gradient(135deg, #ffa53d, #ff4a85, #7156ff);
      }

      .handle {
        font-size: 0.88rem;
        color: #d0d5ff;
      }

      .bio-text {
        white-space: pre-line;
        line-height: 1.4;
        color: #f6f8ff;
        font-size: 0.95rem;
      }

      .results-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.6rem;
        margin: 1.4rem 0 0.85rem;
      }

      .results-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
        gap: 0.75rem;
      }

      .bio-card {
        padding: 0.9rem;
        border-radius: 14px;
        background: var(--glass-strong);
        border: 1px solid var(--line);
        transition:
          transform 200ms ease,
          background 200ms ease;
        animation: fadeUp 320ms ease;
      }

      .bio-card:hover {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, 0.22);
      }

      .bio-card p {
        margin: 0 0 0.7rem;
        font-size: 0.95rem;
        line-height: 1.4;
        white-space: pre-line;
      }

      .card-actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.55rem;
      }

      .icon-btn {
        border: 1px solid rgba(255, 255, 255, 0.32);
        border-radius: 10px;
        background: rgba(16, 20, 56, 0.5);
        color: #fff;
        cursor: pointer;
        padding: 0.42rem 0.6rem;
        font-size: 0.9rem;
      }

      .icon-btn:hover {
        background: rgba(33, 39, 95, 0.8);
      }
      .liked {
        color: #ff80aa;
      }

      .trending {
        margin-top: 1.2rem;
        padding: 1rem;
      }

      .trend-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 0.6rem;
        padding: 0;
        margin: 0;
        list-style: none;
      }

      .trend-item {
        background: rgba(24, 16, 66, 0.14);
        border: 1px solid rgba(255, 255, 255, 0.24);
        border-radius: 12px;
        padding: 0.65rem;
        font-size: 0.9rem;
        line-height: 1.35;
      }

      

      details {
        border: 1px solid rgba(255, 255, 255, 0.28);
        border-radius: 11px;
        padding: 0.7rem;
        background: rgba(255, 255, 255, 0.08);
        margin-top: 0.55rem;
      }

      summary {
        cursor: pointer;
        font-weight: 600;
      }

     

      .toast {
        position: fixed;
        right: 1rem;
        bottom: 1rem;
        z-index: 99;
        background: rgba(10, 12, 34, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.26);
        color: #fff;
        border-radius: 12px;
        padding: 0.75rem 0.9rem;
        opacity: 0;
        transform: translateY(10px);
        pointer-events: none;
        transition: all 220ms ease;
      }

      .toast.show {
        opacity: 1;
        transform: translateY(0);
      }

      @keyframes fadeUp {
        from {
          opacity: 0;
          transform: translateY(10px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      a {
  color: #00fbff;
  text-decoration: none;
  border-bottom: 2px solid rgb(8, 218, 255);
  transition: all 0.2s ease;
}

a:hover {
  color: hwb(64 5% 5%);
  border-bottom: 1px solid #ffffff;
}

/* 🔥 HERO LEFT + RIGHT LAYOUT */
.hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

/* Left content */
.hero-content {
  flex: 1;
}

/* Right image */
.hero-image {
  flex: 1;
  text-align: right;
}

/* Image style */
.hero-image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

/* 📱 Mobile responsive */
@media (max-width: 768px) {
  .hero-flex {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    text-align: center;
  }
}
/* 🔥 HOW TO IMAGE STYLE */
.how-to-image {
  margin-top: 1.2rem;
  text-align: center;
}

.how-to-image img {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.2);
}