
    :root {
      --gold:   #c8972a;
      --gold2:  #f5d080;
      --navy:   #0b1a3b;
      --navy2:  #132348;
      --red:    #c0152a;
      --light:  #f0f4ff;
      --white:  #ffffff;
      --belt-white:   #ffffff;
      --belt-yellow:  #f5d800;
      --belt-orange:  #f57c00;
      --belt-green:   #2e7d32;
      --belt-blue:    #1565c0;
      --belt-purple:  #6a1b9a;
      --belt-brown:   #4e342e;
      --belt-red:     #b71c1c;
      --belt-black:   #111111;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: 'Exo 2', sans-serif;
      background: var(--navy);
      color: var(--light);
      overflow-x: hidden;
    }

    /* ─── NOISE TEXTURE OVERLAY ─── */
    body::before {
      content: '';
      position: fixed; inset: 0; z-index: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
      pointer-events: none;
    }

    /* ─── NAVBAR ─── */
    .navbar {
      background: linear-gradient(90deg, var(--navy) 0%, var(--navy2) 50%, var(--navy) 100%);
      border-bottom: 2px solid var(--gold);
      padding: 0.5rem 1rem;
      position: sticky; top: 0; z-index: 999;
      box-shadow: 0 4px 30px rgba(200,151,42,0.25);
    }

    .navbar-brand-area {
      display: flex; align-items: center; gap: 12px;
    }

    .navbar-brand-area img {
      width: 56px; height: 56px;
      border-radius: 50%;
      border: 2px solid var(--gold);
      filter: drop-shadow(0 0 8px rgba(200,151,42,0.6));
      transition: transform 0.4s ease;
    }

    .navbar-brand-area img:hover { transform: rotate(20deg) scale(1.1); }

    .brand-title {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 1.6rem;
      letter-spacing: 2px;
      background: linear-gradient(90deg, var(--gold), var(--gold2), var(--gold));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      line-height: 1.1;
    }

    .brand-sub {
      font-family: 'Rajdhani', sans-serif;
      font-size: 0.7rem;
      letter-spacing: 3px;
      color: var(--gold2);
      opacity: 0.8;
    }

    .navbar-nav .nav-link {
      font-family: 'Rajdhani', sans-serif;
      font-weight: 700;
      font-size: 1rem;
      letter-spacing: 2px;
      color: var(--light) !important;
      padding: 0.5rem 1.2rem !important;
      text-transform: uppercase;
      position: relative;
      transition: color 0.3s;
    }

    .navbar-nav .nav-link::after {
      content: '';
      position: absolute; bottom: 0; left: 50%; right: 50%;
      height: 2px;
      background: var(--gold);
      transition: all 0.3s ease;
    }

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
      left: 10%; right: 10%;
    }

    .navbar-nav .nav-link:hover { color: var(--gold2) !important; }
    .navbar-nav .nav-link.active { color: var(--gold) !important; }

    .navbar-toggler {
      border-color: var(--gold);
      color: var(--gold);
    }

    /* ─── PAGE SECTIONS ─── */
    .page { display: none; }
    .page.active { display: block; }

    /* ─── HERO ─── */
    .hero {
      position: relative;
      min-height: 100vh;
      overflow: hidden;
      display: flex; align-items: center;
      background: var(--navy);
    }

    .hero-bg {
      position: absolute; inset: 0; z-index: 0;
      background:
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(200,151,42,0.10) 0%, transparent 70%),
        radial-gradient(ellipse 60% 80% at 20% 80%, rgba(192,21,42,0.12) 0%, transparent 60%),
        linear-gradient(135deg, #060e20 0%, #0b1a3b 50%, #0a1530 100%);
    }

    /* diagonal slash */
    .hero-slash {
      position: absolute; inset: 0; z-index: 1;
      background: linear-gradient(
        115deg,
        transparent 0%, transparent 54%,
        rgba(200,151,42,0.07) 54%, rgba(200,151,42,0.07) 56%,
        transparent 56%
      );
    }

    .hero-content {
      position: relative; z-index: 3;
      padding: 6rem 0 4rem;
    }

    .hero-eyebrow {
      font-family: 'Rajdhani', sans-serif;
      font-size: 0.8rem;
      letter-spacing: 5px;
      color: var(--gold);
      text-transform: uppercase;
      margin-bottom: 0.8rem;
    }

    .hero-title {
      font-family: 'Bebas Neue', sans-serif;
      font-size: clamp(3.5rem, 9vw, 8rem);
      line-height: 0.9;
      letter-spacing: 2px;
      color: var(--white);
      text-shadow: 0 0 60px rgba(200,151,42,0.3);
    }

    .hero-title span {
      background: linear-gradient(90deg, var(--gold), var(--gold2));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-desc {
      font-family: 'Exo 2', sans-serif;
      font-size: 1.1rem;
      color: rgba(240,244,255,0.75);
      margin: 1.5rem 0 2rem;
      max-width: 520px;
      line-height: 1.7;
    }

    .btn-gold {
      background: linear-gradient(90deg, var(--gold), var(--gold2));
      color: var(--navy);
      font-family: 'Rajdhani', sans-serif;
      font-weight: 700;
      letter-spacing: 3px;
      text-transform: uppercase;
      padding: 0.8rem 2.5rem;
      border: none;
      border-radius: 0;
      clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
      font-size: 1rem;
      transition: all 0.3s;
      position: relative;
      overflow: hidden;
    }

    .btn-gold::before {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(90deg, var(--gold2), var(--gold));
      opacity: 0;
      transition: opacity 0.3s;
    }

    .btn-gold:hover::before { opacity: 1; }
    .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(200,151,42,0.4); }

    .btn-outline-gold {
      background: transparent;
      color: var(--gold);
      border: 2px solid var(--gold);
      font-family: 'Rajdhani', sans-serif;
      font-weight: 700;
      letter-spacing: 3px;
      text-transform: uppercase;
      padding: 0.75rem 2rem;
      clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
      font-size: 1rem;
      transition: all 0.3s;
    }

    .btn-outline-gold:hover {
      background: var(--gold);
      color: var(--navy);
      transform: translateY(-2px);
    }

    /* ─── HERO ATHLETE MOSAIC ─── */
    .hero-mosaic {
      position: relative; z-index: 3;
    }

    .mosaic-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto auto;
      gap: 8px;
      max-width: 480px;
    }

    .mosaic-item {
      border-radius: 4px;
      overflow: hidden;
      position: relative;
    }

    .mosaic-item:first-child {
      grid-column: 1 / 3;
      height: 280px;
    }

    .mosaic-item:not(:first-child) {
      height: 160px;
    }

    .mosaic-item img {
      width: 100%; height: 100%;
      object-fit: cover;
      filter: grayscale(30%) contrast(1.1);
      transition: transform 0.5s ease, filter 0.5s ease;
    }

    .mosaic-item:hover img {
      transform: scale(1.05);
      filter: grayscale(0%) contrast(1.15);
    }

    .mosaic-item::after {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(
        to bottom,
        transparent 60%,
        rgba(11,26,59,0.6) 100%
      );
    }

    .mosaic-item:first-child::before {
      content: '';
      position: absolute; inset: 0; z-index: 1;
      border: 2px solid rgba(200,151,42,0.3);
    }

    /* placeholder gradient when no real image */
    .athlete-placeholder {
      width: 100%; height: 100%;
      background: linear-gradient(135deg, #1a2d5a 0%, #0d1f40 100%);
      display: flex; align-items: center; justify-content: center;
    }

    /* ─── STATS BAR ─── */
    .stats-bar {
      background: linear-gradient(90deg, rgba(11,26,59,0.95), rgba(19,35,72,0.95));
      border-top: 1px solid rgba(200,151,42,0.2);
      border-bottom: 1px solid rgba(200,151,42,0.2);
      padding: 2rem 0;
    }

    .stat-item {
      text-align: center;
    }

    .stat-num {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 3rem;
      color: var(--gold);
      line-height: 1;
    }

    .stat-label {
      font-family: 'Rajdhani', sans-serif;
      font-size: 0.8rem;
      letter-spacing: 3px;
      color: rgba(240,244,255,0.6);
      text-transform: uppercase;
    }

    .stat-divider {
      width: 1px;
      background: rgba(200,151,42,0.3);
      align-self: stretch;
    }

    /* ─── BELT STRIP ─── */
    .belt-strip {
      display: flex;
      height: 8px;
      width: 100%;
    }

    .belt-strip div {
      flex: 1;
    }

    /* ─── SECTION HEADING ─── */
    .section-tag {
      font-family: 'Rajdhani', sans-serif;
      font-size: 0.75rem;
      letter-spacing: 4px;
      color: var(--gold);
      text-transform: uppercase;
      margin-bottom: 0.4rem;
    }

    .section-heading {
      font-family: 'Bebas Neue', sans-serif;
      font-size: clamp(2rem, 5vw, 3.5rem);
      letter-spacing: 2px;
      color: var(--white);
      line-height: 1.1;
    }

    .section-heading span { color: var(--gold); }

    /* ─── BELT SHOWCASE ─── */
    .belts-section {
      padding: 5rem 0;
      background: linear-gradient(180deg, var(--navy) 0%, #0a162e 100%);
    }

    .belt-card {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 8px;
      padding: 1.5rem 1rem;
      text-align: center;
      transition: all 0.3s;
      cursor: default;
      position: relative;
      overflow: hidden;
    }

    .belt-card::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0;
      height: 3px;
    }

    .belt-card.white::before   { background: var(--belt-white); border-top: 1px solid #ccc; }
    .belt-card.yellow::before  { background: var(--belt-yellow); }
    .belt-card.orange::before  { background: var(--belt-orange); }
    .belt-card.green::before   { background: var(--belt-green); }
    .belt-card.blue::before    { background: var(--belt-blue); }
    .belt-card.purple::before  { background: var(--belt-purple); }
    .belt-card.brown::before   { background: var(--belt-brown); }
    .belt-card.red::before     { background: var(--belt-red); }
    .belt-card.black::before   { background: var(--belt-black); border-top: 1px solid #444; }

    .belt-card:hover {
      transform: translateY(-6px);
      border-color: rgba(200,151,42,0.3);
      background: rgba(200,151,42,0.06);
      box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    }

    .belt-visual {
      width: 80px; height: 16px;
      border-radius: 3px;
      margin: 0 auto 0.8rem;
      position: relative;
    }

    .belt-visual::after {
      content: '';
      position: absolute;
      top: 50%; left: 50%; transform: translate(-50%, -50%);
      width: 24px; height: 24px;
      border-radius: 3px;
      background: rgba(200,151,42,0.5);
      border: 2px solid var(--gold);
    }

    .belt-name {
      font-family: 'Rajdhani', sans-serif;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      font-size: 0.9rem;
    }

    /* ─── REGISTRATION SECTION ─── */
    .register-section {
      padding: 5rem 0;
      background: linear-gradient(180deg, #0a162e 0%, #07101f 100%);
      position: relative;
    }

    .register-section::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(200,151,42,0.05) 0%, transparent 70%);
      pointer-events: none;
    }

    /* ─── FORM CARD ─── */
    .form-card {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(200,151,42,0.2);
      border-radius: 12px;
      padding: 2.5rem;
      backdrop-filter: blur(10px);
      box-shadow: 0 30px 80px rgba(0,0,0,0.5);
      position: relative;
      overflow: hidden;
    }

    .form-card::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--gold), var(--gold2), var(--gold));
    }

    .form-label {
      font-family: 'Rajdhani', sans-serif;
      font-weight: 600;
      letter-spacing: 1.5px;
      font-size: 0.8rem;
      text-transform: uppercase;
      color: var(--gold2);
      margin-bottom: 0.4rem;
    }

    .form-control, .form-select {
      background: rgba(255,255,255,0.05) !important;
      border: 1px solid rgba(200,151,42,0.2) !important;
      color: var(--light) !important;
      border-radius: 4px !important;
      padding: 0.7rem 1rem !important;
      font-family: 'Exo 2', sans-serif !important;
      font-size: 0.95rem !important;
      transition: all 0.3s !important;
    }

    .form-control:focus, .form-select:focus {
      background: rgba(200,151,42,0.08) !important;
      border-color: var(--gold) !important;
      box-shadow: 0 0 0 3px rgba(200,151,42,0.15) !important;
      color: var(--white) !important;
      outline: none !important;
    }

    .form-control::placeholder { color: rgba(240,244,255,0.3) !important; }

    .form-select option {
      background: var(--navy2);
      color: var(--light);
    }

    /* OTP Area */
    .otp-group {
      display: flex; gap: 8px; align-items: flex-end;
    }

    .otp-group .form-control {
      flex: 1;
    }

    .btn-otp {
      background: transparent;
      border: 1px solid var(--gold);
      color: var(--gold);
      font-family: 'Rajdhani', sans-serif;
      font-weight: 700;
      letter-spacing: 1.5px;
      font-size: 0.85rem;
      padding: 0.7rem 1rem;
      white-space: nowrap;
      border-radius: 4px;
      cursor: pointer;
      transition: all 0.3s;
    }

    .btn-otp:hover {
      background: var(--gold);
      color: var(--navy);
    }

    .otp-input-row {
      display: flex; gap: 8px; margin-top: 10px;
    }

    .otp-box {
      width: 44px !important;
      text-align: center !important;
      font-size: 1.2rem !important;
      font-weight: 700 !important;
      padding: 0.5rem 0 !important;
    }

    /* Belt color selector */
    .belt-selector {
      display: flex; flex-wrap: wrap; gap: 8px;
      margin-top: 4px;
    }

    .belt-opt {
      display: none;
    }

    .belt-opt + label {
      display: flex; align-items: center; gap: 6px;
      padding: 6px 14px;
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 20px;
      cursor: pointer;
      font-family: 'Rajdhani', sans-serif;
      font-weight: 600;
      font-size: 0.85rem;
      letter-spacing: 1px;
      text-transform: uppercase;
      transition: all 0.2s;
      color: rgba(240,244,255,0.7);
    }

    .belt-dot {
      width: 12px; height: 12px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    .belt-opt:checked + label {
      border-color: var(--gold);
      background: rgba(200,151,42,0.12);
      color: var(--gold2);
      box-shadow: 0 0 10px rgba(200,151,42,0.2);
    }

    /* Form section divider */
    .form-divider {
      font-family: 'Rajdhani', sans-serif;
      font-weight: 700;
      letter-spacing: 3px;
      font-size: 0.75rem;
      text-transform: uppercase;
      color: var(--gold);
      display: flex; align-items: center; gap: 12px;
      margin: 1.5rem 0;
    }

    .form-divider::before, .form-divider::after {
      content: '';
      flex: 1;
      height: 1px;
      background: rgba(200,151,42,0.2);
    }

    /* Submit button */
    .btn-submit {
      width: 100%;
      padding: 1rem;
      background: linear-gradient(90deg, var(--gold) 0%, var(--gold2) 50%, var(--gold) 100%);
      background-size: 200% auto;
      border: none;
      color: var(--navy);
      font-family: 'Bebas Neue', sans-serif;
      font-size: 1.3rem;
      letter-spacing: 4px;
      cursor: pointer;
      border-radius: 4px;
      clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
      transition: all 0.4s;
      position: relative;
      overflow: hidden;
    }

    .btn-submit:hover {
      background-position: right center;
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(200,151,42,0.4);
    }

    /* ─── SUCCESS TOAST ─── */
    .success-toast {
      display: none;
      background: linear-gradient(90deg, rgba(46,125,50,0.15), rgba(46,125,50,0.08));
      border: 1px solid rgba(76,175,80,0.4);
      border-left: 4px solid #4caf50;
      border-radius: 4px;
      padding: 1rem 1.5rem;
      margin-top: 1.5rem;
      font-family: 'Rajdhani', sans-serif;
      font-weight: 600;
      letter-spacing: 1px;
      color: #a5d6a7;
    }

    /* ─── ATHLETE PROFILE PAGE ─── */
    .profile-page {
      min-height: 100vh;
      padding: 3rem 0 5rem;
      background: linear-gradient(180deg, var(--navy) 0%, #07101f 100%);
    }

    .search-box-wrap {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(200,151,42,0.2);
      border-radius: 8px;
      padding: 2rem;
      margin-bottom: 2.5rem;
      position: relative;
    }

    .search-box-wrap::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--gold), transparent);
    }

    .search-input-group {
      display: flex; gap: 0;
    }

    .search-input-group .form-control {
      border-right: 0 !important;
      border-radius: 4px 0 0 4px !important;
      font-size: 1.1rem !important;
    }

    .btn-search {
      background: var(--gold);
      border: none;
      color: var(--navy);
      padding: 0 1.5rem;
      font-size: 1.2rem;
      border-radius: 0 4px 4px 0;
      cursor: pointer;
      transition: all 0.3s;
    }

    .btn-search:hover { background: var(--gold2); }

    /* athlete profile card */
    .profile-card {
      display: none;
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(200,151,42,0.25);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    }

    .profile-header {
      background: linear-gradient(135deg, rgba(200,151,42,0.15), rgba(11,26,59,0.8));
      padding: 2rem;
      border-bottom: 1px solid rgba(200,151,42,0.2);
      display: flex; align-items: center; gap: 2rem;
      flex-wrap: wrap;
    }

    .athlete-avatar {
      width: 120px; height: 120px;
      border-radius: 50%;
      border: 3px solid var(--gold);
      overflow: hidden;
      flex-shrink: 0;
      box-shadow: 0 0 30px rgba(200,151,42,0.4);
      background: linear-gradient(135deg, #1a2d5a, #0d1f40);
      display: flex; align-items: center; justify-content: center;
      font-size: 3rem;
      color: rgba(200,151,42,0.5);
    }

    .athlete-header-info {}

    .athlete-id-badge {
      display: inline-block;
      background: rgba(200,151,42,0.15);
      border: 1px solid var(--gold);
      color: var(--gold);
      font-family: 'Rajdhani', sans-serif;
      font-weight: 700;
      letter-spacing: 3px;
      font-size: 0.75rem;
      padding: 3px 12px;
      border-radius: 20px;
      margin-bottom: 0.5rem;
    }

    .athlete-name {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 2.5rem;
      letter-spacing: 2px;
      color: var(--white);
      line-height: 1;
    }

    .athlete-belt-badge {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 4px 16px;
      border-radius: 20px;
      font-family: 'Rajdhani', sans-serif;
      font-weight: 700;
      letter-spacing: 2px;
      font-size: 0.85rem;
      text-transform: uppercase;
      margin-top: 0.5rem;
      border: 1px solid rgba(255,255,255,0.2);
    }

    .profile-body {
      padding: 2rem;
    }

    .info-row {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 1rem;
      margin-bottom: 2rem;
    }

    .info-item {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: 6px;
      padding: 1rem;
    }

    .info-item-label {
      font-family: 'Rajdhani', sans-serif;
      font-size: 0.7rem;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: rgba(200,151,42,0.8);
      margin-bottom: 0.3rem;
    }

    .info-item-value {
      font-family: 'Exo 2', sans-serif;
      font-size: 1rem;
      color: var(--light);
      font-weight: 500;
    }

    /* ─── NOT FOUND ─── */
    .not-found {
      display: none;
      text-align: center;
      padding: 3rem;
      color: rgba(240,244,255,0.5);
      font-family: 'Rajdhani', sans-serif;
      font-size: 1.1rem;
      letter-spacing: 2px;
    }

    .not-found i { font-size: 3rem; color: rgba(192,21,42,0.5); margin-bottom: 1rem; }

    /* ─── FOOTER ─── */
    .footer {
      background: #040c1a;
      border-top: 1px solid rgba(200,151,42,0.2);
      padding: 2rem 0;
      text-align: center;
    }

    .footer-logos { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1rem; }

    .footer-logos img {
      width: 40px; height: 40px;
      border-radius: 50%;
      border: 1px solid rgba(200,151,42,0.3);
      filter: grayscale(30%);
      transition: filter 0.3s;
    }

    .footer-logos img:hover { filter: grayscale(0%); }

    .footer-text {
      font-family: 'Rajdhani', sans-serif;
      font-size: 0.8rem;
      letter-spacing: 2px;
      color: rgba(240,244,255,0.3);
    }

    /* ─── HEXAGON DECO ─── */
    .hex-deco {
      position: absolute;
      width: 300px; height: 300px;
      background: radial-gradient(circle, rgba(200,151,42,0.04) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
    }

    /* ─── ANIMATED PUNCH LINES ─── */
    .punch-lines {
      position: absolute; inset: 0; overflow: hidden; z-index: 1; pointer-events: none;
    }

    .punch-line {
      position: absolute;
      width: 1px;
      background: linear-gradient(to bottom, transparent, rgba(200,151,42,0.15), transparent);
      animation: punchDrop 6s ease-in-out infinite;
      opacity: 0;
    }

    @keyframes punchDrop {
      0%   { opacity: 0; transform: translateY(-100%); }
      20%  { opacity: 1; }
      80%  { opacity: 1; }
      100% { opacity: 0; transform: translateY(100vh); }
    }

    /* ─── GLITCH TEXT ─── */
    @keyframes glitch {
      0%   { text-shadow: none; }
      20%  { text-shadow: -2px 0 var(--red), 2px 0 #00e5ff; }
      21%  { text-shadow: none; }
      80%  { text-shadow: none; }
      81%  { text-shadow: 2px 0 var(--red); }
      82%  { text-shadow: none; }
      100% { text-shadow: none; }
    }

    .glitch {
      animation: glitch 5s infinite;
    }

    /* ─── COUNTER ANIM ─── */
    .counter { display: inline-block; }

    /* ─── SCROLL REVEAL ─── */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.6s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ─── BELT PULSE ─── */
    @keyframes beltPulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(200,151,42,0.3); }
      50%       { box-shadow: 0 0 20px 6px rgba(200,151,42,0.15); }
    }

    .belt-strip div { animation: beltPulse 3s ease-in-out infinite; }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 768px) {
      .hero-content { padding: 4rem 0 2rem; }
      .mosaic-grid { max-width: 100%; }
      .mosaic-item:first-child { height: 200px; }
      .mosaic-item:not(:first-child) { height: 120px; }
      .form-card { padding: 1.5rem; }
      .profile-header { flex-direction: column; text-align: center; }
      .otp-group { flex-direction: column; }
    }
    
    
    :root {
  /* Assuming these match your theme */
  --gold: #c8972a;
  --navy: #0d1f40;
  --navy2: #1a2d5a;
}

.mosaic-card-wrapper {
  position: relative;
  width: 625px;
  height: 340px;
  perspective: 1000px; /* Prepares for 3D depth */
  animation: float 4s ease-in-out infinite; /* Continuous floating effect */
}

.hero-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(200, 151, 42, 0.3); /* Subtle gold border */
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-card:hover {
  transform: scale(1.02) rotateY(-2deg);
  border-color: var(--gold);
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures 625x340 is filled perfectly */
  display: block;
  transition: transform 0.8s ease;
}

.hero-card:hover .hero-main-img {
  transform: scale(1.1); /* Zoom effect on hover */
}

/* Dark overlay to make the badge and text pop */
.card-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(0deg, rgba(13, 31, 64, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

/* Floating Badge Styling */
.badge-container {
  position: absolute;
  bottom: -20px;
  right: -20px;
  z-index: 10;
}

.belt-badge {
  background: linear-gradient(135deg, var(--navy2), var(--navy));
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.badge-number {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
}

.badge-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: rgba(240, 244, 255, 0.8);
  font-weight: 600;
}

/* Keyframes for the gentle floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Responsive fix: Ensure it doesn't break on small screens */
@media (max-width: 768px) {
  .mosaic-card-wrapper {
    width: 100%;
    height: auto;
    aspect-ratio: 625 / 340;
  }
}

@media (max-width: 991.98px) {
    .hero {
        padding: 40px 0;
        text-align: center;
    }
    
    .hero .hero-content {
        margin-bottom: 35px;
    }

    .hero .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .hero .hero-desc {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .hero .d-flex.flex-wrap {
        justify-content: center;
    }

    .hero .mosaic-card-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }

    .hero .hero-main-img {
        width: 100%;
        height: auto;
    }
}