:root {
    --bg: #060a12;
    --bg2: #0c1220;
    --bg3: #141c2e;
    --accent: #E8A020;
    --accent-dim: rgba(232,160,32,0.12);
    --accent-border: rgba(232,160,32,0.35);
    --accent-glow: rgba(232,160,32,0.15);
    --text: #EEF2FF;
    --text-muted: #B8C5D8;
    --text-dim: #96A8BF;
    --green: #4ADE80;
    --green-bg: rgba(74,222,128,0.1);
    --cyan: #5EEAD4;
    --cyan-bg: rgba(45,212,191,0.08);
    --red: #E84040;
    --border: rgba(255,255,255,0.06);
    --radius: 12px;
    --radius-sm: 8px;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; font-size: 16px; }
  body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; height: auto; display: block; }
  a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 0.18em;
    text-decoration-thickness: 1px;
  }
  a:hover { text-decoration-thickness: 2px; }
  .nav-logo, .nav-logo:hover, .nav-cta, .nav-cta:hover, .btn-primary, .btn-primary:hover,
  .btn-secondary, .btn-secondary:hover, a.hero-banner-slot, a.hero-banner-slot:hover,
  .footer-logo a, .footer-logo a:hover,
  .footer-links a, .footer-links a:hover, .cta-section a, .cta-section a:hover, .sticky-cta a, .sticky-cta a:hover {
    text-decoration: none;
  }

  .container { max-width: 880px; margin: 0 auto; padding: 0 20px; }
  .section { padding: 52px 0; }
  /* Defer layout/paint for below-hero content (not .hero — it uses class "hero" only) */
  main .section {
    content-visibility: auto;
    contain-intrinsic-size: auto 480px;
  }


  nav {
    background: rgba(6,10,18,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .nav-logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
  }
  .nav-logo img {
    height: 36px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    object-position: left center;
    display: block;
  }
  .nav-logo:hover { opacity: 0.92; }
  .nav-tag {
    display: none;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: var(--cyan);
    text-transform: uppercase;
    margin-top: 2px;
  }
  @media (min-width: 480px) {
    .nav-tag { display: block; }
  }
  .nav-cta {
    background: var(--accent);
    color: #060a12;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.3px;
    transition: opacity 0.2s;
  }
  .nav-cta:hover { opacity: 0.88; text-decoration: none; }

  .hero {
    padding: 56px 20px 44px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(232,160,32,0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(232,160,32,0.035) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
  }
  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 55% at 50% -10%, var(--accent-glow) 0%, transparent 55%),
      radial-gradient(ellipse 50% 40% at 100% 50%, rgba(45,212,191,0.06) 0%, transparent 50%);
    pointer-events: none;
  }
  .hero-inner { position: relative; z-index: 1; max-width: 960px; margin: 0 auto; }

  /* Hero split: satu banner 1:1 + copy — ganti class section: hero--banner-right | hero--banner-left */
  .hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 340px);
    grid-template-areas: "copy banner";
    gap: 28px 40px;
    align-items: center;
  }
  .hero-copy {
    grid-area: copy;
    display: flex;
    flex-direction: column;
  }
  .hero-banner-aside {
    grid-area: banner;
    min-width: 0;
  }
  .hero--banner-right .hero-copy {
    text-align: left;
    align-items: flex-start;
  }
  .hero--banner-right .hero-sub { margin-left: 0; margin-right: auto; }
  .hero--banner-right .cta-group { justify-content: flex-start; }
  .hero--banner-right .trust-strip { justify-content: flex-start; }
  @media (max-width: 768px) {
    .hero-split {
      grid-template-columns: 1fr;
      grid-template-areas: "copy" "banner";
      gap: 24px;
    }
    .hero--banner-right .hero-copy {
      text-align: center;
      align-items: center;
    }
    .hero--banner-right .hero-sub { margin-left: auto; margin-right: auto; }
    .hero--banner-right .cta-group { justify-content: center; }
    .hero--banner-right .trust-strip { justify-content: center; }
    .hero-banner-aside { max-width: min(100%, 300px); margin: 0 auto; width: 100%; }
  }

  .trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--green-bg), var(--cyan-bg));
    border: 1px solid rgba(60,201,106,0.22);
    color: var(--green);
    font-size: 11px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 24px;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }
  .badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
  }
  @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }

  h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(26px, 5.5vw, 50px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
  }
  h1 .highlight { color: var(--accent); }

  .hero-lead {
    font-size: 13px;
    color: var(--cyan);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
  }

  .hero-sub {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 28px;
    line-height: 1.75;
  }

  .cta-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
  }
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #060a12;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    min-height: 48px;
    transition: opacity 0.2s, transform 0.15s;
    letter-spacing: 0.3px;
  }
  .btn-primary:hover { opacity: 0.92; transform: translateY(-2px); text-decoration: none; }
  .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--accent-border);
    min-height: 48px;
    transition: background 0.2s;
  }
  .btn-secondary:hover { background: var(--accent-dim); text-decoration: none; }

  .trust-strip {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
  }
  .trust-check {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--green-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: var(--green);
    flex-shrink: 0;
  }

  .payment-bar {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 14px 20px;
    text-align: center;
  }
  .payment-bar-label {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
  }
  .payment-chips {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .pay-chip {
    padding: 5px 14px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
  }
  .pay-chip.featured {
    border-color: var(--accent-border);
    color: var(--accent);
  }

  
  /* Hero — satu banner promo 1:1 di samping copy */
  .hero-banner-slot {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg3);
    display: block;
    position: relative;
    width: 100%;
    transition: border-color 0.2s, transform 0.15s;
  }
  a.hero-banner-slot:hover {
    border-color: var(--accent-border);
    transform: translateY(-2px);
    text-decoration: none;
  }
  .hero-banner-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  
  h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
  }
  h2 span { color: var(--accent); }


  p { color: var(--text-muted); margin-bottom: 14px; font-size: 15px; }
  p:last-child { margin-bottom: 0; }

  .section-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
  }

  .highlight-box {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 16px 20px;
    margin: 20px 0;
  }
  .highlight-box p { color: var(--text); font-size: 14px; }

  .igaming-box {
    background: linear-gradient(135deg, rgba(45,212,191,0.06), var(--bg2));
    border: 1px solid rgba(45,212,191,0.2);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
  }
  .igaming-box strong { color: var(--text); }

  .stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin: 24px 0;
  }
  .stat-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    text-align: center;
  }
  .stat-val {
    font-family: 'Rajdhani', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.2;
  }
  .stat-label { font-size: 12px; color: var(--text-dim); margin-top: 4px; }

  .steps { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 20px 0; }
  .steps li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
  }
  .step-num {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .step-text { font-size: 15px; color: var(--text-muted); }
  .step-text strong { color: var(--text); }

  .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin: 24px 0;
  }
  .feature-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 16px;
    transition: border-color 0.2s;
  }
  .feature-card:hover { border-color: var(--accent-border); }
  .feature-icon { font-size: 24px; margin-bottom: 8px; }
  .feature-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
  .feature-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }



  .cta-section {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
  }
  .cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, var(--accent-dim) 0%, transparent 70%);
    pointer-events: none;
  }
  .cta-section-inner { position: relative; }
  .cta-section h2 { margin-bottom: 8px; }
  .cta-section p { max-width: 500px; margin: 0 auto 24px; }

  footer {
    background: #04060c;
    border-top: 1px solid var(--border);
    padding: 32px 20px;
    text-align: center;
  }
  .footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 14px;
    line-height: 0;
  }
  .footer-logo a {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
  }
  .footer-logo a:hover { opacity: 0.9; }
  .footer-logo img {
    height: 36px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
  }
  .footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
  }
  .footer-links a { font-size: 13px; color: var(--text-dim); }
  .footer-links a:hover { color: var(--text-muted); }

  .rg-disclaimer {
    background: rgba(26,58,92,0.15);
    border: 1px solid rgba(26,58,92,0.3);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    max-width: 720px;
    margin: 0 auto 16px;
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.65;
  }
  .age-badge {
    display: inline-block;
    border: 2px solid var(--text-dim);
    border-radius: 50%;
    width: 28px; height: 28px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-dim);
    line-height: 24px;
    text-align: center;
    vertical-align: middle;
    margin-right: 6px;
  }
  .footer-copy { font-size: 12px; color: var(--text-dim); }

  .sticky-cta {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 10px 16px;
    z-index: 200;
    gap: 10px;
  }
  .sticky-cta .btn-primary,
  .sticky-cta .btn-secondary {
    flex: 1;
    justify-content: center;
    font-size: 14px;
    padding: 12px 16px;
  }

  @media (max-width: 640px) {
    .sticky-cta { display: flex; }
    body { padding-bottom: 80px; }
    h1 { font-size: 24px; }
    .cta-section { padding: 28px 20px; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    nav { padding: 10px 16px; }
    .nav-logo img { height: 30px; max-width: 170px; }
    .footer-logo img { height: 30px; max-width: 170px; }
  }

  @keyframes fadeInUp { from { opacity:0; transform:translateY(16px) } to { opacity:1; transform:translateY(0) } }
  .hero-copy > * { animation: fadeInUp 0.5s ease forwards; opacity: 0; }
  .hero-copy > *:nth-child(1) { animation-delay: 0.05s }
  .hero-copy > *:nth-child(2) { animation-delay: 0.1s }
  .hero-copy > *:nth-child(3) { animation-delay: 0.18s }
  .hero-copy > *:nth-child(4) { animation-delay: 0.26s }
  .hero-copy > *:nth-child(5) { animation-delay: 0.34s }
  .hero-copy > *:nth-child(6) { animation-delay: 0.42s }
  .hero-banner-aside { animation: fadeInUp 0.5s ease forwards; opacity: 0; animation-delay: 0.38s }
  @media (prefers-reduced-motion: reduce) {
    .hero-copy > *, .hero-banner-aside { animation: none !important; opacity: 1 !important; }
    .badge-dot { animation: none !important; }
  }
