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

:root {
  --bg: #090a1d;
  --bg-card: #10112a;
  --bg-surface: #14163a;
  --bg-header: #0d0e26;
  --primary: #f5c000;
  --primary-hover: #d4a800;
  --accent: #7c3aed;
  --text: #ffffff;
  --text-muted: #8b8fa8;
  --border: #1e2045;
  --radius-card: 10px;
  --radius-btn: 6px;
  --sidebar-w: 64px;
  --header-h: 60px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--primary);
  color: #000;
}
.btn-primary:hover { background: var(--primary-hover); }

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

.btn-lg { padding: 13px 32px; font-size: 16px; border-radius: 8px; }

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 0 0 var(--sidebar-w);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header-logo img { height: 32px; width: auto; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.header-nav a {
  padding: 7px 14px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.header-nav a:hover,
.header-nav a.active { color: var(--text); background: var(--bg-surface); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

.btn-login {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.btn-login:hover { color: var(--text); border-color: var(--text-muted); }

.btn-signup {
  background: var(--primary);
  color: #000;
  padding: 7px 18px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-signup:hover { background: var(--primary-hover); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  background: none;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── SIDEBAR ── */
.site-sidebar {
  position: fixed;
  left: 0;
  top: var(--header-h);
  bottom: 0;
  width: var(--sidebar-w);
  background: var(--bg-header);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 4px;
  z-index: 90;
  overflow-y: auto;
}

.sidebar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  width: 100%;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 500;
  text-align: center;
}
.sidebar-item:hover,
.sidebar-item.active { background: var(--bg-surface); color: var(--primary); }

.sidebar-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-icon svg { width: 22px; height: 22px; fill: currentColor; }

/* ── PAGE WRAPPER ── */
.page-wrapper {
  margin-top: var(--header-h);
  margin-left: var(--sidebar-w);
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  padding: 20px 24px 40px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

/* ── BANNER ROW ── */
.banner-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.banner-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/7;
  background: var(--bg-card);
}
.banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.banner-card:hover img { transform: scale(1.03); }

.banner-card-2col {
  grid-template-columns: 2fr 1fr;
}

/* ── PROVIDER BAR ── */
.provider-bar {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.provider-bar::-webkit-scrollbar { display: none; }

.provider-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  color: var(--text-muted);
  border: 1px solid transparent;
  flex-shrink: 0;
}
.provider-pill:hover,
.provider-pill.active {
  background: var(--bg-surface);
  color: var(--text);
  border-color: var(--border);
}
.provider-pill.all-games {
  background: var(--primary);
  color: #000;
  font-weight: 700;
}
.provider-pill.all-games:hover { background: var(--primary-hover); }

/* ── SECTION HEADER ── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-title {
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 18px;
  background: var(--primary);
  border-radius: 2px;
}
.section-link {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}
.section-link:hover { text-decoration: underline; }

/* ── TAB BAR ── */
.tab-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.tab-bar::-webkit-scrollbar { display: none; }

.tab-btn {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.tab-btn:hover { color: var(--text); border-color: var(--text-muted); }
.tab-btn.active {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

/* ── GAME GRID ── */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.game-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-card);
  cursor: pointer;
  group: true;
}
.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.game-card:hover img { transform: scale(1.06); }

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.25s;
}
.game-card:hover .game-card-overlay { opacity: 1; }

.game-card-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 6px;
}
.game-card-provider {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.game-card-play {
  background: var(--primary);
  color: #000;
  border: none;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}
.game-card-play:hover { background: var(--primary-hover); }

.game-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ── HERO BANNER ── */
.hero-section {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 24px;
  min-height: 300px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9,10,29,0.9) 40%, rgba(9,10,29,0.2) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 48px;
  max-width: 600px;
}
.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.hero-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}
.hero-title span { color: var(--primary); }
.hero-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── BONUS CARDS ── */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bonus-card.featured {
  border-color: var(--primary);
}
.bonus-card.featured::before {
  content: 'Best Offer';
  position: absolute;
  top: 12px;
  right: -22px;
  background: var(--primary);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 30px;
  transform: rotate(45deg);
  transform-origin: center;
}
.bonus-deposit {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.bonus-amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.bonus-match {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}
.bonus-spins {
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* ── STEPS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #000;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-title {
  font-size: 14px;
  font-weight: 700;
}
.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── PROVIDER GRID ── */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.provider-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.provider-card:hover {
  border-color: var(--primary);
  background: var(--bg-surface);
}
.provider-card-name {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}
.provider-card-type {
  font-size: 11px;
  color: var(--text-muted);
}

/* ── PAYMENT TABLE ── */
.table-wrap { overflow-x: auto; margin-bottom: 20px; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.data-table th {
  background: var(--bg-surface);
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.data-table td {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  color: var(--text);
}
.data-table tr:hover td { background: var(--bg-surface); }

/* ── SEO BLOCK ── */
.seo-block {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  padding: 40px 48px;
  margin-top: 32px;
  color: var(--text-muted);
  line-height: 1.8;
}
.seo-block h1 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.3;
}
.seo-block h2 {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.seo-block h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-top: 22px;
  margin-bottom: 8px;
}
.seo-block p { margin-bottom: 14px; }
.seo-block ul,
.seo-block ol {
  margin: 10px 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.seo-block ul { list-style: disc; }
.seo-block ol { list-style: decimal; }
.seo-block li { color: var(--text-muted); }
.seo-block strong { color: var(--text); }
.seo-block a { color: var(--primary); }
.seo-block a:hover { text-decoration: underline; }
.seo-block .table-wrap {
  margin: 16px 0 20px;
  border-radius: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.seo-block table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.seo-block table th {
  background: var(--bg-surface);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.seo-block table td {
  padding: 10px 14px;
  border-top: 1px solid var(--border);
}

/* ── STATS BAR ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 24px;
}
.stat-item {
  background: var(--bg-card);
  padding: 18px 20px;
  text-align: center;
}
.stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--bg-header);
  border-top: 1px solid var(--border);
  padding: 48px 24px 24px;
  padding-left: calc(var(--sidebar-w) + 24px);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
  max-width: 1280px;
  margin: 0 auto;
}
.footer-brand img { height: 34px; width: auto; margin-bottom: 14px; }
.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}
.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s;
}
.social-btn:hover { color: var(--primary); border-color: var(--primary); }
.social-btn svg { width: 16px; height: 16px; fill: currentColor; }

.footer-license {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.footer-license span {
  font-size: 11px;
  color: var(--text-muted);
  padding: 4px 10px;
  background: var(--bg-surface);
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* ── MOBILE NAV OVERLAY ── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg-header);
  z-index: 200;
  padding: 20px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover { color: var(--text); background: var(--bg-surface); }
.mobile-nav .btn-primary { color: #000; font-weight: 700; border-color: transparent; }

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .banner-row { grid-template-columns: repeat(2, 1fr); }
  .banner-row .banner-card:last-child { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .bonus-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --sidebar-w: 0px;
    --header-h: 56px;
  }
  .site-sidebar { display: none; }
  .site-header { padding: 0 16px; }
  .header-nav,
  .btn-login { display: none; }
  .hamburger { display: flex; }

  .main-content { padding: 16px; }
  .banner-row { grid-template-columns: 1fr; }
  .banner-row .banner-card:not(:first-child) { display: none; }

  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .game-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .bonus-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .provider-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .site-footer { padding-left: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-content { padding: 28px 20px; }
  .seo-block { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
