/* =========================================
   BIG FISH CASINO DE — Master Stylesheet
   Brand: Dark Navy #060D1E / Gold #D4AF37
   v1.0
   ========================================= */

/* 1. CSS VARIABLES
   ========================================= */
:root {
  /* Navy Palette */
  --c-bg: #060D1E;
  --c-bg-2: #0A1628;
  --c-bg-3: #0D1F45;
  --c-bg-4: #142456;
  --c-card: #0B1730;

  /* Gold Palette */
  --c-gold: #D4AF37;
  --c-gold-light: #F5D060;
  --c-gold-dark: #9A7B10;
  --c-gold-mid: #C09B20;

  /* Silver / Text */
  --c-silver: #C8CDE0;
  --c-silver-2: #9BAAC8;
  --c-text: #EDF0F8;
  --c-text-muted: #7888A8;
  --c-white: #FFFFFF;

  /* Semantic */
  --c-green: #00C878;
  --c-red: #FF4444;
  --c-orange: #FF8C00;
  --c-blue: #4A9FE8;

  /* Gradients */
  --grad-gold: linear-gradient(135deg, #9A7B10 0%, #D4AF37 40%, #F5D060 55%, #D4AF37 70%, #9A7B10 100%);
  --grad-navy: linear-gradient(180deg, #060D1E 0%, #0D1F45 100%);
  --grad-hero: linear-gradient(135deg, #030810 0%, #060D1E 45%, #0A1628 100%);
  --grad-card: linear-gradient(135deg, rgba(13, 31, 69, .95) 0%, rgba(11, 23, 48, .98) 100%);

  /* Shadows */
  --shadow-gold-sm: 0 0 12px rgba(212, 175, 55, .25);
  --shadow-gold-md: 0 0 24px rgba(212, 175, 55, .40);
  --shadow-gold-lg: 0 0 50px rgba(212, 175, 55, .55);
  --shadow-card: 0 6px 30px rgba(0, 0, 0, .55);
  --shadow-btn: 0 4px 16px rgba(212, 175, 55, .35);

  /* Borders */
  --border-gold: 1px solid rgba(212, 175, 55, .30);
  --border-gold-b: 1px solid rgba(212, 175, 55, .60);
  --border-silver: 1px solid rgba(200, 205, 224, .15);
  --border-color: rgba(212, 175, 55, .20);

  /* Layout */
  --max-w: 1280px;
  --hdr-h: 76px;
  --sec-pad: 90px 0;
  --radius: 12px;
  --radius-lg: 20px;
}

/* 2. RESET & BASE
   ========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--c-gold);
  text-decoration: none;
  transition: color .2s;
}

a:hover {
  color: var(--c-gold-light);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-text);
}

h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--c-silver);
}

p:last-child {
  margin-bottom: 0;
}

/* 3. UTILITY CLASSES
   ========================================= */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--sec-pad);
}

.section--alt {
  background: var(--c-bg-2);
}

.section--dark2 {
  background: var(--c-bg-3);
}

.text-center {
  text-align: center;
}

.text-gold {
  color: var(--c-gold);
}

.text-silver {
  color: var(--c-silver);
}

.text-muted {
  color: var(--c-text-muted);
}

.gold-line::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  background: var(--grad-gold);
  margin: 16px 0 0;
  border-radius: 2px;
}

.gold-line.center::after {
  margin: 16px auto 0;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(212, 175, 55, .15);
  border: var(--border-gold);
  border-radius: 20px;
  font-size: .78rem;
  color: var(--c-gold);
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.tag-new {
  display: inline-block;
  padding: 2px 8px;
  background: var(--c-green);
  color: #000;
  font-size: .7rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
}

.tag-hot {
  display: inline-block;
  padding: 2px 8px;
  background: var(--c-red);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
}

/* 4. BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all .25s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold {
  background: var(--grad-gold);
  color: #000;
  box-shadow: var(--shadow-btn);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-md);
  color: #000;
}

.btn-outline {
  background: transparent;
  border: var(--border-gold-b);
  color: var(--c-gold);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, .1);
  color: var(--c-gold-light);
}

.btn-lg {
  padding: 15px 38px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: .88rem;
}

.btn-dark {
  background: rgba(255, 255, 255, .07);
  border: var(--border-silver);
  color: var(--c-text);
}

.btn-dark:hover {
  background: rgba(255, 255, 255, .12);
  color: var(--c-white);
}

/* 5. HEADER / NAVIGATION
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 13, 30, .95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: var(--border-gold);
  height: var(--hdr-h);
  display: flex;
  align-items: center;
}

.header-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img {
  height: 52px;
  width: auto;
}

.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.main-nav a {
  padding: 8px 14px;
  color: var(--c-silver);
  font-size: .93rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all .2s;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--c-gold);
  background: rgba(212, 175, 55, .08);
}

.header-cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta .btn-tracker {
  animation: pulseGold 2.5s ease-in-out infinite;
}

@keyframes pulseGold {

  0%,
  100% {
    box-shadow: var(--shadow-btn);
  }

  50% {
    box-shadow: var(--shadow-gold-md);
  }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: transparent;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-gold);
  border-radius: 2px;
  transition: all .3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--hdr-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 13, 30, .98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 30px 24px;
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  display: block;
  padding: 14px 40px;
  color: var(--c-text);
  font-size: 1.1rem;
  font-weight: 600;
  border: var(--border-silver);
  border-radius: var(--radius);
  text-align: center;
  width: 100%;
  max-width: 340px;
  transition: all .2s;
}

.mobile-menu a:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
}

.mobile-menu .btn-gold {
  border: none;
  color: #000;
}

.mobile-tracker {
  margin-top: 10px;
  width: 100%;
  max-width: 340px;
}

.mobile-tracker .btn {
  width: 100%;
  justify-content: center;
}

/* 6. HERO SECTIONS
   ========================================= */
/* Hero A — Full overlay with particles (Homepage) */
.hero-main {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--grad-hero);
}

.hero-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 50%, rgba(212, 175, 55, .08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 20%, rgba(74, 159, 232, .06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-main .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
  z-index: 2;
}

.hero-text .eyebrow {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 16px;
}

.hero-text h1 {
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: var(--c-gold);
}

.hero-text .hero-desc {
  font-size: 1.1rem;
  color: var(--c-silver);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .val {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--c-gold);
  line-height: 1;
}

.hero-stat .lbl {
  font-size: .78rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: .8px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img,
.hero-visual svg {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 10px 40px rgba(212, 175, 55, .2));
}

/* Hero B — Slim banner (inner pages) */
.hero-inner {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
}

.hero-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
}

.hero-inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--c-bg));
  pointer-events: none;
}

.hero-inner .container {
  position: relative;
  z-index: 2;
}

.hero-inner .breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .85rem;
  color: var(--c-text-muted);
  margin-bottom: 16px;
}

.hero-inner .breadcrumb a {
  color: var(--c-gold-mid);
}

.hero-inner .breadcrumb span {
  color: var(--c-text-muted);
}

/* 7. CARD COMPONENTS
   ========================================= */
.card {
  background: var(--grad-card);
  border: var(--border-gold);
  border-radius: var(--radius);
  padding: 28px;
  transition: all .3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold-sm);
  border-color: rgba(212, 175, 55, .5);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(212, 175, 55, .12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.6rem;
}

.card-img {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
  aspect-ratio: 16 / 9;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.card:hover .card-img img {
  transform: scale(1.04);
}

.card-title {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.card-meta {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  font-size: .82rem;
  color: var(--c-text-muted);
}

/* Grid layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* 8. SECTION HEADERS
   ========================================= */
.sec-header {
  margin-bottom: 48px;
}

.sec-header.center {
  text-align: center;
}

.sec-header .eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 10px;
}

.sec-header h2 {
  margin-bottom: 12px;
}

.sec-header p {
  max-width: 640px;
}

.sec-header.center p {
  margin-left: auto;
  margin-right: auto;
}

/* 9. TABLES
   ========================================= */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: var(--border-gold);
}

.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: .93rem;
}

.data-table thead tr {
  background: linear-gradient(135deg, var(--c-bg-4), var(--c-bg-3));
}

.data-table thead th {
  padding: 14px 18px;
  text-align: left;
  color: var(--c-gold);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  white-space: nowrap;
  border-bottom: var(--border-gold);
}

.data-table tbody tr {
  border-bottom: var(--border-silver);
  transition: background .15s;
}

.data-table tbody tr:hover {
  background: rgba(212, 175, 55, .04);
}

.data-table tbody tr:last-child {
  border-bottom: none;
}

.data-table td {
  padding: 13px 18px;
  color: var(--c-silver);
  vertical-align: middle;
  white-space: nowrap;
}

.data-table td strong {
  color: var(--c-text);
}

.data-table .rank {
  font-weight: 800;
  color: var(--c-gold);
  font-size: 1rem;
}

.data-table .rtp-bar-cell {
  min-width: 200px;
}

.rtp-bar-bg {
  height: 8px;
  background: rgba(255, 255, 255, .08);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 4px;
}

.rtp-bar-fill {
  height: 100%;
  background: var(--grad-gold);
  border-radius: 4px;
}

.star-rating {
  color: var(--c-gold);
  font-size: 1.1rem;
  letter-spacing: 1px;
}

/* 10. CHART CONTAINERS
   ========================================= */
.chart-wrap {
  background: var(--grad-card);
  border: var(--border-gold);
  border-radius: var(--radius);
  padding: 28px;
}

.chart-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 6px;
}

.chart-subtitle {
  font-size: .82rem;
  color: var(--c-text-muted);
  margin-bottom: 20px;
}

.chart-canvas-wrap {
  position: relative;
  height: 280px;
}

.chart-canvas-wrap.tall {
  height: 340px;
}

.chart-canvas-wrap.short {
  height: 220px;
}

/* SVG Charts */
.svg-chart-wrap {
  background: var(--grad-card);
  border: var(--border-gold);
  border-radius: var(--radius);
  padding: 28px;
  overflow-x: auto;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  font-size: .83rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--c-silver);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Progress bars */
.progress-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
}

.progress-label span:first-child {
  color: var(--c-text);
  font-weight: 600;
}

.progress-label span:last-child {
  color: var(--c-gold);
  font-weight: 700;
}

.progress-track {
  height: 10px;
  background: rgba(255, 255, 255, .06);
  border-radius: 5px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--grad-gold);
  border-radius: 5px;
  transition: width 1s ease;
}

/* 11. BONUS CARDS
   ========================================= */
.bonus-card {
  background: var(--grad-card);
  border: var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all .3s;
}

.bonus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-gold);
}

.bonus-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold-md);
}

.bonus-card .amount {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--c-gold);
  line-height: 1.1;
  margin: 14px 0 8px;
}

.bonus-card .amount sub {
  font-size: 1.2rem;
}

.bonus-card ul {
  text-align: left;
  margin: 16px 0 20px;
}

.bonus-card ul li {
  padding: 6px 0;
  border-bottom: var(--border-silver);
  color: var(--c-silver);
  font-size: .9rem;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.bonus-card ul li::before {
  content: '✓';
  color: var(--c-green);
  font-weight: 700;
  flex-shrink: 0;
}

/* 12. VIP LEVELS
   ========================================= */
.vip-level {
  background: var(--grad-card);
  border: var(--border-silver);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all .3s;
  position: relative;
}

.vip-level.highlight {
  border-color: rgba(212, 175, 55, .5);
  box-shadow: var(--shadow-gold-sm);
}

.vip-level.highlight::after {
  content: 'Beliebt';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-gold);
  color: #000;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.vip-level:hover {
  transform: translateY(-4px);
}

.vip-badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 2px solid rgba(212, 175, 55, .3);
}

.vip-badge.bronze {
  background: radial-gradient(circle, #6B3A1F, #3D1D09);
}

.vip-badge.silver {
  background: radial-gradient(circle, #9CA3B5, #5A6378);
}

.vip-badge.gold {
  background: radial-gradient(circle, #D4AF37, #7A6010);
}

.vip-badge.platinum {
  background: radial-gradient(circle, #8BE8E8, #3A8080);
}

.vip-badge.diamond {
  background: radial-gradient(circle, #B8D4FF, #4060C0);
}

/* 13. TESTIMONIALS
   ========================================= */
.testimonial {
  background: var(--grad-card);
  border: var(--border-silver);
  border-radius: var(--radius);
  padding: 28px;
}

.testimonial .quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--c-silver);
  margin-bottom: 18px;
  line-height: 1.8;
}

.testimonial .quote::before {
  content: '"';
  color: var(--c-gold);
  font-size: 2rem;
  line-height: 0;
  vertical-align: -0.4rem;
  margin-right: 4px;
}

.testimonial .author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial .author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, .4);
  flex-shrink: 0;
}

.testimonial .author-name {
  font-weight: 700;
  color: var(--c-text);
  font-size: .95rem;
}

.testimonial .author-since {
  font-size: .8rem;
  color: var(--c-text-muted);
}

/* 14. STATS COUNTER BLOCKS
   ========================================= */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border-gold);
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--border-gold);
}

.stat-block {
  background: var(--c-card);
  padding: 32px 20px;
  text-align: center;
  transition: background .2s;
}

.stat-block:hover {
  background: var(--c-bg-3);
}

.stat-block .num {
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-block .desc {
  font-size: .85rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: .8px;
}

/* 15. TIMELINE
   ========================================= */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-gold), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, .5);
}

.timeline-item .year {
  font-size: .82rem;
  font-weight: 700;
  color: var(--c-gold);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.timeline-item h4 {
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: .9rem;
  margin: 0;
}

/* 16. AUTHOR BIO
   ========================================= */
.author-bio {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: start;
  background: var(--grad-card);
  border: var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.author-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, .4);
  aspect-ratio: 4/5;
}

.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info .name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 4px;
}

.author-info .role {
  font-size: .9rem;
  color: var(--c-gold);
  font-weight: 600;
  margin-bottom: 16px;
}

.author-info p {
  font-size: .95rem;
}

.author-socials {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.author-socials a {
  width: 38px;
  height: 38px;
  background: rgba(212, 175, 55, .1);
  border: var(--border-gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-gold);
  font-size: 1rem;
  transition: all .2s;
}

.author-socials a:hover {
  background: rgba(212, 175, 55, .2);
  color: var(--c-gold-light);
}

/* 17. FORMS
   ========================================= */
.form-page {
  min-height: calc(100vh - var(--hdr-h));
  display: flex;
  align-items: center;
  padding: 60px 24px;
  background: var(--grad-hero);
}

.form-box {
  background: var(--grad-card);
  border: var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 44px;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.form-box h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  text-align: center;
}

.form-box .sub {
  text-align: center;
  color: var(--c-text-muted);
  font-size: .9rem;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--c-silver);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, .05);
  border: var(--border-silver);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--c-text);
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  font-family: inherit;
}

.form-control:focus {
  border-color: rgba(212, 175, 55, .5);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .12);
}

.form-control::placeholder {
  color: var(--c-text-muted);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: var(--c-silver);
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--c-gold);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 24px;
}

.form-divider {
  text-align: center;
  font-size: .85rem;
  color: var(--c-text-muted);
  margin: 20px 0;
  position: relative;
}

.form-divider::before,
.form-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: var(--border-silver);
}

.form-divider::before {
  left: 0;
}

.form-divider::after {
  right: 0;
}

.form-footer {
  text-align: center;
  font-size: .88rem;
  color: var(--c-silver);
  margin-top: 16px;
}

select.form-control {
  appearance: none;
  cursor: pointer;
}

/* 18. GAME CARDS
   ========================================= */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.game-card {
  background: var(--c-card);
  border: var(--border-silver);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all .3s;
  position: relative;
}

.game-card:hover {
  border-color: rgba(212, 175, 55, .4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.game-card-img {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  position: relative;
}

.game-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.game-card:hover .game-card-img img {
  transform: scale(1.08);
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 13, 30, .9) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity .3s;
}

.game-card:hover .game-card-overlay {
  opacity: 1;
}

.game-card-body {
  padding: 12px 14px;
}

.game-card-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
}

.game-card-meta {
  font-size: .78rem;
  color: var(--c-text-muted);
  display: flex;
  justify-content: space-between;
}

.game-rtp {
  color: var(--c-green);
  font-weight: 600;
}

/* 19. APP SECTION
   ========================================= */
.app-stores {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .06);
  border: var(--border-silver);
  border-radius: 10px;
  padding: 12px 20px;
  transition: all .2s;
  color: var(--c-text);
}

.store-btn:hover {
  background: rgba(212, 175, 55, .1);
  border-color: rgba(212, 175, 55, .3);
  color: var(--c-gold);
}

.store-btn .store-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.store-btn .store-text .small {
  font-size: .7rem;
  color: var(--c-text-muted);
  display: block;
}

.store-btn .store-text .big {
  font-size: .95rem;
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: rgba(255, 255, 255, .03);
  border: var(--border-silver);
  border-radius: var(--radius);
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(212, 175, 55, .1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-text h4 {
  margin-bottom: 4px;
}

.feature-text p {
  font-size: .87rem;
  margin: 0;
}

/* 20. TOURNAMENT BRACKETS
   ========================================= */
.tournament-banner {
  background: linear-gradient(135deg, var(--c-bg-3), var(--c-bg-4));
  border: var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.tournament-banner::before {
  content: '🏆';
  position: absolute;
  right: -20px;
  top: -20px;
  font-size: 10rem;
  opacity: .05;
  transform: rotate(15deg);
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 68, 68, .15);
  color: var(--c-red);
  border: 1px solid rgba(255, 68, 68, .3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--c-red);
  border-radius: 50%;
  animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .2
  }
}

.prize-current .amount {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--c-gold);
  line-height: 1;
}

.prize-current .label {
  font-size: .85rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.leaderboard {
  background: var(--grad-card);
  border: var(--border-silver);
  border-radius: var(--radius);
  overflow: hidden;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 40px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: var(--border-silver);
  transition: background .15s;
}

.leaderboard-row:last-child {
  border-bottom: none;
}

.leaderboard-row:hover {
  background: rgba(212, 175, 55, .04);
}

.leaderboard-row:nth-child(1) .lb-rank {
  color: #FFD700;
  font-size: 1.2rem;
}

.leaderboard-row:nth-child(2) .lb-rank {
  color: var(--c-silver);
  font-size: 1.1rem;
}

.leaderboard-row:nth-child(3) .lb-rank {
  color: #CD7F32;
  font-size: 1.1rem;
}

.lb-rank {
  font-weight: 800;
  text-align: center;
}

.lb-player {
  font-weight: 600;
  color: var(--c-text);
}

.lb-score {
  font-size: .9rem;
  color: var(--c-text-muted);
}

.lb-prize {
  font-weight: 700;
  color: var(--c-gold);
}

/* 21. FOOTER
   ========================================= */
.site-footer {
  background: var(--c-bg);
  border-top: var(--border-gold);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .site-logo {
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: .88rem;
  color: var(--c-text-muted);
  max-width: 280px;
  line-height: 1.6;
}

.footer-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--c-text-muted);
  font-size: .9rem;
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--c-gold);
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, .05);
  border: var(--border-silver);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-silver);
  font-size: 1rem;
  transition: all .2s;
}

.footer-socials a:hover {
  background: rgba(212, 175, 55, .15);
  color: var(--c-gold);
  border-color: rgba(212, 175, 55, .3);
}

.footer-bottom {
  border-top: var(--border-silver);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: .82rem;
  color: var(--c-text-muted);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  font-size: .82rem;
  color: var(--c-text-muted);
}

.footer-bottom-links a:hover {
  color: var(--c-gold);
}

.responsible-gaming {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, .03);
  border: var(--border-silver);
  border-radius: 8px;
}

.responsible-gaming p {
  font-size: .78rem;
  color: var(--c-text-muted);
  margin: 0;
}

.age-badge {
  width: 38px;
  height: 38px;
  background: rgba(255, 68, 68, .15);
  border: 1px solid rgba(255, 68, 68, .3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 800;
  color: var(--c-red);
  flex-shrink: 0;
}

/* 22. SEO TEXT SECTION
   ========================================= */
.seo-section {
  padding: 70px 0;
  border-top: var(--border-silver);
}

.seo-content {
  max-width: 900px;
}

.seo-content h2 {
  margin-bottom: 16px;
}

.seo-content h3 {
  margin: 32px 0 12px;
  color: var(--c-gold);
  font-size: 1.15rem;
}

.seo-content p {
  color: var(--c-silver);
  font-size: .97rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.seo-content a {
  color: var(--c-gold);
  text-decoration: underline;
  text-decoration-color: rgba(212, 175, 55, .4);
}

.seo-content a:hover {
  color: var(--c-gold-light);
  text-decoration-color: var(--c-gold);
}

.seo-content ul {
  margin: 12px 0 20px 20px;
  list-style: disc;
}

.seo-content ul li {
  color: var(--c-silver);
  font-size: .95rem;
  margin-bottom: 6px;
}

/* Two-col SEO layout */
.seo-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* 23. TECH PAGE STYLES (Privacy, Terms, Sitemap)
   ========================================= */
.legal-page {
  max-width: 820px;
  padding: 60px 24px;
  margin: 0 auto;
}

.legal-page h1 {
  margin-bottom: 8px;
}

.legal-page .updated {
  font-size: .85rem;
  color: var(--c-text-muted);
  margin-bottom: 36px;
}

.legal-page h2 {
  margin: 36px 0 14px;
  font-size: 1.25rem;
  color: var(--c-gold);
}

.legal-page h3 {
  margin: 24px 0 10px;
  font-size: 1.05rem;
}

.legal-page p {
  color: var(--c-silver);
  font-size: .95rem;
  line-height: 1.8;
}

.legal-page ul {
  margin: 10px 0 18px 20px;
  list-style: disc;
}

.legal-page ul li {
  color: var(--c-silver);
  font-size: .93rem;
  margin-bottom: 5px;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.sitemap-cat h3 {
  color: var(--c-gold);
  margin-bottom: 14px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sitemap-cat ul {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sitemap-cat ul a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-silver);
  font-size: .9rem;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .03);
  border: var(--border-silver);
  border-radius: 6px;
  transition: all .2s;
}

.sitemap-cat ul a:hover {
  color: var(--c-gold);
  background: rgba(212, 175, 55, .06);
}

/* 24. 404 PAGE
   ========================================= */
.page-404 {
  min-height: calc(100vh - var(--hdr-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}

.page-404 .code {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 900;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.page-404 h1 {
  margin-bottom: 12px;
}

.page-404 p {
  max-width: 420px;
  margin: 0 auto 28px;
}

/* 25. SCROLL TOP BUTTON
   ========================================= */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 24px;
  width: 46px;
  height: 46px;
  background: var(--grad-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  border: none;
  box-shadow: var(--shadow-btn);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  transform: translateY(-3px);
}

/* 26. COOKIE BANNER
   ========================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 22, 40, .97);
  backdrop-filter: blur(12px);
  border-top: var(--border-gold);
  padding: 20px 24px;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  font-size: .88rem;
  color: var(--c-silver);
  flex: 1;
  min-width: 200px;
}

.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-banner.hidden {
  display: none;
}

/* 27. FILTERS / TABS
   ========================================= */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.tab-btn {
  padding: 9px 20px;
  background: rgba(255, 255, 255, .05);
  border: var(--border-silver);
  border-radius: 6px;
  color: var(--c-silver);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.tab-btn:hover,
.tab-btn.active {
  background: rgba(212, 175, 55, .12);
  border-color: rgba(212, 175, 55, .4);
  color: var(--c-gold);
}

/* FAQ */
.faq-item {
  border: var(--border-silver);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: var(--c-card);
  border: none;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--c-text);
  font-size: .97rem;
  font-weight: 600;
  text-align: left;
  transition: background .2s;
  font-family: inherit;
}

.faq-question:hover {
  background: rgba(212, 175, 55, .06);
}

.faq-chevron {
  color: var(--c-gold);
  font-size: 1rem;
  transition: transform .3s;
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s;
  padding: 0 22px;
  background: rgba(255, 255, 255, .02);
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 18px 22px;
}

.faq-answer p {
  font-size: .92rem;
  color: var(--c-silver);
  margin: 0;
}

/* 28. RATING STARS
   ========================================= */
.rating-display {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rating-label {
  min-width: 100px;
  font-size: .87rem;
  color: var(--c-silver);
}

.rating-stars {
  display: flex;
  gap: 3px;
}

.rating-star {
  color: var(--c-text-muted);
  font-size: 1rem;
}

.rating-star.filled {
  color: var(--c-gold);
}

.rating-num {
  font-weight: 700;
  color: var(--c-text);
  margin-left: 4px;
  font-size: .9rem;
}

/* =========================================
   MOBILE RESPONSIVE — 1024px, 768px, 480px
   ========================================= */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hero-main .container {
    gap: 32px;
  }
}

@media (max-width: 1024px) {
  :root {
    --hdr-h: 68px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .seo-two-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .main-nav {
    gap: 2px;
  }

  .main-nav a {
    padding: 8px 10px;
    font-size: .85rem;
  }
}

@media (max-width: 900px) {
  .hero-main .container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .author-bio {
    grid-template-columns: 1fr;
  }

  .author-photo {
    max-width: 180px;
  }

  .tournament-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --hdr-h: 62px;
    --sec-pad: 56px 0;
    --radius: 10px;
    --radius-lg: 14px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .form-box {
    padding: 32px 24px;
  }

  .bonus-card {
    padding: 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .sitemap-grid {
    grid-template-columns: 1fr;
  }

  .chart-canvas-wrap {
    height: 220px !important;
  }

  .sec-header {
    margin-bottom: 32px;
  }

  .hero-main {
    min-height: auto;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat .val {
    font-size: 1.4rem;
  }

  .table-wrap {
    margin-left: -24px;
    margin-right: -24px;
    border-radius: 0;
  }

  .data-table {
    font-size: .84rem;
  }

  .data-table td {
    padding: 10px 12px;
    white-space: nowrap;
  }

  .data-table th {
    padding: 12px 12px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  :root {
    --sec-pad: 44px 0;
  }

  .btn-lg {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .stat-block {
    padding: 22px 16px;
  }

  .game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .app-stores {
    flex-direction: column;
  }

  .store-btn {
    justify-content: center;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .vip-level {
    padding: 18px 16px;
  }

  .cookie-banner {
    flex-direction: column;
    gap: 14px;
  }

  .cookie-banner .cookie-actions {
    width: 100%;
  }

  .cookie-banner .cookie-actions .btn {
    flex: 1;
    justify-content: center;
  }

  .author-bio {
    padding: 24px 18px;
  }

  .leaderboard-row {
    grid-template-columns: 32px 1fr auto;
    gap: 10px;
  }

  .lb-score {
    display: none;
  }
}

/* ========================================= */
/* ACCESSIBILITY — Skip Link                 */
/* ========================================= */
.skip-link {
  position: absolute;
  top: -100%;
  left: 8px;
  background: var(--c-gold);
  color: #000;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 0 0 8px 8px;
  z-index: 10000;
  text-decoration: none;
  transition: top .15s ease;
  font-size: .95rem;
}

.skip-link:focus {
  top: 0;
}

/* ========================================= */
/* ACCESSIBILITY — Focus Visible             */
/* ========================================= */
:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ========================================= */
/* ACCESSIBILITY — Touch Targets (44px min)  */
/* ========================================= */
.btn {
  min-height: 44px;
}

.hamburger {
  min-width: 44px;
  min-height: 44px;
}

.scroll-top {
  min-width: 44px;
  min-height: 44px;
}

/* ========================================= */
/* PRINT STYLES                              */
/* ========================================= */
@media print {

  .site-header,
  .mobile-menu,
  .site-footer .footer-cta,
  .cookie-banner,
  .scroll-top,
  #hero-canvas,
  .btn-tracker {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
    line-height: 1.5;
  }

  a {
    color: #000 !important;
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: .8em;
    color: #555;
  }

  a[href^="https://adminclick.org"]::after {
    content: "";
  }

  .container {
    max-width: 100%;
    padding: 0 16px;
  }

  .section--alt {
    background: #f5f5f5 !important;
  }

  h1,
  h2,
  h3 {
    color: #000 !important;
    page-break-after: avoid;
  }

  .card,
  .bonus-card,
  .vip-level {
    border: 1px solid #ccc !important;
    background: #fff !important;
  }

  .site-footer {
    background: #fff !important;
    color: #000 !important;
    border-top: 1px solid #ccc;
  }

  .site-footer a {
    color: #000 !important;
  }
}


/* BULLETPROOF MOBILE FIXES FOR CARDS, DIAGRAMS, TABLES */
@media (max-width: 768px) {

  /* Grids to single column */
  .grid-4,
  .grid-3,
  .grid-2,
  .grid-auto,
  .game-grid,
  .sitemap-grid,
  .feature-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Cards */
  .card,
  .bonus-card,
  .bracket-card,
  .vip-level,
  .testimonial {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 18px !important;
  }

  /* Diagrams/Charts */
  .chart-wrap,
  .svg-chart-wrap {
    padding: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
  }

  .chart-canvas-wrap {
    width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
  }

  /* Tables */
  .table-wrap {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: var(--radius) !important;
  }

  .data-table {
    min-width: max-content !important;
    width: 100% !important;
  }

  .data-table th,
  .data-table td {
    padding: 10px 14px !important;
    font-size: 0.85rem !important;
    white-space: nowrap !important;
  }

  /* Helper to stop global horizontal scroll */
  body {
    overflow-x: hidden !important;
    width: 100% !important;
  }
}

/* CRITICAL GRID BLOWOUT FIX */
@media (max-width: 768px) {
  .container {
    width: 100% !important;
    overflow: hidden !important;
    /* Or overflow: clip to prevent container itself from blowing out horizontally but still be visible */
  }

  /* The golden rule for preventing Grid blowout: min-width: 0 */
  .grid-4>*,
  .grid-3>*,
  .grid-2>*,
  .grid-auto>*,
  .game-grid>*,
  .bracket-grid>*,
  .feature-grid>*,
  .sitemap-grid>* {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* Ensure canvas can shrink */
  .chart-canvas-wrap canvas {
    max-width: 100% !important;
  }
}

/* CTA MOBILE FIX */
@media (max-width: 900px) {
  .header-cta .btn-dark {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .site-logo img {
    height: 40px !important;
    width: auto !important;
  }

  .header-inner {
    padding: 0 16px !important;
    gap: 8px !important;
  }

  .header-cta .btn-gold {
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
  }
}