/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

/* ===== PALETTE ===== */
:root {
  --bg:           #f4f3ef;
  --bg-alt:       #eceae3;
  --surface:      #ffffff;
  --surface-2:    #f9f8f5;
  --border:       #e2dfd7;
  --text:         #1c1a17;
  --text-muted:   #6b6560;
  --text-light:   #9b978f;
  --accent:       #3d52a0;
  --accent-dark:  #2c3e7a;
  --accent-light: #eceffd;
  --gold:         #d4962a;
  --gold-light:   #fff4dc;
  --green:        #1e7e4a;
  --green-light:  #dcf5e8;
  --red:          #c0392b;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:       0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.10);
  --radius:       10px;
  --radius-sm:    6px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.2rem, 3vw, 1.6rem); margin-bottom: 16px; }
h3 { font-size: 1.1rem; margin-bottom: 10px; }
p  { margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }
a  { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 20px; margin-bottom: 14px; }
li { margin-bottom: 6px; }
strong { font-weight: 600; }

/* ===== WRAP ===== */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.site-header__bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}
.site-header__logo img { height: 36px; width: auto; }
.site-header__nav { display: flex; align-items: center; gap: 4px; }
.site-header__nav a {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: background .15s, color .15s;
}
.site-header__nav a:hover { background: var(--accent-light); color: var(--accent); text-decoration: none; }
.site-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--gold);
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  transition: background .15s, transform .1s;
}
.site-header__cta:hover { background: #b87d1f; text-decoration: none; transform: translateY(-1px); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #2c3e7a 0%, #3d52a0 50%, #5b73c4 100%);
  color: #fff;
  padding: 60px 0 50px;
}
.hero__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__text { display: flex; flex-direction: column; gap: 24px; flex: 1 1 0; min-width: 0; }
.hero__img { flex: 0 0 340px; width: 340px; align-self: stretch; }
.hero__img img { width: 100%; height: 100%; min-height: 220px; border-radius: 16px; display: block; object-fit: cover; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
@media (min-width: 768px) {
  .hero__inner { flex-direction: row; align-items: stretch; gap: 48px; }
}
@media (max-width: 767px) {
  .hero__img { display: none; }
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.hero h1 { color: #fff; max-width: 700px; }
.hero__lead { font-size: 1.05rem; color: rgba(255,255,255,.85); max-width: 620px; line-height: 1.65; }
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.hero__stat {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 14px 20px;
  min-width: 130px;
}
.hero__stat-value { font-size: 1.5rem; font-weight: 800; line-height: 1; }
.hero__stat-label { font-size: 0.78rem; color: rgba(255,255,255,.75); margin-top: 4px; }
.hero__cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gold);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: background .15s, transform .1s;
}
.btn-hero:hover { background: #b87d1f; text-decoration: none; transform: translateY(-2px); }
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color .15s, background .15s;
}
.btn-hero-ghost:hover { background: rgba(255,255,255,.1); text-decoration: none; border-color: rgba(255,255,255,.8); }

/* ===== LAYOUT: CONTENT + SIDEBAR ===== */
.page-layout {
  padding: 40px 0 60px;
}
.page-layout__inner {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}
.content-area { flex: 1 1 0; min-width: 0; }
.sidebar { flex: 0 0 280px; width: 280px; }

/* ===== STICKY SIDEBAR PROMO ===== */
.sidebar-sticky { position: sticky; top: 76px; }
.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.sidebar-card + .sidebar-card { margin-top: 20px; }
.sidebar-card__head {
  background: var(--accent);
  color: #fff;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.promo-list { list-style: none; padding: 0; margin: 0; }
.promo-list__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: background .13s;
}
.promo-list__item:last-child { border-bottom: none; }
.promo-list__item:hover { background: var(--accent-light); text-decoration: none; }
.promo-list__img {
  width: 48px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.promo-list__title {
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--text);
  font-weight: 500;
}
.sidebar-card__cta {
  display: block;
  text-align: center;
  padding: 12px 16px;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background .15s;
  text-decoration: none;
}
.sidebar-card__cta:hover { background: #b87d1f; text-decoration: none; }

/* Sidebar rating */
.sidebar-rating { padding: 16px; }
.rating-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.rating-label { font-size: 0.85rem; color: var(--text-muted); }
.rating-stars { display: flex; gap: 2px; }
.star-fill { color: var(--gold); font-size: 0.85rem; }
.rating-score { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.rating-bar-wrap { height: 6px; background: var(--bg-alt); border-radius: 3px; flex: 1; margin: 0 8px; }
.rating-bar { height: 6px; background: var(--gold); border-radius: 3px; }
.sidebar-divider { border: none; border-top: 1px solid var(--border); margin: 4px 0; }

/* ===== CONTENT SECTIONS ===== */
.section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--accent-light);
}
.section__title h2 { margin-bottom: 0; }
.section__icon {
  width: 36px;
  height: 36px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===== BONUS TABLE ===== */
.bonus-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.bonus-tab {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: var(--surface-2);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  transition: all .15s;
}
.bonus-tab.active {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
}

.bonus-table-wrap {
  overflow-x: auto;
}
.bonus-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.bonus-table th {
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}
.bonus-table th:first-child { border-radius: 6px 0 0 0; }
.bonus-table th:last-child  { border-radius: 0 6px 0 0; }
.bonus-table td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.bonus-table tr:nth-child(even) td { background: var(--surface-2); }
.bonus-table tr:last-child td { border-bottom: none; }
.bonus-table .percent { font-weight: 700; color: var(--accent); }
.bonus-table .fs { font-weight: 700; color: var(--gold); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== CASHBACK TABLE ===== */
.cashback-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.cashback-table th {
  background: var(--surface-2);
  border-bottom: 2px solid var(--border);
  padding: 8px 12px;
  text-align: left;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.cashback-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}
.cashback-table tr:last-child td { border-bottom: none; }
.cashback-table .rate { font-weight: 700; color: var(--green); }
.cashback-table .stake { color: var(--text-muted); font-size: 0.83rem; }
.cashback-table .max { font-weight: 600; }

/* ===== SPORT BOOST TABLE ===== */
.boost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.boost-table th {
  background: var(--surface-2);
  border-bottom: 2px solid var(--border);
  padding: 8px 14px;
  text-align: left;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.boost-table td { padding: 9px 14px; border-bottom: 1px solid var(--border); }
.boost-table tr:last-child td { border-bottom: none; }
.boost-table .boost-val { font-weight: 700; color: var(--green); }

/* ===== PROS/CONS ===== */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 4px; }
.pros-list, .cons-list { list-style: none; padding: 0; margin: 0; }
.pros-list h3, .cons-list h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pros-list h3 { color: var(--green); }
.cons-list h3 { color: var(--red); }
.pros-list li, .cons-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}
.pros-list li { background: var(--green-light); color: #1a5c37; }
.cons-list li { background: #fde8e8; color: #a02020; }
.pros-list li::before { content: '✓'; font-weight: 700; flex-shrink: 0; }
.cons-list li::before { content: '!'; font-weight: 700; flex-shrink: 0; }

/* ===== INFO GRID ===== */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.info-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.info-item__label { font-size: 0.75rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.info-item__value { font-size: 0.95rem; font-weight: 600; color: var(--text); }

/* ===== ALERT BOXES ===== */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.alert--info { background: var(--accent-light); border-left: 3px solid var(--accent); }
.alert--warn { background: var(--gold-light); border-left: 3px solid var(--gold); }
.alert--ok   { background: var(--green-light); border-left: 3px solid var(--green); }
.alert svg { flex-shrink: 0; margin-top: 2px; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.faq-q:hover { color: var(--accent); }
.faq-chevron { flex-shrink: 0; transition: transform .2s; color: var(--text-light); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 0 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.faq-item.open .faq-a { display: block; }

/* ===== SECTION CTA ===== */
.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.btn--primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--gold);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background .15s, transform .1s;
  text-decoration: none;
}
.btn--primary:hover { background: #b87d1f; text-decoration: none; transform: translateY(-1px); }

/* ===== FOOTER ===== */
.site-footer {
  background: #1c1a17;
  color: rgba(255,255,255,.7);
  padding: 40px 0 24px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.site-footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.site-footer__logo img { height: 32px; width: auto; filter: brightness(0) invert(1); opacity: .85; }
.site-footer__brand-name { font-weight: 700; font-size: 1.1rem; color: #fff; }
.site-footer__desc { font-size: 0.85rem; line-height: 1.6; max-width: 280px; }
.site-footer__col h4 { color: #fff; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col ul li { margin-bottom: 8px; }
.site-footer__col ul li a { font-size: 0.85rem; color: rgba(255,255,255,.6); transition: color .15s; }
.site-footer__col ul li a:hover { color: #fff; text-decoration: none; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer__copy { font-size: 0.78rem; }
.site-footer__disclaimer { font-size: 0.75rem; max-width: 600px; color: rgba(255,255,255,.45); line-height: 1.5; }

/* ===== GAME SECTION ===== */
.games-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.game-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  transition: background .13s, border-color .13s;
}
.game-chip:hover { background: var(--accent-light); border-color: var(--accent); }

/* ===== STEP CARDS ===== */
.steps { display: flex; flex-direction: column; gap: 12px; }
.step-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}
.step-body h4 { margin-bottom: 4px; font-size: 0.95rem; }
.step-body p  { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ===== LEGAL PAGES ===== */
.legal-page { padding: 48px 0 64px; max-width: 780px; }
.legal-header { margin-bottom: 36px; border-bottom: 1px solid var(--border); padding-bottom: 24px; }
.legal-header h1 { font-size: 1.9rem; margin-bottom: 8px; }
.legal-meta { color: var(--text-muted); font-size: 0.9rem; }
.legal-content { display: flex; flex-direction: column; gap: 32px; }
.legal-section h2 { font-size: 1.15rem; margin-bottom: 12px; color: var(--text); }
.legal-section p { color: var(--text-muted); margin-bottom: 12px; line-height: 1.75; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { padding-left: 20px; margin-bottom: 12px; }
.legal-section ul li { color: var(--text-muted); margin-bottom: 6px; line-height: 1.65; }
@media (max-width: 767px) { .legal-page { padding: 32px 0 48px; } .legal-header h1 { font-size: 1.5rem; } }

/* ===== GAMES GRID ===== */
.games-grid { display:flex; flex-wrap:wrap; gap:12px; }
.game-card { flex:0 0 calc(20% - 10px); text-decoration:none; border-radius:8px; overflow:hidden; background:rgba(255,255,255,0.04); transition:transform .2s; }
.game-card:hover { transform:translateY(-4px); }
.game-card__img { width:100%; object-fit:cover; display:block; }
.game-card__name { display:block; font-size:12px; padding:6px 8px; color:var(--text-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
@media (max-width:767px) { .game-card { flex:0 0 calc(50% - 6px); } }

/* ===== HAMBURGER & MOBILE NAV ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile { display: none; }
.nav-mobile.is-open {
  display: block;
  position: fixed;
  top: 61px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.nav-mobile__list {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4px 20px 8px;
}
.nav-mobile__list a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color .15s;
}
.nav-mobile__list a:last-child { border-bottom: none; }
.nav-mobile__list a:hover { color: var(--accent); }

/* ===== MOBILE ===== */
@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  .page-layout__inner { flex-direction: column; }
  .sidebar { width: 100%; flex: none; }
  .sidebar-sticky { position: static; }
  .pros-cons { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .site-header__nav { display: none; }
  .section { padding: 20px 16px; }
  .hero { padding: 36px 0 32px; }
  .hero__stats { gap: 10px; }
  .hero__stat { min-width: 100px; padding: 10px 14px; }
  .hero__stat-value { font-size: 1.2rem; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .bonus-tabs { flex-direction: column; }
}
@media (min-width: 768px) {
  .nav-mobile { display: none !important; }
}

@media (min-width: 768px) {
  .page-layout__inner { flex-direction: row; }
  .page-layout { padding: 40px 0 60px; }
}
