/* ==========================================================================
   MEJAWD VIP 2026 - OPTIMIZED CSS
   Target: PageSpeed > 90, Fast LCP, Minimal CLS
   ========================================================================== */

   :root {
    /* Color Palette */
    --neon: #39FF14; /* Hijau Terang khas Gambar 2 */
    --neon-hover: #2ecc11;
    --neon-glow: rgba(57, 255, 20, 0.4);
    --dark-bg: #050505;
    --card-bg: rgba(15, 15, 15, 0.85);
    --text-main: #ffffff;
    --text-secondary: #b3b3b3;
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Space Grotesk', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --radius: 8px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  
  /* ==========================================================================
     RESET & BASE PERFORMANCE
     ========================================================================== */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
    /* Mencegah layout shift */
    text-size-adjust: 100%;
  }
  
  body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }
  
  /* Mengisolasi rendering area bawah lipatan (Below The Fold) untuk mendongkrak PageSpeed */
  section:not(#hero) {
    content-visibility: auto;
    contain-intrinsic-size: 1000px; 
  }
  
  h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  .container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* ==========================================================================
     TYPOGRAPHY & UTILITIES
     ========================================================================== */
  .gradient-text {
    color: var(--neon);
    text-shadow: 0 0 15px var(--neon-glow);
  }
  
  .neon-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon), transparent);
    opacity: 0.3;
    margin: 0 auto;
    box-shadow: 0 0 10px var(--neon-glow);
  }
  
  /* ==========================================================================
     BUTTONS (Sesuai Gambar 2)
     ========================================================================== */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    will-change: transform, box-shadow;
  }
  
  .btn-primary {
    background: linear-gradient(135deg, var(--neon), #1fb50a);
    color: #000000;
    box-shadow: 0 4px 15px var(--neon-glow);
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(57, 255, 20, 0.6);
    background: linear-gradient(135deg, #4dff2b, #26d912);
  }
  
  .btn-secondary {
    background: transparent;
    color: var(--neon);
    border: 1px solid var(--neon);
  }
  
  .btn-secondary:hover {
    background: rgba(57, 255, 20, 0.1);
    box-shadow: inset 0 0 10px var(--neon-glow), 0 0 15px var(--neon-glow);
  }
  
  .btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
  }
  
  /* ==========================================================================
     HEADER & NAVIGATION
     ========================================================================== */
  #header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(57, 255, 20, 0.1);
    transition: var(--transition);
  }
  
  #header.scrolled {
    padding: 10px 0;
    background: rgba(5, 5, 5, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  }
  
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo img {
    height: 42px;
    width: auto;
  }
  
  .nav-menu {
    display: none;
  }
  
  .header-cta {
    display: none;
  }
  
  @media (min-width: 992px) {
    .nav-menu {
      display: flex;
      gap: 30px;
    }
    .nav-menu a {
      font-size: 0.95rem;
      font-weight: 500;
      transition: color 0.2s;
    }
    .nav-menu a:hover {
      color: var(--neon);
    }
    .header-cta {
      display: flex;
      gap: 15px;
    }
  }
  
  /* ==========================================================================
     MOBILE NAVIGATION
     ========================================================================== */
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  .hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--neon);
    transition: 0.3s;
  }
  
  @media (min-width: 992px) {
    .hamburger { display: none; }
  }
  
  .mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #0a0a0a;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 80px 30px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    border-left: 1px solid rgba(57, 255, 20, 0.2);
    box-shadow: -10px 0 30px rgba(0,0,0,0.8);
  }
  
  .mobile-nav.open {
    right: 0;
  }
  
  .mobile-nav-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: var(--neon);
    font-size: 2rem;
    cursor: pointer;
  }
  
  .mobile-nav a {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 10px;
  }
  
  .mobile-nav .btn {
    margin-top: 20px;
    border-bottom: none;
  }
  
  /* ==========================================================================
     HERO SECTION (Optimized for LCP)
     ========================================================================== */
  #hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 60px;
    overflow: hidden;
  }
  
  .hero-bg-wrap {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
  }
  
  /* Fix LCP lambat: opacity diset fix untuk render awal cepat tanpa nunggu JS */
  .hero-bg-image {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.3;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(5,5,5,0.7) 0%, rgba(5,5,5,0.2) 60%, var(--dark-bg) 100%);
    z-index: 2;
  }
  
  .particles-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none;
  }
  
  .particle {
    position: absolute;
    background: var(--neon);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon);
  }
  
  .hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-badge {
    border: 1px solid var(--neon);
    color: var(--neon);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: inset 0 0 10px rgba(57, 255, 20, 0.2);
  }
  
  .hero-title {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin-bottom: 40px;
  }
  
  .hero-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 15px;
  }
  
  @media (min-width: 768px) {
    .hero-buttons {
      flex-direction: row;
      max-width: none;
      justify-content: center;
      gap: 20px;
    }
  }
  
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
    width: 100%;
    max-width: 700px;
  }
  
  @media (min-width: 768px) {
    .hero-stats {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  
  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--neon);
    font-weight: 700;
    text-shadow: 0 0 15px var(--neon-glow);
    line-height: 1;
    margin-bottom: 5px;
  }
  
  .stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  /* ==========================================================================
     GENERAL SECTIONS
     ========================================================================== */
  section {
    padding: 100px 0;
    position: relative;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 60px;
  }
  
  .section-tag {
    display: inline-block;
    color: var(--neon);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-weight: 600;
  }
  
  .section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
  }
  
  .section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
  }
  
  .section-divider {
    width: 60px;
    height: 3px;
    background: var(--neon);
    margin: 25px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--neon-glow);
  }
  
  /* Grid Layouts */
  .features-grid, .bonus-grid, .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
  
  /* Cards (Keunggulan & Layanan) */
  .feature-card, .service-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
  }
  
  .feature-card::before, .service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: transparent;
    transition: var(--transition);
  }
  
  .feature-card:hover, .service-card:hover {
    transform: translateY(-10px);
    background: rgba(20, 20, 20, 0.95);
    border-color: rgba(57, 255, 20, 0.2);
    box-shadow: 0 15px 30px rgba(0,0,0,0.8);
  }
  
  .feature-card:hover::before, .service-card:hover::before {
    background: var(--neon);
    box-shadow: 0 0 15px var(--neon);
  }
  
  .feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    text-shadow: 0 0 20px rgba(255,255,255,0.2);
  }
  
  .feature-card h3, .service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-main);
  }
  
  .feature-card p, .service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
  }
  
  /* Bonus Cards */
  .bonus-card {
    background: linear-gradient(145deg, #0a0a0a, #111111);
    border: 1px solid rgba(57, 255, 20, 0.15);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
  }
  
  .bonus-card:hover {
    border-color: var(--neon);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.1);
    transform: scale(1.02);
  }
  
  .bonus-badge {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--neon);
    text-shadow: 0 0 15px var(--neon-glow);
    margin-bottom: 15px;
  }
  
  .bonus-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }
  
  .bonus-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--neon);
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  /* Steps (Cara Bermain) */
  .steps-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .step-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border-left: 4px solid transparent;
    transition: var(--transition);
  }
  
  .step-item:hover {
    border-left-color: var(--neon);
    background: rgba(25, 25, 25, 0.9);
  }
  
  .step-number {
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid var(--neon);
    color: var(--neon);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: inset 0 0 10px var(--neon-glow);
  }
  
  .step-item h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }
  
  .step-item p {
    color: var(--text-secondary);
  }
  
  .steps-cta {
    text-align: center;
    margin-top: 50px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .btn-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
  }
  
  /* FAQ */
  .faq-container {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .faq-item {
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    background: var(--card-bg);
    overflow: hidden;
  }
  
  .faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-main);
    text-align: left;
    padding: 25px 30px;
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
  }
  
  .faq-question:hover {
    color: var(--neon);
  }
  
  .faq-icon {
    font-size: 1.5rem;
    color: var(--neon);
    transition: transform 0.3s ease;
  }
  
  .faq-item.active .faq-icon {
    transform: rotate(45deg);
  }
  
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    background: rgba(0,0,0,0.3);
  }
  
  .faq-item.active .faq-answer {
    max-height: 1000px; /* Trigger expand */
    transition: max-height 0.5s ease-in-out;
  }
  
  .faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-secondary);
  }
  
  /* ==========================================================================
     FOOTER
     ========================================================================== */
  #footer {
    background: #000000;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(57, 255, 20, 0.2);
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 50px;
  }
  
  @media (min-width: 768px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  }
  
  .footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 20px 0;
    max-width: 300px;
  }
  
  .social-links {
    display: flex;
    gap: 15px;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
  }
  
  .social-link:hover {
    background: var(--neon);
    color: #000;
    box-shadow: 0 0 15px var(--neon-glow);
    transform: translateY(-3px);
  }
  
  .footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--text-main);
  }
  
  .footer-col ul {
    list-style: none;
  }
  
  .footer-col ul li {
    margin-bottom: 12px;
  }
  
  .footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color 0.3s;
  }
  
  .footer-col ul li a:hover {
    color: var(--neon);
    padding-left: 5px;
  }
  
  .footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 30px;
  }
  
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 20px;
  }
  
  @media (min-width: 768px) {
    .footer-bottom {
      flex-direction: row;
      justify-content: space-between;
    }
  }
  
  .footer-disclaimer {
    font-size: 0.75rem;
    color: #555;
    text-align: center;
    border-top: 1px dashed #222;
    padding-top: 20px;
  }
  
  /* ==========================================================================
     FLOATING & SCROLL TOP CTA
     ========================================================================== */
  .floating-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: 90%;
    max-width: 400px;
    display: none; /* Hide on desktop */
  }
  
  @media (max-width: 767px) {
    .floating-cta { display: block; }
    body { padding-bottom: 80px; } /* Jarak agar konten bawah tidak tertutup CTA */
  }
  
  .floating-cta a {
    display: block;
    background: linear-gradient(90deg, var(--neon), #2ecc11);
    color: #000;
    text-align: center;
    padding: 16px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(57, 255, 20, 0.4);
    letter-spacing: 1px;
    border: 2px solid rgba(255,255,255,0.3);
  }
  
  .scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--card-bg);
    color: var(--neon);
    border: 1px solid var(--neon);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .scroll-top.visible {
    opacity: 1;
    visibility: visible;
  }
  
  .scroll-top:hover {
    background: var(--neon);
    color: #000;
    box-shadow: 0 0 15px var(--neon-glow);
  }
  
  /* ==========================================================================
     ANIMATIONS & REVEALS
     ========================================================================== */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
  }
  
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Anime.js text split classes */
  .split-word { display: inline-block; white-space: nowrap; }
  .split-char { display: inline-block; }