*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: none; text-size-adjust: none; }
body {
  font-family: 'Nunito', sans-serif;
  background: #0e1113;
  color: #e8eaed;
  min-height: 100dvh;
  font-size: 15px;
  line-height: 1.5;
}
img, picture { display: block; max-width: 100%; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* ===== VARIABLES ===== */
:root {
  --gold: #effd36;
  --orange: #c5d314;
  --blue-dark: #0e1113;
  --blue-mid: #161b20;
  --blue-card: #1c2228;
  --blue-nav: #12161a;
  --blue-footer: #0a0c0e;
  --border: rgba(255,255,255,0.1);
  --btn-primary: #c5d314;
  --btn-primary-hover: #a8b812;
  --btn-secondary: rgba(255,255,255,0.1);
  --btn-secondary-hover: rgba(255,255,255,0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--blue-dark); }
::-webkit-scrollbar-thumb { background: var(--blue-card); border-radius: 3px; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue-nav);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.header-left { display: flex; align-items: center; gap: 12px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo img { height: 38px; width: auto; }
.logo-placeholder {
  height: 38px;
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.5px;
}
.header-right { display: flex; align-items: center; gap: 10px; }
.btn-login {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.25);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s;
  background: transparent;
  color: #fff;
}
.btn-login:hover { border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.07); }
.btn-register {
  padding: 8px 22px;
  border-radius: 50px;
  background: var(--btn-primary);
  font-weight: 800;
  font-size: 14px;
  transition: background 0.2s;
  color: #0e1113;
}
.btn-register:hover { background: var(--btn-primary-hover); }
.header-icons { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  transition: background 0.2s;
  color: #c8ccd2;
}
.icon-btn:hover { background: rgba(255,255,255,0.15); }

/* ===== DESKTOP SIDEBAR ===== */
.layout { display: flex; }
.sidebar {
  width: 60px;
  min-height: calc(100vh - 62px);
  background: #0c0f12;
  border-right: 1px solid var(--border);
  position: sticky;
  top: 62px;
  height: calc(100vh - 62px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 16px;
  gap: 4px;
  flex-shrink: 0;
}
.sidebar-item {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
  cursor: pointer;
}
.sidebar-item:hover, .sidebar-item.active { background: rgba(255,255,255,0.1); color: #fff; }
.sidebar-item.apple, .sidebar-item.android {
  margin-top: auto;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.6);
  font-size: 18px;
}

/* ===== MAIN ===== */
.main { flex: 1; min-width: 0; }

/* ===== BANNERS ===== */
.banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px 24px;
}
.banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 200px;
  background: var(--blue-card);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px 28px;
}
.banner img.banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
}
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(14,17,19,0.92) 0%, rgba(14,17,19,0.72) 42%, rgba(14,17,19,0.15) 70%, transparent 100%);
  pointer-events: none;
}
.banner-content { position: relative; z-index: 1; max-width: 55%; }
.banner-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}
.banner-title {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 4px;
}
.banner-title .highlight { color: var(--gold); }
.banner-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 18px;
}
.btn-banner {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 14px;
  transition: all 0.2s;
}
.btn-banner-orange { background: var(--btn-primary); color: #0e1113; }
.btn-banner-orange:hover { background: var(--btn-primary-hover); }
.btn-banner-blue { background: rgba(255,255,255,0.18); color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-banner-blue:hover { background: rgba(255,255,255,0.27); }

/* ===== STATS BAR ===== */
.stats-bar-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 24px 22px;
}
.stats-bar {
  display: flex;
  gap: 12px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 2px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.stats-bar::-webkit-scrollbar { display: none; }
.stats-bar.is-dragging,
.game-tabs.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}
.stat-item {
  --stat-glow: rgba(197,211,20,0.34);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: 1 1 0;
  min-width: 0;
  min-height: 98px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  background:
    radial-gradient(circle at 18% 0%, var(--stat-glow), transparent 38%),
    linear-gradient(145deg, rgba(31,48,112,0.98), rgba(14,30,74,0.96));
  box-shadow: 0 14px 34px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 14px;
  scroll-snap-align: start;
  cursor: pointer;
  transform: translateZ(0);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}
.stat-item:nth-child(1) { --stat-glow: rgba(197,211,20,0.34); }
.stat-item:nth-child(2) { --stat-glow: rgba(34,197,94,0.30); }
.stat-item:nth-child(3) { --stat-glow: rgba(168,85,247,0.34); }
.stat-item:nth-child(4) { --stat-glow: rgba(96,165,250,0.32); }
.stat-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(255,255,255,0.13), transparent 34%, rgba(255,255,255,0.05) 68%, transparent);
  opacity: 0;
  transform: translateX(-45%);
  transition: opacity 0.28s ease, transform 0.62s ease;
}
.stat-item::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -48px;
  top: -48px;
  border-radius: 50%;
  background: var(--stat-glow);
  filter: blur(12px);
  opacity: 0.42;
  z-index: -1;
}
.stat-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.26);
  box-shadow: 0 18px 44px rgba(0,0,0,0.26), 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.stat-item:hover::before { opacity: 1; transform: translateX(40%); }
.stat-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
  animation: statFloat 4.4s ease-in-out infinite;
}
.stat-item:nth-child(2) .stat-icon { animation-delay: 0.25s; }
.stat-item:nth-child(3) .stat-icon { animation-delay: 0.5s; }
.stat-item:nth-child(4) .stat-icon { animation-delay: 0.75s; }
.stat-content { min-width: 0; }
.stat-num {
  font-size: clamp(20px, 1.75vw, 28px);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.035em;
  white-space: nowrap;
  text-shadow: 0 4px 16px rgba(0,0,0,0.22);
}
.stat-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(224,232,255,0.64);
  line-height: 1.25;
  margin-top: 5px;
  max-width: 190px;
}
.stat-badge {
  margin-left: auto;
  align-self: flex-start;
  font-size: 11px;
  line-height: 1;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}
.badge-orange { background: rgba(197,211,20,0.16); color: #effd36; border: 1px solid rgba(249,115,22,0.42); }
.badge-green { background: rgba(34,197,94,0.16); color: #74f29b; border: 1px solid rgba(34,197,94,0.42); }
.badge-purple { background: rgba(197,211,20,0.16); color: #effd36; border: 1px solid rgba(197,211,20,0.42); }
.badge-blue { background: rgba(96,165,250,0.16); color: #e8eaed; border: 1px solid rgba(96,165,250,0.42); }
.stat-stars {
  display: inline-flex;
  gap: 1px;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-shadow: 0 0 14px rgba(245,197,24,0.35);
}
.stat-nav {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, opacity 0.22s ease, border-color 0.22s ease;
  color: rgba(255,255,255,0.82);
  box-shadow: 0 10px 26px rgba(0,0,0,0.20);
}
.stat-nav:hover {
  transform: scale(1.08);
  background: linear-gradient(145deg, rgba(249,115,22,0.42), rgba(255,255,255,0.08));
  border-color: rgba(197,211,20,0.45);
  color: #fff;
}
.stat-nav:disabled {
  opacity: 0.38;
  cursor: default;
  transform: none;
}
@keyframes statFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ===== SECTION COMMON ===== */
.section { padding: 0 24px 28px; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}
.section-title {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-nav { display: flex; align-items: center; gap: 8px; }
.nav-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
  color: rgba(255,255,255,0.7);
}
.nav-arrow:hover { background: rgba(255,255,255,0.15); color: #fff; }
.btn-all {
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(255,255,255,0.08);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  transition: background 0.2s;
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-all:hover { background: rgba(255,255,255,0.15); }

/* ===== GAME CATEGORY TABS ===== */
.game-tabs {
  display: flex;
  gap: 10px;
  padding: 0 24px 22px;
  margin-bottom: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 24px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.game-tabs::-webkit-scrollbar { display: none; }
.tab-item {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 112px;
  min-height: 92px;
  padding: 12px 14px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(28,44,104,0.96), rgba(15,31,75,0.96));
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow: 0 10px 24px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.07);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
  scroll-snap-align: start;
  transform: translateZ(0);
}
.tab-item::before {
  content: "";
  position: absolute;
  inset: -50% -35%;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,0.15) 50%, transparent 68%);
  transform: translateX(-65%) rotate(10deg);
  opacity: 0;
  transition: transform 0.55s ease, opacity 0.25s ease;
}
.tab-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.23);
  box-shadow: 0 16px 34px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.10);
}
.tab-item:hover::before { opacity: 1; transform: translateX(50%) rotate(10deg); }
.tab-item.active {
  background:
    radial-gradient(circle at 50% 0%, rgba(249,115,22,0.30), transparent 42%),
    linear-gradient(145deg, rgba(56,43,77,0.98), rgba(26,38,91,0.98));
  border-color: rgba(249,115,22,0.58);
  box-shadow: 0 16px 38px rgba(249,115,22,0.12), inset 0 1px 0 rgba(255,255,255,0.12);
}
.tab-item.active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 9px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), #effd36);
  box-shadow: 0 0 14px rgba(197,211,20,0.55);
}
.tab-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform 0.25s ease, background 0.25s ease;
  z-index: 1;
}
.tab-icon img { width: 26px; height: 26px; object-fit: contain; }
.tab-item:hover .tab-icon,
.tab-item.active .tab-icon {
  transform: translateY(-2px) scale(1.08) rotate(-3deg);
  background: rgba(255,255,255,0.13);
}
.tab-label {
  position: relative;
  z-index: 1;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 900;
  color: rgba(255,255,255,0.83);
  text-align: center;
}
.tab-item.active .tab-label { color: #fff; }

/* ===== GAMES GRID ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}
.game-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s;
  background: var(--blue-card);
  aspect-ratio: 4/3;
}
.game-card:hover { transform: translateY(-3px); }
.game-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.game-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--blue-card) 0%, #252b33 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.game-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 50px;
  text-transform: uppercase;
}
.badge-top { background: var(--orange); color: #0e1113; }
.badge-popular { background: #effd36; color: #000; }
.badge-new { background: #22c55e; color: #fff; }
.badge-exclusive { background: #c5d314; color: #0e1113; }
.game-info {
  padding: 6px 8px 8px;
  background: var(--blue-card);
}
.game-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-provider { font-size: 11px; color: #effd36; }
.game-card-inner { border-radius: var(--radius); overflow: hidden; }

/* ===== PROVIDERS ===== */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.provider-card {
  border-radius: var(--radius);
  background: var(--blue-mid);
  border: 1px solid var(--border);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.provider-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.provider-logo {
  height: 44px;
  width: 100%;
  object-fit: contain;
  display: flex;
  align-items: center;
  justify-content: center;
}
.provider-logo-placeholder {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: rgba(255,255,255,0.8);
}
.provider-name { font-size: 13px; font-weight: 700; color: #fff; text-align: center; }
.provider-count { font-size: 12px; color: rgba(255,255,255,0.5); text-align: center; }

/* ===== TOURNAMENTS ===== */
.tournaments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.tournament-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 280px;
  background: var(--blue-card);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  cursor: pointer;
  transition: transform 0.2s;
}
.tournament-card:hover { transform: translateY(-3px); }
.tournament-card img.tournament-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.tournament-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,10,30,0.9) 0%, transparent 60%);
  z-index: 1;
}
.tournament-content { position: relative; z-index: 2; }
.tournament-date {
  background: rgba(0,0,0,0.45);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  display: inline-block;
  margin-bottom: 10px;
}
.tournament-name { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 12px; }
.tournament-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  margin-bottom: 16px;
}
.tournament-meta-item {}
.tournament-meta-label { font-size: 11px; color: rgba(255,255,255,0.55); }
.tournament-meta-val { font-size: 14px; font-weight: 800; color: #fff; }
.tournament-prize { color: var(--gold); }
.tournament-btns { display: flex; gap: 10px; }
.btn-details {
  flex: 1;
  padding: 10px;
  border-radius: 50px;
  background: rgba(255,255,255,0.15);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.25);
  transition: background 0.2s;
}
.btn-details:hover { background: rgba(255,255,255,0.25); }
.btn-join {
  flex: 1;
  padding: 10px;
  border-radius: 50px;
  background: #d4e01e;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  transition: background 0.2s;
}
.btn-join:hover { background: #c5d314; }
.tournament-timer {
  background: rgba(0,0,0,0.45);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  display: inline-block;
  margin-bottom: 10px;
}

/* ===== SEO TEXT ===== */
.seo-section {
  padding: 0 24px 32px;
}
.seo-box {
  background: var(--blue-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.seo-header {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}
.seo-header:hover { background: rgba(255,255,255,0.04); }
.seo-header-title { font-size: 16px; font-weight: 800; color: #fff; }
.seo-toggle {
  font-size: 20px;
  color: rgba(255,255,255,0.6);
  transition: transform 0.3s;
  display: flex;
  align-items: center;
}
.seo-toggle.open { transform: rotate(180deg); }
.seo-body {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
    .seo-body.open { max-height: none; padding: 4px 24px 28px; }
.seo-body h2 { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 8px; margin-top: 16px; }
.seo-body h3 { font-size: 14px; font-weight: 700; color: #c8ccd2; margin-bottom: 6px; margin-top: 14px; }
.seo-body p { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 10px; line-height: 1.65; }
.seo-body ul { padding-left: 18px; list-style: disc; margin-bottom: 10px; }
.seo-body li { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 4px; }

/* ===== FOOTER ===== */
.footer { background: var(--blue-footer); border-top: 1px solid var(--border); padding: 28px 24px 16px; }
.footer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.footer-payment-logo {
  height: 38px;
  background: #161b20;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  font-weight: 800;
}
.footer-payment-logo img { height: 22px; width: auto; object-fit: contain; }
.footer-providers-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.footer-provider-chip {
  height: 34px;
  background: #161b20;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
}
.footer-provider-chip img { height: 18px; width: auto; object-fit: contain; }
.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.trust-badge {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
}
.trust-badge img { height: 24px; }
.footer-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.age-badge {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  color: var(--orange);
}
.footer-disclaimer p { font-size: 12px; color: rgba(255,255,255,0.45); }
.footer-gcb { display: flex; align-items: center; gap: 8px; }
.gcb-badge {
  background: #1a7c3a;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.03em;
}
.gcb-sub { font-size: 10px; color: rgba(255,255,255,0.4); }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 90;
  background: #0c0f12;
  border-top: 1px solid var(--border);
  padding: 6px 0 env(safe-area-inset-bottom, 6px);
  height: calc(60px + env(safe-area-inset-bottom, 0px));
}
.mobile-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  cursor: pointer;
  transition: color 0.2s;
  color: rgba(255,255,255,0.45);
}
.mobile-nav-item.active { color: var(--orange); }
.mobile-nav-icon { font-size: 20px; }
.mobile-nav-label { font-size: 10px; font-weight: 700; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .sidebar { display: none; }
  .banners { grid-template-columns: 1fr; }
  .banner:not(:first-child) { display: none; }
  .mobile-nav { display: block; }
  body { padding-bottom: 70px; }
  .header { padding: 0 16px; }
  .header-icons { display: none; }
  .banners, .section, .seo-section { padding-left: 12px; padding-right: 12px; }
  .stats-bar-wrapper {
    margin: 0 0 18px;
    padding: 0 12px;
    gap: 8px;
  }
  .stats-bar {
    flex: 1 1 auto;
    gap: 10px;
    padding: 2px 0 8px;
  }
  .stat-item {
    flex: 0 0 clamp(250px, 78vw, 328px);
    min-height: 116px;
    padding: 16px;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .stat-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    font-size: 24px;
  }
  .stat-num { font-size: 28px; }
  .stat-content { flex: 1 1 calc(100% - 58px); }
  .stat-label { font-size: 14px; max-width: 180px; }
  .stat-badge {
    margin-left: 56px;
    align-self: flex-start;
    font-size: 12px;
    padding: 8px 12px;
  }
  .stat-nav {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
  .game-tabs {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 18px;
    gap: 10px;
    scroll-padding-inline: 12px;
  }
  .tab-item {
    min-width: 102px;
    min-height: 92px;
    padding: 12px 12px;
    border-radius: 17px;
  }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
  .providers-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .tournaments-grid { grid-template-columns: 1fr; }
  .footer { padding: 20px 12px 12px; }
}
@media (max-width: 480px) {
  .stats-bar-wrapper { padding: 0 10px; }
  .stat-item {
    flex-basis: 82vw;
    min-width: 248px;
    gap: 12px;
  }
  .stat-num { font-size: 26px; }
  .stat-label { font-size: 13px; }
  .stat-badge { margin-left: 0; }
  .stat-content { flex-basis: 100%; padding-top: 2px; }
  .tab-item { min-width: 90px; min-height: 84px; padding: 10px; }
  .tab-icon { width: 34px; height: 34px; font-size: 21px; border-radius: 12px; }
  .tab-icon img { width: 24px; height: 24px; }
  .tab-label { font-size: 10.5px; }
  .games-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .providers-grid { grid-template-columns: repeat(2, 1fr); }
}

.seo-body.open { max-height: none; padding: 4px 24px 28px; }
.seo-body h1 {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.25;
}
.seo-body .updated {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}
.seo-body .toc {
  margin: 12px 0 18px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.seo-body .toc p { margin-bottom: 8px; color: #fff; }
.seo-body .toc ol {
  margin: 0;
  padding-left: 20px;
}
.seo-body .toc li { margin-bottom: 4px; }
.seo-body .toc a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.seo-body ol { padding-left: 20px; margin-bottom: 10px; }
.seo-body ol li { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 4px; }
.seo-body ul li:last-child,
.seo-body ol li:last-child { margin-bottom: 0; }
.seo-body .table-wrap { overflow-x: auto; margin: 12px 0 16px; }
.seo-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 520px;
}
.seo-body th,
.seo-body td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.seo-body th {
  background: rgba(197,211,20,0.12);
  color: #fff;
  font-weight: 800;
}
.seo-body td { color: rgba(255,255,255,0.75); }
.seo-body tr:nth-child(even) td { background: rgba(255,255,255,0.03); }
.seo-body .callout {
  margin: 12px 0;
  padding: 12px 14px;
  border-left: 3px solid var(--orange);
  background: rgba(197,211,20,0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}
.seo-body .faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 8px;
  background: rgba(255,255,255,0.03);
}
.seo-body .faq-item summary {
  cursor: pointer;
  font-weight: 800;
  color: #fff;
  font-size: 14px;
}
.seo-body .faq-item p { margin: 8px 0 0; }
.seo-body .responsible-play {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(197,211,20,0.35);
  border-radius: var(--radius);
  background: rgba(197,211,20,0.06);
}
.seo-body .rp-title { font-size: 15px; font-weight: 900; color: #fff; margin-bottom: 8px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 12px 0;
  font-size: 13px;
  font-weight: 700;
}
.footer-nav a { color: rgba(255,255,255,0.7); }
.footer-nav a:hover { color: var(--gold); }
.footer-disclaimer a { color: var(--gold); text-decoration: underline; }
.legal-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 20px 48px;
}
.legal-main h1 { font-size: 28px; font-weight: 900; margin-bottom: 12px; color: #fff; }
.legal-main h2 { font-size: 18px; font-weight: 800; margin: 18px 0 8px; color: #fff; }
.legal-main p, .legal-main li { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 10px; line-height: 1.65; }
.legal-main ul { list-style: disc; padding-left: 18px; margin-bottom: 12px; }
.legal-main a { color: var(--gold); text-decoration: underline; }
.cookie {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 120;
  max-width: 560px;
  margin: 0 auto;
  background: #161b20;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}
.cookie.is-hidden { display: none; }
.cookie h2 { font-size: 16px; margin-bottom: 8px; color: #fff; }
.cookie p { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 12px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie a { color: var(--gold); text-decoration: underline; }
@media (max-width: 900px) {
  .cookie { bottom: 76px; }
  .seo-body table { min-width: 460px; }
}