    :root {
      --bg-dark: #05050a;
      --primary: #8b5cf6;
      --primary-glow: rgba(139, 92, 246, 0.6);
      --secondary: #ec4899;
      --secondary-glow: rgba(236, 72, 153, 0.6);
      --accent: #00f0ff;
      --glass-bg: rgba(255, 255, 255, 0.03);
      --glass-border: rgba(255, 255, 255, 0.08);
      --text-main: #f8fafc;
      --text-muted: #94a3b8;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      -webkit-tap-highlight-color: transparent;
    }

    body {
      font-family: 'Inter', sans-serif;
      background-color: var(--bg-dark);
      color: var(--text-main);
      line-height: 1.6;
      overflow-x: hidden;
      position: relative;
    }

    
    .top-register-btn {
      position: absolute;
      top: 25px;
      right: 25px;
      z-index: 100;
      padding: 10px 24px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--glass-border);
      backdrop-filter: blur(10px);
      border-radius: 100px;
      color: #fff;
      text-decoration: none;
      font-family: 'Poppins', sans-serif;
      font-weight: 600;
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }

    .top-register-btn:hover {
      background: linear-gradient(90deg, var(--primary), var(--secondary));
      box-shadow: 0 0 20px var(--primary-glow);
      border-color: transparent;
      transform: translateY(-2px);
    }

    
    .ambient-bg {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      overflow: hidden;
      z-index: -1;
      background: var(--bg-dark);
    }

    .orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(120px);
      opacity: 0.5;
      animation: float 20s infinite ease-in-out alternate;
    }

    .orb-1 { width: 50vw; height: 50vw; background: #4c1d95; top: -10%; left: -10%; }
    .orb-2 { width: 40vw; height: 40vw; background: #be185d; bottom: -10%; right: -10%; animation-delay: -5s; }
    .orb-3 { width: 30vw; height: 30vw; background: #0088ff; top: 40%; left: 50%; animation-delay: -10s; opacity: 0.3; }

    @keyframes float {
      0% { transform: translate(0, 0) scale(1); }
      100% { transform: translate(10%, 15%) scale(1.2); }
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      position: relative;
      z-index: 10;
    }

    
    #loader {
      position: fixed;
      inset: 0;
      background: var(--bg-dark);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.8s ease, filter 0.8s ease;
    }

    #loader.hidden {
      opacity: 0;
      transform: scale(3);
      filter: blur(10px);
      pointer-events: none;
      visibility: hidden;
    }

    .loader-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
    }

    .loader-title {
      font-family: 'Outfit', sans-serif;
      font-size: clamp(3.5rem, 12vw, 8rem);
      font-weight: 900;
      letter-spacing: 4px;
      color: transparent;
      -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
      position: relative;
      margin: 0;
      line-height: 1;
    }

    .loader-title::before {
      content: attr(data-text);
      position: absolute;
      left: 0;
      top: 0;
      width: 0%;
      height: 100%;
      color: transparent;
      background: linear-gradient(90deg, #8b5cf6, #ec4899, #00f0ff, #8b5cf6);
      background-size: 200% auto;
      -webkit-background-clip: text;
      -webkit-text-stroke: 0px;
      overflow: hidden;
      white-space: nowrap;
      animation: fillText 3s cubic-bezier(0.25, 1, 0.5, 1) forwards, gradientFlow 3s linear infinite;
      filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.6));
    }

    @keyframes fillText { 0% { width: 0%; } 100% { width: 100%; } }
    @keyframes gradientFlow { to { background-position: 200% center; } }

    .progress-wrapper {
      width: clamp(200px, 40vw, 400px);
      margin-top: 30px;
      display: flex;
      flex-direction: column;
      align-items: center;
      opacity: 0;
      animation: fadeIn 0.5s ease forwards 0.3s;
    }

    .progress-track {
      width: 100%;
      height: 4px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      overflow: hidden;
      position: relative;
    }

    .progress-fill {
      height: 100%;
      width: 0%;
      background: linear-gradient(90deg, #8b5cf6, #ec4899, #00f0ff);
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
    }

    .progress-text {
      font-family: 'Outfit', sans-serif;
      font-size: 1.2rem;
      font-weight: 700;
      color: #fff;
      margin-top: 12px;
      letter-spacing: 2px;
    }
    @keyframes fadeIn { to { opacity: 1; } }

    
    .hero {
      position: relative;
      text-align: center;
      padding: 140px 20px 80px;
      min-height: 45vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }

    .hero-badge {
      display: inline-block;
      padding: 8px 24px;
      background: rgba(139, 92, 246, 0.1);
      border: 1px solid var(--primary);
      backdrop-filter: blur(10px);
      border-radius: 100px;
      font-size: 0.95rem;
      font-weight: 700;
      letter-spacing: 3px;
      text-transform: none;
      color: #d8b4fe;
      margin-bottom: 24px;
      box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }

    .hero h1 {
      font-family: 'Playfair Display', serif;
      font-size: clamp(4rem, 12vw, 10rem);
      font-weight: 900;
      letter-spacing: -3px;
      line-height: 0.9;
      background: linear-gradient(to right, #fff, #d8b4fe, #fbcfe8, #fff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-size: 200% auto;
      animation: gradientFlow 6s linear infinite;
      filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.4));
      margin-bottom: 10px;
    }

    .hero .date {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      font-size: clamp(1.8rem, 5vw, 3rem);
      font-weight: 700;
      color: #f472b6;
      text-shadow: 0 0 20px rgba(244, 114, 182, 0.6);
    }

    
    .marquee-container {
      width: 100vw;
      background: var(--primary);
      padding: 12px 0;
      overflow: hidden;
      white-space: nowrap;
      position: relative;
      transform: rotate(-2deg) scale(1.05);
      margin: 40px 0;
      box-shadow: 0 0 20px var(--primary-glow);
      z-index: 10;
    }
    
    .marquee-text {
      display: inline-block;
      font-family: 'Outfit', sans-serif;
      font-weight: 900;
      font-size: 1.62rem;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: 3px;
      animation: scroll 15s linear infinite;
    }
    
    @keyframes scroll {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    
    .tabs-section { padding: 40px 0 60px; scroll-margin-top: 20px; }

    .tab-list {
      display: flex;
      justify-content: center;
      gap: 12px;
      margin-bottom: 50px;
      list-style: none;
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      padding: 10px;
      border-radius: 100px;
      backdrop-filter: blur(20px);
      width: max-content;
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
    }

    .tab-button {
      font-family: 'Poppins', sans-serif;
      padding: 12px 28px;
      font-size: 0.95rem;
      font-weight: 600;
      letter-spacing: 1px;
      background: transparent;
      border: none;
      border-radius: 100px;
      color: var(--text-muted);
      cursor: pointer;
      white-space: nowrap;
      position: relative;
      text-transform: uppercase;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .tab-button:hover {
      color: var(--text-main);
      background: rgba(255, 255, 255, 0.05);
    }

    .tab-button.active {
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      color: white;
      box-shadow: 0 0 20px var(--primary-glow);
    }

    @media (max-width: 768px) {
      .tab-list {
        justify-content: flex-start;
        width: 100%;
        border-radius: 24px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
      }
      .tab-list::-webkit-scrollbar { display: none; }
      .tab-button { scroll-snap-align: start; flex-shrink: 0; }
      .hero-badge {
      display: inline-block;
      padding: 6px 10px;
      background: rgba(139, 92, 246, 0.1);
      border: 1px solid var(--primary);
      backdrop-filter: blur(10px);
      border-radius: 60px;
      font-size: 0.85rem;
      font-weight: 400;
      letter-spacing: 0px;
      text-transform: none;
      color: #d8b4fe;
      margin-bottom: 15px;
      box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }
    }

    
    .tab-content { display: none; opacity: 0; }
    .tab-content.active { display: block; animation: popIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

    @keyframes popIn {
      0% { opacity: 0; transform: translateY(30px) scale(0.98); }
      100% { opacity: 1; transform: translateY(0) scale(1); }
    }

    .tab-image-wrapper {
      max-width: 1000px;
      margin: 0 auto;
      border-radius: 24px;
      overflow: hidden;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid var(--glass-border);
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
      position: relative;
    }
    
    .tab-image-wrapper::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 24px;
      padding: 2px;
      background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
      z-index: 2;
    }

    .tab-image {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 24px;
      transition: transform 0.7s ease;
    }
    .tab-image-wrapper:hover .tab-image { transform: scale(1.02); }

    
    .qr-section {
      padding: 20px 0 100px;
    }
    
    .qr-grid {
      display: flex;
      justify-content: center;
      gap: 30px;
      flex-wrap: wrap;
    }

    .qr-card {
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid var(--glass-border);
      border-radius: 24px;
      padding: 30px;
      text-align: center;
      backdrop-filter: blur(10px);
      width: 280px;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .qr-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 15px 35px rgba(139, 92, 246, 0.2);
      border-color: rgba(139, 92, 246, 0.4);
    }

    .qr-card h3 {
      font-family: 'Outfit', sans-serif;
      font-size: 1.3rem;
      margin-bottom: 20px;
      color: var(--text-main);
      letter-spacing: 1px;
      text-transform: uppercase;
    }

    
    .qr-image-wrapper {
      width: 100%;
      aspect-ratio: 1;
      background: #ffffff; /* Solid white background so QR scans easily */
      border: 2px solid rgba(255, 255, 255, 0.15);
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      padding: 15px; /* Added breathing room around the QR code */
      position: relative;
      overflow: hidden;
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .qr-card:hover .qr-image-wrapper {
      border-color: var(--primary);
      box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
    }

    .qr-image-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: contain; 
      opacity: 1; 
    }

    .qr-card p {
      font-size: 0.95rem;
      color: var(--accent);
      font-family: 'Poppins', sans-serif;
      font-weight: 600;
      letter-spacing: 1px;
    }

    
    footer {
      background: rgba(0, 0, 0, 0.6);
      border-top: 1px solid var(--glass-border);
      backdrop-filter: blur(20px);
      color: var(--text-muted);
      padding: 60px 20px;
      text-align: center;
      position: relative;
      z-index: 10;
    }
    footer a { color: var(--accent); text-decoration: none; font-weight: 600; }
    footer a:hover { color: #fff; text-shadow: 0 0 10px var(--accent); }
    .footer-copy { margin-top: 30px; font-size: 0.85rem; opacity: 0.5; }

  

@media (max-width: 768px) {
  .tab-list {
    flex-wrap: wrap;         /* Forces tabs to flow to the next line */
    justify-content: center; /* Centers the cluster of buttons */
    width: 100%;
    border-radius: 24px;
    padding: 15px;
    gap: 10px;               /* Space between wrapped buttons */
    overflow-x: visible;     /* Disables the hidden horizontal scroll */
  }
  
  .tab-button {
    flex: 0 0 auto;          /* Prevents buttons from stretching weirdly */
    padding: 10px 18px;
    font-size: 0.85rem;
  }
}