:root {
  --gold: #e7bd52;
  --gold-light: #f8df87;
  --gold-deep: #8d6822;
  --surface: #121210;
  --surface-soft: #181815;
  --line: rgba(231, 189, 82, 0.18);
  --muted: #98978f;
  --text: #f5f1e8;
  --green: #23bf68;
  --danger: #ff6c67;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .46);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(213, 166, 54, .1), transparent 28rem),
    linear-gradient(150deg, #0b0b09, #050505 52%, #0a0906);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.ambient { position: fixed; border-radius: 50%; pointer-events: none; filter: blur(100px); opacity: .18; }
.ambient-one { width: 340px; height: 340px; background: #c89328; left: -170px; top: 24%; }
.ambient-two { width: 300px; height: 300px; background: #8f6b27; right: -170px; bottom: 10%; }
.page-shell { width: min(100% - 32px, 980px); margin: 0 auto; position: relative; padding: 68px 0 130px; }

.hero { text-align: center; padding-bottom: 42px; }
.profile-ring {
  width: 112px; height: 112px; margin: 0 auto 24px; padding: 4px; border-radius: 32px;
  background: linear-gradient(145deg, var(--gold-light), #6f5018 70%);
  box-shadow: 0 18px 55px rgba(205, 158, 44, .18), inset 0 0 0 1px rgba(255,255,255,.25);
  transform: rotate(3deg);
}
.profile-ring img, .profile-ring > span {
  width: 100%; height: 100%; border-radius: 28px; object-fit: cover; display: grid; place-items: center;
  background: #0c0c0a; color: var(--gold); font-size: 31px; font-weight: 900; letter-spacing: -3px;
  transform: rotate(-3deg);
}
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .24em; }
.eyebrow span { width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.eyebrow span:last-child { transform: rotate(180deg); }
.hero h1 { margin: 12px 0 5px; font-size: clamp(30px, 5vw, 48px); line-height: 1; letter-spacing: -.045em; background: linear-gradient(120deg, #fff2c5, var(--gold) 52%, #986b1d); color: transparent; background-clip: text; }
.hero p { margin: 12px 0 0; color: var(--muted); font-size: 15px; }

.service-tabs {
  width: min(100%, 620px); display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 0 auto 24px;
  padding: 7px; border: 1px solid rgba(255,255,255,.07); border-radius: 20px; background: rgba(14,14,12,.82);
  box-shadow: 0 14px 42px rgba(0,0,0,.24);
}
.service-tab {
  min-width: 0; min-height: 64px; display: flex; align-items: center; gap: 11px; padding: 10px 14px; border: 1px solid transparent;
  border-radius: 14px; color: #85847d; background: transparent; cursor: pointer; text-align: left; transition: .2s ease;
}
.service-tab:hover { color: #d8d4ca; background: rgba(255,255,255,.025); }
.service-tab.active { border-color: rgba(231,189,82,.28); color: var(--text); background: linear-gradient(135deg, rgba(53,43,19,.88), rgba(25,23,16,.92)); box-shadow: 0 8px 22px rgba(0,0,0,.22); }
.service-tab-icon { width: 38px; height: 38px; display: grid; flex: 0 0 38px; place-items: center; border-radius: 12px; color: var(--gold); background: rgba(231,189,82,.09); font-size: 17px; font-weight: 900; }
.service-tab b, .service-tab small { display: block; }
.service-tab b { font-size: 12px; }
.service-tab small { margin-top: 3px; color: #77766f; font-size: 9px; }

.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.quick-card {
  min-width: 0; min-height: 88px; display: flex; align-items: center; gap: 15px; border: 1px solid var(--line);
  border-radius: 20px; padding: 16px 18px; color: var(--text); background: linear-gradient(135deg, rgba(34, 29, 17, .9), rgba(15, 15, 13, .96));
  cursor: pointer; text-align: left; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.quick-card:hover { transform: translateY(-3px); border-color: rgba(231, 189, 82, .48); box-shadow: 0 16px 40px rgba(0,0,0,.28); }
.quick-card > span:nth-child(2) { min-width: 0; }
.quick-card b { display: block; font-size: 13px; letter-spacing: .01em; }
.quick-card small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quick-icon { flex: 0 0 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(231,189,82,.25); border-radius: 16px; color: var(--gold); background: rgba(231,189,82,.08); font-size: 24px; font-weight: 800; }
.arrow { margin-left: auto; color: var(--gold); font-size: 18px; }
.support-card { grid-column: 1 / -1; border-color: rgba(35,191,104,.25); background: linear-gradient(125deg, rgba(8, 37, 22, .9), rgba(13, 21, 16, .95)); }
.support-card .quick-icon { border-color: rgba(35,191,104,.28); color: #56dc8f; background: rgba(35,191,104,.09); }
.status-dot { margin-left: auto; color: #68dc98; font-size: 11px; }
.status-dot i { width: 7px; height: 7px; margin-right: 5px; display: inline-block; border-radius: 50%; background: #45dd85; box-shadow: 0 0 0 5px rgba(69,221,133,.08); }
.guide-card { min-height: 72px; }
.guide-card .quick-icon { flex-basis: 40px; height: 40px; border-radius: 13px; font-size: 17px; }

.form-card, .products-section {
  border: 1px solid rgba(255,255,255,.07); border-radius: 28px; padding: 26px;
  background: linear-gradient(145deg, rgba(24,24,21,.98), rgba(13,13,12,.98)); box-shadow: var(--shadow);
}
.form-card { margin-bottom: 24px; }
.section-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.section-heading small { color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.section-heading h2 { margin: 3px 0 0; font-size: 21px; letter-spacing: -.02em; }
.step-number { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(231,189,82,.24); border-radius: 15px; background: rgba(231,189,82,.07); color: var(--gold); font-weight: 900; font-size: 13px; }
.form-card label { display: block; margin: 0 0 9px; color: #cfcdc5; font-size: 12px; font-weight: 700; }
.player-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-group { min-width: 0; }
.input-wrap { height: 58px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: #0c0c0b; transition: border-color .2s, box-shadow .2s; }
.input-wrap:focus-within { border-color: rgba(231,189,82,.55); box-shadow: 0 0 0 4px rgba(231,189,82,.06); }
.input-wrap span { color: var(--gold); }
.input-wrap input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 15px; }
.input-wrap input::placeholder { color: #62625e; }
.field-hint { margin: 10px 2px 0; color: #6f6e69; font-size: 11px; }

.products-section { padding-bottom: 28px; }
.product-title { margin-bottom: 18px; }
.product-count { margin-left: auto; padding: 7px 10px; border-radius: 99px; background: rgba(231,189,82,.08); color: #bfa45e; font-size: 10px; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.product-card {
  position: relative; overflow: hidden; min-height: 126px; display: flex; align-items: center; padding: 19px;
  border: 1px solid rgba(255,255,255,.075); border-radius: 18px; color: var(--text); background: #0c0c0b; cursor: pointer;
  text-align: left; transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.product-card::before { content: ""; position: absolute; width: 110px; height: 110px; right: -50px; bottom: -60px; border-radius: 50%; background: rgba(231,189,82,.1); filter: blur(12px); }
.product-card:hover { transform: translateY(-2px); border-color: rgba(231,189,82,.3); }
.product-card.selected { border-color: var(--gold); background: linear-gradient(135deg, rgba(45,37,18,.85), #10100e); box-shadow: inset 0 0 0 1px rgba(231,189,82,.18), 0 12px 30px rgba(0,0,0,.2); }
.product-copy { position: relative; z-index: 1; min-width: 0; }
.product-copy strong { display: block; margin-bottom: 11px; color: #f0eee7; font-size: 17px; }
.product-copy del { display: block; margin-bottom: 4px; color: #66655f; font-size: 11px; }
.product-copy b { color: var(--gold); font-size: 14px; }
.coin-stack { margin-left: auto; position: relative; z-index: 1; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; background: linear-gradient(145deg, rgba(231,189,82,.13), rgba(231,189,82,.02)); color: var(--gold); font-size: 29px; }
.discount { position: absolute; z-index: 2; top: 0; right: 0; padding: 7px 10px; border-radius: 0 17px 0 12px; color: #ff9288; background: #3d1513; font-size: 10px; font-weight: 800; }
.check-mark { position: absolute; right: 10px; bottom: 8px; width: 18px; height: 18px; display: none; place-items: center; border-radius: 50%; color: #14120b; background: var(--gold); font-size: 10px; font-weight: 900; }
.selected .check-mark { display: grid; }
.loading-card { min-height: 126px; border-radius: 18px; background: linear-gradient(90deg, #10100e 20%, #191813 50%, #10100e 80%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.bongkar-section { position: relative; overflow: hidden; }
.bongkar-section::after { content: "B"; position: absolute; right: -20px; top: 115px; color: rgba(231,189,82,.022); font-size: 260px; font-weight: 950; pointer-events: none; }
.bongkar-section > * { position: relative; z-index: 1; }
.bongkar-rate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.rate-card { padding: 17px; border: 1px solid rgba(255,255,255,.07); border-radius: 17px; background: #0c0c0b; }
.rate-card.active { border-color: rgba(231,189,82,.3); background: linear-gradient(135deg, rgba(47,39,20,.85), #10100e); }
.rate-card small, .rate-card strong, .rate-card span { display: block; }
.rate-card small { color: #96948b; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.rate-card strong { margin: 8px 0 2px; color: var(--gold-light); font-size: 20px; }
.rate-card span { color: #6d6c65; font-size: 9px; }
.bongkar-label { display: block; margin: 0 0 9px; color: #cfcdc5; font-size: 12px; font-weight: 700; }
.bongkar-input-wrap { height: 64px; display: flex; align-items: center; padding: 0 8px 0 17px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: #0c0c0b; transition: .2s; }
.bongkar-input-wrap:focus-within { border-color: rgba(231,189,82,.55); box-shadow: 0 0 0 4px rgba(231,189,82,.06); }
.bongkar-input-wrap input { width: 100%; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 18px; font-weight: 750; }
.bongkar-input-wrap input::placeholder { color: #575650; font-size: 14px; font-weight: 400; }
.bongkar-input-wrap > span { width: 47px; height: 46px; display: grid; flex: 0 0 47px; place-items: center; border-radius: 12px; color: var(--gold); background: rgba(231,189,82,.09); font-weight: 900; }
.bongkar-result { min-height: 92px; display: grid; grid-template-columns: 1fr auto 1fr auto 1.25fr; align-items: center; gap: 13px; margin-top: 13px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.065); border-radius: 17px; background: rgba(8,8,7,.72); }
.bongkar-result > span { color: #5f5e58; font-size: 14px; }
.bongkar-result small, .bongkar-result b, .bongkar-result strong { display: block; }
.bongkar-result small { margin-bottom: 5px; color: #6f6e68; font-size: 9px; }
.bongkar-result b { color: #cbc8be; font-size: 12px; }
.bongkar-total { padding-left: 15px; border-left: 1px solid rgba(231,189,82,.15); }
.bongkar-total strong { color: var(--gold-light); font-size: 17px; }
.bongkar-notice { display: flex; align-items: flex-start; gap: 10px; margin-top: 13px; padding: 12px 14px; border: 1px solid rgba(231,189,82,.1); border-radius: 13px; background: rgba(231,189,82,.035); }
.bongkar-notice > span { width: 20px; height: 20px; display: grid; flex: 0 0 20px; place-items: center; border-radius: 7px; color: var(--gold); background: rgba(231,189,82,.1); font-size: 10px; font-weight: 900; }
.bongkar-notice p { margin: 2px 0 0; color: #85837b; font-size: 10px; line-height: 1.5; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.benefits article { display: flex; align-items: center; gap: 11px; min-height: 92px; padding: 17px; border: 1px solid rgba(255,255,255,.06); border-radius: 18px; background: rgba(17,17,15,.8); }
.benefits article > span { width: 38px; height: 38px; display: grid; flex: 0 0 38px; place-items: center; border-radius: 12px; color: var(--gold); background: rgba(231,189,82,.08); font-size: 17px; }
.benefits b { display: block; font-size: 12px; }
.benefits small { display: block; margin-top: 4px; color: #73726d; font-size: 9px; line-height: 1.4; }

footer { position: relative; padding: 54px 0 0; text-align: center; color: #65645f; }
.footer-brand { display: flex; justify-content: center; align-items: center; gap: 9px; color: #a9a69d; font-size: 12px; letter-spacing: .05em; }
.mini-logo { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(231,189,82,.2); border-radius: 9px; color: var(--gold); }
footer p { margin: 12px 0 24px; font-size: 11px; }
footer small { font-size: 10px; }
.admin-entry { display: block; width: max-content; margin: 13px auto 0; font-size: 10px; opacity: .45; }

.mobile-bar { position: fixed; z-index: 30; left: 50%; bottom: 18px; width: min(calc(100% - 28px), 640px); transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 18px; border: 1px solid rgba(231,189,82,.25); border-radius: 20px; background: rgba(18,18,16,.92); box-shadow: 0 20px 60px rgba(0,0,0,.6); backdrop-filter: blur(16px); }
.mobile-bar small { display: block; color: #88867e; font-size: 9px; }
.mobile-bar strong { display: block; margin-top: 2px; color: var(--gold-light); font-size: 16px; }
.mobile-bar button, .primary-button { border: 0; border-radius: 13px; background: linear-gradient(120deg, #b6872e, var(--gold-light)); color: #17130a; font-weight: 800; cursor: pointer; }
.mobile-bar button { padding: 14px 18px; font-size: 12px; }

.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.78); backdrop-filter: blur(8px); animation: fadeIn .18s ease; }
.modal { position: relative; width: min(100%, 480px); max-height: calc(100vh - 40px); overflow-y: auto; border: 1px solid rgba(231,189,82,.19); border-radius: 26px; padding: 30px; background: linear-gradient(145deg, #1a1a17, #0e0e0d); box-shadow: 0 30px 100px rgba(0,0,0,.75); animation: modalIn .25s ease; }
.modal-close { position: absolute; right: 18px; top: 16px; width: 34px; height: 34px; border: 0; border-radius: 50%; color: #8d8b84; background: rgba(255,255,255,.05); cursor: pointer; font-size: 20px; }
.modal-symbol { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 18px; border: 1px solid rgba(231,189,82,.25); border-radius: 17px; color: var(--gold); background: rgba(231,189,82,.08); font-weight: 900; }
.modal-kicker { margin: 0 0 4px; color: var(--gold); font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.modal h2 { margin: 0 0 22px; font-size: 25px; letter-spacing: -.03em; }
.summary-box { border: 1px solid rgba(255,255,255,.07); border-radius: 17px; padding: 4px 17px; background: #0c0c0b; }
.summary-box div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.summary-box div:last-child { border-bottom: 0; }
.summary-box span { color: #77766f; font-size: 12px; }
.summary-box b { font-size: 13px; }
.summary-box .summary-total b { color: var(--gold-light); font-size: 17px; }
.announcement { margin: 15px 2px; color: #898881; font-size: 11px; line-height: 1.55; }
.primary-button, .secondary-button { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 7px; }
.primary-button { font-size: 13px; }
.secondary-button { margin-top: 8px; border: 0; color: #85847d; background: transparent; cursor: pointer; font-size: 12px; }
.guide-modal ol { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: steps; }
.guide-modal li { position: relative; min-height: 46px; margin: 0 0 9px; padding: 13px 14px 13px 48px; border: 1px solid rgba(255,255,255,.06); border-radius: 13px; color: #c4c1b9; background: #10100e; font-size: 12px; line-height: 1.55; counter-increment: steps; }
.guide-modal li::before { content: counter(steps); position: absolute; left: 14px; top: 12px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 8px; color: var(--gold); background: rgba(231,189,82,.08); font-size: 10px; font-weight: 800; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 22px; max-width: calc(100% - 32px); padding: 12px 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 99px; color: #f3eee4; background: #24231f; box-shadow: 0 16px 50px rgba(0,0,0,.45); font-size: 12px; transform: translate(-50%, 120px); opacity: 0; transition: .28s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast.error { border-color: rgba(255,108,103,.3); color: #ffaaa6; }
.reveal { animation: rise .55s both; }
.quick-links { animation-delay: .08s; }
.form-card { animation-delay: .15s; }
.products-section { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }

@media (max-width: 680px) {
  .page-shell { width: min(100% - 24px, 560px); padding-top: 42px; }
  .hero { padding-bottom: 32px; }
  .profile-ring { width: 90px; height: 90px; border-radius: 27px; }
  .profile-ring img, .profile-ring > span { border-radius: 23px; }
  .hero h1 { font-size: 30px; }
  .service-tabs { width: 100%; }
  .service-tab { padding: 9px; }
  .service-tab small { display: none; }
  .quick-links { gap: 10px; }
  .quick-card { min-height: 76px; padding: 13px; gap: 10px; }
  .quick-card b { font-size: 10px; }
  .quick-card small { font-size: 8px; }
  .quick-icon { flex-basis: 40px; height: 40px; border-radius: 13px; font-size: 18px; }
  .status-dot { display: none; }
  .form-card, .products-section { padding: 19px; border-radius: 22px; }
  .player-fields { grid-template-columns: 1fr; }
  .product-card { min-height: 116px; padding: 15px; }
  .product-copy strong { font-size: 15px; }
  .coin-stack { width: 46px; height: 46px; font-size: 23px; }
  .benefits { grid-template-columns: 1fr; }
  .benefits article { min-height: 72px; }
  .modal { padding: 25px 20px 20px; border-radius: 23px; }
}

@media (max-width: 520px) {
  .bongkar-rate-grid { grid-template-columns: 1fr; }
  .bongkar-result { grid-template-columns: 1fr auto 1fr; }
  .bongkar-result > span:nth-of-type(2) { display: none; }
  .bongkar-total { grid-column: 1 / -1; padding: 13px 0 0; border-top: 1px solid rgba(231,189,82,.12); border-left: 0; }
}

@media (max-width: 390px) {
  .product-grid { grid-template-columns: 1fr; }
  .guide-card { grid-column: 1 / -1; }
  .quick-links .guide-card:last-child { margin-top: -2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
