/* ============ BELI-KOIN.HTML (spesifik) ============ */

:root {
    --bg: #06060d;
    --surface: rgba(255, 255, 255, 0.028);
    --surface-2: rgba(255, 255, 255, 0.045);
    --surface-3: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.055);
    --border-hover: rgba(255, 255, 255, 0.13);
    --text: #f5f5f7;
    --muted: rgba(245, 245, 247, 0.55);
    --muted-2: rgba(245, 245, 247, 0.3);
    --lime: #d4ff3a;
    --lime-2: #b8e62e;
    --coral: #ff6b6b;
    --sky: #5eb3ff;
    --violet: #a78bfa;
    --gold: #ffd166;
    --green: #4ade80;
    --radius: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --anime: url('https://c.termai.cc/i183/NJF.jpg');
  }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Onest', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.005em;
    position: relative;
    padding-bottom: 4rem;
  }

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
      radial-gradient(ellipse 70% 50% at 30% -10%, rgba(212, 255, 58, 0.08), transparent 60%),
      radial-gradient(ellipse 60% 40% at 100% 30%, rgba(167, 139, 250, 0.07), transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: ambientShift 25s ease-in-out infinite;
  }

@keyframes ambientShift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(2%, -2%) scale(1.05); }
  }

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.03 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
  }

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 1.25rem;
  }

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
  }

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

.enter-down { animation: fadeSlideDown 0.9s var(--ease-out) both; }

.enter-up { animation: fadeSlideUp 0.9s var(--ease-out) both; }

.d-1 { animation-delay: 0.15s; }

.d-2 { animation-delay: 0.3s; }

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  }

.reveal.in { opacity: 1; transform: translateY(0); }

/* NAVBAR */
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
  }

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.0625rem;
  }

.nav-mark {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.875rem;
    background: var(--anime) center/cover;
    border: 1px solid var(--border);
    animation: floatMark 4s ease-in-out infinite;
  }

@keyframes floatMark {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
  }

.nav-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    color: var(--text);
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
  }

.nav-back:hover {
    background: var(--surface-2);
    border-color: var(--border-hover);
    transform: translateX(-3px);
  }

/* HEADER */
  .page-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4rem;
  }

.page-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--lime);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 1rem;
  }

.page-label::before {
    content: '';
    width: 1.5rem;
    height: 1px;
    background: var(--lime);
  }

.page-title {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-bottom: 1rem;
  }

@media (min-width: 640px) { .page-title { font-size: 3.5rem; } }

.page-desc {
    font-size: 1.0625rem;
    color: var(--muted);
    line-height: 1.6;
  }

/* SALDO INFO */
  .saldo-info {
    max-width: 720px;
    margin: 0 auto 3rem;
    background: linear-gradient(135deg, rgba(212, 255, 58, 0.06), rgba(167, 139, 250, 0.04));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
  }

.saldo-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(212, 255, 58, 0.06), transparent 30%);
    animation: spin 12s linear infinite;
    pointer-events: none;
  }

@keyframes spin { to { transform: rotate(360deg); } }

.saldo-info > * { position: relative; z-index: 1; }

.saldo-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1.25rem;
    background: var(--lime);
    color: #07070f;
    display: grid;
    place-items: center;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 12px 32px rgba(212, 255, 58, 0.35);
    animation: floatIcon 4s ease-in-out infinite;
  }

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(-4deg); }
  }

.saldo-text { flex: 1; min-width: 200px; }

.saldo-text .label {
    font-size: 0.75rem;
    color: var(--muted-2);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin-bottom: 0.375rem;
  }

.saldo-text .value {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--lime);
    font-variant-numeric: tabular-nums;
  }

/* PAKET GRID */
  .paket-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto 4rem;
  }

@media (min-width: 640px) { .paket-grid { grid-template-columns: repeat(2, 1fr); } }

@media (min-width: 1024px) { .paket-grid { grid-template-columns: repeat(3, 1fr); } }

.paket {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem 1.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-out);
    display: flex;
    flex-direction: column;
  }

.paket::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 255, 58, 0.06), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
  }

.paket:hover::before { opacity: 1; }

.paket:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
  }

.paket.featured {
    background: linear-gradient(135deg, rgba(212, 255, 58, 0.06), rgba(94, 179, 255, 0.04));
    border-color: rgba(212, 255, 58, 0.25);
    transform: scale(1);
  }

.paket.featured:hover {
    border-color: var(--lime);
    box-shadow: 0 32px 80px rgba(212, 255, 58, 0.2);
  }

.paket-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    padding: 0.375rem 0.75rem;
    background: var(--lime);
    color: #07070f;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    animation: badgePulse 2s ease-in-out infinite;
  }

@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 255, 58, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(212, 255, 58, 0); }
  }

.paket-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    transition: transform 0.5s var(--ease-spring);
  }

.paket:hover .paket-icon { transform: scale(1.1) rotate(-6deg); }

.paket-icon.lime { background: rgba(212, 255, 58, 0.15); }

.paket-icon.sky { background: rgba(94, 179, 255, 0.15); }

.paket-icon.violet { background: rgba(167, 139, 250, 0.15); }

.paket-icon.gold { background: rgba(255, 209, 102, 0.15); }

.paket-icon.coral { background: rgba(255, 107, 107, 0.15); }

.paket-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
  }

.paket-koin {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--lime);
    line-height: 1;
    margin-bottom: 0.75rem;
    font-variant-numeric: tabular-nums;
  }

.paket-koin .label {
    font-size: 0.875rem;
    color: var(--muted-2);
    font-weight: 500;
    margin-left: 0.25rem;
  }

.paket-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }

.paket-price-note {
    font-size: 0.75rem;
    color: var(--muted-2);
    margin-bottom: 1.5rem;
  }

.paket-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 0.875rem;
    background: var(--lime);
    color: #07070f;
    border: none;
    font-weight: 700;
    font-size: 0.9375rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
  }

.paket-btn:hover {
    background: var(--lime-2);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(212, 255, 58, 0.35);
  }

.paket-btn:active { transform: scale(0.97); }

.paket-btn svg { width: 16px; height: 16px; }

/* BONUS INFO */
  .bonus-info {
    max-width: 800px;
    margin: 0 auto 4rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
  }

.bonus-info .icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.875rem;
    background: rgba(74, 222, 128, 0.12);
    display: grid;
    place-items: center;
    font-size: 1.375rem;
    flex-shrink: 0;
  }

.bonus-info .text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
  }

.bonus-info .text p {
    font-size: 0.875rem;
    color: var(--muted);
  }

/* CARA BELI */
  .cara-beli {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

@media (min-width: 768px) { .cara-beli { grid-template-columns: repeat(3, 1fr); } }

.cara-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    transition: all 0.5s var(--ease-out);
  }

.cara-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
  }

.cara-num {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: var(--lime);
    color: #07070f;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1rem;
    margin: 0 auto 1rem;
  }

.cara-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }

.cara-item p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
  }

/* SECTION HEAD */
  .section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
  }

.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
  }

@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }

.section-desc {
    font-size: 1rem;
    color: var(--muted);
  }

/* FOOTER */
  footer {
    padding: 3rem 1.25rem 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted-2);
    font-size: 0.8125rem;
    margin-top: 4rem;
  }

@media (prefers-reduced-motion:reduce){.appnav,.an-ind,.an-menu,body.an-leaving .container{transition:none;animation:none}}