/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* === COLOR VARIABLES (set from config.json via JS) === */
:root {
  --color-brand: #e97215;
  --color-dark: #0d0f14;
  --color-light: #f5f5f5;
  --color-card: #181a22;
  --color-border: #2a2d38;
  --color-muted: #8a8f9e;
  --color-secondary: #1e2029;
}

/* === RESET === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--color-dark);
  color: var(--color-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.content-paragraphs a,
.faq-answer a,
.section-subtitle a,
.cta-subtitle a {
  color: var(--color-brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.content-paragraphs a:hover,
.faq-answer a:hover,
.section-subtitle a:hover,
.cta-subtitle a:hover {
  border-bottom-color: currentColor;
}

img {
  max-width: 100%;
  height: auto;
}

/* === UTILITY === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.text-brand {
  color: var(--color-brand);
}

.bg-brand {
  background-color: var(--color-brand);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-primary {
  background: var(--color-brand);
  color: var(--color-light);
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-light);
  border: 1px solid var(--color-border);
}
.btn-outline:hover {
  background: var(--color-secondary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: rgba(13,15,20,0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  isolation: isolate;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header-logo img, .header-logo svg {
  height: 32px;
  width: auto;
}

.header-nav {
  display: none;
  gap: 32px;
}

.header-nav a {
  font-size: 14px;
  color: var(--color-muted);
  transition: color 0.2s;
}
.header-nav a:hover {
  color: var(--color-light);
}

.header-actions {
  display: none;
  gap: 8px;
}

.mobile-toggle {
  display: flex;
  background: none;
  border: none;
  color: var(--color-light);
  cursor: pointer;
  padding: 8px;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  width: 100vw;
  min-height: calc(100svh - 64px);
  background: #0d0f14;
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 140;
  overflow-y: auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  font-size: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 8px;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }
  .header-actions {
    display: flex;
  }
  .mobile-toggle {
    display: none;
  }
}

/* === HERO === */
.hero {
  min-height: 70svh;
  display: flex;
  align-items: center;
  padding: 104px 0 32px;
}

.hero-content {
  max-width: 620px;
}

.hero h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.hero-bonus {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.hero-bonus-percent {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-brand);
  line-height: 1;
}

.hero-bonus-label {
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
  color: var(--color-light);
}

.hero-bonus-desc {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 8px;
}

.hero .btn-primary {
  padding: 16px;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-actions .btn {
  flex: 1 1 220px;
}

.hero-copy {
  max-width: 620px;
}

.hero-copy p {
  margin-bottom: 14px;
}

.hero-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 15, 20, 0.06) 0%, rgba(13, 15, 20, 0.14) 100%);
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-disclaimer {
  font-size: 11px;
  color: var(--color-muted);
}

@media (max-width: 767px) {
  .header {
    background: #0d0f14;
    backdrop-filter: none;
  }

  .hero {
    padding: 96px 0 28px;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .hero h1 {
    margin-bottom: 20px;
  }

  .hero-bonus {
    text-align: center;
    padding: 22px 18px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-copy {
    max-width: 100%;
    text-align: left;
  }

  .page-kicker {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-disclaimer {
    text-align: center;
  }
}

.page-hero {
  min-height: auto;
  padding: 128px 16px 48px;
  text-align: left;
}

.page-hero .hero-content {
  max-width: 760px;
}

.page-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(233, 114, 21, 0.12);
  color: var(--color-brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-hero-copy {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

.step-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
}

.step-number {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-brand);
  color: var(--color-light);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.step-card p,
.step-card li {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.7;
}

.step-card ul {
  padding-left: 18px;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(30, 32, 41, 0.95), rgba(24, 26, 34, 0.95));
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px;
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 36px;
  }
  .hero h1 {
    font-size: 56px;
  }
  .hero-bonus-percent {
    font-size: 64px;
  }
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* === SECTION === */
.section {
  padding: 10px 0;
}

.section-alt {
  background: rgba(30,32,41,0.3);
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--color-muted);
  font-size: 15px;
  margin-bottom: 32px;
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .section {
    padding: 10px 0;
  }
  .section-title {
    font-size: 36px;
  }
}

.subsection-title {
  font-size: 22px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--color-light);
}

@media (min-width: 768px) {
  .subsection-title {
    font-size: 26px;
  }
}

/* === GAMES === */
.games-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-muted);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--color-brand);
  color: var(--color-light);
  border-color: var(--color-brand);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.game-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.game-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-card));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.game-thumb svg {
  width: 40px;
  height: 40px;
  color: var(--color-brand);
  opacity: 0.5;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.08);
  filter: brightness(0.7) contrast(1.05) saturate(0.9);
}

.game-thumb.has-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 15, 22, 0.18) 0%, rgba(9, 15, 22, 0.42) 60%, rgba(9, 15, 22, 0.62) 100%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 34%);
  pointer-events: none;
}

.game-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.badge-hot {
  background: #ef4444;
  color: white;
}
.badge-new {
  background: #22c55e;
  color: white;
}

.game-info {
  padding: 12px;
}
.game-name {
  font-size: 14px;
  font-weight: 600;
}
.game-category {
  font-size: 12px;
  color: var(--color-muted);
  text-transform: capitalize;
}

@media (min-width: 640px) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* === BRAND INFO === */
.brand-intro {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}

.info-table tr:nth-child(even) {
  background: rgba(30,32,41,0.5);
}

.info-table td {
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--color-border);
}

.info-table td:first-child {
  border-left: 3px solid var(--color-brand);
  font-weight: 600;
  color: var(--color-light);
  white-space: nowrap;
  width: 200px;
}

.info-table td:last-child {
  color: var(--color-muted);
}

@media (max-width: 640px) {
  .info-table td:first-child {
    width: auto;
    white-space: normal;
  }
  .info-table td {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* === PROS CONS === */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.pros-list, .cons-list {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
}

.pros-cons-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pros-cons-title .icon-check {
  color: #22c55e;
}
.pros-cons-title .icon-x {
  color: #ef4444;
}

.pros-list ul, .cons-list ul {
  list-style: none;
}

.pros-list li, .cons-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--color-muted);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.pros-list li:last-child, .cons-list li:last-child {
  border-bottom: none;
}

.li-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

@media (min-width: 768px) {
  .pros-cons {
    grid-template-columns: 1fr 1fr;
  }
}

/* === PROMOTIONS === */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.promo-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.2s;
}
.promo-card:hover {
  transform: translateY(-2px);
}

.promo-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(199,68,19,0.15);
  color: var(--color-brand);
  margin-bottom: 12px;
}

.promo-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.promo-desc {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === CONTENT === */
.content-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0;
}

.content-feature-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px;
}

.content-feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.content-feature-card p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
}

.content-paragraphs p {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .content-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === FAQ === */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  background: none;
  border: none;
  color: var(--color-light);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  gap: 16px;
}

.faq-question:hover {
  color: var(--color-brand);
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.2s;
  color: var(--color-muted);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 0 16px;
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
}

/* === REVIEWS === */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.review-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  position: relative;
}

.review-quote {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--color-brand);
  opacity: 0.2;
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--color-brand);
  color: var(--color-brand);
}

.review-text {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-light);
}

.review-name {
  font-size: 14px;
  font-weight: 600;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === CTA === */
.cta-section {
  text-align: center;
  padding: 48px 16px;
}

.cta-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(199,68,19,0.15);
  color: var(--color-brand);
  margin-bottom: 16px;
}

.cta-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-subtitle {
  color: var(--color-muted);
  font-size: 15px;
  max-width: 500px;
  margin: 0 auto 24px;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === FOOTER === */
.footer {
  background: var(--color-card);
  border-top: 1px solid var(--color-border);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  height: 32px;
  width: auto;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
}

.footer-links-group h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-links-group a {
  display: block;
  font-size: 13px;
  color: var(--color-muted);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-links-group a:hover {
  color: var(--color-light);
}

.footer-payment {
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 24px;
}

.footer-payment h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-icon {
  width: 48px;
  height: 32px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.payment-icon svg {
  width: 100%;
  height: 100%;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--color-muted);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
