/* ============================================
   bet365 Casino IT – Production Template
   Mobile-first, performance-optimised
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
  --bg: #1c1c1c;
  --bg-soft: #252525;
  --bg-panel: #2f2f2f;
  --bg-panel-2: #3a3a3a;
  --green: #177c4b;
  --green-deep: #0f6a3e;
  --green-header: #1a5c35;
  --green-header-dark: #143d25;
  --mint: #26f2c7;
  --mint-dim: rgba(38,242,199,.15);
  --yellow: #ffd326;
  --yellow-dim: rgba(255,211,38,.15);
  --text: #f2f2f2;
  --text-dim: #c8c8c8;
  --muted: #b7b7b7;
  --muted-dark: #888;
  --line: rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.14);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-soft: 0 10px 28px rgba(0,0,0,.24);
  --shadow-card: 0 4px 16px rgba(0,0,0,.32);
  --header-h: 84px;
  --strip-h: 32px;
  --bottom-nav-h: 64px;
  --container: 1600px;
  --gap: 12px;
  --gap-lg: 20px;
}

/* ---- Reset & Base ---- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* ---- Accessibility ---- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 8px;
  z-index: 9999;
  background: var(--green);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  font-size: .875rem;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  line-height: 1;
  padding: 12px 22px;
  cursor: pointer;
  transition: background .18s, transform .12s, opacity .15s;
  text-decoration: none;
}
.btn:active { transform: scale(.97); }

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

.btn--green-sm {
  background: var(--green);
  color: #fff;
  padding: 10px 18px;
  font-size: .82rem;
  border-radius: 7px;
}
.btn--green-sm:hover { background: var(--green-deep); }

.btn--green-full {
  background: var(--green);
  color: #fff;
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  border-radius: 8px;
}
.btn--green-full:hover { background: var(--green-deep); }

.btn--yellow {
  background: var(--yellow);
  color: #1a1a1a;
  font-weight: 700;
}
.btn--yellow:hover { background: #f0c410; }

.btn--outline-full {
  background: transparent;
  border: 1.5px solid #5a5a5a;
  color: var(--green);
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
}
.btn--outline-full:hover { border-color: var(--green); background: rgba(23,124,75,.08); }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--green-header);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.4); }

/* Top strip */
.top-strip {
  background: #111;
  border-bottom: 1px solid var(--line);
}
.top-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 5px 16px;
  font-size: .72rem;
  color: #999;
  gap: 12px;
}
.top-strip__company { font-size: .7rem; }
.top-strip__icons { display: flex; align-items: center; gap: 8px; }
.top-strip__svg { vertical-align: middle; flex-shrink: 0; }
.top-strip__age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #666;
  border-radius: 50%;
  width: 22px; height: 22px;
  font-size: .65rem;
  font-weight: 700;
  color: #999;
  flex-shrink: 0;
}

/* Main header bar */
.site-header__main { padding: 0; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 16px;
  gap: 16px;
}

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

/* Desktop nav – hidden on mobile */
.header-nav {
  display: none;
  align-items: center;
  gap: 4px;
}
.header-nav__link {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: color .15s, background .15s;
}
.header-nav__link:hover,
.header-nav__link--active { color: #fff; }
.header-nav__link--active {
  border-bottom: 2px solid var(--mint);
  border-radius: 0;
}

/* Action buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.header-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  border: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
  text-decoration: none;
}

.header-pill--ghost {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.3);
}
.header-pill--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

.header-pill--accent {
  background: transparent;
  color: var(--yellow);
  border: 1.5px solid var(--yellow);
}
.header-pill--accent:hover { background: rgba(255,211,38,.12); }

.header-pill--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
}
.header-pill--outline:hover { background: rgba(255,255,255,.08); }

/* ---- Hero Promos ---- */
.hero-promos-section {
  background: var(--bg-soft);
  padding-top: 0;
}

/* Hero tabs (mobile) */
.hero-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  overflow-x: auto;
  scrollbar-width: none;
}
.hero-tabs::-webkit-scrollbar { display: none; }

.hero-tab {
  flex-shrink: 0;
  padding: 12px 18px;
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 500;
  transition: color .15s, border-color .15s;
}
.hero-tab.is-active,
.hero-tab:hover { color: var(--mint); border-bottom-color: var(--mint); }

/* Promo Slider */
.promo-slider {
  overflow: hidden;
  position: relative;
}

.promo-cards {
  display: flex;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.promo-card {
  flex: 0 0 100%;
  min-width: 0;
  position: relative;
  background: var(--bg-panel);
  overflow: hidden;
}

.promo-card__media { position: relative; aspect-ratio: 16/8; overflow: hidden; }

.promo-card__image {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.promo-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.1) 0%, rgba(0,0,0,.55) 100%);
}

.promo-card__content {
  padding: 20px 16px 24px;
}
.promo-card__eyebrow {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.promo-card__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.promo-card__text {
  font-size: .85rem;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.promo-card__actions { margin-bottom: 12px; }
.promo-card__meta {
  font-size: .72rem;
  color: var(--muted-dark);
}
.promo-card__tc { color: var(--mint); text-decoration: underline; }

/* Slider dots */
.promo-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
  background: var(--bg-soft);
}
.promo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--bg-panel-2);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.promo-dot.is-active {
  background: var(--mint);
  transform: scale(1.3);
}

/* Promo slider arrows (visible on desktop) */
.promo-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,.42);
  border: 1.5px solid rgba(255,255,255,.22);
  border-radius: 50%;
  width: 50px; height: 50px;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition: background .18s, border-color .18s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.promo-arrow:hover { background: rgba(0,0,0,.78); border-color: rgba(255,255,255,.5); }
.promo-arrow:active { transform: translateY(-50%) scale(.92); }
.promo-arrow--prev { left: 24px; }
.promo-arrow--next { right: 24px; }

/* ---- Search Section ---- */
.search-section {
  background: var(--bg-soft);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--bg-panel);
  border-radius: 28px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  transition: border-color .15s;
}
.search-bar:focus-within { border-color: var(--mint); }

.search-bar__label { display: flex; align-items: center; flex-shrink: 0; }
.search-bar__icon { color: var(--muted); }

.search-bar__input {
  flex: 1;
  background: none;
  border: none;
  padding: 14px 12px;
  font-size: .95rem;
  color: var(--text);
  outline: none;
  font-family: inherit;
}
.search-bar__input::placeholder { color: var(--muted); }
.search-bar__input::-webkit-search-cancel-button { display: none; }

/* ---- Icon Nav Section ---- */
.icon-nav-section {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}

.icon-nav__list {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}
.icon-nav__list::-webkit-scrollbar { display: none; }

.icon-nav__item { flex-shrink: 0; }

.icon-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color .15s;
  position: relative;
  text-decoration: none;
}
.icon-nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%; right: 50%;
  height: 2.5px;
  background: var(--mint);
  border-radius: 2px;
  transition: left .18s, right .18s;
}
.icon-nav__link.is-active::after,
.icon-nav__link:hover::after { left: 10%; right: 10%; }

.icon-nav__link.is-active,
.icon-nav__link:hover { color: var(--mint); }

.icon-nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
}

.icon-nav__label { line-height: 1; }

/* ---- Featured Promos ---- */
.featured-promos-section {
  background: var(--bg);
  padding: 28px 0;
}

.featured-promos__rail {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
}

.featured-promo-card {
  background: var(--bg-panel);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.featured-promo-card__media {
  position: relative;
  aspect-ratio: 16/7;
  overflow: hidden;
}
.featured-promo-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.prize-matcher-card {
  background: linear-gradient(135deg, #0d3d2b 0%, #1a6e4a 50%, #0d3d2b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.prize-matcher-placeholder {
  text-align: center;
  padding: 20px;
}
.prize-matcher-label {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1.1;
  letter-spacing: .05em;
}

.featured-promo-card__body { padding: 16px; }
.featured-promo-card__eyebrow {
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.featured-promo-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
}
.featured-promo-card__meta {
  margin-top: 10px;
  font-size: .7rem;
  color: var(--muted-dark);
}

/* ---- Games Sections ---- */
.games-section {
  background: var(--bg);
  padding: 28px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}
.section-subheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 12px;
  gap: 12px;
}

.section-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: .04em;
}
.section-subtitle {
  font-size: .9rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: .04em;
}

.section-link {
  display: inline-flex;
  align-items: center;
  background: var(--bg-panel);
  border: 1px solid var(--line-strong);
  color: var(--text-dim);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color .15s, color .15s;
}
.section-link:hover { border-color: var(--mint); color: var(--mint); }

/* Games grid – 2 columns mobile */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.game-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-panel);
  box-shadow: var(--shadow-card);
}

.game-card__link {
  display: block;
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.game-card__link:hover .game-card__image { transform: scale(1.04); }

.game-card__image {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.game-card__info {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(38,242,199,.85);
  color: #000;
  font-size: .65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.game-card__rank {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: .75rem;
  font-weight: 800;
  color: rgba(255,255,255,.7);
  z-index: 2;
}

.game-card__badge {
  position: absolute;
  top: 6px;
  left: 0;
  background: var(--mint);
  color: #000;
  font-size: .6rem;
  font-weight: 800;
  padding: 3px 8px;
  letter-spacing: .04em;
  border-radius: 0 4px 4px 0;
}

/* ---- Live Section ---- */
.live-section {
  background: var(--bg);
  padding: 28px 0;
}

.live-subnav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.live-subnav::-webkit-scrollbar { display: none; }

.live-subnav__item {
  flex-shrink: 0;
  padding: 10px 18px;
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 500;
  transition: color .15s, border-color .15s;
  margin-bottom: -1px;
}
.live-subnav__item.is-active,
.live-subnav__item:hover { color: var(--mint); border-bottom-color: var(--mint); }

/* Live hero card */
.live-hero-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-panel);
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}
.live-hero-card__media {
  position: relative;
  aspect-ratio: 16/7;
  overflow: hidden;
  max-height: 320px;
}
.live-hero-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.live-hero-card__overlay {
  position: absolute; inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 12px;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(220,30,30,.85);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 20px;
  letter-spacing: .04em;
}
.live-hero-card__label {
  padding: 10px 14px;
  font-size: .8rem;
  color: var(--muted);
}

/* Live grid */
.live-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin-bottom: 28px;
}

.live-card__link { display: block; text-decoration: none; }

.live-card__image-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--bg-panel);
}

.live-card__image {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.live-card__link:hover .live-card__image { transform: scale(1.04); }

.live-card__badge {
  position: absolute;
  bottom: 8px; right: 8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(38,242,199,.9);
  color: #000;
  display: flex; align-items: center; justify-content: center;
}

.live-card__overlay-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 12px 12px;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 100%);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.3;
}
.live-card__overlay-label span {
  font-size: .65rem;
  color: var(--mint);
  font-weight: 800;
  display: block;
  margin-bottom: 2px;
}

/* TOP 10 Banner */
.top-ten-banner {
  border-radius: var(--radius);
  background: var(--bg-panel);
  padding: 24px 20px;
  margin: 0 0 20px;
  overflow: hidden;
  position: relative;
}
.top-ten-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23,124,75,.25) 0%, transparent 60%);
}
.top-ten-banner__inner { position: relative; }
.top-ten-banner__text-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.top-ten-banner__top {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.top-ten-banner__num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--mint);
  line-height: 1;
  margin-top: -4px;
}
.top-ten-banner__arrow { color: var(--mint); }
.top-ten-banner__desc {
  font-size: .82rem;
  color: var(--muted);
}

/* Top 10 grid – same as games grid */
.top-ten-grid { grid-template-columns: repeat(2, 1fr); }

/* ---- FAQ Section ---- */
.faq-section {
  background: var(--bg-soft);
  padding: 32px 0;
}

.faq-list { display: flex; flex-direction: column; gap: 2px; }

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

.faq-item__question {
  list-style: none;
  padding: 16px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background .15s;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--mint);
  flex-shrink: 0;
  line-height: 1;
  transition: transform .2s;
}
.faq-item[open] .faq-item__question::after { transform: rotate(45deg); }
.faq-item__question:hover { background: rgba(255,255,255,.04); }

.faq-item__answer {
  padding: 0 16px 16px;
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ---- Mobile Bottom Nav ---- */
.mobile-bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 400;
  background: #141414;
  border-top: 1px solid var(--line);
  height: var(--bottom-nav-h);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-bottom-nav__list {
  display: flex;
  width: 100%;
  align-items: stretch;
}

.mobile-bottom-nav__item {
  flex: 1;
  display: flex;
}

.mobile-bottom-nav__link {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--muted-dark);
  font-size: .68rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
}
.mobile-bottom-nav__link:hover { color: var(--text); }
.mobile-bottom-nav__link.is-active { color: var(--mint); }

.mobile-bottom-nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-bottom-nav__label { line-height: 1; }

/* ---- Footer ---- */
.site-footer {
  background: var(--bg-soft);
  padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px) + 16px);
}

.footer-top {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.footer-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.footer-trust-item { display: flex; align-items: center; }
.footer-age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #666;
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: .75rem;
  font-weight: 800;
  color: var(--muted);
}

.footer-warning {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.footer-warning p {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
}
.footer-warning__link { color: var(--mint); text-decoration: underline; }

.footer-main { padding: 24px 0; }

.footer-brand { margin-bottom: 16px; }
.footer-brand img { height: 28px; width: auto; }

.footer-legal-text {
  font-size: .72rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.footer-copy {
  font-size: .72rem;
  color: var(--muted-dark);
  margin-bottom: 8px;
}
.footer-server-time {
  font-size: .72rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 0; }
.footer-links__item {
  display: block;
  padding: 10px 0;
  font-size: .82rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  transition: color .15s;
}
.footer-links__item:hover { color: var(--mint); }

.footer-section-links {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.footer-section-links__title {
  font-size: .72rem;
  color: var(--muted-dark);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.footer-section-links__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-section-links__link {
  font-size: .82rem;
  color: var(--muted);
  transition: color .15s;
}
.footer-section-links__link:hover { color: var(--mint); }

.footer-cookie-notice {
  font-size: .7rem;
  color: var(--muted-dark);
  line-height: 1.65;
  margin-top: 16px;
}
.footer-cookie-notice__link { color: var(--mint); text-decoration: underline; }

/* ---- Login Modal ---- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(0,0,0,.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn .2s ease;
}
.modal-backdrop[hidden] { display: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalScale { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.login-modal {
  background: #ededed;
  color: #1a1a1a;
  border-radius: var(--radius);
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  animation: modalScale .2s ease;
  overflow: hidden;
}

.login-modal__header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20px 52px;
  border-bottom: 1px solid #ddd;
}
.login-modal__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a1a;
}
.login-modal__close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  transition: background .15s;
}
.login-modal__close:hover { background: rgba(0,0,0,.08); }

.login-form {
  padding: 24px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.login-form__field { display: flex; flex-direction: column; }
.login-form__input {
  background: #fff;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: .95rem;
  color: #1a1a1a;
  outline: none;
  font-family: inherit;
  transition: border-color .15s;
}
.login-form__input::placeholder { color: #aaa; }
.login-form__input:focus { border-color: var(--green); }
.login-form__submit { margin-top: 4px; }

.login-form__links {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0 16px;
}
.login-form__link {
  font-size: .82rem;
  color: var(--green);
  font-weight: 500;
  transition: opacity .15s;
}
.login-form__link:hover { opacity: .75; }

.login-form__secondary { padding: 0 24px 24px; border-top: 1px solid #ddd; padding-top: 16px; }

/* ---- Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .45s ease, transform .45s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .promo-cards { transition: none; }
}

/* ============================================
   TABLET – min 640px
   ============================================ */
@media (min-width: 640px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .live-grid { grid-template-columns: repeat(3, 1fr); }
  .top-ten-grid { grid-template-columns: repeat(4, 1fr); }
  .promo-card__title { font-size: 1.6rem; }

  .featured-promos__rail {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-lg);
  }
}

/* ============================================
   DESKTOP – min 1024px
   ============================================ */
@media (min-width: 1024px) {

  /* Header */
  .header-logo { height: 34px; }
  .header-nav { display: flex; }
  .header-inner { padding: 12px 24px; }
  .header-pill { padding: 9px 18px; font-size: .88rem; }

  /* Hero section – full-width single-card slider on desktop */
  .hero-tabs { display: none; }
  .promo-slider { overflow: hidden; position: relative; }
  .promo-cards { display: flex; gap: 0; }
  .promo-card {
    flex: 0 0 100%;
    min-width: 0;
    position: relative;
    height: 460px;
    border-radius: 0;
    overflow: hidden;
    background: #0d1a12;
  }
  .promo-card__media {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    aspect-ratio: unset;
  }
  .promo-card__image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .promo-card__overlay {
    background: linear-gradient(to right, rgba(0,0,0,.88) 0%, rgba(0,0,0,.65) 35%, rgba(0,0,0,.18) 65%, transparent 100%);
  }
  .promo-card__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 46%;
    height: 100%;
    padding: 52px 60px;
    background: none;
  }
  .promo-card__title { font-size: 2.1rem; line-height: 1.15; color: #fff; }
  .promo-card__eyebrow { font-size: .88rem; margin-bottom: 10px; color: rgba(255,255,255,.75); }
  .promo-card__text { font-size: .96rem; margin-bottom: 28px; color: rgba(255,255,255,.75); }
  .promo-card__actions { margin-bottom: 16px; }
  .promo-card__meta { color: rgba(255,255,255,.42); font-size: .74rem; }
  .promo-dots { display: flex; padding: 14px 0; background: var(--bg-soft); }
  .promo-arrow { display: flex; }

  /* Search */
  .search-section { padding: 16px 0; }
  .search-bar { max-width: 860px; margin: 0 auto; }

  /* Icon nav */
  .icon-nav__list { justify-content: center; overflow: visible; }
  .icon-nav__link { padding: 10px 18px; font-size: .78rem; }

  /* Featured promos */
  .featured-promos__rail { grid-template-columns: repeat(4, 1fr); }
  .featured-promo-card__media { aspect-ratio: unset; height: 160px; }
  .featured-promo-card__body { padding: 14px 16px 16px; }
  .featured-promo-card__title { font-size: .88rem; margin-bottom: 10px; }

  /* Games grids */
  .games-grid { grid-template-columns: repeat(5, 1fr); gap: var(--gap); }
  .live-grid { grid-template-columns: repeat(4, 1fr); }
  .live-card__image-wrap { aspect-ratio: unset; height: 160px; }
  .top-ten-grid { grid-template-columns: repeat(5, 1fr); }

  /* Live hero – fixed height, not full-bleed tall */
  .live-hero-card { max-width: 860px; }
  .live-hero-card__media { aspect-ratio: unset; height: 300px; }
  .live-hero-card__media img { object-position: center 40%; }

  /* Section layout */
  .games-section { padding: 36px 0; }
  .live-section { padding: 36px 0; }
  .section-title { font-size: 1.2rem; }

  /* Footer */
  .footer-columns { grid-template-columns: repeat(2, auto); gap: 0 60px; }
  .footer-trust-strip { justify-content: flex-start; }
  .footer-section-links__row { gap: 24px; }

  /* Hide mobile bottom nav */
  .mobile-bottom-nav { display: none; }
  .site-footer { padding-bottom: 24px; }

  /* TOP 10 */
  .top-ten-banner { padding: 28px 32px; }
  .top-ten-banner__top { font-size: 2rem; }
  .top-ten-banner__num { font-size: 5rem; }

  /* Container padding */
  .container { padding: 0 32px; }
}

/* ============================================
   LARGE DESKTOP – min 1280px
   ============================================ */
@media (min-width: 1280px) {
  .games-grid { grid-template-columns: repeat(6, 1fr); }
  .top-ten-grid { grid-template-columns: repeat(6, 1fr); }
  .promo-card { height: 500px; }
  .promo-card__title { font-size: 2.45rem; }
  .featured-promo-card__media { height: 175px; }
  .live-hero-card { max-width: 960px; }
  .live-hero-card__media { height: 320px; }
  .live-card__image-wrap { height: 175px; }
  .container { padding: 0 48px; }
}

/* ============================================
   EXTRA WIDE – min 1600px
   ============================================ */
@media (min-width: 1600px) {
  .games-grid { grid-template-columns: repeat(7, 1fr); }
  .top-ten-grid { grid-template-columns: repeat(7, 1fr); }
}

/* ============================================
   SEO SECTION
   ============================================ */
.seo-section {
  background: var(--bg-soft);
  padding: 48px 0 60px;
  border-top: 1px solid var(--line);
}

.seo-content {
  max-width: 860px;
  margin: 0 auto;
}

.seo-h1 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -.01em;
}

.seo-h2 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin: 36px 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--mint);
}

.seo-p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

/* Tables */
.seo-table-caption {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-dim);
  margin: 28px 0 4px;
}

.seo-table-note {
  font-size: .75rem;
  color: var(--muted-dark);
  margin-bottom: 10px;
  font-style: italic;
}

.seo-table-wrap {
  overflow-x: auto;
  margin-bottom: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  max-width: 100%;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
  min-width: 0;
}

.seo-table thead tr {
  background: var(--green-header-dark);
}

.seo-table th {
  padding: 11px 14px;
  text-align: left;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  white-space: nowrap;
  font-size: .78rem;
  letter-spacing: .02em;
}

.seo-table tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background .12s;
}
.seo-table tbody tr:last-child { border-bottom: none; }
.seo-table tbody tr:nth-child(even) { background: rgba(255,255,255,.025); }
.seo-table tbody tr:hover { background: rgba(38,242,199,.05); }

.seo-table td {
  padding: 10px 14px;
  color: var(--text-dim);
  vertical-align: middle;
}

.seo-table--two-col td:first-child {
  font-weight: 600;
  color: var(--text);
  width: 35%;
}

/* SEO tables — phone: fit viewport, no horizontal scroll */
@media (max-width: 767px) {
  .seo-table-wrap {
    overflow-x: visible;
    -webkit-overflow-scrolling: auto;
  }

  .seo-table {
    table-layout: fixed;
    width: 100%;
    min-width: 0;
    font-size: clamp(0.56rem, 2.4vw + 0.35rem, 0.72rem);
  }

  .seo-table th,
  .seo-table td {
    padding: 7px 5px;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.25;
    vertical-align: top;
  }

  .seo-table th {
    font-size: clamp(0.52rem, 2.1vw + 0.32rem, 0.68rem);
    letter-spacing: 0;
    hyphens: auto;
  }

  .seo-table td {
    hyphens: auto;
  }

  .seo-table--two-col {
    font-size: clamp(0.72rem, 3vw + 0.35rem, 0.86rem);
  }

  .seo-table--two-col th,
  .seo-table--two-col td {
    padding: 9px 7px;
  }

  .seo-table--two-col td:first-child {
    width: 38%;
  }

  .seo-table-caption {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .seo-table-note {
    font-size: 0.7rem;
    line-height: 1.4;
  }
}

@media (max-width: 374px) {
  .seo-table:not(.seo-table--two-col) th,
  .seo-table:not(.seo-table--two-col) td {
    padding: 6px 4px;
  }

  .seo-table:not(.seo-table--two-col) {
    font-size: clamp(0.5rem, 2.2vw + 0.3rem, 0.65rem);
  }

  .seo-table:not(.seo-table--two-col) th {
    font-size: clamp(0.48rem, 2vw + 0.28rem, 0.62rem);
  }
}

/* FAQ in SEO section */
.seo-faq {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.seo-faq__item {
  background: var(--bg-panel);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  overflow: hidden;
}

.seo-faq__question {
  list-style: none;
  padding: 15px 16px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background .15s;
}
.seo-faq__question::-webkit-details-marker { display: none; }
.seo-faq__question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--mint);
  flex-shrink: 0;
  line-height: 1;
  transition: transform .2s;
}
.seo-faq__item[open] .seo-faq__question::after { transform: rotate(45deg); }
.seo-faq__question:hover { background: rgba(255,255,255,.04); }

.seo-faq__answer {
  padding: 0 16px 15px;
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Responsive */
@media (min-width: 1024px) {
  .seo-h1 { font-size: 1.9rem; }
  .seo-h2 { font-size: 1.3rem; }
  .seo-p { font-size: .95rem; }
  .seo-table { font-size: .88rem; min-width: unset; }
  .seo-table th,
  .seo-table td { padding: 12px 18px; }
}
