:root {
  --gold-main: #d4af37;
  --gold-light: #ffd866;
  --gold-deep: #8a5a00;
  --black: #070707;
  --panel: #151515;
  --panel-strong: #1d1d1d;
  --input: #27272b;
  --text: #f5f5f5;
  --text-muted: #b7b7b7;
  --line: rgba(212, 175, 55, 0.42);
  --shadow: rgba(212, 175, 55, 0.22);
  --success: #2ac38b;
  --danger: #ff6b6b;
  --radius: 22px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent 32%),
    linear-gradient(180deg, #090909 0%, #0f0f0f 100%);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0) 35%);
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(8, 8, 8, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto minmax(210px, 1fr) auto auto auto;
  align-items: center;
  gap: 20px;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.brand-logo {
  width: 64px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.2));
}

/* ===== Mahkota logo navbar: terangkat ke atas lalu kembali (dekoratif) ===== */
.brand-crown {
  position: absolute;
  left: 23%;
  top: 3%;
  width: 54%;
  height: 27%;
  pointer-events: none;
  z-index: 3;
}
.brand-crown .bc-mask {
  position: absolute;
  inset: -16% -14% -10%;
  background: radial-gradient(closest-side at 50% 46%, #000 60%, rgba(0, 0, 0, 0.92) 78%, transparent 100%);
  filter: blur(1px);
  z-index: 1;
}
.brand-crown .bc-glow {
  position: absolute;
  inset: -70% -45%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 55%, rgba(255, 226, 150, 0.8), rgba(255, 193, 74, 0.22) 45%, transparent 72%);
  filter: blur(2px);
  opacity: 0.4;
  z-index: 2;
  animation: bcGlow 6s ease-in-out infinite;
}
.brand-crown .bc-crown {
  position: absolute;
  inset: 0;
  transform-origin: 50% 100%;
  z-index: 3;
  animation: bcLift 6s cubic-bezier(0.34, 0.66, 0.36, 1) infinite;
}
.brand-crown .bc-crown img {
  position: absolute;
  left: -3%;
  bottom: 0;
  width: 106%;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 6px rgba(255, 205, 90, 0.55));
}
.brand-crown .bc-crown::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: -8%;
  height: 34%;
  background: linear-gradient(transparent, #0b0b0e 72%);
}
.brand-crown .bc-spark {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #ffe9a8;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  opacity: 0;
  z-index: 4;
  animation: bcTwinkle 2.6s ease-in-out infinite;
}
.brand-crown .bc-spark-1 { left: -10%; top: 6%; animation-duration: 2.6s; animation-delay: 0.2s; }
.brand-crown .bc-spark-2 { left: 98%; top: -2%; animation-duration: 3.1s; animation-delay: 1.1s; }
.brand-crown .bc-spark-3 { left: 46%; top: -36%; animation-duration: 2.2s; animation-delay: 0.6s; }
.brand-crown .bc-spark-4 { left: 80%; top: 50%; animation-duration: 2.8s; animation-delay: 1.6s; }
.brand-crown .bc-spark-5 { left: 10%; top: 56%; animation-duration: 2.4s; animation-delay: 2.1s; }

@keyframes bcLift {
  0%, 52%  { transform: translateY(0) rotate(0deg); }
  60%      { transform: translateY(-44%) rotate(-7deg); }
  68%      { transform: translateY(-56%) rotate(6deg); }
  76%      { transform: translateY(-42%) rotate(-3deg); }
  88%      { transform: translateY(6%) rotate(1deg); }
  94%      { transform: translateY(-2%) rotate(0deg); }
  100%     { transform: translateY(0) rotate(0deg); }
}
@keyframes bcGlow {
  0%, 50%  { opacity: 0.32; transform: scale(0.88); }
  61%, 74% { opacity: 0.95; transform: scale(1.28); }
  100%     { opacity: 0.32; transform: scale(0.88); }
}
@keyframes bcTwinkle {
  0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
  50%      { opacity: 1; transform: scale(1) rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-crown .bc-crown,
  .brand-crown .bc-glow,
  .brand-crown .bc-spark { animation: none !important; }
  .brand-crown .bc-crown { transform: none !important; }
  .brand-crown .bc-spark { opacity: 0 !important; }
  .brand-crown .bc-glow { opacity: 0.4 !important; }
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  min-height: 48px;
  padding: 0 14px;
}

.search-icon {
  color: var(--text-muted);
  font-size: 1.2rem;
}

.brand-tagline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 48px;
  margin-left: -28px;
}

.bt-crown {
  display: inline-block;
  font-size: 1.4rem;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.5));
  animation: bt-bob 2.4s ease-in-out infinite;
}

.bt-text {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  background: linear-gradient(
    90deg,
    var(--gold-deep) 0%,
    var(--gold-light) 25%,
    var(--gold-main) 50%,
    var(--gold-light) 75%,
    var(--gold-deep) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: bt-shine 3.5s linear infinite;
}

@keyframes bt-bob {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-4px) rotate(4deg); }
}

@keyframes bt-shine {
  to { background-position: -200% center; }
}

@media (prefers-reduced-motion: reduce) {
  .bt-crown,
  .bt-text {
    animation: none;
  }
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  min-width: 0;
}

.search-box input::placeholder {
  color: rgba(245, 245, 245, 0.52);
}

.lang-pill {
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.08);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 0.96rem;
}

.main-nav a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-main) 35%, var(--gold-deep) 100%);
  color: #1d1400;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.28);
}

.btn-secondary,
.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--text);
}

.hero {
  padding: 56px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.hero-copy h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.5rem, 4vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.hero-copy h1 span {
  display: block;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: var(--gold-light);
  margin-top: 16px;
  letter-spacing: 0.01em;
}

.hero-text {
  max-width: 620px;
  color: var(--text-muted);
  font-size: 1.03rem;
  line-height: 1.7;
  margin: 22px 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}

.feature-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.feature-inline div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 110px;
}

.feature-inline strong {
  font-size: 1.5rem;
  color: var(--gold-light);
}

.feature-inline span {
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 500px;
}

.glow-ring {
  position: absolute;
  inset: 42px 40px 32px 40px;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.04) 35%, transparent 68%);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 32px;
}

.visual-card {
  position: absolute;
  width: min(330px, 82%);
  background: linear-gradient(180deg, rgba(21, 21, 21, 0.96), rgba(17, 17, 17, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45), 0 0 28px rgba(212, 175, 55, 0.15);
}

.primary-card {
  top: 90px;
  right: 60px;
  padding: 22px 24px;
}

.primary-card h3,
.primary-card p,
.primary-card .tag,
.primary-card .price-row {
  position: relative;
  z-index: 1;
}

.tag {
  display: inline-block;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--gold-light);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.primary-card h3 {
  margin: 18px 0 8px;
  font-size: 2rem;
}

.primary-card p {
  color: var(--text-muted);
  margin: 0 0 18px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.price-row strong {
  color: var(--gold-light);
  font-size: 1.4rem;
}

.alt-card {
  bottom: 58px;
  left: 30px;
  padding: 20px 24px;
}

.mini-label {
  display: block;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 18px;
}

.mini-bars {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 64px;
}

.mini-bars i {
  display: block;
  width: 18px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-main));
  box-shadow: 0 0 18px rgba(255, 216, 102, 0.5);
}

.mini-bars i:nth-child(1) { height: 26%; }
.mini-bars i:nth-child(2) { height: 56%; }
.mini-bars i:nth-child(3) { height: 78%; }
.mini-bars i:nth-child(4) { height: 100%; }

.features,
.trending {
  padding: 40px 0 18px;
}

.section-head {
  margin-bottom: 24px;
}

.section-head.center {
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.4vw, 2.8rem);
}

.section-head.split {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
}

.text-link {
  color: var(--gold-light);
  font-weight: 600;
}

.feature-grid {
  display: grid;
  gap: 22px;
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 30px 24px;
  background: linear-gradient(180deg, rgba(21, 21, 21, 0.96), rgba(10, 10, 10, 0.9));
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 24px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.feature-card:hover,
.game-card:hover,
.promo-card:hover,
.nominal-option:hover,
.payment-option:hover,
.auth-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(212, 175, 55, 0.15);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.26);
  border-radius: 14px;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.promo {
  padding: 42px 0 20px;
}

.promo-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 26px 28px;
  background: linear-gradient(180deg, rgba(21, 21, 21, 0.96), rgba(13, 13, 13, 0.9));
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 28px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28), 0 0 28px rgba(212, 175, 55, 0.14);
}

.promo-icon-wrap {
  display: grid;
  place-items: center;
}

.promo-icon {
  width: 82px;
  height: 82px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 216, 102, 0.18), rgba(212, 175, 55, 0.28));
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-size: 2.2rem;
}

.whatsapp-icon {
  background: linear-gradient(135deg, rgba(60, 210, 122, 0.16), rgba(21, 179, 89, 0.3));
  border-color: rgba(52, 213, 123, 0.4);
}

.discord-icon {
  color: var(--text);
}

.discord-icon svg {
  width: 55%;
  height: auto;
  display: block;
}

.tiktok-icon {
  color: var(--text);
}

.tiktok-icon svg {
  width: 42%;
  height: auto;
  display: block;
}

.promo-copy p,
.promo-copy span {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.promo-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
}

.promo-copy .eyebrow {
  margin-bottom: 8px;
}

.promo-copy span {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold-light);
}

.promo-btn {
  min-width: 240px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.game-card {
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.92), rgba(17, 17, 17, 0.95));
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-art {
  position: relative;
  height: 200px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  overflow: hidden;
}

.game-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 70%);
  z-index: 1;
}

.game-art::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.88), transparent);
  z-index: 1;
  pointer-events: none;
}

.game-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.game-card:hover .game-thumb {
  transform: scale(1.04);
  transition: transform 0.3s ease;
}

.roblox { background: linear-gradient(135deg, #2a6bfa, #1d1d1d 65%); }
.mlbb { background: linear-gradient(135deg, #f08a18, #170b00 68%); }
.ff { background: linear-gradient(135deg, #f9d16a, #321b03 70%); }
.pubg { background: linear-gradient(135deg, #7a8669, #161b12 70%); }
.valorant { background: linear-gradient(135deg, #ef445d, #24040d 70%); }
.genshin { background: linear-gradient(135deg, #7bc8ff, #0d233f 70%); }

.badge {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-main, #d4af37);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.game-info {
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
}

.game-info h3 {
  margin: 0 0 6px;
  font-size: 1.5rem;
}

.game-info p {
  margin: 0;
  color: var(--text-muted);
}

.game-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold-main, #d4af37);
  opacity: 0.55;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.game-cta span {
  transition: transform 0.3s ease;
}

.game-card:hover .game-cta {
  opacity: 1;
}

.game-card:hover .game-cta span {
  transform: translateX(4px);
}

.site-footer {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 8, 8, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.7fr;
  gap: 30px;
  padding-bottom: 26px;
}

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 420px;
}

.footer-logo {
  width: 150px;
  margin-bottom: 12px;
}

.footer-links h3 {
  margin: 0 0 16px;
  font-size: 1.05rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--text-muted);
}

.social-list {
  grid-template-columns: repeat(2, 48px);
  gap: 12px !important;
}

.social-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 216, 102, 0.16), rgba(212, 175, 55, 0.22));
  border: 1px solid rgba(212, 175, 55, 0.3);
  font-size: 1.3rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 0 24px;
  color: var(--text-muted);
}

.floating-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-main));
  color: #110d00;
  font-size: 1.7rem;
  box-shadow: 0 18px 40px rgba(212, 175, 55, 0.3);
  z-index: 15;
}

.floating-chat-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap;
  background: var(--panel, #151515);
  color: var(--text, #f5f5f5);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.floating-chat:hover .floating-chat-tooltip,
.floating-chat:focus-visible .floating-chat-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 640px) {
  .floating-chat-tooltip {
    display: none;
  }

  .floating-chat {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .floating-chat.is-visible {
    opacity: 1;
    pointer-events: auto;
  }
}

.page-surface {
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.98), rgba(14, 14, 14, 1));
}

.small-header {
  background: rgba(8, 8, 8, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.compact-nav {
  min-height: 78px;
}

.page-main {
  padding: 26px 0 50px;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.8fr);
  gap: 28px;
}

.purchase-panel,
.summary-panel,
.auth-panel {
  background: linear-gradient(180deg, rgba(21, 21, 21, 0.96), rgba(11, 11, 11, 0.92));
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}

.purchase-panel {
  padding: 28px;
}

.section-head h1 {
  margin: 0 0 4px;
  font-size: clamp(2rem, 4vw, 2.9rem);
}

.muted-text {
  margin: 0 0 22px;
  color: var(--gold-light);
  font-weight: 600;
}

.form-section {
  padding-top: 18px;
}

.form-section h2 {
  margin: 0 0 16px;
  font-size: 1.1rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
}

label span {
  font-size: 0.92rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="url"],
.purchase-panel select {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--input);
  color: var(--text);
  padding: 0 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
  border-color: rgba(255, 216, 102, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 216, 102, 0.15);
}

.helper-text {
  margin-top: 12px;
  color: var(--gold-light);
  font-weight: 600;
}

.nominal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.nominal-option {
  position: relative;
  text-align: left;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 14px;
  color: var(--text);
  min-height: 86px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nominal-option.is-selected {
  border-color: rgba(255, 216, 102, 0.95);
  background: rgba(255, 216, 102, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 216, 102, 0.4), 0 0 0 1px rgba(255, 216, 102, 0.2);
}

.nominal-option.is-selected::after {
  content: "✓";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-main));
  color: #130d00;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 900;
}

.option-title {
  font-weight: 700;
}

.option-price {
  color: var(--gold-light);
  font-weight: 700;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 8px;
}

.qty-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, rgba(255, 216, 102, 0.15), rgba(212, 175, 55, 0.28));
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.quantity-control input {
  width: 86px;
  text-align: center;
  border: none;
  background: transparent;
  color: var(--text);
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.payment-option {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-option span {
  display: block;
  text-align: center;
  font-weight: 700;
  color: var(--text);
}

.payment-option:has(input:checked) {
  border-color: rgba(255, 216, 102, 0.95);
  background: rgba(255, 216, 102, 0.08);
}

.terms-panel {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 18px;
  padding: 18px 20px;
}

.terms-panel h3 {
  margin: 0 0 12px;
}

.terms-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ---- Info syarat & link group untuk Robux Payout ---- */
.payout-info {
  margin-bottom: 18px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 18px;
  padding: 16px 20px;
}

.payout-info-title {
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--gold-light);
}

.payout-info-text {
  margin: 0 0 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.payout-join-btn {
  display: inline-flex;
}

.summary-panel {
  padding: 22px 18px 18px;
  position: sticky;
  top: 96px;
  height: fit-content;
}

.summary-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rating-score {
  font-weight: 800;
  font-size: 1.1rem;
}

.stars {
  color: var(--gold-light);
  letter-spacing: 0.14em;
  font-size: 0.9rem;
}

.support-link {
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.84rem;
}

.summary-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px 16px;
}

.summary-box h3 {
  margin: 0 0 16px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text-muted);
}

.summary-line strong {
  color: var(--text);
}

.total-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.total-row strong {
  color: var(--gold-light);
  font-size: 1.25rem;
}

.full-width {
  width: 100%;
  margin-top: 18px;
}

.auth-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 36px 18px;
}

.auth-shell {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 820px;
  background: rgba(11, 11, 11, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.auth-panel {
  padding: 32px 36px;
  position: relative;
}

.form-panel {
  background: rgba(7, 7, 7, 0.88);
}

.close-btn {
  position: absolute;
  left: 22px;
  top: 22px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}

.auth-header {
  padding-top: 28px;
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.auth-form {
  padding-top: 30px;
}

.single-col {
  grid-template-columns: 1fr;
}

.checkbox-row {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  margin: 18px 0 20px;
  color: var(--text-muted);
}

.checkbox-row input {
  width: 18px;
  height: 18px;
}

.auth-divider {
  position: relative;
  text-align: center;
  margin: 18px 0;
  color: var(--text-muted);
}

.auth-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-divider span {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 12px;
  background: rgba(7, 7, 7, 0.88);
}

.btn-google {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.auth-switch {
  margin-top: 18px;
  text-align: center;
  color: var(--text-muted);
}

.auth-switch a {
  color: var(--gold-light);
  font-weight: 700;
}

.art-panel {
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.82), rgba(245, 228, 163, 1) 44%, rgba(212, 175, 55, 0.9));
  color: #1b1200;
  position: relative;
  overflow: hidden;
}

.art-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.12), transparent 50%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 26%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.1), transparent 44%);
}

.brand-lockup {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
}

.large-logo {
  width: min(360px, 82%);
  margin-bottom: 16px;
}

.brand-lockup p {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .nav-wrap {
    grid-template-columns: 1fr;
    padding: 10px 0;
    gap: 8px;
    min-height: 0;
  }

  .search-box,
  .brand-tagline,
  .main-nav,
  .actions {
    width: 100%;
  }

  .brand {
    width: fit-content;
    justify-self: start;
  }

  .brand-logo {
    width: 40px;
  }

  .brand-tagline {
    min-height: 0;
    margin-left: -18px;
  }

  .bt-crown {
    font-size: 1rem;
  }

  .bt-text {
    font-size: 0.9rem;
  }

  .lang-pill {
    padding: 6px 12px;
    font-size: 0.82rem;
  }

  .main-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    font-size: 0.85rem;
    padding-bottom: 2px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    white-space: nowrap;
  }

  .actions {
    gap: 8px;
  }

  .actions .btn {
    height: 38px;
    padding: 0 14px;
    font-size: 0.85rem;
  }

  .hero-grid,
  .order-layout,
  .auth-shell,
  .footer-grid,
  .games-grid,
  .three-col {
    grid-template-columns: 1fr;
  }

  .promo-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .promo-btn {
    width: 100%;
  }

  .field-grid,
  .nominal-grid,
  .payment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .search-box,
  .brand-tagline {
    min-height: 42px;
  }

  .bt-text {
    font-size: 1rem;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 10px 20px;
  }

  .hero-copy h1 {
    font-size: 2.3rem;
  }

  .hero-visual {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    min-height: 0;
    padding: 16px 0 8px;
  }

  .glow-ring {
    display: none;
  }

  .visual-card {
    position: static;
    width: 50%;
  }

  .primary-card {
    padding: 12px 12px;
  }

  .primary-card h3 {
    margin: 8px 0 2px;
    font-size: 1.05rem;
  }

  .primary-card p {
    margin: 0 0 10px;
    font-size: 0.78rem;
  }

  .primary-card .tag {
    font-size: 0.66rem;
    padding: 5px 9px;
  }

  .price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding-top: 8px;
  }

  .price-row strong {
    font-size: 1rem;
  }

  .alt-card {
    padding: 12px 12px;
  }

  .mini-label {
    margin-bottom: 8px;
    font-size: 0.78rem;
  }

  .mini-bars {
    height: 34px;
    gap: 6px;
  }

  .mini-bars i {
    width: 12px;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin: -8px;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
  }

  .nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: all 0.3s ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav,
  .actions {
    display: none !important;
  }

  .main-nav.nav-open,
  .actions.nav-open {
    display: flex !important;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    z-index: 19;
    width: 100%;
    max-width: none;
  }

  .main-nav.nav-open a {
    padding: 12px 20px;
    color: var(--text);
    white-space: normal;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  }

  .actions.nav-open {
    gap: 0;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .actions.nav-open .btn {
    width: 100%;
    height: 40px;
    margin-bottom: 8px;
  }

  .actions.nav-open .btn:last-child {
    margin-bottom: 0;
  }

  .field-grid,
  .payment-grid {
    grid-template-columns: 1fr;
  }

  .nominal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nominal-option {
    min-height: 66px;
    padding: 10px 12px;
  }

  .option-title {
    font-size: 0.9rem;
  }

  .option-price {
    font-size: 0.85rem;
  }

  .floating-chat {
    width: 54px;
    height: 54px;
    right: 18px;
    bottom: 18px;
  }

  .auth-panel {
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ===== Payment overlay (checkout) ===== */
.pay-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(6, 6, 6, 0.86);
  backdrop-filter: blur(6px);
  overflow-y: auto;
}

.pay-overlay.is-open {
  display: grid;
}

.pay-card {
  width: min(460px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px 26px;
  background: linear-gradient(180deg, rgba(21, 21, 21, 0.99), rgba(11, 11, 11, 0.97));
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 26px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.55);
  text-align: center;
}

.pay-card .pay-check {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-main));
  color: #130d00;
  font-weight: 900;
}

.pay-card h2 {
  margin: 0 0 4px;
  font-size: 1.3rem;
}

.pay-card .pay-order-id {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.pay-amount {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 216, 102, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  margin-bottom: 18px;
}

.pay-amount span {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pay-amount strong {
  display: block;
  margin-top: 4px;
  font-size: 1.8rem;
  color: var(--gold-light);
}

.pay-method-name {
  font-weight: 800;
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.pay-acct {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 10px;
  text-align: left;
}

.pay-acct .pay-acct-info {
  min-width: 0;
}

.pay-acct .pay-acct-bank {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pay-acct .pay-acct-num {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  word-break: break-all;
}

.pay-acct .pay-acct-name {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pay-copy {
  flex-shrink: 0;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.pay-copy.copied {
  background: rgba(42, 195, 139, 0.16);
  border-color: rgba(42, 195, 139, 0.5);
  color: #7ce0b8;
}

.pay-qris {
  margin: 0 auto 12px;
  width: min(280px, 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #fff;
  padding: 10px;
}

.pay-qris-meta {
  color: var(--text-muted);
  font-size: 0.84rem;
  margin: 0 0 16px;
}

.pay-note {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.6;
  margin: 4px 0 16px;
}

.pay-actions {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #3cd27a, #15b359);
  color: #04310f;
  box-shadow: 0 12px 30px rgba(42, 195, 139, 0.28);
}

.pay-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
}

/* =====================================================================
   UI POLISH — modern / premium / clean / responsive
   (additive only; tidak mengubah struktur atau fitur yang ada)
   ===================================================================== */

/* ---- Rendering & accessibility ---- */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(255, 216, 102, 0.28);
  color: #fff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
.nominal-option:focus-visible,
.payment-option:focus-within {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
  border-radius: 10px;
}

/* Logo tidak pernah terdistorsi */
.brand-logo,
.footer-logo,
.large-logo {
  height: auto;
  object-fit: contain;
}

/* ---- Konsistensi kartu & panel ---- */
.feature-card,
.game-card,
.promo-card,
.purchase-panel,
.summary-panel,
.auth-panel,
.visual-card,
.panel,
.card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card,
.game-card {
  display: flex;
  flex-direction: column;
}

.game-card .game-info {
  margin-top: auto;
}

/* ---- Game thumbnail: rasio konsisten, tidak gepeng ---- */
.game-art {
  aspect-ratio: 16 / 11;
  height: auto;
  min-height: 180px;
}

/* ---- Logo metode pembayaran (asset lokal) ---- */
.payment-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 92px;
}

.payment-option .pay-logo {
  width: auto;
  height: 26px;
  max-width: 84px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 3px 6px;
}

.payment-option span {
  font-size: 0.9rem;
}

/* ---- Logo rekening di overlay pembayaran ---- */
.pay-acct {
  align-items: center;
}

.pay-acct-logo {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
}

/* ---- QRIS preview lebih rapi ---- */
.pay-qris {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* ---- Tombol: berat visual konsisten ---- */
.btn {
  letter-spacing: 0.01em;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary:hover {
  box-shadow: 0 16px 38px rgba(212, 175, 55, 0.36);
}

/* ---- Header: sedikit lebih tegas saat scroll ---- */
.site-header,
.small-header {
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

/* ---- Nominal option: state hover/selected lebih halus ---- */
.nominal-option {
  will-change: transform;
}

.nominal-option:active {
  transform: translateY(0);
}

/* ---- Spacing responsif konsisten ---- */
@media (max-width: 1024px) {
  .hero {
    padding: 40px 0 20px;
  }

  .features,
  .trending,
  .promo {
    padding: 32px 0 14px;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .section-head.split {
    flex-direction: column;
    align-items: flex-start;
  }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .game-info {
    padding: 14px 14px 16px;
  }

  .game-info h3 {
    font-size: 1.2rem;
  }

  .btn {
    height: 46px;
  }
}

@media (max-width: 480px) {
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .game-art {
    min-height: 110px;
  }

  .game-info {
    padding: 10px 10px 12px;
  }

  .game-info h3 {
    font-size: 1rem;
  }

  .game-info p {
    font-size: 0.78rem;
  }

  .game-cta {
    font-size: 0.68rem;
    margin-top: 8px;
  }

  .badge {
    padding: 4px 8px;
    font-size: 0.58rem;
  }

  .feature-inline {
    gap: 14px 20px;
  }

  .promo-card {
    padding: 20px;
  }

  .purchase-panel,
  .summary-panel {
    padding: 18px;
    border-radius: 20px;
  }

  .pay-card {
    padding: 22px 18px;
  }
}

/* ---- Branding backdrop site-wide (asset lokal: background.jpg) ----
   Tekstur hex gelap dipasang di <html> sebagai lapisan dasar (fixed),
   lalu tiap <body> menaruh gradient gelap + glow emas di atasnya supaya
   selaras dengan tema dan konten tetap kontras. */
html {
  background-color: #0a0a0a;
  background-image:
    linear-gradient(180deg, rgba(9, 9, 9, 0.55), rgba(9, 9, 9, 0.78)),
    url("assets/background.jpg");
  background-repeat: no-repeat, no-repeat;
  background-position: center top, center center;
  background-size: cover, cover;
  background-attachment: fixed, fixed;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -8%, rgba(212, 175, 55, 0.13), transparent 46%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.62) 0%, rgba(11, 11, 11, 0.72) 55%, rgba(9, 9, 9, 0.8) 100%);
}

.page-shell {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.015)),
    linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0) 35%);
}

.page-surface {
  background: linear-gradient(180deg, rgba(6, 6, 6, 0.28), rgba(10, 10, 10, 0.5));
}

.admin-body {
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(9, 9, 9, 0.55) 0%, rgba(14, 14, 14, 0.72) 100%);
}

/* Kartu/panel diberi sedikit blur supaya "duduk" di atas tekstur */
.purchase-panel,
.summary-panel,
.panel,
.card,
.feature-card,
.promo-card,
.auth-panel {
  backdrop-filter: blur(3px);
}

@media (max-width: 768px) {
  /* background-attachment: fixed sering diabaikan / berat di mobile */
  html {
    background-attachment: scroll, scroll;
    background-size: cover, auto 100%;
  }
}

/* ---- Metode pembayaran (homepage) ---- */
.pay-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.pay-chip-logo {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 6px 10px;
}

.pay-chip {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.pay-methods-note {
  margin: 18px auto 0;
  max-width: 620px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---- FAQ (native <details>, tanpa JS) ---- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  background: rgba(21, 21, 21, 0.6);
  padding: 4px 18px;
  backdrop-filter: blur(3px);
}

.faq-list summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--gold-light);
  font-weight: 900;
}

.faq-list details[open] summary::after { content: "−"; }

.faq-list details p {
  margin: 0 0 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Payment modal: info + upload bukti (flow tanpa WhatsApp) ---- */
.pay-info {
  margin: 0 0 16px;
  display: grid;
  gap: 6px;
  text-align: left;
}

.pay-info > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
}

.pay-info dt { color: var(--text-muted); margin: 0; }
.pay-info dd { margin: 0; font-weight: 600; text-align: right; }

.pay-warn {
  margin: 14px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: #ffcaca;
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: left;
}

.pay-upload { margin: 12px 0 4px; text-align: left; }

.pay-upload-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.pay-file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  border: 1px dashed rgba(212, 175, 55, 0.5);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.pay-preview {
  margin-top: 12px;
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000;
}

.pay-file-hint {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pay-file-hint.is-error { color: var(--danger); font-weight: 600; }

#paySendBtn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---- Cek pesanan: timeline status ---- */
.txn-timeline {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.txn-timeline li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
}

.txn-timeline time { color: var(--text-muted); }

.txn-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: #ffcaca;
  font-size: 0.86rem;
}

.status-pill.pending-payment,
.status-pill.payment-review { background: rgba(255, 216, 102, 0.12); color: var(--gold-light); border-color: rgba(212, 175, 55, 0.4); }
.status-pill.paid,
.status-pill.processing { background: rgba(122, 162, 255, 0.14); color: #a9c0ff; border-color: rgba(122, 162, 255, 0.4); }
.status-pill.completed { background: rgba(42, 195, 139, 0.14); color: #7ce0b8; border-color: rgba(42, 195, 139, 0.4); }
.status-pill.rejected,
.status-pill.failed { background: rgba(255, 107, 107, 0.14); color: #ffb1b1; border-color: rgba(255, 107, 107, 0.4); }
.status-pill.expired,
.status-pill.cancelled { background: rgba(255, 255, 255, 0.06); color: var(--text-muted); border-color: rgba(255, 255, 255, 0.14); }

/* ---- Modal "wajib baca" (intro roblox) ---- */
.intro-card {
  width: min(560px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(24, 22, 16, 0.99), rgba(12, 11, 8, 0.98));
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.6);
}

.intro-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.intro-head img { width: 120px; height: auto; }

.intro-close {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-main));
  color: #1d1400;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.intro-body { padding: 18px; }

.intro-body h2 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}

.intro-list {
  margin: 0;
  padding: 16px 18px 16px 34px;
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--text);
  line-height: 1.75;
  font-size: 0.92rem;
}

.intro-list li { margin-bottom: 8px; }
.intro-list li:last-child { margin-bottom: 0; }

.intro-updated {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.76rem;
}

.intro-dismiss {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--text-muted);
  font-weight: 500;
  cursor: pointer;
}

.intro-dismiss input { width: 18px; height: 18px; }

/* ---- Layanan (kartu di beranda) + disclaimer ---- */
.svc-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.svc-grid .feature-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.svc-grid .feature-card p { flex: 1; }

.svc-grid .feature-card .btn {
  margin-top: 6px;
  align-self: flex-start;
}

.disclaimer {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.5;
}

.disclaimer.center { text-align: center; margin-top: 18px; }

/* method-specific fields memakai .field-grid & .checkbox-row yang sudah ada */
#methodFields:empty { display: none; }

/* ---- Breadcrumb + hero game detail ---- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--gold-light); }
.breadcrumb span { opacity: 0.6; }
.breadcrumb strong { color: var(--text); }

/* ---- Navbar pilihan metode Robux (roblox.html) ---- */
.method-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.method-nav a {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.method-nav a:hover {
  border-color: rgba(212, 175, 55, 0.5);
  color: var(--text);
}

.method-nav a.is-active {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-main) 35%, var(--gold-deep) 100%);
  border-color: transparent;
  color: #1a1200;
}

@media (max-width: 560px) {
  .method-nav {
    gap: 6px;
  }
  .method-nav a {
    padding: 8px 12px;
    font-size: 0.82rem;
  }
}

.game-hero {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 26px;
}

.game-hero img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.game-hero--no-img { grid-template-columns: 1fr; }

.game-hero h1 { margin: 0 0 8px; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.game-hero p { margin: 0 0 16px; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 560px) {
  .game-hero { grid-template-columns: 1fr; text-align: center; }
  .game-hero img { margin: 0 auto; }
}

/* ---- Banner lebar di atas halaman game (mis. menu Roblox) ---- */
.banner-frame {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.banner-frame img {
  width: 100%;
  display: block;
  aspect-ratio: 21 / 7;
  object-fit: cover;
}
@media (max-width: 640px) {
  .banner-frame img { aspect-ratio: 16 / 9; }
}

/* ---- Kartu layanan dengan efek glow ikut kursor (mis. menu Roblox) ---- */
.feature-card--glow {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.feature-card--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(212, 175, 55, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.feature-card--glow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-main), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.feature-card--glow:hover {
  transform: translateY(-6px);
  border-color: var(--gold-deep);
}
.feature-card--glow:hover::before { opacity: 1; }
.feature-card--glow:hover::after { transform: scaleX(1); }
.feature-card--glow .feature-icon {
  transition: transform 0.35s ease, background 0.35s ease;
}
.feature-card--glow:hover .feature-icon {
  transform: rotate(-6deg) scale(1.08);
  background: rgba(212, 175, 55, 0.2);
}

/* ---------- Kode diskon (checkout) ---------- */
.promo-box {
  margin-top: 16px;
}
.promo-box > label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.promo-row {
  display: flex;
  gap: 8px;
}
.promo-row input {
  flex: 1;
  min-width: 0;
}
.promo-row .btn {
  flex: 0 0 auto;
}
.promo-hint {
  margin: 6px 0 0;
  font-size: 0.82rem;
  min-height: 1.1em;
  color: var(--text-muted);
}
.promo-hint.is-ok {
  color: #46c98a;
}
.promo-hint.is-error {
  color: var(--danger, #ff6b6b);
}
.summary-line.discount-line strong {
  color: #46c98a;
}
.summary-line.discount-line em {
  font-style: normal;
  opacity: 0.75;
}
