:root {
  --bg: #14151a;
  --bg-alt: #1a1b22;
  --surface: #20222b;
  --surface-hover: #272a36;
  --border: rgba(255, 255, 255, 0.1);
  --border-gold: rgba(255, 199, 0, 0.35);
  --text: #f4f5f7;
  --muted: #b4b9c8;
  --gold: #ffc700;
  --gold-hover: #ffdb4d;
  --green: #20aa2e;
  --green-hover: #26c236;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--gold-hover);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-lg {
  padding: 13px 26px;
  font-size: 15px;
}

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

.btn-block {
  width: 100%;
}

.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 16px rgba(32, 170, 46, 0.35);
}

.btn-green:hover {
  background: var(--green-hover);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(180deg, #ffdd2e 0%, #ffc107 100%);
  color: #111;
  box-shadow: 0 4px 16px rgba(255, 199, 0, 0.28);
}

.btn-gold:hover {
  background: linear-gradient(180deg, #ffe866 0%, #ffd026 100%);
  color: #000;
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--border-gold);
}

.btn-outline:hover {
  background: rgba(255, 199, 0, 0.1);
  color: var(--gold-hover);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 21, 26, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}

.brand-logo img {
  height: 44px;
  width: auto;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.burger-btn span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.mobile-drawer {
  background: #11182c;
  border-top: 1px solid var(--border);
  padding: 16px 20px 20px;
}

.mobile-nav {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.mobile-nav a {
  color: #fff;
  font-weight: 600;
  padding: 8px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (min-width: 960px) {
  .main-nav {
    display: flex;
  }
  .burger-btn, .mobile-drawer {
    display: none !important;
  }
}

/* Hero */
.hero-section {
  padding: 28px 0 36px;
  background: radial-gradient(circle at top right, rgba(255, 199, 0, 0.14), transparent 55%),
              radial-gradient(circle at bottom left, rgba(32, 170, 46, 0.12), transparent 55%);
}

.hero-card {
  background: linear-gradient(145deg, #1d1f29 0%, #14161e 100%);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-content {
  padding: 28px 24px 22px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 199, 0, 0.14);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.hero-content h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.12;
  color: #fff;
}

.hero-offer {
  margin: 0 0 10px;
  font-size: clamp(18px, 2.8vw, 24px);
  color: var(--gold);
  font-weight: 700;
}

.hero-offer strong {
  color: #fff;
}

.hero-sub {
  margin: 0 0 20px;
  color: var(--muted);
  max-width: 680px;
  font-size: 15px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: #d6dae6;
}

.hero-highlights li::before {
  content: "✓ ";
  color: var(--green);
  font-weight: 800;
}

.hero-banner-link {
  display: block;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.hero-banner-link img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hero-banner-link:hover img {
  transform: scale(1.015);
}

/* Sections */
.section {
  padding: 48px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.25;
  color: #fff;
}

.section-lead {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 780px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 0;
}

/* Games Grid & Filters */
.games-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.filter-tab.active {
  background: linear-gradient(125deg, #116511 0%, #e6d600 100%);
  color: #0b0c10;
  border-color: transparent;
}

.games-search input {
  background: var(--surface);
  color: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px;
  min-width: 230px;
  outline: none;
}

.games-search input:focus {
  border-color: var(--gold);
}

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

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

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

.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.game-card[hidden] {
  display: none;
}

.game-thumb {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover .game-thumb img {
  transform: scale(1.06);
}

.game-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(20, 21, 26, 0.85);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.game-tag.tag-live {
  color: #ff6b6b;
  border-color: rgba(255, 107, 107, 0.5);
}

.game-tag.tag-crash {
  color: #4be384;
  border-color: rgba(75, 227, 132, 0.5);
}

.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 15, 22, 0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.game-card:hover .game-overlay {
  opacity: 1;
}

.game-meta {
  padding: 12px 14px;
}

.game-meta h3 {
  margin: 0 0 2px;
  font-size: 15px;
  color: #fff;
}

.game-meta span {
  font-size: 12px;
  color: var(--muted);
}

.no-results {
  text-align: center;
  color: var(--muted);
  padding: 24px 0;
}

/* Tables & Profile */
.profile-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 900px) {
  .profile-layout {
    grid-template-columns: 1.45fr 1fr;
    align-items: start;
  }
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 14px;
}

.info-table thead th {
  text-align: left;
  padding: 14px 16px;
  background: linear-gradient(125deg, #116511 0%, #d9c700 100%);
  color: #0b0c10;
  font-weight: 800;
}

.info-table td {
  padding: 13px 16px;
  border-top: 1px solid var(--border);
  color: var(--text);
}

.info-table td:first-child {
  font-weight: 700;
  color: var(--gold);
}

.banner-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.cta-box {
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 20px;
}

.cta-box h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #fff;
}

.cta-box p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
}

/* Promos & Wide Banner */
.wide-banner {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.wide-banner img {
  width: 100%;
}

.promo-grid, .categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

.promo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.promo-kicker {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gold);
}

.promo-card h3 {
  margin: 0;
  font-size: 20px;
  color: #fff;
}

.promo-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  flex-grow: 1;
}

/* Categories */
.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cat-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.cat-body h3 {
  margin: 0;
  font-size: 18px;
  color: #fff;
}

.cat-body p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  flex-grow: 1;
}

.text-link {
  font-weight: 700;
  font-size: 14px;
}

/* Providers & Payment Logo Strip */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

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

@media (min-width: 960px) {
  .logo-strip {
    grid-template-columns: repeat(6, 1fr);
  }
  .logo-strip-pay {
    grid-template-columns: repeat(8, 1fr);
  }
}

.logo-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
}

.logo-item img {
  max-height: 36px;
  width: auto;
  object-fit: contain;
}

/* Two Column Info Cards */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.info-card h2, .info-card h3 {
  margin: 0 0 12px;
  color: #fff;
}

.info-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 14px;
}

.step-list {
  padding-left: 20px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.step-list li {
  margin-bottom: 8px;
}

.step-list strong {
  color: #fff;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item.active {
  border-color: var(--border-gold);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.faq-icon {
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 14px;
}

.faq-answer p {
  margin: 0;
}

/* Footer */
.site-footer {
  background: #101116;
  border-top: 2px solid var(--gold);
  padding: 36px 0 90px;
}

@media (min-width: 768px) {
  .site-footer {
    padding-bottom: 40px;
  }
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.age-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #e53935;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.footer-badges img {
  height: 26px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-bottom: 18px;
  font-size: 14px;
}

.footer-links a {
  color: #d6dae6;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-disclaimer {
  font-size: 12px;
  color: #8f95a6;
  margin: 0 0 10px;
  max-width: 900px;
}

.footer-copy {
  font-size: 12px;
  color: #6e7485;
  margin: 0;
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(16, 17, 22, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-gold);
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}

/* Back to top */
.back-top {
  position: fixed;
  right: 20px;
  bottom: 76px;
  z-index: 80;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: var(--surface);
  color: var(--gold);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .back-top {
    bottom: 24px;
  }
}
