/* GameCenter VCR — Voucher Game & Top-up */
/* Dark ungu neon gaming, esports vibes */

:root {
  --primary: #1a0030;
  --accent: #d500f9;
  --accent2: #7c00d4;
  --neon: #ff00ff;
  --neon2: #00e5ff;
  --bg: #1a0030;
  --bg2: #120022;
  --bg3: #220040;
  --text: #e8d0ff;
  --text2: #c0a0e0;
  --card: #2a0050;
  --card2: #350060;
  --border: #5500aa;
  --white: #ffffff;
  --success: #00ff88;
  --warn: #ffcc00;
  --font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

/* DEMO BAR */
.demo-bar {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 6px 16px;
  font-size: 12px;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--accent);
}
.demo-bar a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  margin: 0 4px;
}
.demo-bar a:hover { text-decoration: underline; }

/* NAV */
header {
  background: rgba(18, 0, 34, 0.97);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 60px;
}

.nav-logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
  text-decoration: none;
  line-height: 1;
}
.nav-logo .logo-gc { color: var(--white); }
.nav-logo .logo-vcr { color: var(--accent); text-shadow: 0 0 10px var(--accent); }

.nav-toggle {
  display: none;
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
  background: rgba(213, 0, 249, 0.1);
}
.nav-links .nav-cta a {
  background: var(--accent);
  color: #fff;
  padding: 7px 16px;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(213,0,249,0.4);
}
.nav-links .nav-cta a:hover {
  background: #b000d0;
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0; right: 0;
    background: var(--bg2);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    border-bottom: 2px solid var(--border);
    gap: 2px;
  }
  .nav-links a { padding: 10px 14px; font-size: 15px; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  nav { flex-wrap: wrap; height: auto; padding: 0 16px; }
  .nav-logo { padding: 12px 0; }
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #1a0030 0%, #2d0055 40%, #0d001a 100%);
  position: relative;
  overflow: hidden;
  padding: 60px 20px 70px;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(213,0,249,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(0,229,255,0.1) 0%, transparent 60%);
}
.hero-badge {
  display: inline-block;
  background: rgba(213,0,249,0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(28px, 6vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  position: relative;
}
.hero h1 .hl { color: var(--accent); text-shadow: 0 0 20px var(--accent); }
.hero h1 .hl2 { color: var(--neon2); text-shadow: 0 0 20px var(--neon2); }
.hero-sub {
  font-size: clamp(14px, 2.5vw, 18px);
  color: var(--text2);
  max-width: 550px;
  margin: 0 auto 32px;
  position: relative;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 50px auto 0;
  padding: 0 20px;
  position: relative;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  letter-spacing: 0.3px;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px rgba(213,0,249,0.5);
}
.btn-primary:hover {
  background: #b000d0;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(213,0,249,0.7);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover {
  background: rgba(213,0,249,0.1);
  transform: translateY(-2px);
}
.btn-neon2 {
  background: var(--neon2);
  color: #000;
  box-shadow: 0 0 16px rgba(0,229,255,0.4);
}
.btn-neon2:hover { transform: translateY(-2px); box-shadow: 0 0 24px rgba(0,229,255,0.6); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-full { width: 100%; text-align: center; }

/* GAME CARD (hero) */
.game-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(213,0,249,0.25);
}
.game-card .game-icon {
  font-size: 40px;
  margin-bottom: 10px;
  display: block;
}
.game-card .game-icon svg { width: 44px; height: 44px; }
.game-card h3 { font-size: 14px; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.game-card p { font-size: 12px; color: var(--text2); margin-bottom: 12px; }
.game-card .price {
  font-size: 16px;
  font-weight: 900;
  color: var(--accent);
  text-shadow: 0 0 8px rgba(213,0,249,0.5);
}

/* SECTION */
.section { padding: 56px 20px; }
.section-alt { background: var(--bg2); }
.section-dark { background: var(--bg3); }
.container { max-width: 1100px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(213,0,249,0.1);
  border: 1px solid rgba(213,0,249,0.3);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--white);
}
.section-desc {
  color: var(--text2);
  font-size: 15px;
  max-width: 520px;
  margin-bottom: 40px;
}

/* FEATURED PRODUCTS GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 900px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .products-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(213,0,249,0.2);
}
.product-card-head {
  padding: 20px 20px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.product-card-head .p-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.product-card-head h3 { font-size: 16px; font-weight: 800; color: var(--white); }
.product-card-head span { font-size: 12px; color: var(--text2); }
.product-card-body { padding: 14px 20px 20px; }
.product-card-body .items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.item-pill {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--text2);
  cursor: pointer;
  transition: all 0.15s;
}
.item-pill:hover, .item-pill.active {
  background: rgba(213,0,249,0.15);
  border-color: var(--accent);
  color: var(--accent);
}

/* KEUNGGULAN */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .features-grid { grid-template-columns: 1fr 1fr; } }

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.feature-card h3 { font-size: 14px; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.feature-card p { font-size: 12px; color: var(--text2); line-height: 1.5; }

/* TICKER/STATS */
.stats-bar {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px;
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(213,0,249,0.4);
  display: block;
}
.stat-label { font-size: 12px; color: var(--text2); }

/* PAGE HERO */
.page-hero {
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
  border-bottom: 1px solid var(--border);
  padding: 48px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(213,0,249,0.12) 0%, transparent 70%);
}
.page-hero h1 { font-size: clamp(24px, 5vw, 40px); font-weight: 900; color: var(--white); margin-bottom: 10px; position: relative; }
.page-hero p { color: var(--text2); font-size: 15px; position: relative; }

/* PRODUCT TABLE / FULL LIST */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.tab-btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text2);
  transition: all 0.2s;
}
.tab-btn:hover, .tab-btn.active {
  background: rgba(213,0,249,0.15);
  border-color: var(--accent);
  color: var(--accent);
}

.prod-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--border); }
.prod-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
}
.prod-table th {
  background: var(--card2);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 14px 16px;
  text-align: left;
  white-space: nowrap;
}
.prod-table td {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  border-top: 1px solid rgba(85,0,170,0.3);
}
.prod-table tr:hover td { background: rgba(213,0,249,0.05); }
.prod-table .price-col { color: var(--accent); font-weight: 800; }
.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-hot { background: rgba(255,0,80,0.2); color: #ff3366; border: 1px solid rgba(255,0,80,0.3); }
.badge-new { background: rgba(0,229,255,0.15); color: var(--neon2); border: 1px solid rgba(0,229,255,0.3); }
.badge-promo { background: rgba(255,204,0,0.15); color: var(--warn); border: 1px solid rgba(255,204,0,0.3); }

/* STEPS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0.4;
}
@media (max-width: 768px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
}
@media (max-width: 480px) { .steps-grid { grid-template-columns: 1fr; } }

.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  position: relative;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 0 16px rgba(213,0,249,0.4);
}
.step-card h3 { font-size: 15px; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.step-card p { font-size: 13px; color: var(--text2); line-height: 1.5; }

/* FAQ */
.faq-list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  gap: 12px;
}
.faq-q::after { content: '+'; font-size: 20px; color: var(--accent); flex-shrink: 0; }
.faq-toggle { display: none; }
.faq-toggle:checked ~ .faq-q::after { content: '−'; }
.faq-a {
  display: none;
  padding: 0 20px 16px;
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}
.faq-toggle:checked ~ .faq-a { display: block; }

/* CEK TRANSAKSI */
.cek-form-wrap {
  max-width: 600px;
  margin: 0 auto;
}
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--font);
  transition: border-color 0.2s;
  outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: #6040a0; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(213,0,249,0.1);
}
.form-select option { background: var(--bg2); }
.form-textarea { resize: vertical; min-height: 100px; }

.status-result {
  margin-top: 24px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(85,0,170,0.2);
  font-size: 13px;
}
.status-row:last-child { border-bottom: none; }
.status-row .label { color: var(--text2); }
.status-row .value { color: var(--white); font-weight: 700; }
.status-success { color: var(--success) !important; }
.status-pending { color: var(--warn) !important; }

/* KONTAK */
.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 768px) { .kontak-grid { grid-template-columns: 1fr; } }

.kontak-info { display: flex; flex-direction: column; gap: 16px; }
.kontak-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.kontak-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kontak-card h3 { font-size: 14px; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.kontak-card p, .kontak-card a { font-size: 13px; color: var(--text2); line-height: 1.5; text-decoration: none; }
.kontak-card a:hover { color: var(--accent); }

.jam-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
}
.jam-row { font-size: 12px; color: var(--text2); }
.jam-row strong { color: var(--white); }

/* FOOTER */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 40px 20px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-brand .nav-logo { display: inline-block; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: var(--text2); line-height: 1.6; }
footer h4 { font-size: 13px; font-weight: 800; color: var(--white); margin-bottom: 14px; letter-spacing: 0.5px; text-transform: uppercase; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: var(--text2); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 12px; color: var(--text2); }
.footer-bottom a { color: var(--accent); text-decoration: none; }

/* GLOW EFFECTS */
.glow-accent { color: var(--accent); text-shadow: 0 0 12px rgba(213,0,249,0.5); }
.glow-neon2 { color: var(--neon2); text-shadow: 0 0 12px rgba(0,229,255,0.5); }

/* BG DECORATION */
.bg-grid {
  background-image:
    linear-gradient(rgba(85,0,170,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85,0,170,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* UTILITY */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* CTA SECTION */
.cta-section {
  background: linear-gradient(135deg, #2d0055 0%, #1a0030 60%, #0d001a 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(213,0,249,0.1) 0%, transparent 70%);
}
.cta-section h2 { font-size: clamp(22px, 4vw, 36px); font-weight: 900; color: var(--white); margin-bottom: 12px; position: relative; }
.cta-section p { color: var(--text2); font-size: 15px; margin-bottom: 28px; position: relative; }
