:root {
    /* ── Palette matched to logo ── */
    --gold: #c9a84c;
    --gold-bright: #f0cc6e;
    --gold-dim: #7a5c1e;
    --ember: #b065e0;
    --ember-warm: #e85d2f;
    --cyan: #4fc3f7;
    --cyan-dim: #2a7da8;
    --purple: #8b5cf6;
    --purple-deep: #4c1d95;
    --blue: #3b6cb5;
    --blue-deep: #1a3a6e;

    --deep: #060918;
    --void: #030510;
    --panel: #0a0f22;
    --panel-light: #111838;
    --panel-mid: #0d1229;
    --text: #c8c0d6;
    --text-dim: #a89cbd;
    --white: #f0eaf8;
    --green: #3ee48b;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  img { -webkit-user-drag: none; user-select: none; }

  body {
    background: var(--void);
    color: var(--text);
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 18px;
    line-height: 1.65;
    overflow-x: hidden;
  }

  /* Grain overlay */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' 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;
    z-index: 9999;
    opacity: 0.35;
  }

  /* ── Scroll progress bar ── */
  #progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--purple), var(--cyan), var(--gold-bright));
    z-index: 9998;
    transition: width 0.1s linear;
    box-shadow: 0 0 12px rgba(139,92,246,0.7);
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 48px;
    transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
  }

  nav.scrolled {
    background: rgba(3,5,16,0.94);
    backdrop-filter: blur(16px);
    padding: 10px 48px;
    border-bottom: 1px solid rgba(139,92,246,0.1);
    box-shadow: 0 4px 40px rgba(0,0,0,0.6);
  }

  .nav-brand { display: flex; align-items: center; }

  .nav-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(139,92,246,0.4));
    transition: filter 0.3s, transform 0.3s;
    flex-shrink: 0;
  }
  .nav-logo-img:hover { filter: drop-shadow(0 0 18px rgba(139,92,246,0.7)); transform: scale(1.04); }

  .nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    align-items: center;
  }
  .nav-links a {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
  }
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--purple), var(--cyan));
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: left;
  }
  .nav-links a:hover { color: var(--gold); }
  .nav-links a:hover::after { transform: scaleX(1); }
  .nav-links .nav-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-bright), #a87830);
    color: var(--void);
    font-weight: 800;
    padding: 8px 24px;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    letter-spacing: 0.12em;
    border: none;
    transition: all 0.3s;
    animation: ctaPulse 2s infinite;
  }
  .nav-links .nav-cta::after { display: none; }
  .nav-links .nav-cta:hover { 
    filter: drop-shadow(0 0 15px rgba(201,168,76,0.6)); 
    transform: translateY(-2px); 
    color: var(--void); 
  }
  @keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.5); }
    70%      { box-shadow: 0 0 0 8px rgba(201,168,76,0); }
  }

  /* Hamburger */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
  }
  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s;
    transform-origin: center;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(3,5,16,0.98);
    backdrop-filter: blur(26px);
    z-index: 400;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .mobile-menu.open { opacity: 1; pointer-events: all; }
  .mobile-menu-logo {
    width: 100px; height: auto;
    filter: drop-shadow(0 0 20px rgba(139,92,246,0.45));
    animation: floatLogo 3s ease-in-out infinite;
    margin-bottom: 10px;
  }
  @keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
  .mobile-menu a {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
  }
  .mobile-menu a:hover {
    color: var(--gold);
    transform: translateX(2px);
  }

  /* ── Popup Modal ── */
  .popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3,5,16,0.8);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    padding: 20px;
  }
  .popup-overlay.open { display: flex; }
  .popup-card {
    width: min(520px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(10,15,34,0.98), rgba(7,10,24,0.98));
    border: 1px solid rgba(139,92,246,0.28);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(139,92,246,0.08);
    padding: 28px;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: rgba(139,92,246,0.3) transparent;
  }
  .popup-card::-webkit-scrollbar {
    width: 6px;
  }
  .popup-card::-webkit-scrollbar-track {
    background: transparent;
  }
  .popup-card::-webkit-scrollbar-thumb {
    background: rgba(139,92,246,0.3);
    border-radius: 99px;
  }
  .popup-card::-webkit-scrollbar-thumb:hover {
    background: rgba(139,92,246,0.5);
  }
  .popup-x {
    position: absolute;
    top: 10px; right: 12px;
    width: 32px; height: 32px;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
  }
  .popup-x:hover { color: var(--gold-bright); transform: scale(1.1); }
  .popup-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 10px;
  }
  .popup-text {
    color: var(--text-dim);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 22px;
  }
  .drive-download-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: linear-gradient(145deg, rgba(17,24,56,0.85), rgba(10,15,34,0.95));
    border: 1px solid rgba(139,92,246,0.2);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  }
  .drive-download-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--purple), transparent);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .drive-download-card::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(139,92,246,0.06), transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
  }
  .drive-download-card:hover {
    border-color: rgba(201,168,76,0.35);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 24px rgba(201,168,76,0.12), 0 0 60px rgba(139,92,246,0.06);
    background: linear-gradient(145deg, rgba(17,24,56,0.95), rgba(10,15,34,1));
  }
  .drive-download-card:hover::before {
    opacity: 1;
  }
  .drive-download-card strong {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-dim));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.3;
    position: relative;
    z-index: 1;
  }
  .drive-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: block;
    object-fit: contain;
  }
  .popup-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-top: 24px;
  }
  .register-form {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
  }
  .register-label {
    font-family: 'Cinzel', serif;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
  }
  .register-optional {
    color: color-mix(in srgb, var(--text-dim) 70%, transparent);
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }
  .register-input {
    width: 100%;
    background: rgba(3,5,16,0.7);
    border: 1px solid rgba(139,92,246,0.24);
    color: var(--white);
    padding: 10px 12px;
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .register-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(201,168,76,0.15);
  }
  .register-submit {
    margin-top: 12px;
    justify-content: center;
  }
  .register-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
  }
  .captcha-row {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 12px;
    align-items: end;
  }
  .captcha-question {
    display: block;
    margin-top: 4px;
    color: var(--gold-bright);
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
  }
  .captcha-input {
    text-align: center;
  }
  .register-message {
    min-height: 22px;
    font-size: 0.88rem;
    color: var(--text-dim);
  }
  .register-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }
  .register-message.success { color: var(--green); }
  .register-message.error { color: #ff7a7a; }

  /* Referral result popup */
  .referral-result-card {
    display: grid;
    gap: 16px;
    margin-top: 4px;
  }
  .referral-field {
    display: grid;
    gap: 6px;
  }
  .copy-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
  }
  .copy-input {
    cursor: text;
    user-select: all;
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 0.95rem;
  }
  .copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(139,92,246,0.08);
    border: 1px solid rgba(139,92,246,0.2);
    color: var(--text-dim);
    font-family: 'Cinzel', serif;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
  }
  .copy-btn:hover {
    background: rgba(139,92,246,0.15);
    border-color: rgba(139,92,246,0.35);
    color: var(--white);
  }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 100px;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--void) 0%, #050a1e 40%, #070d24 100%);
  }



  /* Light beams */
  .hero-beam {
    position: absolute;
    top: -20%;
    left: 50%;
    width: 1px;
    height: 140%;
    background: linear-gradient(to bottom, transparent, rgba(139,92,246,0.06) 40%, transparent);
    transform: rotate(-15deg);
    animation: beamPulse 6s ease-in-out infinite;
  }
  .hero-beam:nth-child(3) {
    left: 40%;
    animation-delay: 2s;
    opacity: 0.5;
    background: linear-gradient(to bottom, transparent, rgba(79,195,247,0.04) 40%, transparent);
  }
  @keyframes beamPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
  }

  .embers { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
  .ember-particle {
    position: absolute;
    bottom: -10px;
    width: 3px; height: 3px;
    border-radius: 50%;
    animation: rise var(--dur, 8s) var(--delay, 0s) infinite ease-in;
    opacity: 0;
  }
  @keyframes rise {
    0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    10%  { opacity: 0.9; }
    80%  { opacity: 0.3; }
    100% { transform: translateY(-110vh) translateX(var(--drift, 40px)) scale(0.2); opacity: 0; }
  }

  /* Shooting Star (Kept for elegance) */
  .shooting-star {
    position: absolute;
    width: 62px;
    height: 1px;
    background: linear-gradient(90deg, rgba(79,195,247,0.5), rgba(139,92,246,0.32), transparent);
    filter: drop-shadow(0 0 4px rgba(79,195,247,0.18));
    opacity: 0;
    transform: rotate(-58deg);
    pointer-events: none;
    animation: shootingStar 8.5s ease-in-out infinite;
  }
  .shooting-star::before {
    content: '';
    position: absolute;
    left: -2px; top: -1px;
    width: 2px; height: 2px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 5px rgba(79,195,247,0.45);
  }
  .shooting-star.star-a { top: 38%; left: 16%; animation-delay: 1.2s; opacity: 0.5; }
  .shooting-star.star-b { top: 22%; right: 22%; animation-delay: 4.5s; opacity: 0.4; transform: rotate(-42deg); }

  @keyframes shootingStar {
    0% { opacity: 0; transform: translate3d(0,0,0) rotate(-58deg); }
    10% { opacity: 0.45; }
    45% { opacity: 0.36; transform: translate3d(20px,36px,0) rotate(-58deg); }
    60% { opacity: 0; transform: translate3d(26px,48px,0) rotate(-58deg); }
    100% { opacity: 0; transform: translate3d(26px,48px,0) rotate(-58deg); }
  }

  /* ── CLASS SHOWCASE ── */
  .class-showcase-container {
    margin-top: 48px;
    background: rgba(10,15,34,0.7);
    border: 1px solid rgba(139,92,246,0.15);
    backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  }
  .class-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 36px;
    flex-wrap: wrap;
  }
  .class-tab-btn {
    font-family: 'Cinzel', serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    background: rgba(139,92,246,0.04);
    border: 1px solid rgba(139,92,246,0.18);
    padding: 12px 28px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  }
  .class-tab-btn.active, .class-tab-btn:hover {
    color: var(--gold-bright);
    background: rgba(139,92,246,0.15);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(201,168,76,0.25);
    transform: translateY(-2px);
  }
  .class-content-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
  }
  .class-info-panel h3 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .class-info-panel .class-accent {
    color: var(--gold);
  }
  .class-desc-text {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 28px;
  }
  .class-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .class-stat-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .class-stat-label-wrap {
    display: flex;
    justify-content: space-between;
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--text-dim);
  }
  .class-stat-label-wrap span:last-child {
    color: var(--gold);
    font-weight: 700;
  }
  .class-stat-bar-bg {
    height: 6px;
    background: rgba(139,92,246,0.08);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(139,92,246,0.06);
  }
  .class-stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--purple), var(--cyan), var(--gold-bright));
    width: 0%;
    transition: width 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 0 10px rgba(139,92,246,0.6);
  }
  .class-visual-panel {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
  }
  .class-card {
    background: linear-gradient(135deg, rgba(10,15,34,0.9), rgba(17,24,56,0.9));
    border: 1px solid rgba(139,92,246,0.2);
    border-radius: 8px;
    padding: 32px;
    width: 100%;
    box-shadow: 0 12px 36px rgba(0,0,0,0.5), inset 0 0 20px rgba(139,92,246,0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
  }
  .class-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(201,168,76,0.08) 50%, transparent 60%);
    background-size: 200% 200%;
    transition: background-position 0.6s;
    pointer-events: none;
  }
  .class-card:hover {
    border-color: var(--gold);
    box-shadow: 0 16px 48px rgba(139,92,246,0.18), 0 0 30px rgba(201,168,76,0.1);
  }
  .class-card:hover::after {
    background-position: 100% 100%;
  }
  .class-card-label {
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--gold-bright);
    text-transform: uppercase;
    margin-bottom: 18px;
    display: block;
    border-bottom: 1px solid rgba(139,92,246,0.12);
    padding-bottom: 8px;
  }
  .class-skills-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .class-skills-list li {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .class-skill-icon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: rgba(139,92,246,0.12);
    border: 1px solid rgba(139,92,246,0.25);
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    color: var(--cyan);
    box-shadow: 0 0 8px rgba(79,195,247,0.2);
  }
  .class-skill-info {
    display: flex;
    flex-direction: column;
  }
  .class-skill-name {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.05em;
  }
  .class-skill-desc {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 2px;
  }

  /* ── VIP SECTION (mirrors #sertai) ── */
  /* ── SUPPORT ── */
  #support {
    background: var(--panel);
    max-width: 100%;
    padding: 110px 48px;
    position: relative;
    border-top: 1px solid rgba(139,92,246,0.07);
    border-bottom: 1px solid rgba(139,92,246,0.07);
  }
  #support::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 40%; height: 100%;
    background: radial-gradient(ellipse at right center, rgba(201,168,76,0.03) 0%, transparent 70%);
    pointer-events: none;
  }

  .topup-section {
    max-width: 1200px;
    margin: 52px auto 0;
    padding: 0;
  }
  .topup-section-copy {
    max-width: 720px;
    margin: 0 0 26px;
  }
  .topup-package-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  .topup-package-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .topup-package {
    position: relative;
    display: flex;
    min-height: 158px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 18px;
    border: 1px solid rgba(139,92,246,0.18);
    background: rgba(13,18,41,0.82);
    color: var(--white);
    cursor: pointer;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
  }
  .topup-package[hidden] { display: none; }
  .topup-package:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    background: rgba(22,29,59,0.96);
  }
  .topup-package-rm {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-bright);
  }
  .topup-package strong { font-size: 1.05rem; }
  .topup-package small { color: var(--text-dim); }
  .topup-package--vip {
    border-color: rgba(201,168,76,0.48);
    box-shadow: 0 12px 32px rgba(201,168,76,0.08);
  }
  .topup-package-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 3px;
    background: var(--gold);
    color: var(--void);
    font-family: 'Cinzel', serif;
    font-size: .56rem;
    font-weight: 800;
    letter-spacing: .1em;
  }
  @media (max-width: 700px) {
    .topup-section { padding: 24px 16px; }
    .topup-package-grid,
    .topup-package-grid--three { grid-template-columns: 1fr; }
    .topup-package { min-height: 130px; }
  }

  .topup-vip-cta {
    margin-top: 32px;
    padding: 28px 24px;
    text-align: center;
    border: 1px solid rgba(201,168,76,0.2);
    background: linear-gradient(135deg, rgba(201,168,76,0.06), rgba(139,92,246,0.04));
  }
  .topup-vip-cta p {
    color: var(--text-dim);
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto 20px;
    line-height: 1.6;
  }
  .topup-vip-cta p strong {
    color: var(--gold-bright);
  }
  .topup-vip-cta .btn {
    display: inline-flex;
  }

  .vip-popup-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: min(100%, 280px);
    margin: 10px auto;
  }
  .vip-popup-qr img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    background: var(--white);
    border: 3px solid var(--gold);
    box-shadow: 0 0 32px rgba(201,168,76,0.15), 0 0 12px rgba(139,92,246,0.08);
  }
  .vip-popup-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(201,168,76,0.35);
    background: rgba(201,168,76,0.12);
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  }
  .vip-popup-download:hover {
    transform: translateY(-1px);
    background: rgba(201,168,76,0.2);
    border-color: rgba(201,168,76,0.55);
  }
  .vip-popup-download:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
  }
  .vip-popup-form {
    margin-top: 16px;
  }
  .vip-popup-form .register-label {
    margin-bottom: 6px;
  }
  .vip-popup-hint {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin: 8px 0 0;
  }

  /* ── NEWS & UPDATES ── */
  .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 450px));
    gap: 24px;
    margin-top: 40px;
  }
  .news-card {
    background: var(--panel-mid);
    border: 1px solid rgba(139,92,246,0.12);
    border-radius: 8px;
    padding: 32px 28px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }
  .news-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: linear-gradient(to bottom, var(--gold), var(--cyan));
    opacity: 0.5;
    transition: opacity 0.3s, width 0.3s;
  }
  .news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139,92,246,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 15px rgba(139,92,246,0.1);
  }
  .news-card:hover::before {
    opacity: 1;
    width: 6px;
  }
  .event-card-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 16px;
    align-items: start;
  }
  .event-card-main {
    min-width: 0;
  }
  .event-card-poster {
    width: 76px;
    height: 76px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(201,168,76,0.18);
    background: rgba(5,8,20,0.65);
    box-shadow: 0 8px 18px rgba(0,0,0,0.24), inset 0 0 0 1px rgba(255,255,255,0.03);
    position: relative;
    display: block;
  }
  .event-card-poster img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.08);
    transition: transform 0.35s ease, filter 0.35s ease;
  }
  .news-card:hover .event-card-poster img {
    transform: scale(1.08);
    filter: saturate(1.16) contrast(1.12);
  }
  .news-date {
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 12px;
  }
  .news-title {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
  .news-excerpt {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 20px;
    overflow-wrap: anywhere;
  }
  .news-link {
    font-size: 0.82rem;
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
  }
  .news-link:hover { color: var(--gold-bright); }

  /* Lightbox Modal */
  .lightbox-overlay {
    position: fixed;
    inset: 0;
    background:
      radial-gradient(circle at 50% 12%, rgba(139, 92, 246, 0.16), transparent 34%),
      linear-gradient(180deg, rgba(3, 5, 16, 0.9), rgba(3, 5, 16, 0.98));
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    padding: 0;
  }

  .lightbox-overlay.open {
    display: flex;
    opacity: 1;
  }

  .lightbox-content-wrap {
    width: 100vw;
    height: 100vh;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    transform: scale(0.985);
    transition: transform 0.3s ease;
  }

  .lightbox-overlay.open .lightbox-content-wrap {
    transform: scale(1);
  }

  .lightbox-stage {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: clamp(44px, 6vh, 66px) clamp(12px, 4vw, 56px) clamp(108px, 15vh, 144px);
    box-sizing: border-box;
  }

  .lightbox-img {
    width: auto;
    height: auto;
    max-width: min(calc(100vw - clamp(24px, 8vw, 112px)), 1440px);
    max-height: calc(100vh - clamp(44px, 6vh, 66px) - clamp(108px, 15vh, 144px));
    object-fit: contain;
    border-radius: 4px;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.62));
  }

  .lightbox-overlay.poster-mode .lightbox-stage {
    padding: clamp(38px, 5vh, 58px) clamp(10px, 3vw, 42px) clamp(92px, 12vh, 118px);
  }

  .lightbox-overlay.poster-mode .lightbox-img {
    max-width: min(calc(100vw - clamp(20px, 6vw, 84px)), 1280px);
    max-height: calc(100vh - clamp(38px, 5vh, 58px) - clamp(92px, 12vh, 118px));
  }

  .lightbox-img[hidden] {
    display: none;
  }

  .lightbox-video {
    background: #000;
    border: 1px solid rgba(139, 92, 246, 0.24);
  }

  .lightbox-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 12;
    display: grid;
    place-items: center;
    transition: color 0.2s, transform 0.2s;
    line-height: 1;
  }

  .lightbox-close:hover {
    color: var(--gold-bright);
    transform: scale(1.1);
  }

  .lightbox-control-bar {
    position: absolute;
    left: 50%;
    bottom: clamp(18px, 3.5vh, 34px);
    width: min(720px, calc(100vw - 32px));
    z-index: 11;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    transform: translateX(-50%);
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.86), 0 0 18px rgba(3, 5, 16, 0.8);
  }

  .lightbox-nav-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  .lightbox-nav {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: rgba(3, 5, 16, 0.36);
    border: 1px solid rgba(139, 92, 246, 0.18);
    color: var(--text-dim);
    font-size: 1.35rem;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
    line-height: 1;
    border-radius: 4px;
  }

  .lightbox-nav:hover {
    background: rgba(139, 92, 246, 0.18);
    border-color: var(--gold);
    color: var(--gold-bright);
    transform: translateY(-2px);
  }

  .lightbox-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
  }

  .lightbox-footer {
    min-width: 0;
    display: grid;
    gap: 5px;
    justify-items: center;
  }

  .lightbox-caption {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: clamp(0.82rem, 1.35vw, 1rem);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .lightbox-date {
    display: block;
    margin-top: 4px;
    color: var(--text-dim);
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: none;
  }

  .lightbox-counter {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    margin: 0;
  }

  @media (max-width: 600px) {
    .lightbox-stage {
      padding: 54px 10px 132px;
    }

    .lightbox-img {
      max-width: calc(100vw - 20px);
      max-height: calc(100vh - 186px);
    }

    .lightbox-overlay.poster-mode .lightbox-stage {
      padding: 48px 10px 112px;
    }

    .lightbox-overlay.poster-mode .lightbox-img {
      max-width: calc(100vw - 20px);
      max-height: calc(100vh - 160px);
    }

    .lightbox-control-bar {
      width: calc(100vw - 28px);
      gap: 10px;
    }

    .lightbox-footer {
      text-align: center;
    }

    .lightbox-nav-row {
      justify-content: center;
    }

    .lightbox-nav {
      width: 42px;
      height: 42px;
      font-size: 1.35rem;
    }
  }

  /* ── FAQ SECTION ── */
  #faq {
    background: var(--panel);
    max-width: 100%;
    padding: 110px 48px;
    border-bottom: 1px solid rgba(139,92,246,0.07);
    position: relative;
  }
  #faq::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 40%; height: 100%;
    background: radial-gradient(ellipse at left center, rgba(139,92,246,0.03) 0%, transparent 70%);
    pointer-events: none;
  }
  #faq .section-label,
  #faq .section-title,
  #faq .section-desc {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
  .faq-list {
    max-width: 800px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .faq-item {
    background: var(--panel-mid);
    border: 1px solid rgba(139,92,246,0.1);
    transition: border-color 0.25s;
  }
  .faq-item:hover {
    border-color: rgba(139,92,246,0.2);
  }
  .faq-item.active {
    border-color: rgba(201,168,76,0.25);
  }
  .faq-trigger {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--white);
    font-size: 0.88rem;
    line-height: 1.5;
    transition: color 0.25s;
  }
  .faq-item:hover .faq-trigger,
  .faq-item.active .faq-trigger {
    color: var(--gold-bright);
  }
  .faq-arrow {
    font-size: 0.55rem;
    color: var(--text-dim);
    flex-shrink: 0;
    transition: transform 0.3s, color 0.25s;
  }
  .faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--gold-bright);
  }
  .faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: var(--text-dim);
    font-size: 0.85rem;
    line-height: 1.7;
    padding: 0 24px;
  }
  .faq-item.active .faq-content {
    padding: 14px 24px 18px;
    border-top: 1px solid rgba(139,92,246,0.1);
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ── HERO LOGO (replaces title) ── */
  .hero-logo-wrap {
    position: relative;
    margin-bottom: 16px;
    animation: fadeUp 1s both 0.1s;
    z-index: 2;
    transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .hero-logo {
    width: clamp(220px, 36vw, 380px);
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    animation: heroLogoFloat 4.5s ease-in-out infinite;
  }
  @keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
  }
  .hero-eyebrow,
  .hero-tagline,
  .hero-desc,
  .hero-cta {
    position: relative;
    animation: fadeUp 1s both;
    z-index: 2;
  }

  .hero-eyebrow {
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 32px;
    animation-delay: 0.3s;
  }

  .hero-tagline {
    font-family: 'Cinzel', serif;
    font-size: clamp(0.85rem, 2vw, 1.05rem);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 36px;
    animation-delay: 0.5s;
    opacity: 0;
    animation: taglineFadeIn 1.8s ease 0.7s forwards;
    background-image: linear-gradient(90deg, rgba(200,192,214,0.6), rgba(201,168,76,0.9), rgba(79,195,247,0.8), rgba(200,192,214,0.6));
    background-size: 300% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: taglineFadeIn 1.8s ease 0.7s forwards, taglineShimmer 6s ease-in-out infinite 2s;
  }
  @keyframes taglineFadeIn {
    0% { opacity: 0; transform: translateY(10px); filter: blur(2px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
  }
  @keyframes taglineShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }

  .hero-desc {
    max-width: 600px;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text);
    line-height: 1.8;
    margin: 0 auto 52px;
    animation-delay: 0.7s;
  }
  .hero-desc em { font-style: italic; color: var(--gold-bright); }

  .hero-cta { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; animation-delay: 0.9s; }

  /* ── BUTTONS ── */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 38px;
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }
  .btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.04);
    transform: translateX(-100%);
    transition: transform 0.4s;
  }
  .btn:hover::before { transform: translateX(0); }

  .btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-bright), #a87830);
    color: var(--void);
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  }
  .btn-secondary {
    background: transparent;
    color: var(--purple);
    border: 1px solid rgba(139,92,246,0.35);
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  }
  .btn:hover { transform: translateY(-2px); }
  .btn-primary:hover { box-shadow: 0 8px 40px rgba(201,168,76,0.4); }
  .btn-secondary:hover { background: rgba(139,92,246,0.07); border-color: var(--purple); box-shadow: 0 8px 30px rgba(139,92,246,0.2); color: var(--gold); }

  /* ── STATS BAR ── */
  .stats-bar {
    background: var(--panel);
    border-top: 1px solid rgba(139,92,246,0.1);
    border-bottom: 1px solid rgba(139,92,246,0.1);
    position: relative;
    overflow: hidden;
  }
  .stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(139,92,246,0.03) 50%, transparent);
  }
  .stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 48px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
  }
  .server-card {
    width: min(100%, 360px);
    position: relative;
    padding: 12px 16px 10px;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(13,18,41,0.92), rgba(7,10,24,0.92));
    border: 1px solid rgba(139,92,246,0.18);
    box-shadow: 0 12px 28px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
    backdrop-filter: blur(14px);
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  }
  .server-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(62,228,139,0.55), transparent);
  }
  .server-card:hover {
    border-color: rgba(62,228,139,0.4);
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(0,0,0,0.55), 0 0 22px rgba(62,228,139,0.1);
  }
  .server-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
  }
  .server-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.3);
    color: #9bf6c0;
    font-family: 'Cinzel', serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }
  .server-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.18), 0 0 10px rgba(34,197,94,0.8);
    animation: serverPulse 1.6s ease-out infinite;
  }
  @keyframes serverPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5), 0 0 8px rgba(34,197,94,0.7); }
    70%      { box-shadow: 0 0 0 7px rgba(34,197,94,0), 0 0 12px rgba(34,197,94,0.9); }
  }
  .server-region {
    font-family: 'Cinzel', serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--text-dim);
    text-transform: uppercase;
  }
  .server-name {
    margin: 0 0 8px;
    font-family: 'Cinzel Decorative', serif;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    color: var(--gold-bright);
    line-height: 1.1;
    text-transform: uppercase;
  }
  .server-meta {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(139,92,246,0.1);
  }
  .server-meta li {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: center;
  }
  .server-meta li + li {
    border-left: 1px solid rgba(139,92,246,0.08);
  }
  .meta-label {
    font-family: 'Cinzel', serif;
    font-size: 0.5rem;
    letter-spacing: 0.15em;
    color: var(--text-dim);
    text-transform: uppercase;
  }
  .meta-value {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.04em;
  }
  @media (max-width: 480px) {
    .server-card { padding: 10px 14px 8px; }
    .server-name { font-size: 0.88rem; }
    .meta-value { font-size: 0.65rem; }
    .stats-inner { padding: 10px 24px; }
  }

  /* ── SECTIONS ── */
  section { padding: 110px 48px; max-width: 1200px; margin: 0 auto; }

  .section-label {
    font-family: 'Cinzel', serif;
    font-size: 0.63rem;
    font-weight: 600;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .section-label::before {
    content: '';
    width: 32px; height: 1px;
    background: var(--purple);
    opacity: 0.6;
  }

  .section-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
  }
  .section-title .accent { color: var(--gold); }
  .section-desc {
    max-width: 620px;
    color: var(--text-dim);
    font-weight: 300;
    font-size: 1.05rem;
  }

  /* ── FEATURES ── */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    margin-top: 60px;
    background: rgba(139,92,246,0.06);
  }
  .feature-card {
    background: var(--panel);
    padding: 44px 38px;
    transition: background 0.35s, transform 0.35s;
    position: relative;
    overflow: hidden;
  }
  .feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 2px; height: 0;
    background: linear-gradient(to bottom, var(--purple), var(--cyan));
    transition: height 0.4s ease;
  }
  .feature-card:hover { background: var(--panel-light); transform: translateY(-2px); }
  .feature-card:hover::before { height: 100%; }
  .feature-name {
    font-family: 'Cinzel', serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
  }
  .feature-text { color: var(--text-dim); font-size: 0.95rem; line-height: 1.75; }

  /* ── SERTAI ── */
  #sertai {
    background: var(--panel);
    max-width: 100%;
    padding: 110px 48px;
    position: relative;
    border-top: 1px solid rgba(139,92,246,0.07);
    border-bottom: 1px solid rgba(139,92,246,0.07);
  }
  #sertai::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 40%; height: 100%;
    background: radial-gradient(ellipse at right center, rgba(139,92,246,0.04) 0%, transparent 70%);
    pointer-events: none;
  }
  .download-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  /* ── DONATE ── */
  .join-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 38px;
  }
  .join-action {
    min-height: 118px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(139,92,246,0.12);
    background: var(--panel-mid);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  }
  .join-action::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold), var(--purple));
    opacity: 0.45;
  }
  .join-action.primary {
    border-color: rgba(201,168,76,0.3);
    background: linear-gradient(145deg, rgba(201,168,76,0.1), var(--panel-mid) 58%);
  }
  .join-action:hover {
    border-color: rgba(139,92,246,0.32);
    background: var(--panel-light);
    box-shadow: 0 12px 30px rgba(0,0,0,0.28), 0 0 16px rgba(139,92,246,0.08);
    transform: translateY(-3px);
  }
  .join-action.primary:hover { border-color: rgba(201,168,76,0.46); }
  .join-action-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(139,92,246,0.2);
    background: rgba(3,5,16,0.62);
    font-size: 1.1rem;
    color: var(--gold-bright);
  }
  .join-action-kicker {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 5px;
  }
  .join-action-title {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
  }
  .join-panel {
    background: var(--panel-mid);
    padding: 34px;
    border: 1px solid rgba(139,92,246,0.12);
    position: relative;
    box-shadow: 0 16px 40px rgba(0,0,0,0.34);
  }
  .join-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--purple));
    opacity: 0.62;
  }
  .join-panel-label {
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
  }
  .join-panel h3 {
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.35;
  }
  .vip-benefit-list--popup {
    margin-top: 0;
  }

  .join-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .join-checklist li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px;
    background: rgba(139,92,246,0.025);
    border: 1px solid rgba(139,92,246,0.07);
  }
  .join-checklist span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--gold-bright);
    border: 1px solid rgba(201,168,76,0.24);
    font-family: 'Cinzel', serif;
    font-size: 0.68rem;
  }
  .join-checklist p {
    margin: 0;
    color: var(--text-dim);
    line-height: 1.55;
    font-size: 0.92rem;
  }
  .topup-popup-summary {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid rgba(201,168,76,.2);
    background: rgba(201,168,76,.06);
    color: var(--text-dim);
  }
  .topup-popup-summary strong { color: var(--gold-bright); }
  /* ── COMMUNITY ── */
  #community {
    background: var(--panel);
    max-width: 100%;
    padding: 110px 48px;
    border-top: 1px solid rgba(139,92,246,0.07);
    position: relative;
  }
  #community::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 40%; height: 100%;
    background: radial-gradient(ellipse at right center, rgba(139,92,246,0.04) 0%, transparent 70%);
    pointer-events: none;
  }

  /* ── GALLERY SECTION ── */
  #gallery {
    background: var(--panel);
    max-width: 100%;
    padding: 110px 48px;
    border-top: 1px solid rgba(139,92,246,0.07);
    border-bottom: 1px solid rgba(139,92,246,0.07);
    position: relative;
  }
  #gallery::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 40%; height: 100%;
    background: radial-gradient(ellipse at left center, rgba(139,92,246,0.03) 0%, transparent 70%);
    pointer-events: none;
  }
  .gallery-inner {
    max-width: 1200px;
    margin: 0 auto;
  }

  /* Filter pills */
  .gallery-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    margin-top: 40px;
  }
  .gallery-filter-btn {
    font-family: 'Cinzel', serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 10px 22px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(139,92,246,0.25);
    background: transparent;
    color: var(--text-dim);
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  }
  .gallery-filter-btn:hover {
    color: var(--gold-bright);
    border-color: var(--gold);
    background: rgba(139,92,246,0.07);
  }
  .gallery-filter-btn.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-bright), #a87830);
    color: var(--void);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(201,168,76,0.3);
  }

  /* Grid */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  @media (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 600px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  }

  /* Image card */
  .gallery-card {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .gallery-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 36px rgba(0,0,0,0.5), 0 0 20px rgba(139,92,246,0.12);
  }
  .gallery-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
  }
  .gallery-card:hover .gallery-card-img {
    transform: scale(1.08);
  }
  .gallery-card-video {
    background: var(--panel-mid);
  }

  /* Caption overlay */
  .gallery-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 14px 12px;
    background: linear-gradient(transparent, rgba(3,5,16,0.88));
    pointer-events: none;
    text-align: left;
  }
  .gallery-card-name {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 4px;
  }
  .gallery-category-dot {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .gallery-category-dot::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
  }
  .gallery-category-dot.all::before {
    background: var(--text-dim);
    box-shadow: 0 0 6px rgba(209,213,219,0.6);
  }
  .gallery-category-dot.community::before {
    background: #38bdf8;
    box-shadow: 0 0 6px rgba(56,189,248,0.8);
  }
  .gallery-category-dot.in-game::before {
    background: #38bdf8;
    box-shadow: 0 0 6px rgba(56,189,248,0.8);
  }
  .gallery-category-dot.event::before {
    background: var(--gold);
    box-shadow: 0 0 6px var(--gold);
  }

  /* Skeleton shimmer */
  .skeleton-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  @media (max-width: 900px) {
    .skeleton-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 600px) {
    .skeleton-grid { grid-template-columns: repeat(2, 1fr); }
  }
  .skeleton-card {
    height: 200px;
    border-radius: 6px;
    background: var(--panel-mid);
    position: relative;
    overflow: hidden;
  }
  .skeleton-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(139,92,246,0.08), transparent);
    animation: skeletonShimmer 1.6s ease-in-out infinite;
  }
  @keyframes skeletonShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }

  /* Gallery filter empty state */
  .gallery-filter-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 24px;
    color: var(--text-dim);
    font-size: 0.95rem;
  }

  /* Gallery error state */
  .gallery-error {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-dim);
    font-size: 0.95rem;
  }

  /* Gallery pagination */
  .gallery-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
  }
  .gallery-pagination[hidden] {
    display: none;
  }
  .gallery-page-btn {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 700;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: rgba(139,92,246,0.08);
    border: 1px solid rgba(139,92,246,0.2);
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
    line-height: 1;
  }
  .gallery-page-btn:hover:not(:disabled) {
    background: rgba(139,92,246,0.2);
    border-color: var(--gold);
    color: var(--gold-bright);
  }
  .gallery-page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
  }
  .gallery-page-info {
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    min-width: 60px;
    text-align: center;
  }

  /* Lightbox counter */
  .lightbox-counter {
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    color: var(--text-dim);
    text-align: center;
    margin-top: 8px;
    letter-spacing: 0.08em;
  }

  /* ── EVENTS SECTION ── */
  #events {
    background: var(--panel);
    max-width: 100%;
    padding: 110px 48px;
    border-top: 1px solid rgba(139,92,246,0.07);
    border-bottom: 1px solid rgba(139,92,246,0.07);
    position: relative;
  }
  #events::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 40%; height: 100%;
    background: radial-gradient(ellipse at right center, rgba(79,195,247,0.03) 0%, transparent 70%);
    pointer-events: none;
  }
  .events-inner {
    max-width: 1200px;
    margin: 0 auto;
  }

  /* Status badges */
  .event-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Cinzel', serif;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 99px;
  }
  @keyframes activeBreath {
    0%, 100% { box-shadow: 0 0 6px rgba(62,228,139,0.15), 0 0 0 0 rgba(62,228,139,0.05); }
    50% { box-shadow: 0 0 18px rgba(62,228,139,0.4), 0 0 0 4px rgba(62,228,139,0.05); }
  }
  .event-status.status-active {
    background: rgba(62,228,139,0.12);
    border: 1px solid rgba(62,228,139,0.35);
    color: #9bf6c0;
    animation: activeBreath 2s ease-in-out infinite;
  }
  .event-status.status-upcoming {
    background: rgba(201,168,76,0.12);
    border: 1px solid rgba(201,168,76,0.35);
    color: var(--gold-bright);
  }
  .event-status.status-ended {
    background: rgba(108,111,119,0.12);
    border: 1px solid rgba(108,111,119,0.25);
    color: var(--text-dim);
  }

  /* Event card header row (badge + date) */
  .event-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
  }
  .event-popup-poster {
    aspect-ratio: 16 / 9;
    margin: 4px 0 18px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(201,168,76,0.22);
    background: rgba(5,8,20,0.7);
    box-shadow: 0 18px 40px rgba(0,0,0,0.28);
    position: relative;
  }
  .event-popup-poster img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }
  .event-poster-view {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(201,168,76,0.48);
    border-radius: 4px;
    background: rgba(3,5,16,0.72);
    color: var(--gold-bright);
    cursor: pointer;
    opacity: 0.92;
    transition: opacity 0.25s, transform 0.25s, border-color 0.25s, background 0.25s;
    z-index: 2;
  }
  .event-poster-view i {
    font-size: 0.95rem;
    line-height: 1;
  }
  .event-poster-view:hover,
  .event-poster-view:focus-visible {
    opacity: 1;
    background: rgba(17,24,56,0.9);
    border-color: var(--gold-bright);
    transform: translateY(-1px);
  }

  /* Past events */
  .news-card.ended {
    opacity: 0.55;
  }

  /* Active event sweep */
  .news-card:has(.status-active) {
    border-color: rgba(62,228,139,0.25);
    position: relative;
    overflow: hidden;
  }
  .news-card:has(.status-active)::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(62,228,139,0.6), transparent);
    animation: sweepLine 2.5s ease-in-out infinite;
  }
  @keyframes sweepLine {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
  }

  /* Skeleton for events */
  .skeleton-event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
  }
  .skeleton-event-card {
    height: 200px;
    border-radius: 8px;
    background: var(--panel-mid);
    position: relative;
    overflow: hidden;
  }
  .skeleton-event-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(139,92,246,0.08), transparent);
    animation: skeletonShimmer 1.6s ease-in-out infinite;
  }

  /* Events empty state */
  .events-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-dim);
    font-size: 0.95rem;
  }
  .events-empty a {
    color: var(--gold);
    text-decoration: underline;
  }

  /* Events error state */
  .events-error {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-dim);
    font-size: 0.95rem;
  }
  /* ── LEADERBOARD ── */
  .leaderboard-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  .lb-tab-btn {
    font-family: 'Cinzel', serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 10px 22px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(139,92,246,0.25);
    background: transparent;
    color: var(--text-dim);
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  }
  .lb-tab-btn:hover {
    color: var(--gold-bright);
    border-color: var(--gold);
    background: rgba(139,92,246,0.07);
  }
  .lb-tab-btn.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-bright), #a87830);
    color: var(--void);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(201,168,76,0.3);
  }
  .leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .lb-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: rgba(13,18,41,0.7);
    border: 1px solid rgba(139,92,246,0.08);
    transition: background 0.25s, border-color 0.25s;
  }
  .lb-row:hover {
    background: var(--panel-light);
    border-color: rgba(139,92,246,0.18);
  }
  .lb-row.top-1 { border-color: rgba(201,168,76,0.3); background: rgba(201,168,76,0.06); }
  .lb-row.top-2 { border-color: rgba(192,192,192,0.25); background: rgba(192,192,192,0.04); }
  .lb-row.top-3 { border-color: rgba(205,127,50,0.25); background: rgba(205,127,50,0.04); }
  .lb-rank {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    border-radius: 4px;
  }
  .lb-rank.rank-1 { background: rgba(201,168,76,0.2); color: var(--gold-bright); }
  .lb-rank.rank-2 { background: rgba(192,192,192,0.15); color: #c0c0c0; }
  .lb-rank.rank-3 { background: rgba(205,127,50,0.15); color: #cd7f32; }
  .lb-rank.rank-default { background: rgba(139,92,246,0.08); color: var(--text-dim); }
  .lb-class-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    font-size: 1rem;
    flex-shrink: 0;
  }
  .lb-vip-icon {
    font-size: 1rem;
    color: var(--gold-bright);
    filter: drop-shadow(0 0 6px rgba(201,168,76,0.4));
  }
  .lb-name {
    flex: 1;
    font-family: 'Cinzel', serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.04em;
  }
  .lb-value {
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold-bright);
    text-align: right;
    flex-shrink: 0;
  }
  .lb-guild {
    font-size: 0.65rem;
    color: var(--text-dim);
    background: rgba(139,92,246,0.08);
    padding: 2px 8px;
    border-radius: 3px;
    flex-shrink: 0;
    letter-spacing: 0.04em;
  }
  .leaderboard-empty,
  .leaderboard-error {
    text-align: center;
    padding: 24px;
    color: var(--text-dim);
    font-size: 0.9rem;
  }

  /* ── FOOTER ── */
  footer {
    border-top: 1px solid rgba(139,92,246,0.08);
    padding: 56px 48px;
    text-align: center;
    position: relative;
  }
  footer::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 120px; height: 1px;
    background: linear-gradient(to right, transparent, var(--purple), transparent);
  }
  .footer-logo-img {
    width: 90px; height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(139,92,246,0.35));
    transition: filter 0.4s;
    margin: 0 auto 16px;
    display: block;
  }
  .footer-logo-img:hover { filter: drop-shadow(0 0 24px rgba(139,92,246,0.65)); }
  .footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    list-style: none;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  .footer-links a {
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
  }
  .footer-links a:hover { color: var(--gold); }
  .footer-text { font-size: 0.82rem; color: var(--text-dim); line-height: 1.8; max-width: 500px; margin: 0 auto; }

  /* ── REVEAL ── */
  .reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.85s ease, transform 0.85s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity 0.85s ease, transform 0.85s ease; }
  .reveal-left.visible { opacity: 1; transform: translateX(0); }

  /* ── DIVIDER ── */
  .gold-divider {
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(139,92,246,0.35), rgba(201,168,76,0.3), transparent);
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    .download-inner { grid-template-columns: 1fr; gap: 48px; }
  }
  @media (max-width: 768px) {
    nav { padding: 10px 20px; }
    nav.scrolled { padding: 6px 20px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: flex; }
    section { padding: 70px 24px; }
    #sertai, #support, #community, #faq, #gallery, #events { padding: 70px 24px; }
    footer { padding: 48px 24px; }
    .footer-links { gap: 24px; }
    .stats-inner { padding: 32px 24px; gap: 24px; }
    .stat::after { display: none; }
    .download-inner { grid-template-columns: 1fr; gap: 48px; }
    .feature-card { padding: 32px 28px; }
    .join-actions { grid-template-columns: 1fr; margin-top: 30px; }
    .join-action { min-height: 96px; }
    .join-panel { padding: 24px; }
    .join-checklist li { grid-template-columns: 36px 1fr; padding: 12px; }
    .hero-logo { width: clamp(160px, 50vw, 260px); }
    .nav-logo-img { height: 40px; }
    .stats-inner { padding: 18px 24px; gap: 24px; }
  }
  @media (max-width: 1024px) {
  }
  /* ── Reduced motion ── */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important;
      scroll-behavior: auto !important;
    }
    .hero-beam, .shooting-star, .embers {
      display: none !important;
    }
    .reveal, .reveal-left { opacity: 1 !important; transform: none !important; }
  }
