* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #0a0a14;
  color: white;
}

/* NAVBAR */
.navbar {
  background: rgba(10, 10, 20, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(240,192,64,0.15);
  position: sticky;
  top: 0;
  z-index: 100;
  max-width: 100%;
}

.nav-logo {
  font-size: 18px;
  font-weight: bold;
  background: linear-gradient(135deg, #f0c040, #ffffff, #f0c040);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  color: #aaa;
  text-decoration: none;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.nav-menu a:hover {
  color: #f0c040;
  border-color: rgba(240,192,64,0.3);
  background: rgba(240,192,64,0.05);
}

.nav-menu a.aktif {
  color: #f0c040;
  border-color: rgba(240,192,64,0.4);
  background: rgba(240,192,64,0.1);
}

/* HERO */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0a0a2e 0%, #1a0a3e 30%, #0d1b4b 60%, #0a2a1e 100%);
  padding: 80px 30px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(240,192,64,0.3);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(120,40,200,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(40,100,200,0.15) 0%, transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(240,192,64,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦';
  position: absolute;
  top: 20px;
  left: 0; right: 0;
  text-align: center;
  color: rgba(240,192,64,0.15);
  font-size: 18px;
  letter-spacing: 8px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-badge-top {
  display: inline-block;
  background: linear-gradient(135deg, rgba(240,192,64,0.2), rgba(240,192,64,0.05));
  border: 1px solid rgba(240,192,64,0.4);
  color: #f0c040;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 20px;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,192,64,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(240,192,64,0); }
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff, #f0c040, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-galaxy {
  font-size: 50px;
  -webkit-text-fill-color: initial;
  animation: float 3s ease-in-out infinite;
  display: inline-block;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

.hero-subtitle {
  font-size: 18px;
  color: #aaa;
  margin-bottom: 40px;
}

.hero-highlight {
  color: #f0c040;
  font-weight: bold;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 12px 18px;
  transition: all 0.2s;
}

.hero-badge-item:hover {
  background: rgba(240,192,64,0.1);
  border-color: rgba(240,192,64,0.3);
  transform: translateY(-2px);
}

.badge-icon {
  font-size: 24px;
}

.badge-title {
  font-size: 14px;
  font-weight: bold;
  color: white;
}

.badge-desc {
  font-size: 11px;
  color: #888;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px;
  max-width: 500px;
  margin: 0 auto;
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-angka {
  font-size: 24px;
  font-weight: bold;
  color: #f0c040;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: #888;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* NAVBAR update */
.nav-logo {
  font-size: 20px;
  font-weight: bold;
  background: linear-gradient(135deg, #4069f0, #ffffff, #f0c040);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* GAME SECTION */
.game-section {
  padding: 40px 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.game-section h2 {
  font-size: 20px;
  margin-bottom: 6px;
  color: white;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.game-card {
  background: #1a1a2e;
  border: 1px solid #222;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
}

.game-card:hover {
  border-color: #f0c040;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(240,192,64,0.15);
}

.game-banner {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ml-banner { background: linear-gradient(135deg, #1a3a6e, #2d6abf); }
.ff-banner { background: linear-gradient(135deg, #6e1a1a, #bf4a2d); }
.pubg-banner { background: linear-gradient(135deg, #3a3a1a, #8a7a2d); }
.valorant-banner { background: linear-gradient(135deg, #6e1a2a, #bf2d4a); }
.honkai-banner { background: linear-gradient(135deg, #1a2a6e, #7a2dbf); }
.genshin-banner { background: linear-gradient(135deg, #1a5a3a, #2dbf8a); }

.game-emoji {
  font-size: 36px;
}

.game-info {
  padding: 16px;
}

.game-info h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.game-info p {
  font-size: 12px;
  color: #888;
}

/* TOPUP BANNER */
.topup-banner {
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #222;
}

.ml-bg { background: linear-gradient(135deg, #1a3a6e, #0a0a14); }
.ff-bg { background: linear-gradient(135deg, #6e1a1a, #0a0a14); }
.pubg-bg { background: linear-gradient(135deg, #3a3a1a, #0a0a14); }
.valorant-bg { background: linear-gradient(135deg, #6e1a2a, #0a0a14); }
.honkai-bg { background: linear-gradient(135deg, #1a2a6e, #0a0a14); }
.genshin-bg { background: linear-gradient(135deg, #1a5a3a, #0a0a14); }

.btn-back {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid #333;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}

.btn-back:hover {
  background: rgba(255,255,255,0.2);
}

.banner-emoji {
  font-size: 60px;
}

.banner-info h2 {
  font-size: 24px;
  color: #f0c040;
  margin-bottom: 10px;
}

.banner-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.banner-badges span {
  background: rgba(255,255,255,0.1);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: #ccc;
}

/* TOPUP CONTAINER */
.topup-container {
  display: flex;
  gap: 24px;
  padding: 24px 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.topup-kiri {
  flex: 1;
}

.topup-kanan {
  width: 280px;
  flex-shrink: 0;
}

/* STEP BOX */
.step-box {
  background: #1a1a2e;
  border: 1px solid #222;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #222;
}

.step-number {
  background: #f0c040;
  color: #0a0a14;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.step-header h3 {
  font-size: 16px;
}

.step-content {
  padding: 20px;
}

.input-row {
  display: flex;
  gap: 16px;
}

.form-group {
  flex: 1;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: #aaa;
  font-size: 13px;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #0a0a14;
  color: white;
  font-size: 14px;
}

.form-group input:focus {
  outline: none;
  border-color: #f0c040;
}

/* NOMINAL GRID */
.nominal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.nominal-card {
  background: #0a0a14;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.nominal-card:hover {
  border-color: #f0c040;
}

.nominal-card.selected {
  border-color: #f0c040;
  background: rgba(240,192,64,0.1);
  box-shadow: 0 0 12px rgba(240,192,64,0.2);
}

.nominal-card .n-ikon {
  font-size: 24px;
  margin-bottom: 6px;
}

.nominal-card .n-label {
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 4px;
}

.nominal-card .n-harga {
  font-size: 12px;
  color: #f0c040;
}

.nominal-card .n-badge {
  font-size: 10px;
  background: #f0c040;
  color: #0a0a14;
  padding: 2px 6px;
  border-radius: 10px;
  margin-bottom: 6px;
  display: inline-block;
}

/* RINGKASAN */
.ringkasan-box {
  background: #1a1a2e;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 20px;
  position: sticky;
  top: 80px;
}

.ringkasan-box h3 {
  font-size: 16px;
  margin-bottom: 16px;
  color: white;
}

.ringkasan-kosong {
  color: #666;
  font-size: 13px;
  text-align: center;
  padding: 20px 0;
  border: 1px dashed #333;
  border-radius: 8px;
  margin-bottom: 16px;
}

.ringkasan-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #222;
}

.ringkasan-item span:first-child {
  color: #aaa;
}

.harga-highlight {
  color: #f0c040;
  font-weight: bold;
}

.btn-pesan {
  width: 100%;
  background: linear-gradient(135deg, #f0c040, #ffd700);
  color: #0a0a14;
  border: none;
  padding: 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  font-size: 15px;
  margin-top: 16px;
  transition: all 0.2s;
}

.btn-pesan:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(240,192,64,0.4);
}

/* FOOTER */
footer {
  background: #111122;
  border-top: 1px solid #222;
  padding: 24px;
  text-align: center;
  color: #555;
  font-size: 13px;
  margin-top: 40px;
}

footer span {
  color: #f0c040;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .topup-container {
    flex-direction: column;
    padding: 16px;
  }

  .topup-kanan {
    width: 100%;
  }

  .nominal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .input-row {
    flex-direction: column;
  }

  .game-grid {
    grid-template-columns: 1fr;
  }
}

/* ULASAN */
#section-ulasan {
  padding: 40px 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.ulasan-container {
  display: flex;
  gap: 24px;
}

.ulasan-kiri {
  flex: 1;
}

.ulasan-kanan {
  width: 320px;
  flex-shrink: 0;
}

.ulasan-kiri h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.ulasan-sub {
  color: #888;
  font-size: 14px;
  margin-bottom: 20px;
}

.rating-besar {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #1a1a2e;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.angka-rating {
  font-size: 52px;
  font-weight: bold;
  color: #f0c040;
  line-height: 1;
}

.bintang-besar {
  font-size: 22px;
  color: #f0c040;
  margin-bottom: 4px;
}

.total-ulasan {
  color: #888;
  font-size: 13px;
}

.list-ulasan {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kartu-ulasan {
  background: #1a1a2e;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 16px;
  transition: all 0.2s;
}

.kartu-ulasan:hover {
  border-color: #333;
}

.ulasan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ulasan-nama {
  font-weight: bold;
  font-size: 14px;
}

.ulasan-bintang {
  color: #f0c040;
  font-size: 14px;
}

.ulasan-game {
  font-size: 11px;
  color: #888;
  margin-bottom: 8px;
}

.ulasan-komentar {
  font-size: 14px;
  color: #ccc;
  line-height: 1.5;
}

.ulasan-waktu {
  font-size: 11px;
  color: #555;
  margin-top: 8px;
}

/* FORM ULASAN */
.form-ulasan {
  background: #1a1a2e;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 80px;
}

.form-ulasan h3 {
  font-size: 16px;
  margin-bottom: 16px;
  color: #f0c040;
}

.form-ulasan select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #0a0a14;
  color: white;
  font-size: 14px;
}

.form-ulasan textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #0a0a14;
  color: white;
  font-size: 14px;
  resize: vertical;
}

.form-ulasan textarea:focus,
.form-ulasan select:focus {
  outline: none;
  border-color: #f0c040;
}

.bintang-input {
  display: flex;
  gap: 8px;
  font-size: 28px;
  cursor: pointer;
  margin-bottom: 4px;
}

.bintang-input span {
  transition: all 0.1s;
  color: #555;
}

.bintang-input span.aktif {
  color: #f0c040;
}

.form-ulasan button {
  width: 100%;
  background: linear-gradient(135deg, #f0c040, #ffd700);
  color: #0a0a14;
  border: none;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  font-size: 15px;
  margin-top: 8px;
  transition: all 0.2s;
}

.form-ulasan button:hover {
  transform: scale(1.02);
}

.kosong-ulasan {
  color: #555;
  text-align: center;
  padding: 30px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .ulasan-container {
    flex-direction: column-reverse;
  }
  .ulasan-kanan {
    width: 100%;
  }
}

.btn-lanjut-bayar {
  margin-top: 12px;
  width: 100%;
  background: linear-gradient(135deg, #f0c040, #ffd700);
  color: #0a0a14;
  border: none;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.2s;
}

.btn-lanjut-bayar:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(240,192,64,0.4);
}

/* GAMBAR GAME */
.game-banner img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  padding: 8px;
}

.banner-game-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255,255,255,0.1);
  padding: 8px;
}

.game-teks {
  font-size: 11px;
  font-weight: bold;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

.banner-ikon {
  font-size: 60px;
  margin-right: 10px;
}

.game-banner {
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* RIWAYAT HERO */
.riwayat-hero {
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  padding: 60px 20px;
  text-align: center;
  border-bottom: 2px solid #f0c040;
}

.riwayat-hero h1 {
  font-size: 32px;
  color: #f0c040;
  margin-bottom: 10px;
}

.riwayat-hero p {
  color: #aaa;
  margin-bottom: 30px;
}

.search-box {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.search-box input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 10px;
  border: 2px solid #333;
  background: #0a0a14;
  color: white;
  font-size: 15px;
}

.search-box input:focus {
  outline: none;
  border-color: #f0c040;
}

.search-box button {
  padding: 14px 24px;
  background: linear-gradient(135deg, #f0c040, #ffd700);
  color: #0a0a14;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  font-size: 15px;
  white-space: nowrap;
}

.search-box button:hover {
  transform: scale(1.05);
}

/* RIWAYAT CONTAINER */
.riwayat-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 20px;
}

/* INFO STEPS */
.info-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.info-step {
  background: #1a1a2e;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.step-ikon {
  font-size: 28px;
  margin-bottom: 10px;
}

.info-step p {
  font-size: 13px;
  color: #aaa;
  line-height: 1.5;
}

/* LOADING */
.loading-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px;
  color: #aaa;
}

.loading-spinner {
  font-size: 48px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* SUMMARY */
.summary-box {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.summary-item {
  flex: 1;
  background: #1a1a2e;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.summary-angka {
  display: block;
  font-size: 32px;
  font-weight: bold;
  color: #f0c040;
  margin-bottom: 6px;
}

.summary-label {
  font-size: 13px;
  color: #888;
}

.hasil-title {
  font-size: 16px;
  color: #aaa;
  margin-bottom: 16px;
}

.hasil-title span {
  color: #f0c040;
}

/* PESANAN CARD */
.pesanan-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pesanan-card {
  background: #1a1a2e;
  border: 1px solid #222;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s;
}

.pesanan-card:hover {
  border-color: #333;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.pesanan-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #222;
}

.pesanan-game-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pesanan-emoji {
  font-size: 32px;
}

.pesanan-game-nama {
  font-weight: bold;
  font-size: 15px;
}

.pesanan-order {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

.pesanan-status {
  font-weight: bold;
  font-size: 14px;
}

.pesanan-card-body {
  padding: 20px;
}

.pesanan-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.pesanan-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-size: 12px;
  color: #666;
}

.detail-value {
  font-size: 14px;
  color: #ddd;
  font-weight: bold;
}

/* KOSONG */
.kosong-box {
  text-align: center;
  padding: 60px 20px;
  background: #1a1a2e;
  border: 1px solid #222;
  border-radius: 16px;
}

.kosong-ikon {
  font-size: 60px;
  margin-bottom: 16px;
}

.kosong-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #f0c040;
}

.kosong-box p {
  color: #888;
  font-size: 14px;
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .info-steps {
    grid-template-columns: 1fr;
  }
  .summary-box {
    flex-direction: column;
  }
  .pesanan-detail-grid {
    grid-template-columns: 1fr;
  }
  .search-box {
    flex-direction: column;
  }
}