:root {
  --blue: #0b589f;
  --blue-dark: #08457c;
  --blue-soft: #e8f1fa;
  --gold: #d4af37;
  --gold-soft: #e0cba0;
  --cream: #fffbf2;
  --black: #000;
  --ink: #1a1a1a;
  --muted: #5b5b5b;
  --white: #fff;
  --radius: 32px;
  --shadow: 0 25px 45px -20px rgba(0, 0, 0, 0.18);
  --header-h: 72px;
  --font: Inter, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--black);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  height: var(--header-h);
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  width: 188px;
  height: 48px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  background: #0b0b0b;
}

.nav-seo {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  overflow: hidden;
}

.nav-seo a {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: #111;
}

.nav-seo a:hover,
.nav-seo a.active {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
}

.header-cta a:hover {
  color: var(--blue);
}

.icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
}

.icon-btn svg {
  width: 22px;
  height: 22px;
}

.hamburger {
  display: none;
}

.mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 12px 20px 20px;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-weight: 600;
  border-bottom: 1px solid #f3f3f3;
}

/* Hero */
.hero {
  background: #000;
  padding: 28px 24px 48px;
}

.hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.hero-media {
  position: relative;
  background: #0a0a0a;
  border-radius: 8px;
  overflow: hidden;
  min-height: 560px;
}

.hero-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent);
}

.slider {
  position: relative;
  height: 100%;
  min-height: 560px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-overlay {
  position: absolute;
  left: 18px;
  bottom: 70px;
  z-index: 3;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.media-overlay .mini-logo {
  width: 120px;
  height: 30px;
  object-fit: contain;
  object-position: left;
  margin-bottom: 6px;
  filter: brightness(1.15);
}

.media-overlay h2 {
  font-size: 18px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
}

.badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.slider-nav {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.slider-nav button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}

.slider-nav button:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Info card */
.tuan-card {
  background: var(--blue);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.hero-title {
  text-align: center;
  margin-bottom: 22px;
}

.hero-title h1 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  color: #10233d;
}

.info-container {
  background: #fafafa;
  border-radius: 20px;
  border: 1px solid var(--gold-soft);
  overflow: hidden;
  margin-bottom: 22px;
}

.info-head {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gold-soft);
  background: var(--cream);
}

.info-head h2 {
  margin: 0;
  font-size: 16px;
  color: var(--blue);
  font-weight: 700;
  text-align: left;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-head h2::before {
  content: "";
  width: 4px;
  height: 18px;
  background: var(--blue);
  border-radius: 2px;
}

.info-row {
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #f0e2c5;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
}

.info-dot {
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
}

.info-number {
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 600;
  background: #f0e6d2;
  padding: 4px 14px;
  border-radius: 40px;
  border: 1px solid var(--blue);
  max-width: 230px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bonus-wrap {
  background: #fefcf7;
  border-radius: 20px;
  padding: 22px 18px;
  margin: 0 0 22px;
  border: 1px solid var(--gold-soft);
  text-align: center;
}

.bonus-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.gold-icon {
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
}

.bonus-head h3 {
  margin: 0;
  font-size: 16px;
  color: var(--blue);
  font-weight: 700;
}

.bonus-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bonus-item {
  padding: 12px 15px;
  background: var(--blue);
  border-radius: 14px;
  text-align: left;
}

.bonus-item p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 42px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 1px;
  min-width: 140px;
  border: 1px solid var(--blue);
  transition: 0.2s ease;
}

.btn-login {
  background: transparent;
  color: #1a1a1a;
  background: #fff;
}

.btn-login:hover {
  background: #fcf6e8;
}

.btn-daftar {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
}

.btn-daftar:hover {
  background: #c6a229;
}

/* Content */
.article {
  background: var(--blue);
  padding: 48px 16px 20px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px;
}

.article h2.page-h {
  font-size: 30px;
  font-weight: 800;
  text-align: center;
  color: #070202;
  line-height: 1.35;
  margin-bottom: 10px;
}

.gold-divider {
  width: 72px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 28px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.stat-card {
  border: 1px solid var(--gold);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  background: #fffdf6;
}

.stat-card .label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.stat-card .value {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
  margin-top: 4px;
}

.prose p {
  margin-bottom: 16px;
  color: #222;
  text-align: justify;
  font-size: 16px;
  line-height: 1.8;
}

.prose h2 {
  font-size: 24px;
  margin: 28px 0 12px;
  color: #10233d;
}

.prose a {
  color: var(--blue);
  font-weight: 700;
}

/* Games */
.games {
  background: var(--blue);
  padding: 0 16px 20px;
}

.games-inner {
  max-width: 1120px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 36px;
}

.games h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 8px;
}

.games .lead {
  text-align: center;
  color: var(--muted);
  margin-bottom: 24px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.game-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eee;
  background: #111;
  color: #fff;
  transition: transform 0.2s ease;
}

.game-card:hover {
  transform: translateY(-4px);
}

.game-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.game-card figcaption {
  padding: 12px 14px 16px;
}

.game-card h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.game-card p {
  font-size: 13px;
  color: #cfcfcf;
}

/* Reviews */
.reviews {
  background: var(--blue);
  padding: 0 16px 20px;
}

.reviews-inner {
  max-width: 1120px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 36px;
}

.reviews h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 24px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.review-card {
  border: 1px solid var(--gold-soft);
  border-radius: 16px;
  padding: 18px;
  background: #fffdf8;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.review-name {
  font-weight: 800;
}

.stars {
  color: #f5b400;
  letter-spacing: 1px;
}

.review-text {
  font-size: 14.5px;
  color: #333;
  margin-bottom: 10px;
}

.review-date {
  font-size: 12px;
  color: var(--muted);
}

/* FAQ */
.faq {
  background: var(--blue);
  padding: 0 16px 48px;
}

.faq-inner {
  max-width: 1120px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 36px;
}

.faq h2 {
  text-align: center;
  margin-bottom: 20px;
}

.acc-item {
  width: 100%;
  text-align: left;
  background: #f7fbff;
  border: 1px solid #d7e6f5;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.acc-panel {
  display: none;
  padding: 12px 8px 18px;
  color: #333;
}

.acc-panel.open {
  display: block;
}

.acc-wrap {
  margin-bottom: 10px;
}

/* Footer */
.site-footer {
  background: #071422;
  color: #c9d7e6;
  padding: 36px 20px 90px;
  text-align: center;
}

.site-footer img {
  width: 160px;
  margin: 0 auto 12px;
}

.site-footer p {
  font-size: 13px;
  max-width: 720px;
  margin: 0 auto 16px;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
}

.copy {
  font-size: 12px;
  color: #7f94aa;
}

/* Floating CTA */
.float-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 20, 34, 0.96);
}

.float-cta a {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: 999px;
  font-weight: 800;
}

.float-cta .btn-login {
  background: #fff;
}

.float-cta .btn-daftar {
  background: var(--gold);
  color: #111;
}

@media (max-width: 1100px) {
  .nav-seo {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  .hero-grid,
  .game-grid,
  .stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 12px 12px 28px;
  }

  .hero-grid,
  .reviews-grid,
  .game-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .slider {
    min-height: 420px;
  }

  .hero-title h1,
  .article h2.page-h {
    font-size: 22px;
  }

  .tuan-card,
  .container,
  .games-inner,
  .reviews-inner,
  .faq-inner {
    padding: 22px 16px;
  }

  .info-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-cta {
    display: none;
  }

  .float-cta {
    display: flex;
  }

  .logo img {
    width: 132px;
  }
}
