    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      min-height: 100vh;
      background: #f8fafc;
      font-family: 'Inter', sans-serif;
      overflow-x: hidden;
    }

    /* ---------- TOP BAR (fully responsive) ---------- */
    .top-bar {
      background: #0f2b46;
      color: #fff;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      padding: clamp(8px, 2vh, 10px) 5%;
      align-items: center;
      font-size: clamp(12px, 3.5vw, 14px);
      position: relative;
      overflow: hidden;
      z-index: 1001;
      gap: clamp(8px, 2vw, 15px);
    }

    .top-bar::before {
      content: "";
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
      animation: shimmer 8s infinite;
      pointer-events: none;
    }

    @keyframes shimmer {
      0% { left: -100%; }
      20% { left: 200%; }
      100% { left: 200%; }
    }

    .top-bar i {
      margin-right: 5px;
      color: #ffd700;
    }

    .top-bar .fa-phone {
      animation: softPulse 2s infinite;
    }

    @keyframes softPulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.8; transform: scale(1.05); }
    }

    .top-bar select {
      padding: clamp(6px, 1.5vh, 8px) clamp(15px, 4vw, 20px);
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: #fff;
      border-radius: 30px;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: clamp(12px, 3.5vw, 14px);
      backdrop-filter: blur(5px);
      min-width: clamp(120px, 30vw, 140px);
      appearance: none;
      background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd700' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
      background-repeat: no-repeat;
      background-position: right 10px center;
      background-size: 16px;
    }

    .top-bar select:hover {
      background: rgba(255, 215, 0, 0.15);
      border-color: #ffd700;
      box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
      transform: translateY(-2px);
    }

    .top-bar select:focus {
      outline: none;
      border-color: #ffd700;
      box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
    }

    .top-bar select option {
      background: #0f2b46;
      color: #fff;
    }

    @media (max-width: 600px) {
      .top-bar { flex-direction: column; text-align: center; }
      .top-left { justify-content: center; flex-wrap: wrap; }
    }

    /* ---------- NAVBAR (fully responsive, slide-down) ---------- */
    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: clamp(10px, 2.5vh, 15px) 5%;
      background: #ffffff;
      box-shadow: 0 2px 10px rgba(0,0,0,0.03);
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      z-index: 999;
      position: relative;
    }

    .navbar.scrolled {
      background: rgba(10, 25, 45, 0.95);
      backdrop-filter: blur(10px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
      border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    }

    .navbar.scrolled nav a {
      color: #ffffff;
    }

    .navbar.scrolled .logo img {
      filter: brightness(0) invert(1);
    }

    .navbar.sticky {
      position: fixed;
      top: 0;
      width: 100%;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .navbar nav {
      display: flex;
      gap: clamp(15px, 3vw, 30px);
      align-items: center;
    }

    .navbar nav a {
      text-decoration: none;
      color: #1e293b;
      font-weight: 500;
      font-size: clamp(12px, 3vw, 14px);
      transition: 0.3s;
      position: relative;
    }

    .navbar nav a:after {
      content: "";
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 2px;
      background: #ffd700;
      transition: 0.3s;
    }

    .navbar.scrolled nav a:after {
      background: #ffd700;
    }

    .navbar nav a:hover:after,
    .navbar nav a.active:after {
      width: 100%;
    }

    .navbar nav a.active {
      color: #0f2b46;
      font-weight: 600;
    }

    .navbar.scrolled nav a.active {
      color: #ffd700;
    }

    /* CTA button style for LOGIN/SIGNUP link */
    .navbar nav a.cta-link {
      background: linear-gradient(145deg, #ffd700, #ffb800);
      color: #0f2b46;
      padding: 8px 20px;
      border-radius: 50px;
      font-weight: 700;
      border: 2px solid transparent;
      box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .navbar nav a.cta-link::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
      transition: left 0.6s;
    }

    .navbar nav a.cta-link:hover::before {
      left: 100%;
    }

    .navbar nav a.cta-link:hover {
      background: linear-gradient(145deg, #ffb800, #ffd700);
      transform: translateY(-3px);
      box-shadow: 0 10px 25px rgba(255, 215, 0, 0.5);
      border-color: #00ffff;
    }

    .navbar nav a.cta-link:after {
      display: none;
    }

    .navbar nav a.cta-link i {
      margin-right: 5px;
      transition: transform 0.3s;
    }

    .navbar nav a.cta-link:hover i {
      transform: rotate(90deg);
    }

    .navbar.scrolled nav a.cta-link {
      background: linear-gradient(145deg, #ffd700, #ffaa00);
      color: #0a1a2f;
      box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
    }

    .logo img {
      height: clamp(30px, 10vw, 60px);
      transition: all 0.3s ease;
    }

    .menu-toggle {
      display: none;
      font-size: clamp(22px, 6vw, 28px);
      cursor: pointer;
      color: #0f2b46;
      z-index: 1002;
      transition: transform 0.3s ease;
    }

    .navbar.scrolled .menu-toggle {
      color: #ffd700;
    }

    .menu-toggle:hover {
      transform: scale(1.1);
    }

    /* mobile menu – slide down (fully responsive) */
    @media (max-width: 992px) {
      .navbar {
        flex-wrap: wrap;
        position: relative;
      }

      .navbar nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0a1a2f;
        flex-direction: column;
        padding: 0 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        z-index: 998;
        transition: max-height 0.4s ease, padding 0.3s ease;
        max-height: 0;
        overflow: hidden;
        gap: 0;
        display: flex !important;
        pointer-events: auto;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
      }

      .navbar nav.active {
        max-height: 550px;
        padding: 15px 20px 25px;
        border-top: 1px solid rgba(255,215,0,0.3);
      }

      .navbar nav a {
        color: #ffffff;
        font-size: 16px;
        font-weight: 500;
        padding: 14px 15px;
        width: 100%;
        text-align: left;
        border-radius: 8px;
        opacity: 1;
        transform: none;
        transition: background 0.2s, color 0.2s, transform 0.2s;
        background: transparent;
        border: 1px solid transparent;
        letter-spacing: 0.5px;
        pointer-events: auto;
        margin: 2px 0;
      }

      .navbar nav a:hover {
        background: #ffd700;
        color: #0a1a2f;
        border-color: #ffd700;
        transform: translateX(5px);
      }

      .navbar nav a.active {
        background: #ffd700;
        color: #0a1a2f;
        font-weight: 600;
        border-color: #ffd700;
      }

      .navbar nav a.cta-link {
        background: rgba(255, 215, 0, 0.2);
        color: #ffd700;
        border: 1px solid #ffd700;
        box-shadow: none;
        padding: 14px 15px;
        border-radius: 8px;
      }

      .navbar nav a.cta-link:hover {
        background: #ffd700;
        color: #0a1a2f;
      }

      .navbar nav a.cta-link i {
        margin-right: 10px;
      }

      .navbar nav a:after {
        display: none;
      }

      .menu-toggle {
        display: block;
      }

      .menu-toggle.active i {
        transform: rotate(90deg);
      }

      .menu-toggle i {
        transition: transform 0.3s ease;
      }

      .menu-toggle.active i::before {
        content: "\f00d";
      }

      .nav-overlay {
        display: none;
      }

      body.menu-open {
        overflow: hidden;
      }
    }

    /* ---------- MAIN CARD (fully responsive) ---------- */
    .main-wrap {
      min-height: calc(100vh - 250px);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2rem 5%;
      background: radial-gradient(circle at 20% 30%, #0b1b2f, #030712);
      position: relative;
      overflow: hidden;
    }

    /* animated orbs (scaled responsively) */
    .orb {
      position: absolute;
      width: min(30vmax, 600px);
      height: min(30vmax, 600px);
      border-radius: 50%;
      background: radial-gradient(circle at 30% 30%, rgba(255, 215, 0, 0.25), rgba(0, 255, 255, 0.1) 70%);
      filter: blur(80px);
      z-index: 1;
      animation: orbFloat 25s infinite alternate ease-in-out;
    }
    .orb1 { top: -10vh; right: -5vw; background: rgba(255, 215, 0, 0.25); }
    .orb2 { bottom: -10vh; left: -5vw; background: rgba(0, 255, 255, 0.2); animation-delay: -5s; width: min(40vmax, 800px); height: min(40vmax, 800px); }
    .orb3 { top: 40%; left: 30%; background: rgba(255, 100, 200, 0.15); filter: blur(100px); animation: orbFloat2 30s infinite; }

    @keyframes orbFloat {
      0% { transform: translate(0, 0) scale(1); }
      100% { transform: translate(8%, 8%) scale(1.2); }
    }
    @keyframes orbFloat2 {
      0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
      50% { transform: translate(-5%, -10%) scale(1.3); opacity: 0.5; }
      100% { transform: translate(5%, 10%) scale(1); opacity: 0.3; }
    }

    .morph-card {
      position: relative;
      width: 100%;
      max-width: 1000px;
      min-height: min(750px, 100vh);
      background: rgba(10, 25, 45, 0.6);
      backdrop-filter: blur(16px) saturate(180%);
      -webkit-backdrop-filter: blur(16px) saturate(180%);
      border: 1px solid rgba(255, 215, 0, 0.25);
      border-radius: clamp(2rem, 5vw, 3.5rem);
      box-shadow: 0 40px 80px -20px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,215,0,0.1) inset, 0 0 40px rgba(0,255,255,0.2);
      z-index: 10;
      overflow: hidden;
      transition: box-shadow 0.4s;
    }
    .morph-card:hover {
      box-shadow: 0 50px 100px -15px #000, 0 0 0 2px rgba(255,215,0,0.3) inset, 0 0 60px cyan;
    }

    .card-inner {
      position: relative;
      width: 100%;
      height: 100%;
      min-height: min(650px, 95vh);
      display: flex;
    }
    .card-inner.signup-active {
      min-height: min(820px, 95vh);
    }

    .panel {
      flex: 1;
      width: 50%;
      height: 100%;
      padding: clamp(1.5rem, 5vh, 3rem) clamp(1.5rem, 4vw, 2.5rem);
      display: flex;
      flex-direction: column;
      justify-content: center;
      transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
      will-change: transform, opacity, box-shadow;
      backface-visibility: hidden;
      overflow-y: auto;
      position: relative;
    }

    .panel-login {
      background: rgba(5, 15, 28, 0.7);
      backdrop-filter: blur(10px);
      border-right: 1px solid rgba(255,215,0,0.2);
      border-radius: clamp(2rem, 5vw, 3.5rem) 0 0 clamp(2rem, 5vw, 3.5rem);
      z-index: 3;
      transform: translateX(0);
      opacity: 1;
    }

    .panel-signup {
      background: rgba(0, 0, 0, 0.3);
      backdrop-filter: blur(10px);
      border-left: 1px solid rgba(0,255,255,0.2);
      border-radius: 0 clamp(2rem, 5vw, 3.5rem) clamp(2rem, 5vw, 3.5rem) 0;
      z-index: 2;
      transform: translateX(0);
      opacity: 1;
    }

    /* animations for morphing effect */
    .card-inner.signup-active .panel-login {
      transform: translateX(-100%);
      opacity: 0;
      pointer-events: none;
    }
    .card-inner.signup-active .panel-signup {
      transform: translateX(-50%);
      box-shadow: -10px 0 40px rgba(0,255,255,0.3);
      border-left: 2px solid #ffd700;
      z-index: 10;
      width: 100%;
    }
    .card-inner.login-active .panel-signup {
      transform: translateX(100%);
      opacity: 0;
      pointer-events: none;
    }
    .card-inner.login-active .panel-login {
      transform: translateX(50%);
      box-shadow: 10px 0 40px rgba(255,215,0,0.3);
      border-right: 2px solid cyan;
      z-index: 10;
      width: 100%;
    }

    .panel h2 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: clamp(2rem, 6vw, 2.8rem);
      font-weight: 700;
      margin-bottom: 0.5rem;
      background: linear-gradient(130deg, #ffd700, #00ffff, #ffd700);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      letter-spacing: -0.02em;
      line-height: 1.2;
    }
    .panel .welcome-tag {
      font-size: clamp(0.9rem, 2.5vw, 1rem);
      color: rgba(255,255,255,0.6);
      margin-bottom: clamp(1.5rem, 4vh, 2.2rem);
      border-left: 3px solid #ffd700;
      padding-left: 1rem;
    }

    .input-group {
      margin-bottom: 1.8rem;
      position: relative;
    }
    .input-group i {
      position: absolute;
      left: 18px;
      top: 50%;
      transform: translateY(-50%);
      color: #ffd700;
      font-size: clamp(1rem, 3vw, 1.2rem);
      opacity: 0.8;
      transition: 0.2s;
      z-index: 2;
    }
    .input-group input {
      width: 100%;
      background: rgba(255,255,255,0.04);
      border: 1.5px solid rgba(255,215,0,0.3);
      border-radius: 60px;
      padding: clamp(0.8rem, 2.5vh, 1rem) clamp(1rem, 3vw, 1rem) clamp(0.8rem, 2.5vh, 1rem) 3.2rem;
      font-size: clamp(0.9rem, 2.5vw, 1rem);
      color: white;
      outline: none;
      transition: all 0.3s ease;
      font-family: 'Inter', sans-serif;
    }
    .input-group select,
    .input-group .select-control {
      width: 100%;
      min-width: 0;
      min-height: 3rem;
      line-height: 1.35;
      background-color: rgba(255,255,255,0.04);
      border: 1.5px solid rgba(255,215,0,0.3);
      border-radius: 60px;
      padding: clamp(0.8rem, 2.5vh, 1rem) clamp(2.4rem, 5vw, 2.6rem) clamp(0.8rem, 2.5vh, 1rem) 3.2rem;
      font-size: clamp(0.88rem, 2.4vw, 1rem);
      color: #fff;
      outline: none;
      transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
      font-family: 'Inter', sans-serif;
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      cursor: pointer;
      background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd700' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
      background-repeat: no-repeat;
      background-position: right 18px center;
      background-size: 14px;
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow: hidden;
    }
    .input-group select:required:invalid,
    .input-group .select-control:required:invalid {
      color: rgba(255,255,255,0.42);
    }
    .input-group select option,
    .input-group .select-control option {
      color: #0f172a;
      background: #fff;
    }
    .input-group.input-group-select i {
      pointer-events: none;
    }
    .panel-signup .input-group-select {
      margin-bottom: 1.35rem;
    }
    .input-group input:focus,
    .input-group select:focus,
    .input-group .select-control:focus {
      border-color: #00ffff;
      box-shadow: 0 0 20px rgba(0,255,255,0.5), inset 0 0 10px rgba(255,215,0,0.1);
      background-color: rgba(0,0,0,0.4);
      background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
      background-repeat: no-repeat;
      background-position: right 18px center;
      background-size: 14px;
    }
    .input-group input::placeholder {
      color: rgba(255,255,255,0.25);
    }

    .options-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      margin: 1rem 0 2rem;
      color: rgba(255,255,255,0.7);
      font-size: clamp(0.8rem, 2.2vw, 0.9rem);
      gap: 10px;
    }
    .options-row label {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      cursor: pointer;
    }
    .options-row input[type="checkbox"] {
      accent-color: #ffd700;
    }
    .options-row a {
      color: #00ffff;
      text-decoration: none;
      border-bottom: 1px dotted rgba(0,255,255,0.4);
    }
    .options-row a:hover {
      color: #ffd700;
      border-bottom-color: #ffd700;
    }

    .action-btn {
      background: linear-gradient(145deg, #ffd700, #ffb800);
      border: none;
      color: #0a1a2f;
      font-weight: 700;
      font-size: clamp(1rem, 3vw, 1.2rem);
      padding: clamp(0.8rem, 2.5vh, 1rem) clamp(1.5rem, 4vw, 2rem);
      border-radius: 60px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      width: 100%;
      transition: all 0.3s ease;
      box-shadow: 0 10px 20px -8px rgba(255,215,0,0.5);
      margin-bottom: 1.5rem;
      border: 1px solid rgba(255,255,255,0.2);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      position: relative;
      overflow: hidden;
    }
    .action-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
      transition: left 0.6s;
    }
    .action-btn:hover::before {
      left: 100%;
    }
    .action-btn:hover {
      background: linear-gradient(145deg, #ffd700, #ffaa00);
      transform: translateY(-4px) scale(1.02);
      box-shadow: 0 25px 30px -8px gold;
    }
    .action-btn i {
      transition: transform 0.3s;
    }
    .action-btn:hover i {
      transform: translateX(6px);
    }

    .cosmic-or {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      color: rgba(255,255,255,0.3);
      font-size: 0.85rem;
      margin: 1.5rem 0;
    }
    .cosmic-or hr {
      flex: 1;
      border: none;
      height: 1px;
      background: linear-gradient(90deg, transparent, #ffd700, cyan, transparent);
    }

    .social-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      justify-content: center;
    }
    .social-icon {
      width: clamp(40px, 10vw, 48px);
      height: clamp(40px, 10vw, 48px);
      border-radius: 50%;
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,215,0,0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffd700;
      font-size: clamp(1.1rem, 3vw, 1.3rem);
      transition: 0.3s;
      text-decoration: none;
    }
    .social-icon:hover {
      background: cyan;
      color: #0a1a2f;
      border-color: cyan;
      transform: translateY(-5px) rotate(8deg);
      box-shadow: 0 10px 20px cyan;
    }

    .panel-footer {
      margin-top: 2rem;
      text-align: center;
      color: rgba(255,255,255,0.5);
    }

    .auth-flash {
      font-size: 0.9rem;
      margin: 0.5rem 0 0;
      text-align: center;
      line-height: 1.5;
      padding: 0.65rem 0.85rem;
      border-radius: 10px;
    }
    .auth-flash-success {
      color: #4ade80;
      background: rgba(74, 222, 128, 0.1);
      border: 1px solid rgba(74, 222, 128, 0.35);
    }
    .morph-link {
      display: inline-flex;
      align-items: center;
      gap: 0.7rem;
      background: rgba(255,255,255,0.02);
      padding: 0.7rem 1.8rem;
      border-radius: 60px;
      border: 1px solid rgba(255,215,0,0.3);
      color: #ffd700;
      font-weight: 600;
      text-decoration: none;
      backdrop-filter: blur(8px);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
      font-size: clamp(0.9rem, 2.5vw, 1rem);
    }
    .morph-link i {
      transition: transform 0.3s, rotate 0.3s;
    }
    .morph-link:hover {
      background: rgba(255,215,0,0.15);
      border-color: cyan;
      color: white;
      gap: 1.2rem;
      transform: scale(1.05);
      box-shadow: 0 10px 25px cyan;
    }
    .morph-link:hover i {
      transform: rotate(360deg) scale(1.2);
      color: cyan;
    }

    .morph-tab {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 20;
      width: clamp(60px, 12vw, 80px);
      height: clamp(60px, 12vw, 80px);
      background: #0f2b46;
      border: 3px solid #ffd700;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffd700;
      font-size: clamp(1.5rem, 4vw, 2rem);
      box-shadow: 0 0 50px cyan, 0 0 100px gold;
      cursor: pointer;
      transition: 0.5s;
      animation: pulseOrb 3s infinite alternate;
    }
    .morph-tab:hover {
      transform: translate(-50%, -50%) scale(1.2);
      background: #ffd700;
      color: #0f2b46;
      border-color: cyan;
      box-shadow: 0 0 80px white;
    }
    @keyframes pulseOrb {
      0% { box-shadow: 0 0 20px gold, 0 0 40px cyan; }
      100% { box-shadow: 0 0 60px gold, 0 0 100px cyan; }
    }

    /* responsive card (stack on mobile) - IMPROVED */
    @media (max-width: 800px) {
      .card-inner {
        flex-direction: column;
      }
      
      .panel { 
        width: 100% !important;
        border-radius: 2rem !important;
        margin: 0;
        padding: 2rem 1.5rem;
        min-height: auto;
        overflow-y: visible;
        transform: none !important;
        opacity: 1 !important;
      }
      
      .panel-login, .panel-signup { 
        border: 1px solid rgba(255,215,0,0.2);
        margin-bottom: 1rem; 
      }
      
      .panel-signup {
        margin-top: 0;
      }
      
      .morph-tab { 
        display: none; 
      }
      
      .card-inner.signup-active .panel-signup,
      .card-inner.login-active .panel-login { 
        display: block; 
      }
      
      .card-inner.signup-active .panel-login { 
        display: none; 
      }
      
      .card-inner.login-active .panel-signup { 
        display: none; 
      }
      
      /* Ensure all content is visible in signup panel */
      .panel-signup form {
        max-height: none;
        overflow-y: visible;
      }
      
      .panel-signup .input-group:last-of-type {
        margin-bottom: 1.5rem;
      }
      
      .panel-signup .options-row {
        margin: 1rem 0 1.5rem;
      }
    }

    /* Extra small devices */
    @media (max-width: 480px) {
      .panel {
        padding: 1.5rem 1rem;
      }
      
      .panel h2 {
        font-size: 1.8rem;
      }
      
      .input-group input {
        padding-left: 2.8rem;
        font-size: 0.9rem;
      }
      
      .input-group i {
        left: 15px;
        font-size: 1rem;
      }
      
      .options-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
      }
      
      .social-row {
        gap: 0.5rem;
      }
      
      .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
      }
      
      .morph-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
      }
    }

    /* ---------- FOOTER (fully responsive) ---------- */
    .footer {
      background: #0a1a2f;
      color: #ffffff;
      padding: clamp(50px, 10vh, 80px) 5% 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
      gap: clamp(20px, 5vw, 40px);
      max-width: 1200px;
      margin: 0 auto 60px;
    }

    @media (max-width: 1200px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }

    .footer-logo img {
      height: clamp(40px, 10vw, 60px);
      margin-bottom: 20px;
      filter: brightness(0) invert(1);
    }

    .footer-about p {
      color: #94a3b8;
      line-height: 1.8;
      margin-bottom: 20px;
      font-size: clamp(14px, 3.5vw, 16px);
    }

    .social-links {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
    }

    .social-links a {
      width: clamp(35px, 8vw, 40px);
      height: clamp(35px, 8vw, 40px);
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      transition: 0.3s;
      font-size: clamp(16px, 4vw, 18px);
    }

    .social-links a:hover {
      background: #ffd700;
      color: #0a1a2f;
      transform: translateY(-3px);
    }

    .footer h4 {
      font-size: clamp(16px, 4vw, 18px);
      margin-bottom: 25px;
      position: relative;
    }

    .footer h4:after {
      content: "";
      position: absolute;
      bottom: -10px;
      left: 0;
      width: 40px;
      height: 2px;
      background: #ffd700;
    }

    .footer-links {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 12px;
    }

    .footer-links a {
      color: #94a3b8;
      text-decoration: none;
      transition: 0.3s;
      font-size: clamp(14px, 3.5vw, 16px);
    }

    .footer-links a:hover {
      color: #ffd700;
      padding-left: 5px;
    }

    .newsletter p {
      color: #94a3b8;
      margin-bottom: 20px;
      font-size: clamp(14px, 3.5vw, 16px);
    }

    .newsletter-form {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .newsletter-form input {
      flex: 1 1 150px;
      padding: clamp(10px, 2.5vh, 12px);
      border: none;
      border-radius: 30px;
      background: rgba(255, 255, 255, 0.1);
      color: #ffffff;
      border: 1px solid rgba(255, 255, 255, 0.2);
      min-width: 150px;
    }

    .newsletter-form button {
      width: clamp(45px, 10vw, 50px);
      height: clamp(45px, 10vw, 50px);
      background: #ffd700;
      border: none;
      border-radius: 50%;
      color: #0a1a2f;
      cursor: pointer;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .newsletter-form button:hover {
      background: #ffffff;
      transform: scale(1.1) rotate(5deg);
    }

    .footer-bottom {
      text-align: center;
      padding-top: 30px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      color: #94a3b8;
      font-size: clamp(12px, 3vw, 14px);
    }

    .risk-disclaimer {
      max-width: 1200px;
      margin: 30px auto 0;
      padding: 20px;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 10px;
      font-size: clamp(11px, 3vw, 12px);
      color: #94a3b8;
      line-height: 1.8;
    }

    .glow-text {
      text-shadow: 0 0 15px cyan, 0 0 30px gold;
    }