:root {
  /* Colors */
  --blue-main: #0094ff;
  --blue-dark: #0066cc;
  --blue-gradient: linear-gradient(135deg, #0094ff 0%, #0066cc 100%);
  --gold: #ffb703;
  --gold-hover: #ffa000;
  --line-green: #00c853;

  --white: #ffffff;
  --gray-50: #f5f7fa;
  --gray-100: #eef2f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-800: #1f2937;

  /* Layout */
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow: 0 4px 12px rgba(15,23,42,0.12);
  --shadow-lg: 0 14px 28px rgba(15,23,42,0.18);
  --max-width: 1200px;
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-2xl: 48px;
}

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

body {
  font-family: 'Prompt', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

a {
  text-decoration: none;
  color: #0094ff;
}

ul { list-style: none; }

/* Typography */
h1, h2, h3, h4, h5 {
  font-weight: 600;
  color: var(--gray-800);
}

h1 {
  font-size: 2.1rem;
  line-height: 1.25;
  margin-bottom: var(--sp-md);
}

h2 {
  font-size: 1.6rem;
  margin-bottom: var(--sp-md);
}

h3 {
  font-size: 1.3rem;
  margin-bottom: var(--sp-sm);
}

h4 {
  font-size: 1.1rem;
  margin-bottom: var(--sp-sm);
}

p {
  font-size: 0.96rem;
  margin-bottom: var(--sp-sm);
  color: var(--gray-600);
}

small { font-size: 0.8rem; }

@media (max-width: 768px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.15rem; }
  p  { font-size: 0.9rem; }
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

/* UNIFIED SECTION SPACING */
.section {
  padding: 1.5rem var(--sp-md);
}

@media (max-width: 768px) {
  .section {
    padding: 1.25rem var(--sp-sm);
  }
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: var(--sp-lg);
}

@media (max-width: 768px) {
  .card { padding: var(--sp-md); }
}

/* ===========================
   Premium Buttons (CTAs)
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 14px; /* slightly rounded rectangle, like sample */
  font-size: 0.95rem;
  font-weight: 600;
  min-height: 40px;
  border: 1px solid rgba(255,255,255,0.7);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 10px rgba(0,0,0,0.18),
    0 0 0 1px rgba(255,255,255,0.4) inset; /* soft inner glow */
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease,
    background 0.18s ease;
}

/* subtle glossy highlight at top */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.btn span,
.btn strong,
.btn b {
  position: relative;
  z-index: 1;
}

/* Hover effect – lift + stronger glow */
.btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 6px 16px rgba(0,0,0,0.22),
    0 0 0 1px rgba(255,255,255,0.7) inset;
  filter: brightness(1.03);
}

/* Focus ring for accessibility */
.btn:focus-visible {
  outline: 2px solid rgba(255,255,255,0.9);
  outline-offset: 2px;
}

/* Primary (blue) */
.btn-primary {
  background: var(--blue-gradient);
  color: var(--white);
}

/* Header Login (outline white on gradient bg) */
.btn-outline-white {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  border-color: rgba(255,255,255,0.9);
}

.btn-outline-white::before {
  background: linear-gradient(to bottom, rgba(255,255,255,0.85), transparent 55%);
}

.btn-outline-white:hover {
  filter: brightness(1.05);
}

/* Gold */
.btn-gold {
  background: linear-gradient(135deg, #ffd766 0%, #ffb703 50%, #ff9800 100%);
  color: #000;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #ffe27f 0%, #ffc43a 50%, #ffad33 100%);
}

/* LINE (green) */
.btn-line {
  background: linear-gradient(135deg, #00e676 0%, #00c853 50%, #00a943 100%);
  color: #fff;
}

.btn-line:hover {
  background: linear-gradient(135deg, #4df39b 0%, #00d76b 50%, #00b94f 100%);
}

/* Outline blue (if used anywhere else) */
.btn-outline-blue {
  background: linear-gradient(135deg, #ffffff 0%, #f3f7ff 60%, #e4edff 100%);
  color: var(--blue-dark);
  border-color: rgba(0,148,255,0.4);
}

.btn-outline-blue::before {
  background: linear-gradient(to bottom, rgba(255,255,255,0.9), transparent 55%);
}

.btn-outline-blue:hover {
  color: #fff;
  background: var(--blue-gradient);
}

/* Header */
.header {
  background: var(--blue-gradient);
  border-radius: 0 0 26px 26px;
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
}

.header-logo-link {
  display: inline-flex;
  align-items: center;
}

.header-logo {
  height: 38px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-wrap: nowrap;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(255,255,255,0.16);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 640px) {
  .header-logo { height: 32px; }

  .header-actions {
    gap: 4px;
  }

  .header-actions .btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    min-height: 32px;
  }
}

/* Banner */
.banner-section {
  padding: 1.4rem var(--sp-md) 1.25rem;
}

@media (max-width: 768px) {
  .banner-section {
    padding: 1.25rem var(--sp-sm) 1.1rem;
  }
}

.banner-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  background: #000;
}

.slides {
  display: flex;
  transition: transform .4s ease;
}

.slides a {
  width: 100%;
  flex-shrink: 0;
  display: block;
}

.slides img {
  width: 100%;
  display: block;
}

.dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  cursor: pointer;
  transition: .2s;
}

.dot.active {
  background: #fff;
}

/* Intro */
.intro {
  text-align: center;
}

.intro p {
  max-width: 720px;
  margin: 0 auto var(--sp-md);
}

.intro-ctas {
  display: flex;
  gap: var(--sp-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--sp-md);
}

@media (max-width: 480px) {
  .intro-ctas .btn {
    padding: 8px 14px;
    font-size: 0.85rem;
    min-height: 34px;
    flex: 0 0 auto;
  }
}

/* Tabs section */
.tabs-card { padding: var(--sp-lg); }

@media (max-width: 768px) {
  .tabs-card { padding: var(--sp-md); }
}

.tab-nav {
  display: flex;
  gap: 8px;
  margin-bottom: var(--sp-md);
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.tab-nav::-webkit-scrollbar { display: none; }

.tab-chip {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--gray-100);
  border: none;
  white-space: nowrap;
  cursor: pointer;
  font-size: 0.86rem;
  color: var(--gray-600);
  transition: all 0.2s;
}

.tab-chip.active {
  background: var(--blue-main);
  color: #fff;
}

.tab-content { position: relative; }

.game-slider-container { position: relative; }

.game-grid {
  display: none;
  flex-wrap: nowrap;
  gap: var(--sp-md);
  overflow-x: auto;
  padding: var(--sp-sm);
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.game-grid.active { display: flex; }

.game-grid::-webkit-scrollbar { height: 6px; }

.game-grid::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: 3px;
}

.game-grid::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 3px;
}

.game-grid::-webkit-scrollbar-thumb:hover { background: var(--blue-main); }

.game-card {
  display: block;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 10px;
  text-align: center;
  min-width: 200px;
  flex-shrink: 0;
  transition: transform 0.15s;
  color: inherit;
}

.game-card:hover { transform: translateY(-2px); }

.game-card-img {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  margin-bottom: 8px;
}

.game-card-img img {
  width: auto;             /* keep square shape */
  height: auto;
  max-width: 100%;         /* image never spills */
  max-height: 140px;       /* safe cap */
  object-fit: contain;
  display: block;
}

.game-card span {
  font-size: 0.86rem;
  color: var(--gray-600);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  border: 1px solid var(--gray-200);
  color: var(--gray-800);
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s;
}

.slider-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.slider-btn.prev { left: -18px; }
.slider-btn.next { right: -18px; }

.slider-btn::before {
  content: '';
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
}

.slider-btn.prev::before {
  transform: rotate(135deg);
  margin-left: 2px;
}

.slider-btn.next::before {
  transform: rotate(-45deg);
  margin-right: 2px;
}

@media (max-width: 768px) {
  .game-card { min-width: 160px; }
  .slider-btn { display: none; }
}

/* QR section */
.qr-section h2 {
  text-align: center;
  color: var(--blue-dark);
  margin-bottom: var(--sp-lg);
}

.qr-strip {
  border-radius: var(--radius-lg);
  background: var(--blue-gradient);
  padding: var(--sp-lg);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
  color: #fff;
}

.qr-hero-link {
  display: block;
}

.qr-hero img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
}

.qr-card {
  background: rgba(255,255,255,0.93);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  text-align: center;
  color: var(--gray-800);
}

.qr-codes {
  display: flex;
  justify-content: center;
  gap: var(--sp-md);
  margin: var(--sp-md) 0;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.qr-codes::-webkit-scrollbar {
  height: 4px;
}

.qr-codes::-webkit-scrollbar-track {
  background: transparent;
}

.qr-codes::-webkit-scrollbar-thumb {
  background: var(--gray-200);
  border-radius: 999px;
}

.qr-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--sp-sm);
  box-shadow: var(--shadow);
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-item img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.copy-row {
  display: flex;
  gap: var(--sp-sm);
  margin-top: var(--sp-md);
  flex-wrap: nowrap;
}

.copy-input {
  flex: 1;
  min-width: 0;
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-300);
  font-size: 0.88rem;
}

@media (max-width: 480px) {
  .qr-item img {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 768px) {
  .qr-strip {
    grid-template-columns: 1fr;
  }
  .copy-row {
    flex-direction: column;
  }
}

/* FAQ */
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--sp-sm);
  background: #fff;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--sp-md);
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  font-size: 0.96rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: var(--sp-md);
  display: none;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.faq-answer.active { display: block; }

/* Payment / Social / Safety / Responsible */
.meta-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-lg);
}

.meta-heading {
  margin-bottom: var(--sp-xs);
  font-size: 1.02rem;
}

.pill-logos {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--gray-100);
  border-radius: var(--radius-pill);
  padding: 6px 10px;
}

.pill-logos img {
  height: 22px;
  width: auto;
  object-fit: contain;
}

/* Partners */
.partners { text-align: center; }

.partners-logos {
  margin-top: var(--sp-md);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-md);
}

.partners-logos img {
  height: 26px;
  width: auto;
  object-fit: contain;

  /* Start in grayscale */
  filter: grayscale(100%);
  opacity: 0.75;

  /* Smooth transition to color */
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

/* On hover → fade to color + slightly brighter */
.partners-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--blue-gradient);
  color: #fff;
  text-align: center;
  padding: var(--sp-lg) var(--sp-md);
  margin-top: 1.5rem;
}

.footer p {
  color: #e5f0ff;
  max-width: 860px;
  margin: 0 auto var(--sp-md);
  font-size: 0.86rem;
}

.footer-badges {
  display: flex;
  justify-content: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.footer-badge {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.75);
}

.footer-badge img {
  height: 22px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 600px) {
  .footer-badges {
    flex-direction: column;
    align-items: center;
  }
}
