/* =========================================================
   GREEN CASINO AUSTRALIA - Site 3
   Emerald Theme with unique class naming system
========================================================= */

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

:root {
  /* Core palette - Green Base */
  --clr-base: #064E3B;
  --clr-deep: #022C22;
  --clr-surface: #065F46;
  --clr-surface-hover: #047857;

  /* Primary accent - Light Green / Gold */
  --clr-primary: #34D399;
  --clr-primary-dark: #10B981;
  --clr-primary-light: #6EE7B7;

  /* Secondary accent - Gold */
  --clr-accent: #FBBF24;
  --clr-accent-dark: #D97706;
  --clr-accent-light: #FCD34D;

  /* Typography */
  --clr-white: #FFFFFF;
  --clr-text: #ECFDF5;
  --clr-muted: rgba(236, 253, 245, 0.8);
  --clr-faded: rgba(236, 253, 245, 0.6);

  /* Borders */
  --border-dim: rgba(52, 211, 153, 0.25);
  --border-active: rgba(52, 211, 153, 0.5);
  --border-gold: rgba(251, 191, 36, 0.4);

  /* Gradients */
  --grad-main: linear-gradient(135deg, #10B981 0%, #059669 100%);
  --grad-gold: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  --grad-surface: linear-gradient(180deg, rgba(6, 95, 70, 0.95) 0%, rgba(2, 44, 34, 0.98) 100%);

  /* Glows */
  --glow-main: rgba(52, 211, 153, 0.5);
  --glow-gold: rgba(251, 191, 36, 0.4);

  /* Spacing (8px grid) */
  --gap-xs: 4px;
  --gap-sm: 8px;
  --gap-md: 16px;
  --gap-lg: 24px;
  --gap-xl: 32px;
  --gap-2xl: 48px;
  --gap-3xl: 64px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;

  /* Layout */
  --container-max: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--clr-base);
  background-image:
    radial-gradient(ellipse 60% 40% at 5% 0%, rgba(16, 185, 129, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 35% at 95% 100%, rgba(2, 44, 34, 0.4) 0%, transparent 55%);
  color: var(--clr-text);
  line-height: 1.6;
  min-height: 100vh;
}

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

.container {
  width: min(var(--container-max), calc(100% - var(--gap-xl)));
  margin: 0 auto;
}

/* ========== ANNOUNCEMENT BAR ========== */
.announcement-bar {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  padding: var(--gap-sm) 0;
  text-align: center;
}

.announcement-bar__msg {
  font-size: 13px;
  font-weight: 700;
  color: #422006;
}

.announcement-bar__msg i {
  margin-right: var(--gap-sm);
}

/* ========== MAIN HEADER ========== */
.main-header {
  background: rgba(2, 44, 34, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dim);
  position: sticky;
  top: 0;
  z-index: 100;
}

.main-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--gap-md) 0;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
}

.logo-block__img {
  height: 38px;
  width: auto;
}

.logo-block__text {
  font-size: 16px;
  font-weight: 800;
  color: var(--clr-white);
  letter-spacing: -0.01em;
}

/* Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--gap-xs);
}

.nav-menu__item {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-muted);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-menu__item:hover {
  color: var(--clr-white);
  background: rgba(255,255,255,0.05);
}

.nav-menu__item--current {
  color: var(--clr-primary);
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dim);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle__line {
  width: 20px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.is-active .menu-toggle__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.is-active .menu-toggle__line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active .menu-toggle__line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Header buttons */
.header-btns {
  display: flex;
  gap: var(--gap-sm);
}

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

/* ========== CTA BUTTONS ========== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-sm);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: all 0.25s ease;
  cursor: pointer;
}

.cta-btn--primary {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: var(--clr-white);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.cta-btn--primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  box-shadow: 0 8px 28px rgba(251, 191, 36, 0.5);
}

.cta-btn--outline {
  border: 2px solid rgba(251, 191, 36, 0.5);
  color: var(--clr-accent);
  background: transparent;
}

.cta-btn--outline:hover {
  border-color: var(--clr-accent);
  background: rgba(251, 191, 36, 0.1);
  color: var(--clr-accent-light);
}

.cta-btn--gold {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  color: #422006;
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
}

.cta-btn--gold:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #FCD34D 0%, #FBBF24 100%);
  box-shadow: 0 8px 28px rgba(251, 191, 36, 0.5);
}

/* ========== HERO SECTION ========== */
.hero-section {
  padding: var(--gap-2xl) 0 var(--gap-3xl);
}

.hero-section__layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--gap-2xl);
  align-items: center;
}

.hero-section__media {
  position: relative;
}

.hero-section__media img {
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.35));
}

.hero-section__content {
  position: relative;
  z-index: 1;
}

.hero-section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-sm);
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--clr-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--gap-lg);
}

.hero-section__heading {
  font-size: clamp(30px, 4.5vw, 50px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--gap-lg);
  color: var(--clr-white);
}

.hero-section__heading em {
  font-style: normal;
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-section__text {
  font-size: 17px;
  color: var(--clr-muted);
  margin-bottom: var(--gap-xl);
  max-width: 420px;
  line-height: 1.7;
}

.hero-section__actions {
  display: flex;
  gap: var(--gap-md);
  flex-wrap: wrap;
}

/* ========== KPI STRIP ========== */
.kpi-strip {
  padding: var(--gap-xl) 0;
  border-bottom: 1px solid var(--border-dim);
}

.kpi-strip__row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--gap-xl);
  flex-wrap: wrap;
}

.metric-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  background: var(--clr-surface);
  border: 2px solid var(--border-dim);
  border-radius: 50%;
  text-align: center;
  transition: all 0.3s ease;
}

.metric-card:hover {
  border-color: var(--clr-primary-light);
  transform: scale(1.06);
}

.metric-card__num {
  font-size: 17px;
  font-weight: 800;
  color: var(--clr-primary-light);
  line-height: 1.2;
}

.metric-card__txt {
  font-size: 10px;
  color: var(--clr-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ========== GAMES GRID ========== */
.games-grid-section {
  padding: var(--gap-2xl) 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--gap-xl);
}

.section-header__title {
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
}

.section-header__title i {
  color: var(--clr-primary);
}

.section-header__link {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-sm);
  padding: 10px 18px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-accent);
  transition: all 0.2s ease;
}

.section-header__link:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent-light);
  background: rgba(251, 191, 36, 0.1);
}

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

.game-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--clr-surface);
  border: 1px solid var(--border-dim);
  transition: all 0.3s ease;
  aspect-ratio: 4 / 3;
}

.game-card:hover {
  border-color: var(--clr-primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(16, 185, 129, 0.12);
}

.game-card__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.game-card:hover .game-card__thumb {
  transform: scale(1.07);
}

.game-card__badge {
  position: absolute;
  top: var(--gap-sm);
  left: var(--gap-sm);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-main);
  border-radius: var(--radius-sm);
  color: var(--clr-white);
  font-size: 11px;
  z-index: 2;
}

.game-card__hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 13, 24, 0.95) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--gap-md);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-card__hover {
  opacity: 1;
}

.game-card__name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: var(--gap-sm);
  color: var(--clr-white);
}

.game-card__btns {
  display: flex;
  gap: var(--gap-sm);
}

.game-card__btn {
  flex: 1;
  padding: 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  transition: all 0.2s ease;
}

.game-card__btn--go {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: var(--clr-white);
}

.game-card__btn--try {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-dim);
  color: var(--clr-text);
}

/* Load more */
.load-more-wrap {
  text-align: center;
  margin-top: var(--gap-xl);
}

/* ========== CONTENT BLOCKS ========== */
.content-block {
  padding: var(--gap-2xl) 0;
}

.content-block--alt {
  background: rgba(2, 44, 34, 0.5);
}

.text-panel {
  background: rgba(2, 44, 34, 0.7);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: var(--gap-xl);
  position: relative;
}

.text-panel::before {
  content: '';
  position: absolute;
  left: 0;
  top: var(--gap-xl);
  bottom: var(--gap-xl);
  width: 4px;
  background: var(--grad-main);
  border-radius: 2px;
}

.text-panel__title {
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 800;
  margin-bottom: var(--gap-lg);
  padding-left: var(--gap-lg);
  color: var(--clr-white);
}

.text-panel__body {
  padding-left: var(--gap-lg);
}

.text-panel__body p {
  color: var(--clr-muted);
  margin-bottom: var(--gap-md);
  line-height: 1.8;
}

.text-panel__body h2,
.text-panel__body h3 {
  color: var(--clr-white);
  margin: var(--gap-xl) 0 var(--gap-md);
  font-weight: 700;
}

.text-panel__body h2 { font-size: 20px; }
.text-panel__body h3 { font-size: 17px; }

.text-panel__body ul {
  margin: var(--gap-md) 0;
  padding-left: var(--gap-lg);
}

.text-panel__body li {
  color: var(--clr-muted);
  margin-bottom: var(--gap-sm);
  position: relative;
  padding-left: var(--gap-lg);
}

.text-panel__body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--clr-primary-light);
  border-radius: 50%;
}

.text-panel__body a {
  color: var(--clr-accent);
  text-decoration: underline;
  text-decoration-color: rgba(251, 191, 36, 0.4);
  text-underline-offset: 3px;
  transition: all 0.2s;
}

.text-panel__body a:hover {
  color: var(--clr-accent-light);
  text-decoration-color: var(--clr-accent);
}

/* Tables */
.text-panel__body table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--gap-lg) 0;
  font-size: 14px;
}

.text-panel__body th,
.text-panel__body td {
  padding: var(--gap-md);
  text-align: left;
  border-bottom: 1px solid var(--border-dim);
}

.text-panel__body th {
  background: rgba(16, 185, 129, 0.1);
  color: var(--clr-primary-light);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.text-panel__body td {
  color: var(--clr-muted);
}

.text-panel__body tr:hover td {
  background: rgba(255,255,255,0.015);
}

/* Offer boxes (CTA inline) */
.offer-box {
  display: flex;
  align-items: center;
  gap: var(--gap-lg);
  padding: var(--gap-lg) var(--gap-xl);
  margin: var(--gap-xl) 0;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  border: 2px solid #FBBF24;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

a.offer-box,
a.offer-box:hover,
.text-panel__body a.offer-box,
.text-panel__body a.offer-box:hover,
.main-content__body a.offer-box,
.main-content__body a.offer-box:hover {
  text-decoration: none !important;
}

.offer-box:hover {
  border-color: #FCD34D;
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(251, 191, 36, 0.5);
}

.offer-box__tag {
  padding: 6px 12px;
  background: #422006;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  color: #FCD34D;
  text-transform: uppercase;
  white-space: nowrap;
}

.offer-box__icon {
  font-size: 30px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.offer-box__content {
  flex: 1;
}

.offer-box__headline {
  font-size: 16px;
  font-weight: 700;
  color: #422006;
  margin-bottom: 4px;
}

.offer-box__subtext {
  font-size: 13px;
  color: #78350F;
}

.offer-box__action {
  padding: 12px 22px;
  background: #422006;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  color: #FCD34D;
  white-space: nowrap;
  transition: all 0.2s ease;
  border: 2px solid #422006;
}

.offer-box:hover .offer-box__action {
  background: #1C1917;
  color: #FBBF24;
}

/* Cyan/Teal variant */
.offer-box--cyan {
  background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
  border-color: #22D3EE;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
}

.offer-box--cyan:hover {
  background: linear-gradient(135deg, #22D3EE 0%, #06B6D4 100%);
  border-color: #67E8F9;
  box-shadow: 0 8px 28px rgba(6, 182, 212, 0.5);
}

.offer-box--cyan .offer-box__headline {
  color: #164E63;
}

.offer-box--cyan .offer-box__subtext {
  color: #155E75;
}

.offer-box--cyan .offer-box__tag {
  background: #164E63;
  color: #67E8F9;
}

.offer-box--cyan .offer-box__action {
  background: #164E63;
  color: #67E8F9;
  border-color: #164E63;
}

/* Purple variant */
.offer-box--purple {
  background: linear-gradient(135deg, #A855F7 0%, #9333EA 100%);
  border-color: #C084FC;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.offer-box--purple:hover {
  background: linear-gradient(135deg, #C084FC 0%, #A855F7 100%);
  border-color: #D8B4FE;
  box-shadow: 0 8px 28px rgba(168, 85, 247, 0.5);
}

.offer-box--purple .offer-box__headline {
  color: #3B0764;
}

.offer-box--purple .offer-box__subtext {
  color: #581C87;
}

.offer-box--purple .offer-box__tag {
  background: #3B0764;
  color: #D8B4FE;
}

.offer-box--purple .offer-box__action {
  background: #3B0764;
  color: #D8B4FE;
  border-color: #3B0764;
}

/* Red/Pink variant */
.offer-box--red {
  background: linear-gradient(135deg, #F43F5E 0%, #E11D48 100%);
  border-color: #FB7185;
  box-shadow: 0 4px 20px rgba(244, 63, 94, 0.4);
}

.offer-box--red:hover {
  background: linear-gradient(135deg, #FB7185 0%, #F43F5E 100%);
  border-color: #FDA4AF;
  box-shadow: 0 8px 28px rgba(244, 63, 94, 0.5);
}

.offer-box--red .offer-box__headline {
  color: #4C0519;
}

.offer-box--red .offer-box__subtext {
  color: #881337;
}

.offer-box--red .offer-box__tag {
  background: #4C0519;
  color: #FDA4AF;
}

.offer-box--red .offer-box__action {
  background: #4C0519;
  color: #FDA4AF;
  border-color: #4C0519;
}

/* ========== PROVIDERS ROW ========== */
.providers-row {
  padding: var(--gap-2xl) 0;
}

.providers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gap-md);
}

.provider-logo {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: var(--gap-md);
  transition: all 0.2s ease;
}

.provider-logo:hover {
  border-color: var(--clr-primary);
  background: var(--clr-surface-hover);
}

.provider-logo img {
  max-height: 34px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(25%);
  transition: filter 0.2s ease;
}

.provider-logo:hover img {
  filter: grayscale(0%);
}

/* ========== FAQ BLOCK ========== */
.faq-block {
  padding: var(--gap-2xl) 0;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-dim);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-dim);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
  padding: var(--gap-lg) 0;
  text-align: left;
  color: var(--clr-text);
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  transition: color 0.2s ease;
}

.faq-item__q:hover {
  color: var(--clr-primary);
}

.faq-item__q h3 {
  font-size: inherit;
  font-weight: inherit;
}

.faq-item__toggle {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  color: var(--clr-primary);
  font-size: 13px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.faq-item.is-open .faq-item__toggle {
  transform: rotate(45deg);
  background: var(--clr-primary);
  color: var(--clr-white);
}

.faq-item__a {
  display: none;
  padding: 0 0 var(--gap-lg) 0;
  color: var(--clr-muted);
  font-size: 14px;
  line-height: 1.75;
}

.faq-item.is-open .faq-item__a {
  display: block;
}

/* ========== PAGE FOOTER ========== */
.page-footer {
  margin-top: var(--gap-3xl);
  border-top: 1px solid var(--border-dim);
  background: var(--clr-deep);
}

.page-footer__main {
  padding: var(--gap-xl) 0;
}

.page-footer__row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--gap-lg);
}

.page-footer__payments {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-md);
  justify-content: center;
  width: 100%;
}

.payment-icon {
  height: 46px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-icon img {
  height: 100%;
  width: auto;
  object-fit: contain;
  max-height: 30px;
}

.page-footer__legal {
  text-align: center;
  padding: var(--gap-lg) 0;
  border-top: 1px solid var(--border-dim);
  font-size: 12px;
  color: var(--clr-faded);
}

/* ========== STICKY ACTION ========== */
.sticky-action {
  position: fixed;
  bottom: var(--gap-lg);
  right: var(--gap-lg);
  z-index: 90;
}

.sticky-action .cta-btn {
  padding: 14px 26px;
  font-size: 15px;
}

.sticky-action.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

/* ========== RECENT WINS ========== */
.recent-wins {
  padding: var(--gap-xl) 0;
}

.recent-wins .live-wins {
  position: relative;
  top: auto;
}

.recent-wins .wins-feed {
  display: flex;
  flex-direction: row;
  gap: var(--gap-md);
  max-height: none;
  overflow-x: auto;
  padding-bottom: var(--gap-sm);
}

.recent-wins .win-entry {
  flex-shrink: 0;
  min-width: 190px;
}

/* ========== LIVE WINS SIDEBAR ========== */
.live-wins {
  background: var(--clr-surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: var(--gap-lg);
  position: sticky;
  top: 100px;
}

.live-wins__header {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  margin-bottom: var(--gap-md);
  padding-bottom: var(--gap-md);
  border-bottom: 1px solid var(--border-dim);
}

.live-wins__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-white);
}

.live-wins__dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.wins-feed {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  max-height: 400px;
  overflow: hidden;
}

.win-entry {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  padding: var(--gap-sm);
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.win-entry--fresh {
  background: rgba(16, 185, 129, 0.1);
}

.win-entry__thumb {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.win-entry__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.win-entry__details {
  flex: 1;
  min-width: 0;
}

.win-entry__player {
  font-size: 12px;
  font-weight: 600;
  color: var(--clr-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.win-entry__game {
  font-size: 11px;
  color: var(--clr-muted);
}

.win-entry__sum {
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-primary-light);
  white-space: nowrap;
}

/* Content with Winners Sidebar */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--gap-xl);
  align-items: start;
}

.content-with-sidebar .main-content {
  min-width: 0;
}

.winners-sidebar {
  position: sticky;
  top: 100px;
}

.winners-sidebar .live-wins {
  position: static;
}

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: var(--gap-xl);
  align-items: start;
}

.two-col__primary {
  min-width: 0;
}

.two-col__secondary {
  position: sticky;
  top: 100px;
}

/* ========== PAGE BODY (Inner pages) ========== */
.page-body {
  padding: var(--gap-2xl) 0;
}

.main-content {
  max-width: 100%;
  background: rgba(2, 44, 34, 0.7);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: var(--gap-xl);
  position: relative;
}

.main-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: var(--gap-xl);
  bottom: var(--gap-xl);
  width: 4px;
  background: var(--grad-main);
  border-radius: 2px;
}

.main-content__heading {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: var(--gap-xl);
  padding-left: var(--gap-lg);
}

.main-content__body {
  color: var(--clr-muted);
  line-height: 1.8;
  padding-left: var(--gap-lg);
}

.main-content__body p {
  margin-bottom: var(--gap-lg);
}

.main-content__body h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--clr-white);
  margin: var(--gap-2xl) 0 var(--gap-md);
}

.main-content__body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--clr-white);
  margin: var(--gap-xl) 0 var(--gap-md);
}

.main-content__body a {
  color: var(--clr-accent);
  text-decoration: underline;
  text-decoration-color: rgba(251, 191, 36, 0.4);
  text-underline-offset: 3px;
  transition: all 0.2s;
}

.main-content__body a:hover {
  color: var(--clr-accent-light);
  text-decoration-color: var(--clr-accent);
}

.main-content__body a.offer-box,
.main-content__body a.offer-box:hover {
  text-decoration: none !important;
}

.main-content__body ul,
.main-content__body ol {
  margin: var(--gap-md) 0 var(--gap-lg);
  padding-left: var(--gap-xl);
}

.main-content__body li {
  margin-bottom: var(--gap-sm);
}

.main-content__body ul li::marker {
  color: var(--clr-primary-light);
}

.main-content__body ol li::marker {
  color: var(--clr-primary-light);
  font-weight: 700;
}

.main-content__body table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--gap-lg) 0;
  font-size: 14px;
}

.main-content__body th,
.main-content__body td {
  padding: var(--gap-md);
  text-align: left;
  border-bottom: 1px solid var(--border-dim);
}

.main-content__body th {
  background: rgba(16, 185, 129, 0.1);
  color: var(--clr-primary-light);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.main-content__body td {
  color: var(--clr-muted);
}

.main-content__body tr:hover td {
  background: rgba(255,255,255,0.015);
}

.main-content__body strong {
  color: var(--clr-white);
  font-weight: 600;
}

/* FAQ Section Title */
.faq-block__title {
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  margin-bottom: var(--gap-xl);
}

.faq-block__title i {
  color: var(--clr-primary);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-section__layout {
    grid-template-columns: 1fr;
    gap: var(--gap-xl);
  }

  .hero-section__media {
    order: -1;
    text-align: center;
  }

  .hero-section__media img {
    max-width: 360px;
    margin: 0 auto;
  }

  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .providers-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .two-col__secondary {
    display: none;
  }

  .content-with-sidebar {
    grid-template-columns: 1fr;
  }

  .winners-sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  .main-header__row {
    padding: var(--gap-sm) 0;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--clr-base);
    border-top: 1px solid var(--border-dim);
    border-bottom: 1px solid var(--border-dim);
    padding: var(--gap-md);
    flex-direction: column;
    gap: var(--gap-sm);
    z-index: 100;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu__item {
    padding: var(--gap-md);
    text-align: center;
    background: rgba(255,255,255,0.025);
    border-radius: var(--radius-sm);
  }

  .nav-menu__cta-mobile {
    display: flex;
    gap: var(--gap-sm);
    padding-top: var(--gap-md);
    margin-top: var(--gap-sm);
    border-top: 1px solid var(--border-dim);
    justify-content: center;
  }

  .header-btns {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-section {
    padding: var(--gap-xl) 0 var(--gap-2xl);
  }

  .hero-section__heading {
    font-size: 26px;
  }

  .kpi-strip__row {
    gap: var(--gap-md);
  }

  .metric-card {
    width: 78px;
    height: 78px;
  }

  .metric-card__num {
    font-size: 14px;
  }

  .metric-card__txt {
    font-size: 9px;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .providers-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .text-panel {
    padding: var(--gap-lg);
  }

  .text-panel__title {
    font-size: 20px;
  }

  .offer-box {
    flex-direction: column;
    text-align: center;
  }

  .page-footer__row {
    flex-direction: column;
    text-align: center;
  }

  .sticky-action {
    bottom: var(--gap-md);
    right: var(--gap-md);
    left: var(--gap-md);
  }

  .sticky-action .cta-btn {
    width: 100%;
    justify-content: center;
  }

  .main-content {
    padding: var(--gap-lg);
  }

  .main-content__heading,
  .main-content__body {
    padding-left: var(--gap-md);
  }

  .recent-wins .wins-feed {
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .games-grid {
    grid-template-columns: 1fr 1fr;
  }

  .providers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-card {
    width: 68px;
    height: 68px;
  }
}

/* ========== 404 PAGE ========== */
.error-page {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
}

.error-page .container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.error-box {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.error-box__code {
  font-size: clamp(110px, 22vw, 180px);
  font-weight: 900;
  line-height: 1;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 70px rgba(16, 185, 129, 0.3);
  margin-bottom: var(--gap-md);
}

.error-box__title {
  font-size: clamp(22px, 4.5vw, 32px);
  font-weight: 700;
  margin-bottom: var(--gap-md);
  color: var(--clr-text);
}

.error-box__text {
  font-size: 17px;
  color: var(--clr-muted);
  margin-bottom: var(--gap-xl);
  line-height: 1.7;
}

.error-box__actions {
  display: flex;
  gap: var(--gap-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--gap-2xl);
}

.error-box__nav {
  padding-top: var(--gap-xl);
  border-top: 1px solid var(--border-dim);
}

.error-box__nav p {
  color: var(--clr-muted);
  margin-bottom: var(--gap-md);
  font-size: 14px;
}

.error-box__links {
  display: flex;
  gap: var(--gap-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.error-box__links a {
  color: var(--clr-accent);
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
}

.error-box__links a:hover {
  color: var(--clr-accent-light);
}

@media (max-width: 480px) {
  .error-box__actions {
    flex-direction: column;
  }

  .error-box__actions .cta-btn {
    width: 100%;
    justify-content: center;
  }

  .error-box__links {
    flex-direction: column;
    gap: var(--gap-md);
  }
}
