/* ==================== GLOBAL STYLES ==================== */
:root {
  --bg-main: #07090e;
  --card-bg: rgba(18, 24, 38, 0.75);
  --card-border: rgba(255, 255, 255, 0.08);
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.35);
  --accent-green: #10b981;
  --accent-pink: #f43f5e;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #0b0e14;
  color: #ffffff;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px 25px;
}

.card {
  padding: 15px;
}

.bg-card {
  background-color: #121824;
  border: 1px solid #1f293d;
  border-radius: 16px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
}

.bg_section {
  background: url("../../../upload/bg_sections.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: fixed;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img-box {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-img-box img {
  width: 100%;
  object-fit: cover;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.about-img-box:hover img {
  transform: scale(1.05);
}

/* ==================== NAVBAR ==================== */
.navbar {
  background-color: rgba(11, 14, 20, 0.95);
  border-bottom: 1px solid #1a2234;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.logo img {
  width: auto;
  max-height: 60px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  color: #94a3b8;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  border-bottom: 2px solid #6366f1;
}

.nav-links a.active {
  border-bottom: 2px solid #6366f1;
  padding-bottom: 4px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-search {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
  padding: 8px;
}

.btn-login {
  border: 1px solid #334155;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-login:hover {
  border-color: #6366f1;
}

.btn-register {
  background: #6366f1;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  transition: background 0.3s;
}

.btn-register:hover {
  background: #4f46e5;
}

.section-headline {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.3;
  justify-content: center;
}

.breadcrumb-container {
  padding: 10px 16px;
  text-align: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 8px;
  justify-content: center;
}

/* Item & Link Styles */
.breadcrumb-item {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.breadcrumb-item a {
  color: #94a3b8;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

/* Icon styling (SVG) */
.breadcrumb-item a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

/* Separator / Pemisah Icon */
.breadcrumb-item:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid #64748b;
  border-top: 2px solid #64748b;
  transform: rotate(45deg);
  margin-left: 8px;
  opacity: 0.6;
}

/* Hover State */
.breadcrumb-item a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.breadcrumb-item a:hover svg {
  transform: translateY(-2px);
}

/* Active State (Halaman Saat Ini) */
.breadcrumb-item.active span {
  color: var(--primary-gold);
  font-weight: 600;
  padding: 8px 14px;
  background: rgba(56, 189, 248, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

/* ==================== HERO SECTION ==================== */
.hero {
  background: url("../../../upload/bg_heros.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 40px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 40px;
  align-items: start;
}

.badge-tag {
  display: inline-block;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  margin-bottom: 16px;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}

.text-gradient {
  background: linear-gradient(90deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(90deg, #f59e0b, #b45309);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  color: #fff;
  font-size: 14px;
  margin-bottom: 24px;
  max-width: 500px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.feature-item {
  background: rgb(18, 24, 36, 0.8);
  border: 1px solid #1f293d;
  border-radius: 12px;
  padding: 15px 10px;
  text-align: center;
}

.feature-item i {
  color: #f59e0b;
  font-size: 28px;
  margin-bottom: 8px;
}

.feature-item h4 {
  font-size: 12px;
  font-weight: 600;
}

.feature-item p {
  font-size: 10px;
  color: #64748b;
}

@media (max-width: 480px) {
  .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
  }

  .feature-item {
    background: rgb(18, 24, 36, 0.8);
    border: 1px solid #1f293d;
    border-radius: 12px;
    padding: 15px 5px;
    text-align: center;
  }

  .feature-item i {
    color: #f59e0b;
    font-size: 28px;
    margin-bottom: 8px;
  }

  .feature-item h4 {
    font-size: 10px;
    font-weight: 600;
  }

  .feature-item p {
    font-size: 8px;
    color: #64748b;
  }
}

.rating-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatars {
  display: flex;
}

.avatars img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #0b0e14;
  margin-left: -8px;
}

.avatars img:first-child {
  margin-left: 0;
}

.rating-stars {
  font-size: 12px;
  color: #f59e0b;
}

.rating-text {
  font-size: 11px;
  color: #64748b;
}

/* ==================== FORM TOP UP ==================== */
.form-card {
  padding: 24px;
}

.form-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #cbd5e1;
}

.step-num {
  width: 20px;
  height: 20px;
  background: #6366f1;
  border-radius: 50%;
  display: flex;
  align-items: justify;
  justify-content: center;
  font-size: 11px;
  line-height: 20px;
  text-align: center;
}

.form-control {
  width: 100%;
  background: #0b0e14;
  border: 1px solid #1f293d;
  border-radius: 10px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: #6366f1;
}

.form-hint {
  font-size: 10px;
  color: #64748b;
  margin-top: 4px;
  display: block;
}

.nominal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.nominal-item {
  background: #0b0e14;
  border: 1px solid #1f293d;
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.nominal-item:hover {
  border-color: #6366f1;
}

.nominal-item.active {
  border-color: #8b5cf6;
  background: #1e1b4b;
}

.nominal-title {
  font-size: 11px;
  font-weight: 600;
}

.nominal-price {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 2px;
}

.badge-populer {
  position: absolute;
  top: -6px;
  right: 4px;
  background: #f43f5e;
  color: #fff;
  font-size: 8px;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  margin-top: 10px;
  transition: opacity 0.3s;
}

.btn-submit:hover {
  opacity: 0.9;
}

/* ==================== CAROUSEL FLASH DEAL ==================== */
.flash-deal-container {
  background: linear-gradient(135deg, #1e1b4b 0%, #121824 100%);
  border: 1px solid #6366f1;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 40px;
  position: relative;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.flash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.flash-title-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flash-badge {
  background: #f43f5e;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50%;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse 1.5s infinite;
  width: 35px;
  height: 35px;
  line-height: 28px;
  text-align: center;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.timer-box {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #cbd5e1;
}

.time-unit {
  background: #0b0e14;
  border: 1px solid #334155;
  color: #f59e0b;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  min-width: 32px;
  text-align: center;
  font-family: monospace;
  font-size: 14px;
}

/* CAROUSEL WRAPPER & SLIDER */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 4px 0;
}

.carousel-track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s ease-in-out;
  scroll-behavior: smooth;
}

.flash-card {
  min-width: calc(25% - 12px); /* Menampilkan 4 produk per slide */
  box-sizing: border-box;
  background: #0b0e14;
  border: 1px solid #1f293d;
  border-radius: 12px;
  padding: 14px;
  position: relative;
  transition:
    transform 0.3s,
    border-color 0.3s;
  cursor: pointer;
  flex-shrink: 0;
}

.flash-card:hover {
  transform: translateY(-4px);
  border-color: #8b5cf6;
}

.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(244, 63, 94, 0.2);
  color: #f43f5e;
  border: 1px solid #f43f5e;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
}

.flash-game-name {
  font-size: 10px;
  color: #818cf8;
  font-weight: 600;
  text-transform: uppercase;
}

.flash-item-title {
  font-size: 13px;
  font-weight: 700;
  margin: 4px 0 8px;
}

.flash-price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}

.price-now {
  font-size: 14px;
  font-weight: 800;
  color: #22c55e;
}

.price-was {
  font-size: 10px;
  color: #64748b;
  text-decoration: line-through;
}

.progress-bar-container {
  width: 100%;
  background: #1f293d;
  height: 6px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f43f5e, #f59e0b);
  border-radius: 10px;
}

.stock-text {
  font-size: 9px;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
}

/* NAV BUTTONS */
.carousel-btn {
  background: #121824;
  border: 1px solid #334155;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.carousel-btn:hover {
  background: #6366f1;
  border-color: #6366f1;
}

.carousel-nav-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 992px) {
  .flash-card {
    min-width: calc(50% - 8px);
  } /* 2 produk per slide */
}

@media (max-width: 600px) {
  .flash-card {
    min-width: 100%;
  } /* 1 produk per slide */
}

/* ==================== GAME FAVORIT ==================== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-see-all {
  background: #121824;
  border: 1px solid #1f293d;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 11px;
  color: #94a3b8;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 50px;
}

.game-card {
  background: #121824;
  border: 1px solid #1f293d;
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.3s,
    border-color 0.3s;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: #6366f1;
}

.game-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.game-info {
  padding: 10px;
  text-align: center;
}

.game-title {
  font-size: 11px;
  font-weight: 700;
}

.game-sub {
  font-size: 9px;
  color: #64748b;
}

/* ==================== FEATURES CARDS ==================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 50px;
}

.benefit-card {
  background-color: rgb(18, 24, 36, 0.8);
  border: 1px solid #1f293d;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.benefit-icon {
  color: #f59e0b;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 42px;
}

.benefit-card h3 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.benefit-card p {
  font-size: 11px;
  color: #64748b;
}

/* ==================== CARA TOP UP ==================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 50px;
}

.step-card {
  padding: 20px;
  text-align: center;
  position: relative;
}

.step-badge {
  width: 24px;
  height: 24px;
  background: #6366f1;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.step-card h4 {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-card p {
  font-size: 10px;
  color: #64748b;
}

/* ==================== TESTIMONI ==================== */
.testimonial-section {
  padding: 40px 0;
  margin-bottom: 40px;
}

.testimonial-header {
  text-align: center;
  margin-bottom: 30px;
}

.testimonial-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.testimonial-header p {
  color: #94a3b8;
  font-size: 14px;
}

.testimonial-wrapper {
  position: relative;
  overflow: hidden;
  padding: 15px;
}

.testimonial-track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s ease-in-out;
  scroll-behavior: smooth;
}

/* DESKTOP (Default): 4 Item per Slide */
.testimonial-card {
  min-width: calc((100% - (16px * 3)) / 4);
  max-width: calc((100% - (16px * 3)) / 4);
  box-sizing: border-box;
  background: #121824;
  border: 1px solid #1f293d;
  border-radius: 12px;
  padding: 14px;
  position: relative;
  transition:
    transform 0.3s,
    border-color 0.3s;
  cursor: pointer;
  flex-shrink: 0;
}

.testimonial-card:hover {
  border-color: #6366f1;
  transform: translateY(-4px);
}

.testi-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #818cf8;
  border: 2px solid #6366f1;
  font-size: 13px;
}

.testi-info h4 {
  color: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}

.testi-info span {
  color: #64748b;
  font-size: 10px;
}

.testi-stars {
  color: #f59e0b;
  font-size: 11px;
  margin-bottom: 10px;
}

.testi-text {
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.5;
  font-style: italic;
  margin: 0;
}

/* DOTS NAVIGATION */
.testimonial-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #1f293d;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: linear-gradient(90deg, #f59e0b, #b45309);
  width: 24px;
  border-radius: 10px;
}

/* TABLET: 3 Item per Slide */
@media (max-width: 992px) {
  .testimonial-card {
    min-width: calc((100% - (16px * 2)) / 3);
    max-width: calc((100% - (16px * 2)) / 3);
  }
}

/* MOBILE: 1 Item per Slide */
@media (max-width: 600px) {
  .testimonial-card {
    min-width: 100%;
    max-width: 100%;
  }
}

/* ==================== HUBUNGI KAMI ============== */
.info-list {
  list-style: none;
  margin-top: 28px;
  margin-bottom: 28px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  color: #fff;
  font-size: 0.95rem;
}

.info-icon {
  width: 22px;
  height: 22px;
  color: #fff;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-content strong {
  display: block;
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-content a {
  color: #2563eb;
  text-decoration: none;
}

.info-content a:hover {
  text-decoration: underline;
}

.social-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 12px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.social-btn {
  width: 42px;
  height: 40px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.social-btn:hover {
  background: linear-gradient(90deg, #f59e0b, #b45309);
  color: #fff;
  transform: translateY(-2px);
}

.social-btn i {
  font-size: 20px;
  fill: currentColor;
}

/* ==================== FOOTER ==================== */
footer {
  background-color: #121824;
  border-top: 1px solid #1f293d;
  padding: 40px 0;
  font-size: 11px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr;
  gap: 24px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col p {
  color: #64748b;
  line-height: 1.6;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: #64748b;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

.contact-list li {
  color: #64748b;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.contact-list span {
  color: #ffffff;
  display: block;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.pay-badge {
  background: #ffffff;
  color: #0b0e14;
  font-weight: 800;
  font-size: 9px;
  padding: 4px;
  text-align: center;
  border-radius: 4px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .benefits-grid,
  .steps-grid,
  .testi-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
  }
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid,
  .steps-grid,
  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.main-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
}

.main-layout .glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.main-layout .game-sidebar {
  position: sticky;
  top: 20px;
  height: fit-content;
}

.main-layout .banner-wrapper {
  position: relative;
  height: 180px;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.main-layout .banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-layout .banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 20%,
    rgba(18, 24, 38, 1) 100%
  );
}

.main-layout .game-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(16, 185, 129, 0.5);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.main-layout .game-body {
  padding: 20px;
}

.main-layout .game-title {
  font-size: 20px;
  font-weight: 800;
}

.main-layout .publisher {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.main-layout .game-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: rgba(0, 0, 0, 0.3);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
}

.main-layout .stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.main-layout .stat-label {
  font-size: 10px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.main-layout .stat-value {
  font-size: 12px;
  font-weight: 700;
}

.main-layout .text-success {
  color: var(--accent-green);
}

.main-layout .instructions-box h4 {
  font-size: 13px;
  margin-bottom: 8px;
}

.main-layout .instructions-box ul {
  padding-left: 16px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.main-layout .instructions-box li {
  position: relative;
  padding-left: 28px; /* Space for the symbol */
  margin-bottom: 10px;
}

.main-layout .instructions-box li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent-green); /* Symbol color */
  font-weight: bold;
}

.main-layout .order-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-layout .step-cards {
  padding: 24px;
}

.main-layout .step-headers {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.main-layout .step-badges {
  width: 36px;
  height: 36px;
  background: linear-gradient(90deg, #f59e0b, #b45309);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.main-layout .step-headers h3 {
  font-size: 16px;
  font-weight: 700;
}

.main-layout .step-headers p {
  font-size: 12px;
  color: var(--text-secondary);
}

.main-layout .input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.main-layout .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.main-layout .form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.main-layout .input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.main-layout .input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-secondary);
  font-size: 14px;
}

.main-layout .input-wrapper input,
.main-layout .input-wrapper select {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--card-border);
  padding: 12px 14px 12px 40px;
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: all 0.25s ease;
}

.main-layout .input-wrapper input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.main-layout .input-hint {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}

.main-layout .nominal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.main-layout .item-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
}

.main-layout .item-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.5);
}

.main-layout .item-card.selected {
  background: rgba(99, 102, 241, 0.12);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.main-layout .item-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.main-layout .item-info {
  display: flex;
  flex-direction: column;
}

.main-layout .item-name {
  font-size: 13px;
  font-weight: 700;
}

.main-layout .item-price {
  font-size: 12px;
  color: var(--accent-green);
  font-weight: 700;
}

.main-layout .check-mark {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.main-layout .item-card.selected .check-mark {
  display: flex;
}

.main-layout .hot-item {
  border-color: rgba(244, 63, 94, 0.4);
}

.main-layout .badge-tag {
  position: absolute;
  top: -10px;
  right: 12px;
  background: var(--accent-pink);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
}

.main-layout .pay-group-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.main-layout .pay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.main-layout .pay-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.main-layout .pay-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.5);
}

.main-layout .pay-card.selected {
  background: rgba(99, 102, 241, 0.12);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.main-layout .pay-logo {
  font-size: 20px;
  color: var(--primary);
}

.main-layout .pay-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.main-layout .pay-name {
  font-size: 12px;
  font-weight: 700;
}

.main-layout .pay-desc {
  font-size: 10px;
  color: var(--text-secondary);
}

.main-layout .pay-price-tag {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-green);
}

.main-layout .checkout-card {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-color: rgba(99, 102, 241, 0.3);
}

.main-layout .summary-body {
  display: flex;
  gap: 24px;
}

.main-layout .summary-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  color: var(--text-secondary);
}

.main-layout .summary-item strong {
  color: var(--text-primary);
  font-size: 13px;
}

.main-layout .total-price {
  font-size: 20px !important;
  color: var(--accent-green) !important;
  font-weight: 800;
}

.main-layout .btn-checkout {
  background: linear-gradient(90deg, #f59e0b, #b45309);
  color: #fff;
  border: none;
  padding: 16px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px #b45309;
  transition: all 0.25s ease;
}

.main-layout .btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px #b45309;
}

@media (max-width: 992px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
  .main-layout .game-sidebar {
    position: relative;
    top: 0;
  }
  .main-layout .checkout-card {
    flex-direction: column;
    align-items: stretch;
  }
  .main-layout .summary-body {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  /* Nominal Grid: Dipaksa 2 Kolom di Mobile */
  .main-layout .nominal-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px; /* Mengecilkan jarak gap agar tidak sesak di layar HP */
  }

  .main-layout .item-card {
    padding: 12px 10px; /* Menyesuaikan padding card agar muat rapi */
    gap: 8px;
  }

  .main-layout .item-icon {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .main-layout .item-name {
    font-size: 11px;
  }

  .main-layout .item-price {
    font-size: 11px;
  }

  /* Metode Pembayaran & Input Form Tetap 1 Kolom Agar Nyaman Dilihat */
  .main-layout .pay-grid,
  .main-layout .input-grid {
    grid-template-columns: 1fr;
  }
}
