:root {
  --saito-bg: #020a1d;
  --saito-bg-soft: #06162b;
  --saito-panel: rgba(4, 18, 44, 0.88);
  --saito-panel-light: rgba(17, 42, 70, 0.78);
  --saito-border: rgba(135, 164, 194, 0.35);
  --saito-cyan: #56c8ff;
  --saito-yellow: #ffba08;
  --saito-white: #f7f9ff;
  --saito-muted: #9da9bc;
  --saito-radius: 14px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--saito-white);
  font-family: "Poppins", sans-serif;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 150, 215, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 8%, rgba(18, 141, 202, 0.15), transparent 30rem),
    linear-gradient(135deg, #010718 0%, #061a31 48%, #02091d 100%);
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: #fff2a5;
  box-shadow:
    15vw 10vh 10px 2px rgba(255, 238, 132, 0.75),
    78vw 7vh 10px 2px rgba(255, 238, 132, 0.75),
    90vw 38vh 10px 2px rgba(255, 238, 132, 0.6),
    8vw 68vh 10px 2px rgba(255, 238, 132, 0.65),
    63vw 82vh 10px 2px rgba(255, 238, 132, 0.6);
}

body::after {
  top: 45%;
  left: 45%;
  opacity: 0.7;
  transform: scale(0.7);
}

a {
  color: inherit;
}

.site-navbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(2, 10, 29, 0.84);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  color: var(--saito-yellow) !important;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: inline-grid;
  width: 1.7rem;
  height: 2rem;
  place-items: center;
  color: var(--saito-yellow);
  font-size: 1.75rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  transform: skew(-10deg);
}

.site-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}


.navbar .nav-link {
  position: relative;
  padding: 0.75rem 0.85rem !important;
  color: rgba(247, 249, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
}

.navbar .nav-link::after {
  position: absolute;
  right: 0.85rem;
  bottom: 0.3rem;
  left: 0.85rem;
  height: 2px;
  content: "";
  background: var(--saito-yellow);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #fff;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  transform: scaleX(1);
}

.order-link {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  padding: 0.7rem 0.95rem;
  color: var(--saito-white);
  font-size: 0.86rem;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: 180ms ease;
}

.order-link:hover {
  color: var(--saito-yellow);
  border-color: rgba(255, 186, 8, 0.4);
  background: rgba(255, 186, 8, 0.06);
}

.hero-section {
  padding: 2rem 0 1rem;
}

.hero-panel,
.process-panel,
.footer-panel,
.footer-bottom {
  overflow: hidden;
  border: 1px solid var(--saito-border);
  border-radius: var(--saito-radius);
  background: var(--saito-panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.hero-main {
  background: linear-gradient(115deg, #030a20 0%, #071a34 55%, #16344f 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(2.5rem, 6vw, 5.5rem);
}

.hero-kicker {
  color: var(--saito-yellow);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-copy h1 {
  max-width: 720px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.035em;
  text-shadow: 0 3px 18px rgba(79, 196, 255, 0.26);
}

.hero-description {
  color: var(--saito-muted);
  font-size: 0.9rem;
}

.carousel-dots {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 2.75rem;
}

.carousel-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.carousel-dots .active {
  background: #fff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.7);
}

.hero-media {
  position: relative;
  overflow: hidden;
  height: 220px;
}

@media (min-width: 576px) {
  .hero-media {
    height: 320px;
  }
}

@media (min-width: 992px) {
  .hero-media {
    height: 455px;
  }
}

.banner-track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: scrollBanner 30s linear infinite;
}

.banner-track img {
  height: 100%;
  width: auto;
  min-width: 100vw;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
  display: block;
}

@keyframes scrollBanner {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #071a34 0%, transparent 38%, rgba(0, 0, 0, 0.12) 100%);
}

.social-actions {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transform: translateY(-50%);
}

.social-actions a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  font-size: 1.15rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: rgba(2, 10, 29, 0.48);
  backdrop-filter: blur(10px);
  transition: 180ms ease;
}

.social-actions a:hover {
  color: var(--saito-yellow);
  border-color: var(--saito-yellow);
  transform: translateY(-2px);
}

.logo-strip {
  overflow: hidden;
  padding: 1.25rem;
  background: rgba(3, 15, 35, 0.95);
  display: flex;
  align-items: center;
  position: relative;
}

.logo-strip::before,
.logo-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.logo-strip::before {
  left: 0;
  background: linear-gradient(to right, rgba(3, 15, 35, 0.95), transparent);
}

.logo-strip::after {
  right: 0;
  background: linear-gradient(to left, rgba(3, 15, 35, 0.95), transparent);
}

.logo-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scrollLogos 25s linear infinite;
}

.logo-item {
  display: grid;
  width: 160px;
  min-height: 78px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(20, 45, 73, 0.72), rgba(5, 18, 42, 0.72));
  flex-shrink: 0;
}

.logo-item img {
  max-width: 82%;
  max-height: 48px;
  object-fit: contain;
  mix-blend-mode: screen;
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.section-space {
  padding: 4.25rem 0 0;
}

.section-heading {
  margin-bottom: 1.75rem;
}

.section-heading h2,
.footer-panel h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 600;
}

.section-heading p,
.footer-panel p {
  margin-bottom: 0;
  color: var(--saito-muted);
  font-size: 0.88rem;
}

.game-card {
  display: block;
  overflow: hidden;
  height: 100%;
  color: var(--saito-white);
  text-decoration: none;
  border: 1px solid rgba(137, 162, 190, 0.35);
  border-radius: 13px;
  background: rgba(2, 12, 34, 0.86);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 260ms ease;
}

.game-card span {
  display: block;
  min-height: 60px;
  padding: 1.15rem 0.85rem;
  overflow: hidden;
  font-size: 0.86rem;
  font-weight: 500;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-card:hover,
.game-card.active {
  color: #fff;
  border-color: var(--saito-cyan);
  box-shadow: 0 0 0 1px rgba(86, 200, 255, 0.2), 0 20px 45px rgba(0, 0, 0, 0.28);
  transform: translateY(-5px);
}

.game-card:hover img,
.game-card.active img {
  transform: scale(1.025);
}

.game-card.maintenance {
  position: relative;
  filter: grayscale(0.7) brightness(0.8);
  border-color: rgba(239, 68, 68, 0.4) !important;
}

.game-card.maintenance::before {
  content: "MAINTENANCE";
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}


.process-panel {
  padding: 1.25rem;
}

.process-step {
  padding: 2rem 1.4rem;
  text-align: center;
}

.process-step + .process-step {
  border-left: 1px solid rgba(137, 162, 190, 0.15);
}

.process-icon {
  display: block;
  margin-bottom: 1rem;
  color: #cbd6e7;
  font-size: 2.35rem;
}

.process-step h3 {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.process-step p {
  margin: 0;
  color: #8795aa;
  font-size: 0.78rem;
  line-height: 1.8;
}

/* ── Footer ─────────────────────────────── */
.site-footer {
  position: relative;
  margin-top: 3rem;
  padding-bottom: 0;
  background: linear-gradient(180deg, rgba(2,10,29,0) 0%, #010a1d 60%);
}

.footer-glow-top {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--saito-cyan), var(--saito-yellow), var(--saito-cyan), transparent);
  margin-bottom: 3rem;
  opacity: 0.7;
}

.footer-main {
  padding-bottom: 3rem;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.footer-desc {
  color: var(--saito-muted);
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.65rem;
}

.social-btn {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--saito-white);
  font-size: 1.1rem;
  text-decoration: none;
  border: 1px solid rgba(86, 200, 255, 0.25);
  border-radius: 50%;
  background: rgba(86, 200, 255, 0.07);
  transition: all 200ms ease;
}

.social-btn:hover {
  color: var(--saito-yellow);
  border-color: var(--saito-yellow);
  background: rgba(255, 186, 8, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 186, 8, 0.2);
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--saito-white);
  margin-bottom: 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(86, 200, 255, 0.2);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li {
  margin-top: 0.6rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--saito-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 160ms ease, gap 160ms ease;
}

.footer-links a:hover {
  color: var(--saito-cyan);
  gap: 0.75rem;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--saito-muted);
  font-size: 0.83rem;
  line-height: 1.6;
}

.footer-contact-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  place-items: center;
  color: var(--saito-cyan);
  font-size: 1rem;
  border: 1px solid rgba(86, 200, 255, 0.25);
  border-radius: 8px;
  background: rgba(86, 200, 255, 0.06);
}

.footer-bottom-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(135, 164, 194, 0.15);
}

.footer-copy {
  color: var(--saito-muted);
  font-size: 0.78rem;
}

.footer-copy strong {
  color: var(--saito-yellow);
}

.footer-bottom-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-bottom-nav a {
  color: rgba(247, 249, 255, 0.65);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-bottom-nav a:hover {
  color: var(--saito-yellow);
}


@media (max-width: 991.98px) {
  .site-navbar .navbar-collapse {
    margin-top: 0.9rem;
    padding: 1rem;
    border: 1px solid var(--saito-border);
    border-radius: 12px;
    background: rgba(3, 14, 36, 0.98);
  }

  .hero-copy {
    min-height: 430px;
  }

  .hero-media {
    min-height: 360px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, #071a34 0%, transparent 34%, rgba(0, 0, 0, 0.16) 100%);
  }

  .process-step:nth-child(3) {
    border-left: 0;
  }

  .process-step:nth-child(n + 3) {
    border-top: 1px solid rgba(137, 162, 190, 0.15);
  }
}

@media (max-width: 767.98px) {
  /* Logo strip scrolling layout is preserved on mobile */

  .section-space {
    padding-top: 3.25rem;
  }

  .footer-suggestions {
    padding-top: 1.5rem;
    padding-left: 0;
    border-top: 1px solid rgba(137, 162, 190, 0.24);
    border-left: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  .hero-copy {
    min-height: 390px;
    padding: 2.2rem 1.4rem;
  }

  .hero-media {
    min-height: 285px;
  }

  .game-grid {
    --bs-gutter-x: 0.9rem;
    --bs-gutter-y: 0.9rem;
  }

  .game-card span {
    min-height: 52px;
    padding: 0.95rem 0.35rem;
    font-size: 0.72rem;
  }

  .process-step + .process-step,
  .process-step:nth-child(3) {
    border-top: 1px solid rgba(137, 162, 190, 0.15);
    border-left: 0;
  }

  .footer-bottom nav {
    gap: 0.8rem 1.2rem;
  }

  .nominal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .nominal-card {
    padding: 1rem 0.5rem;
  }
}

/* Dynamic Top-Up Page Styling */
.topup-header {
  padding: 3rem 0;
  background: linear-gradient(115deg, rgba(3, 10, 32, 0.88) 0%, rgba(7, 26, 52, 0.82) 55%, rgba(22, 52, 79, 0.75) 100%), url('img/logo/banner.png') center/cover no-repeat;
  border-bottom: 1px solid var(--saito-border);
  min-height: 300px;
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
}

@media (min-width: 768px) {
  .topup-header {
    min-height: 450px; /* larger banner on desktop */
  }
}


.topup-game-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topup-game-logo {
  width: 90px;
  height: 90px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid var(--saito-cyan);
  box-shadow: 0 0 15px rgba(86, 200, 255, 0.4);
}

.topup-game-title h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--saito-white);
  text-shadow: 0 2px 10px rgba(86, 200, 255, 0.2);
}

.topup-container {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.step-card {
  border: 1px solid var(--saito-border);
  border-radius: var(--saito-radius);
  background: var(--saito-panel);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
}

.step-number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--saito-yellow);
  color: var(--saito-bg);
  font-weight: 700;
  font-size: 0.95rem;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  color: var(--saito-white);
}

.form-control-custom {
  background: rgba(1, 10, 29, 0.6);
  border: 1px solid var(--saito-border);
  color: var(--saito-white) !important;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.form-control-custom:focus {
  background: rgba(1, 10, 29, 0.9);
  border-color: var(--saito-cyan);
  box-shadow: 0 0 10px rgba(86, 200, 255, 0.25);
  outline: none;
}

.form-control-custom::placeholder {
  color: var(--saito-muted);
}

.nominal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.nominal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(17, 42, 70, 0.3);
  border: 1px solid var(--saito-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.nominal-card:hover {
  border-color: var(--saito-cyan);
  background: rgba(17, 42, 70, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.nominal-card.selected {
  border-color: var(--saito-yellow);
  background: rgba(255, 186, 8, 0.08);
  box-shadow: 0 0 0 1px var(--saito-yellow), 0 8px 25px rgba(255, 186, 8, 0.15);
}

.nominal-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.nominal-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--saito-white);
  text-align: center;
  margin-bottom: 0.25rem;
}

.nominal-price {
  font-size: 0.8rem;
  color: var(--saito-yellow);
  font-weight: 500;
}

.nominal-checkmark {
  position: absolute;
  top: 8px;
  right: 8px;
  color: var(--saito-yellow);
  font-size: 0.85rem;
  display: none;
}

.nominal-card.selected .nominal-checkmark {
  display: block;
}

.nominal-card.disabled,
.payment-card.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}


.payment-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.payment-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: rgba(17, 42, 70, 0.3);
  border: 1px solid var(--saito-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.payment-card:hover {
  border-color: var(--saito-cyan);
  background: rgba(17, 42, 70, 0.6);
}

.payment-card.selected {
  border-color: var(--saito-yellow);
  background: rgba(255, 186, 8, 0.08);
  box-shadow: 0 0 0 1px var(--saito-yellow);
}

.payment-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.payment-logo {
  height: 28px;
  max-width: 80px;
  object-fit: contain;
}

.payment-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--saito-white);
}

.payment-price {
  font-size: 0.9rem;
  color: var(--saito-yellow);
  font-weight: 600;
}

.payment-radio {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--saito-border);
  transition: all 0.2s ease;
}

.payment-card.selected .payment-radio {
  border-color: var(--saito-yellow);
  background: var(--saito-yellow);
}

.payment-card.selected .payment-radio::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--saito-bg);
}

.checkout-panel {
  position: sticky;
  top: 90px;
  border: 1px solid var(--saito-border);
  border-radius: var(--saito-radius);
  background: var(--saito-panel);
  padding: 1.75rem;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.checkout-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--saito-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.75rem;
}

.checkout-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  color: var(--saito-muted);
}

.checkout-row.total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--saito-white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.checkout-value {
  color: var(--saito-white);
  font-weight: 500;
}

.checkout-row.total .checkout-value {
  color: var(--saito-yellow);
}

.btn-checkout {
  width: 100%;
  padding: 0.85rem;
  border-radius: 10px;
  background: var(--saito-yellow);
  color: var(--saito-bg);
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  box-shadow: 0 5px 15px rgba(255, 186, 8, 0.2);
}

.btn-checkout:hover {
  background: #ffcc00;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 186, 8, 0.35);
}

.btn-checkout:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.3);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Modal styling matching dark premium theme */
.modal-custom .modal-content {
  background: #04122c;
  border: 1px solid var(--saito-border);
  border-radius: var(--saito-radius);
  color: var(--saito-white);
}

.modal-custom .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-custom .modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-custom .close-btn {
  color: var(--saito-white);
  opacity: 0.7;
}

.modal-custom .close-btn:hover {
  opacity: 1;
}

/* ═══════════════════════════════════════════
   ANIMATION SYSTEM
═══════════════════════════════════════════ */

/* ── Keyframes ──────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(86,200,255,0.3); }
  50%       { box-shadow: 0 0 28px rgba(86,200,255,0.75), 0 0 50px rgba(86,200,255,0.25); }
}
@keyframes glowPulseYellow {
  0%, 100% { box-shadow: 0 0 8px rgba(255,186,8,0.3); }
  50%       { box-shadow: 0 0 28px rgba(255,186,8,0.75), 0 0 50px rgba(255,186,8,0.2); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-9px); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes pageReveal {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes navbarDrop {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes borderGlow {
  0%, 100% { border-color: rgba(86,200,255,0.3); }
  50%       { border-color: rgba(86,200,255,1); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Page load ──────────────────────────── */
main {
  animation: pageReveal 0.7s ease both;
}
.site-navbar {
  animation: navbarDrop 0.5s ease both;
}

/* ── Scroll-reveal ──────────────────────── */
.reveal {
  opacity: 0;
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.from-up    { transform: translateY(40px); }
.reveal.from-left  { transform: translateX(-50px); }
.reveal.from-right { transform: translateX(50px); }
.reveal.from-scale { transform: scale(0.88); }
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
.reveal.delay-5 { transition-delay: 0.5s; }
.reveal.delay-6 { transition-delay: 0.6s; }

/* ── Persistent glow / float ────────────── */
.hero-panel {
  animation: glowPulse 4.5s ease-in-out infinite;
}
.process-icon {
  animation: float 3s ease-in-out infinite;
}
.process-step:nth-child(2) .process-icon { animation-delay: 0.4s; }
.process-step:nth-child(3) .process-icon { animation-delay: 0.8s; }
.process-step:nth-child(4) .process-icon { animation-delay: 1.2s; }
.footer-glow-top {
  background-size: 200% auto;
  animation: shimmer 3.5s linear infinite;
}
.footer-contact-icon {
  animation: glowPulse 3s ease-in-out infinite;
}
.footer-contact-list li:nth-child(2) .footer-contact-icon { animation-delay: 1s; }
.footer-contact-list li:nth-child(3) .footer-contact-icon { animation-delay: 2s; }

/* ── Game card hover bounce ─────────────── */
.game-card {
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
              border-color 0.3s ease,
              box-shadow 0.3s ease !important;
}
.game-card:hover {
  transform: translateY(-8px) scale(1.04) !important;
}

/* ── Nominal cards ──────────────────────── */
.nominal-card {
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1),
              border-color 0.25s ease,
              box-shadow 0.25s ease !important;
}
.nominal-card:hover {
  transform: translateY(-5px) scale(1.04) !important;
}
.nominal-card.selected {
  animation: borderGlow 1.5s ease-in-out infinite;
}

/* ── Social btn hover glow ──────────────── */
.social-btn:hover {
  animation: glowPulseYellow 1.5s ease-in-out infinite;
  transform: translateY(-3px) !important;
}

/* ── Section heading animated underline ─── */
.section-heading {
  text-align: center;
}
.section-heading h2 {
  position: relative;
  display: inline-block;
}
.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 50%; transform: translateX(-50%);
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--saito-cyan), var(--saito-yellow));
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.34,1.56,0.64,1) 0.3s;
}
.section-heading.visible h2::after {
  width: 80%;
}

/* ── Scroll progress bar ────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--saito-cyan), var(--saito-yellow), var(--saito-cyan));
  background-size: 200% auto;
  animation: shimmer 2s linear infinite;
  z-index: 9999;
  box-shadow: 0 0 12px rgba(86,200,255,0.8);
  transition: width 0.12s linear;
}

/* ── High Contrast Color Overrides ──────── */
.text-muted,
.text-secondary,
.dropdown-menu-dark .dropdown-header,
.dropdown-menu-dark .dropdown-header div,
.dropdown-header {
  color: #aebfd6 !important; /* Bright high-contrast light blue/grey */
  opacity: 1 !important;
}

.form-control::placeholder {
  color: rgba(247, 249, 255, 0.6) !important;
}

.dropdown-menu-dark .dropdown-item {
  color: var(--saito-white) !important;
  font-weight: 500;
  transition: all 0.15s ease;
}

.dropdown-menu-dark .dropdown-item:hover {
  background-color: var(--saito-panel-light) !important;
  color: var(--saito-cyan) !important;
}

.text-muted-light {
  color: #d1dfef !important;
}

/* Category Badge Pills */
.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--saito-white) !important;
  background: rgba(17, 42, 70, 0.4);
  border: 1px solid rgba(135, 164, 194, 0.3);
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  user-select: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.badge-pill:hover {
  background: rgba(17, 42, 70, 0.6);
  border-color: rgba(135, 164, 194, 0.6);
}

.badge-pill i {
  font-size: 0.85rem;
  line-height: 1;
}

/* Premium Search Box Styling */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(17, 42, 70, 0.4);
  border: 1px solid var(--saito-border);
  border-radius: 30px;
  padding: 0 1.25rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.search-box:focus-within {
  border-color: var(--saito-cyan);
  box-shadow: 0 0 15px rgba(86, 200, 255, 0.25);
  background: rgba(17, 42, 70, 0.6);
}

.search-icon {
  color: var(--saito-muted);
  font-size: 1.1rem;
  margin-right: 0.75rem;
}

.search-input {
  background: transparent !important;
  border: none !important;
  color: var(--saito-white) !important;
  padding: 0.8rem 0 !important;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: none !important;
  width: 100%;
}

.search-input::placeholder {
  color: rgba(247, 249, 255, 0.5) !important;
}

.btn-clear {
  background: none;
  border: none;
  color: var(--saito-muted);
  padding: 0;
  cursor: pointer;
  margin-left: 0.5rem;
  transition: color 0.2s ease;
}

.btn-clear:hover {
  color: var(--saito-cyan);
}

/* Sticky Bottom Checkout Bar Styling */
.sticky-checkout-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #061126;
  border-top: 1px solid rgba(135, 164, 194, 0.25);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.5);
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  animation: slideUpBar 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes slideUpBar {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.checkout-bar-details {
  display: flex;
  flex-direction: column;
}

.checkout-bar-total {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--saito-white);
}

.checkout-bar-product {
  font-size: 0.82rem;
  color: #8c9eb9;
}

.btn-pay-now {
  background: linear-gradient(135deg, var(--saito-cyan) 0%, #0096d7 100%) !important;
  color: var(--saito-bg) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 0.7rem 1.8rem !important;
  border-radius: 30px !important;
  border: none !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 15px rgba(86, 200, 255, 0.3);
}

.btn-pay-now:hover {
  background: linear-gradient(135deg, #70d5ff 0%, #00a8f3 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(86, 200, 255, 0.5);
}

.btn-pay-now:active {
  transform: translateY(0);
}

body:has(.sticky-checkout-bar:not(.d-none)) {
  padding-bottom: 90px;
}

/* Override underline direction for left-aligned section headings */
.section-heading.text-start h2::after {
  left: 0;
  transform: none;
}
