/* ==========================================================================
   WinGram — design tokens
   Direction: "Винтажный джекпот" — старая вегасовская вывеска без неона.
   Гранатовый/бордовый фон, латунь как единственный акцент, кремовый текст.
   ========================================================================== */

/* Yeseva One (display) + PT Sans (body) are loaded via Google Fonts
   in header.php — both have full Cyrillic coverage. */

:root {
  /* base surfaces */
  --bg: #230a0e;
  --bg-deep: #180608;
  --panel: #331017;
  --panel-raised: #3e141b;
  --panel-line: #4a1a22;

  /* brass accent family */
  --brass: #c9a24d;
  --brass-bright: #e9c468;
  --brass-dim: rgba(201, 162, 77, 0.32);
  --brass-faint: rgba(201, 162, 77, 0.14);

  /* text */
  --ink: #f4e9da;
  --ink-soft: #d9c4b6;
  --ink-muted: #b08e88;

  /* state */
  --win: #83a97f;
  --loss: #c97a6e;

  /* type */
  --font-display: 'Yeseva One', Georgia, 'Times New Roman', serif;
  --font-body: 'PT Sans', 'Helvetica Neue', Arial, sans-serif;

  /* layout */
  --content-w: 1240px;
  --radius-s: 3px;
  --radius-m: 6px;
  --header-h: 128px;
  --header-h-mobile: 68px;
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 400; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

:focus-visible {
  outline: 2px solid var(--brass-bright);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--brass-dim);
}

.topbar {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.01em;
  color: var(--brass-bright);
  flex-shrink: 0;
}
.brand__mark {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
  margin-right: 8px;
  transform: translateY(-9px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-right: auto;
}
.main-nav__item {
  position: relative;
  padding: 6px 0;
  font-size: 15px;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.main-nav__item::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--brass-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.main-nav__item:hover,
.main-nav__item.is-active { color: var(--ink); }
.main-nav__item.is-active::after,
.main-nav__item:hover::after { transform: scaleX(1); }
.main-nav__item--bonus { display: inline-flex; align-items: center; gap: 6px; }
.notification-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--brass);
  color: var(--bg-deep);
  font-size: 10px;
  font-weight: 700;
}

.topbar-actions { display: flex; align-items: center; gap: 12px; }
.mobile-auth { display: none; }

.round-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--brass-dim);
  border-radius: 50%;
  color: var(--ink-soft);
}
.round-button:hover { border-color: var(--brass); color: var(--ink); }
.icon-search { width: 15px; height: 15px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; }
.icon-search::after {
  content: '';
  position: absolute;
  width: 6px; height: 1.5px;
  background: currentColor;
  right: -5px; bottom: 1px;
  transform: rotate(45deg);
}

.login-button {
  padding: 9px 18px;
  font-size: 14px;
  color: var(--ink-soft);
  border: 1px solid var(--brass-dim);
  border-radius: var(--radius-s);
}
.login-button:hover { color: var(--ink); border-color: var(--brass); }
.register-button {
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--bg-deep);
  background: var(--brass);
  border-radius: var(--radius-s);
  transition: background 0.15s ease;
}
.register-button:hover { background: var(--brass-bright); }

.subbar {
  border-top: 1px solid rgba(201, 162, 77, 0.12);
}
.subbar-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
}

.category-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.category-nav::-webkit-scrollbar { display: none; }

.subbar-scroll {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 1px solid var(--brass-dim);
  border-radius: 50%;
  color: var(--ink-soft);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.subbar-scroll:hover { border-color: var(--brass); color: var(--ink); }

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  font-size: 13.5px;
  color: var(--ink-muted);
  border: 1px solid transparent;
  border-radius: 999px;
  flex-shrink: 0;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.category-link:hover { color: var(--ink-soft); }
.category-link.is-active {
  color: var(--brass-bright);
  border-color: var(--brass-dim);
  background: var(--brass-faint);
}
.nav-icon-svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.nav-icon-svg text { font-size: 6px; fill: currentColor; stroke: none; font-family: var(--font-body); }
.nav-icon-svg--live circle,
.nav-icon-svg--live path:first-of-type {}

.tournament-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  font-size: 13.5px;
  color: var(--brass-bright);
  border: 1px solid var(--brass-dim);
  border-radius: 999px;
  flex-shrink: 0;
}
.nav-icon-cup { width: 13px; height: 13px; border: 1.4px solid currentColor; border-radius: 3px 3px 8px 8px; display: inline-block; }
.tournament-arrow { display: none; }

/* search panel */
.search-panel {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(11, 3, 4, 0.86);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 14vh;
}
.search-panel[hidden] { display: none; }
.search-panel__inner {
  width: min(560px, 90vw);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--brass-dim);
  border-radius: var(--radius-m);
  padding: 14px 18px;
}
.search-panel__inner input {
  flex: 1;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 16px;
}
.search-panel__inner input::placeholder { color: var(--ink-muted); }
.search-close { font-size: 22px; color: var(--ink-muted); }

/* ==========================================================================
   Hero — плашка-вывеска
   ========================================================================== */

.page-content { padding-top: 32px; padding-bottom: 64px; }

.promo-section {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.welcome-banner {
  position: relative;
  border: 1px solid var(--brass-dim);
  border-radius: var(--radius-m);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 44px;
}
.welcome-banner::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid var(--brass-dim);
  border-radius: 2px;
  pointer-events: none;
  z-index: 2;
}
.welcome-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.welcome-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(15, 4, 5, 0.92) 0%, rgba(15, 4, 5, 0.88) 38%, rgba(15, 4, 5, 0.35) 75%, rgba(15, 4, 5, 0.1) 100%);
  pointer-events: none;
}
.welcome-banner__link { position: absolute; inset: 0; z-index: 3; }
.welcome-banner__heading {
  position: relative;
  z-index: 4;
  font-size: 40px;
  line-height: 1.18;
  color: var(--ink);
  max-width: 380px;
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 400;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}
.welcome-cta {
  position: relative;
  z-index: 4;
  align-self: flex-start;
  padding: 13px 30px;
  background: var(--brass);
  color: var(--bg-deep);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-s);
  pointer-events: auto;
}
.welcome-cta:hover { background: var(--brass-bright); }
.welcome-controls {
  position: absolute;
  z-index: 4;
  right: 20px;
  bottom: 18px;
  display: flex;
  gap: 8px;
}
.circle-control {
  width: 32px; height: 32px;
  border: 1px solid var(--brass-dim);
  border-radius: 50%;
  color: var(--ink-soft);
  font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  pointer-events: auto;
}
.circle-control:hover { border-color: var(--brass); color: var(--ink); }

.bonus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.bonus-card {
  position: relative;
  border: 1px solid var(--brass-dim);
  border-radius: var(--radius-s);
  overflow: hidden;
  min-height: 143px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.bonus-card::before, .bonus-card::after,
.bonus-card > span.corner { content: ''; }
.bonus-card::before {
  content: '';
  position: absolute; top: 6px; left: 6px;
  width: 14px; height: 14px;
  border-top: 1.5px solid var(--brass);
  border-left: 1.5px solid var(--brass);
}
.bonus-card::after {
  content: '';
  position: absolute; bottom: 6px; right: 6px;
  width: 14px; height: 14px;
  border-bottom: 1.5px solid var(--brass);
  border-right: 1.5px solid var(--brass);
}
.bonus-card__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.65;
}
.bonus-card h4 {
  position: relative; z-index: 1;
  font-size: 16px;
  line-height: 1.3;
  color: var(--ink);
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  margin-bottom: 8px;
}
.countdown {
  position: relative; z-index: 1;
  display: inline-block;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--brass-bright);
  background: rgba(11,3,4,0.55);
  border: 1px solid var(--brass-dim);
  border-radius: 999px;
  padding: 4px 10px;
  width: fit-content;
}

/* mobile search field */
.mobile-game-search {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  margin-bottom: 24px;
  border: 1px solid var(--brass-dim);
  border-radius: var(--radius-s);
  background: var(--panel);
}
.mobile-game-search__icon { width: 15px; height: 15px; border: 1.5px solid var(--ink-muted); border-radius: 50%; position: relative; flex-shrink: 0; }
.mobile-game-search input { flex: 1; background: none; border: 0; color: var(--ink); font-size: 15px; }
.mobile-game-search input::placeholder { color: var(--ink-muted); }
.mobile-game-search__clear { color: var(--ink-muted); font-size: 18px; }

/* ==========================================================================
   Section heading + rails (games / providers)
   ========================================================================== */

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-heading h2 {
  font-size: 22px;
  color: var(--ink);
  position: relative;
  padding-left: 16px;
}
.section-heading h2::before {
  content: '';
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 3px;
  background: var(--brass);
}
.section-actions { display: flex; align-items: center; gap: 8px; }
.all-button {
  font-size: 13px;
  color: var(--ink-muted);
  padding: 6px 12px;
  border: 1px solid var(--brass-dim);
  border-radius: 999px;
}
.all-button:hover { color: var(--brass-bright); border-color: var(--brass); }
.row-arrow {
  width: 30px; height: 30px;
  border: 1px solid var(--brass-dim);
  border-radius: 50%;
  color: var(--ink-soft);
  font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center;
}
.row-arrow:hover { border-color: var(--brass); color: var(--ink); }

.game-sections { display: flex; flex-direction: column; gap: 34px; margin-bottom: 44px; }
.games-track, .providers-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.games-track::-webkit-scrollbar, .providers-track::-webkit-scrollbar { display: none; }

.game-card {
  position: relative;
  flex: 0 0 168px;
  scroll-snap-align: start;
  border-radius: var(--radius-s);
  overflow: hidden;
  border: 1px solid transparent;
  aspect-ratio: 314 / 418;
}
.game-card:hover { border-color: var(--brass-dim); }
.game-card img { width: 100%; height: 100%; object-fit: cover; }
.game-card__overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(11,3,4,0.45);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.game-card:hover .game-card__overlay { opacity: 1; }
.play-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--brass-bright);
  color: var(--brass-bright);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px;
  background: rgba(11,3,4,0.6);
}

.providers-section { margin-bottom: 44px; }
.provider-card {
  flex: 0 0 176px;
  scroll-snap-align: start;
  border: 1px solid var(--brass-dim);
  border-radius: var(--radius-s);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--panel);
}
.provider-card:hover { border-color: var(--brass); background: var(--panel-raised); }
.provider-card__logo { display: block; height: 34px; display: flex; align-items: center; }
.provider-card__logo img { max-height: 34px; width: auto; filter: grayscale(1) brightness(1.5) opacity(0.85); }
.provider-card:hover .provider-card__logo img { filter: none; }
.provider-card__name { font-size: 12.5px; color: var(--ink-muted); text-align: center; }

/* ==========================================================================
   Ledger (таблица ставок)
   ========================================================================== */

.bets-section { margin-bottom: 20px; }
.bets-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}
.bets-titlebar h2 {
  font-size: 22px;
  position: relative;
  padding-left: 16px;
  flex-shrink: 0;
}
.bets-titlebar h2::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; background: var(--brass); }
.bet-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  max-width: 100%;
}
.bet-tabs::-webkit-scrollbar { display: none; }
.bet-tabs button {
  padding: 8px 14px;
  font-size: 13px;
  color: var(--ink-muted);
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid transparent;
  border-radius: 999px;
}
.bet-tabs button.is-active { color: var(--brass-bright); border-color: var(--brass-dim); background: var(--brass-faint); }

.bet-table-wrap {
  border: 1px solid var(--brass-dim);
  border-radius: var(--radius-m);
  overflow: hidden;
  overflow-x: auto;
}
.bet-table { min-width: 720px; }
.bet-table-head, .bet-row {
  display: grid;
  grid-template-columns: 2.2fr 1.4fr 1fr 0.8fr 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
}
.bet-table-head {
  background: var(--panel);
  font-size: 12px;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--brass-dim);
}
.bet-body-viewport {
  max-height: 400px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.bet-table-body { will-change: transform; }
.bet-row { border-bottom: 1px solid rgba(201, 162, 77, 0.1); font-size: 13.5px; background: var(--bg); }
.bet-row:last-child { border-bottom: 0; }
.bet-row:hover { background: rgba(201, 162, 77, 0.05); }
.bet-game { display: flex; align-items: center; gap: 10px; }
.bet-game img { width: 40px; height: 40px; border-radius: var(--radius-s); object-fit: cover; }
.bet-game__text { display: flex; flex-direction: column; gap: 2px; }
.bet-game__provider { font-size: 11px; color: var(--ink-muted); }
.bet-game__title { color: var(--ink); }
.bet-money, .win-cell { display: flex; align-items: center; gap: 7px; font-variant-numeric: tabular-nums; }
.green-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brass); flex-shrink: 0; }
.win-cell--win { color: var(--win); }
.win-cell--loss { color: var(--loss); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--brass-dim);
  padding: 48px 0 28px;
}
.footer-shell { display: flex; flex-direction: column; gap: 32px; }
.footer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.footer-logo { font-family: var(--font-display); font-size: 20px; color: var(--brass-bright); }
.language-button {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-muted);
  border: 1px solid var(--brass-dim);
  border-radius: 999px;
  padding: 6px 12px;
}
.flag-ru { width: 14px; height: 10px; background: linear-gradient(to bottom, #fff 33%, #1a3a6b 33% 66%, #a4231d 66%); border-radius: 1px; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.4fr;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(201, 162, 77, 0.14);
}
.footer-column h3 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer-column { display: flex; flex-direction: column; }
.footer-column a { display: block; font-size: 13.5px; color: var(--ink-muted); padding: 5px 0; }
.footer-column a:hover { color: var(--brass-bright); }

.support-card {
  position: relative;
  border: 1px solid var(--brass-dim);
  border-radius: var(--radius-m);
  padding: 20px 104px 20px 20px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--panel);
}
.support-title { font-family: var(--font-display); font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.support-title span { color: var(--brass-bright); }
.support-copy p { font-size: 12.5px; color: var(--ink-muted); margin: 0 0 12px; }
.support-copy a { display: inline-block; font-size: 13px; font-weight: 700; color: var(--bg-deep); background: var(--brass); padding: 8px 16px; border-radius: var(--radius-s); }
.support-copy a:hover { background: var(--brass-bright); }
.support-mascot {
  position: absolute;
  right: 4px;
  bottom: 0;
  width: 92px;
  pointer-events: none;
}
.support-mascot img { width: 100%; height: auto; display: block; object-fit: contain; }

.payments-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(201, 162, 77, 0.14);
}
.payment-icons { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.payment {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 26px; padding: 0 8px;
  border: 1px solid var(--brass-dim);
  border-radius: var(--radius-s);
  font-size: 11.5px; color: var(--ink-muted);
}
.telegram-button {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--brass-bright);
  border: 1px solid var(--brass-dim);
  border-radius: 999px; padding: 8px 16px;
}
.telegram-icon { font-size: 12px; }

.partners-row {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 22px 0;
  border-bottom: 1px solid rgba(201, 162, 77, 0.14);
  font-size: 12px; color: var(--ink-muted);
}
.partner { display: inline-flex; align-items: center; gap: 8px; opacity: 0.75; }
.partner small { display: block; font-size: 9px; }
.partner-shield { color: var(--brass); }

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(201, 162, 77, 0.14);
}
.legal-nav a { font-size: 12.5px; color: var(--ink-muted); }
.legal-nav a:hover { color: var(--brass-bright); }

.legal-row { padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.legal-row p { font-size: 11.5px; line-height: 1.6; color: var(--ink-muted); margin: 0; max-width: 900px; }

.back-to-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 26px auto 0;
  padding: 11px 24px;
  border: 1px solid var(--brass-dim);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink-soft);
  font-size: 13.5px;
}
.back-to-top:hover { border-color: var(--brass); color: var(--ink); }
.back-to-top__arrow { color: var(--brass-bright); font-size: 15px; }

.support-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 55;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brass);
  color: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(11, 3, 4, 0.55);
  transition: background 0.15s ease, transform 0.15s ease;
}
.support-fab:hover { background: var(--brass-bright); transform: translateY(-2px); }
.support-fab svg { width: 22px; height: 22px; fill: currentColor; }
.legal-badges { display: flex; gap: 10px; }
.seal, .age {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border: 1px solid var(--brass-dim);
  border-radius: 50%;
  font-size: 11px; color: var(--brass);
}

.mobile-bottom-nav { display: none; }

/* ==========================================================================
   Static content pages (about / policies / faq / contacts)
   ========================================================================== */

.page-copy { max-width: 760px; padding: 40px 0 64px; }
.page-copy__eyebrow { font-size: 13px; color: var(--brass); margin-bottom: 10px; display: block; }
.page-copy h1 {
  font-size: 32px;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--brass-dim);
}
.page-copy__lead { font-size: 16px; color: var(--ink-soft); line-height: 1.7; margin: 0 0 30px; }
.page-copy h2 { font-size: 20px; color: var(--ink); margin: 34px 0 14px; }
.page-copy h3 { font-family: var(--font-body); font-weight: 700; font-size: 15px; color: var(--ink); margin: 22px 0 10px; }
.page-copy p { font-size: 14.5px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 14px; }
.page-copy ul, .page-copy ol { margin: 0 0 16px; padding-left: 20px; }
.page-copy li { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 8px; }
.page-copy a { color: var(--brass-bright); border-bottom: 1px solid var(--brass-dim); }
.page-copy a:hover { border-color: var(--brass-bright); }
.page-copy__updated { font-size: 12px; color: var(--ink-muted); margin-top: -12px; margin-bottom: 26px; }

.page-copy__note {
  border: 1px solid var(--brass-dim);
  border-left: 3px solid var(--brass);
  border-radius: var(--radius-s);
  padding: 16px 18px;
  margin: 18px 0 24px;
  background: var(--panel);
}
.page-copy__note p:last-child { margin-bottom: 0; }
.page-copy__note p { font-size: 13.5px; }

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 22px 0 30px; }
.team-card { border: 1px solid var(--brass-dim); border-radius: var(--radius-s); padding: 18px; background: var(--panel); }
.team-card__role { font-size: 12px; color: var(--brass); margin-bottom: 4px; }
.team-card__name { font-family: var(--font-display); font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.team-card p { font-size: 13px; color: var(--ink-muted); margin: 0; }

.faq-list { margin: 22px 0 30px; border-top: 1px solid var(--brass-dim); }
.faq-item { border-bottom: 1px solid var(--brass-dim); }
.faq-item summary {
  padding: 16px 4px;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--brass); flex-shrink: 0; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { padding: 0 4px 16px; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 22px 0 30px; }
.contact-card { border: 1px solid var(--brass-dim); border-radius: var(--radius-s); padding: 18px; background: var(--panel); }
.contact-card h3 { margin-top: 0; }
.contact-card a { display: block; margin-top: 4px; }

@media (max-width: 700px) {
  .page-copy h1 { font-size: 26px; }
  .team-grid, .contact-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .support-card { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .promo-section { grid-template-columns: 1fr; }
  .bonus-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .main-nav, .topbar-actions { display: none; }
  .mobile-auth { display: flex; gap: 8px; margin-left: auto; }
  .mobile-auth .login-button, .mobile-auth .register-button { padding: 8px 14px; font-size: 13px; }
  .topbar { height: var(--header-h-mobile); gap: 14px; }
  .brand { font-size: 20px; }
  .tournament-link span:last-child { display: none; }

  .page-content { padding-top: 20px; padding-bottom: 96px; }
  .welcome-banner { min-height: 220px; padding: 0 22px; }
  .welcome-banner__heading { font-size: 27px; max-width: 240px; }
  .bonus-grid { gap: 10px; }
  .bonus-card { min-height: 118px; padding: 12px; }
  .bonus-card h4 { font-size: 13.5px; }

  .mobile-game-search { display: flex; }
  .section-heading h2 { font-size: 18px; }
  .game-card { flex-basis: 132px; }
  .provider-card { flex-basis: 148px; padding: 14px 12px; }

  .bets-titlebar { flex-direction: column; align-items: flex-start; }
  .bet-body-viewport { max-height: 320px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .footer-head { margin-bottom: 20px; }
  .partners-row { display: none; }

  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 45;
    background: var(--bg-deep);
    border-top: 1px solid var(--brass-dim);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  }
  .mobile-bottom-nav__item {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    font-size: 10.5px; color: var(--ink-muted);
    position: relative;
    padding: 4px 0;
  }
  .mobile-bottom-nav__item svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
  .mobile-bottom-nav__item.is-active { color: var(--brass-bright); }
  .mobile-bottom-nav__notify {
    position: absolute; top: -2px; right: 22%;
    width: 13px; height: 13px; border-radius: 50%;
    background: var(--brass); color: var(--bg-deep);
    font-size: 9px; display: flex; align-items: center; justify-content: center;
  }
  .mobile-bottom-nav__item--deposit { color: var(--brass-bright); }
  .mobile-bottom-nav__bonus { position: absolute; top: -8px; font-size: 8px; background: var(--brass); color: var(--bg-deep); padding: 1px 5px; border-radius: 999px; }

  .support-fab { right: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); width: 46px; height: 46px; }
  .support-fab svg { width: 19px; height: 19px; }
  .legal-nav { gap: 6px 14px; padding: 16px 0; }
  .legal-nav a { font-size: 12px; }
}
