/* ============================================
   Chicken Train Casino — styles.css
   Mobile-first responsive design
   Game theme: Gold, Brown, Green
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --gold-light: #FFE566;
  --gold: #FFD700;
  --gold-mid: #E8A317;
  --gold-dark: #C68E17;
  --brown-dark: #1a0e08;
  --brown: #2d1810;
  --brown-mid: #4a2c1a;
  --brown-light: #6b4226;
  --beige: #F5E6C8;
  --beige-light: #FFF8E7;
  --green: #BFD653;
  --green-dark: #9ab642;
  --red: #e74c3c;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --gray-900: #212529;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-heading: 'Arial Black', 'Impact', var(--font-body);
  --max-width: 1200px;
  --header-height: 64px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 2px 8px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.2);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-900);
  background: var(--beige-light);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-dark);
  text-decoration: underline;
  transition: color var(--transition);
}

a:hover {
  color: var(--brown);
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--brown);
}

h1 { font-size: 1.8rem; margin-bottom: 0.5em; }
h2 { font-size: 1.5rem; margin-bottom: 0.5em; margin-top: 1.5em; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; margin-top: 1.2em; }
h4 { font-size: 1.1rem; margin-bottom: 0.3em; }

p { margin-bottom: 1em; }

ul, ol {
  margin-bottom: 1em;
  padding-left: 1.5em;
}

li { margin-bottom: 0.3em; }

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
  font-size: 0.95rem;
}

th, td {
  padding: 0.6em 0.8em;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

th {
  background: var(--brown);
  color: var(--gold);
  font-weight: 700;
}

tr:nth-child(even) {
  background: var(--gray-100);
}

/* --- Skip Link (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--gold);
  color: var(--brown-dark);
  padding: 0.75em 1.5em;
  font-weight: 700;
  z-index: 10000;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

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

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--brown-dark);
  box-shadow: var(--shadow);
  height: var(--header-height);
}

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

.header-logo img {
  height: 40px;
  width: auto;
}

.header-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

/* Desktop nav — hidden on mobile */
.main-nav {
  display: none;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  padding: 0;
  margin: 0;
}

.main-nav a {
  color: var(--beige);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255,215,0,0.15);
  color: var(--gold);
}

/* Play Now button */
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: var(--brown-dark);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-play:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  color: var(--brown-dark);
}

/* Burger menu button */
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--beige);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.burger-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--brown-dark);
  z-index: 999;
  padding: 24px 16px;
  overflow-y: auto;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu a {
  display: block;
  color: var(--beige);
  text-decoration: none;
  padding: 14px 16px;
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition);
}

.mobile-menu a:hover {
  background: rgba(255,215,0,0.1);
  color: var(--gold);
}

.mobile-menu .btn-play {
  display: block;
  text-align: center;
  margin-top: 16px;
  padding: 16px;
  font-size: 1.1rem;
}

/* --- Sticky Bottom CTA (mobile) --- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--brown-dark);
  padding: 10px 16px;
  z-index: 998;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform var(--transition);
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.sticky-cta-text {
  color: var(--beige);
  font-size: 0.85rem;
  font-weight: 600;
}

.sticky-cta .btn-play {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 100%);
  color: var(--white);
  padding: 32px 0 48px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.hero.hero-bg {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero.hero-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(26,14,8,0.88) 0%, rgba(45,24,16,0.82) 50%, rgba(26,14,8,0.75) 100%);
  pointer-events: none;
}

.hero:not(.hero-bg)::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(255,215,0,0.08) 0%, transparent 60%);
  pointer-events: none;
}

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

.hero h1 {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 0.3em;
}

.hero-subtitle {
  color: var(--beige);
  font-size: 1rem;
  margin-bottom: 1.5em;
  max-width: 600px;
  opacity: 0.9;
}

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 24px 0;
  box-shadow: var(--shadow-lg);
}

.hero-image img,
.hero-image video {
  width: 100%;
  display: block;
}

/* Hero Split Layout */
.hero-split {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.hero-left,
.hero-right {
  width: 100%;
}

.hero-video {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .hero-split {
    flex-direction: row;
    align-items: flex-start;
  }

  .hero-left {
    flex: 1 1 50%;
  }

  .hero-right {
    flex: 1 1 50%;
  }
}

/* Quick Stats Block */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 0 0 16px 0;
}

.stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: var(--radius);
  padding: 8px 12px;
  text-align: center;
}

.stat-card .stat-value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold);
  display: block;
}

.stat-card .stat-label {
  font-size: 0.65rem;
  color: var(--beige);
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero CTA Buttons */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--brown-dark);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  color: var(--brown-dark);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gold);
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--brown-dark);
}

/* --- Freshness Badge --- */
.freshness-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.freshness-badge time {
  font-weight: 700;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 12px 0;
  font-size: 0.85rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0;
  margin: 0;
}

.breadcrumbs li::after {
  content: '›';
  margin-left: 4px;
  color: var(--gray-600);
}

.breadcrumbs li:last-child::after {
  display: none;
}

.breadcrumbs a {
  color: var(--gold-dark);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* --- Main Content --- */
main {
  padding: 48px 0 48px;
}

.content-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.content-section h2 {
  color: var(--brown);
  padding-bottom: 0.3em;
  border-bottom: 3px solid var(--gold);
  margin-top: 0;
}

/* --- Table of Contents --- */
.toc {
  background: var(--beige);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 16px;
  margin-bottom: 24px;
}

.toc h2 {
  font-size: 1.1rem;
  margin: 0 0 12px;
  border: none;
  padding: 0;
}

.toc ol {
  padding-left: 1.2em;
  margin: 0;
}

.toc a {
  color: var(--brown);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.toc a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}

/* --- Casino Cards Grid --- */
.casino-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0;
}

@media (min-width: 768px) {
  .casino-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .casino-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Casino Cards --- */
.casino-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition);
}

.casino-card:hover {
  box-shadow: var(--shadow-lg);
}

.casino-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.casino-card-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: var(--radius);
}

.casino-card-title {
  font-size: 1.2rem;
  margin: 0;
}

.casino-card-rating {
  color: var(--gold);
  font-weight: 800;
  font-size: 1.1rem;
}

.casino-card-bonus {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-mid) 100%);
  color: var(--brown-dark);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  margin: 12px 0;
  text-align: center;
  font-size: 1.05rem;
}

.casino-card p {
  flex: 1;
  font-size: 0.9rem;
  color: var(--gray-800);
}

.casino-card-cta {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}

/* --- Promo Code Block --- */
.promo-code {
  background: var(--brown-dark);
  color: var(--gold);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0;
}

.promo-code-value {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 2px;
}

.btn-copy {
  background: var(--gold);
  color: var(--brown-dark);
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}

.btn-copy:hover {
  background: var(--gold-light);
}

.btn-copy.copied {
  background: var(--green);
}

/* --- FAQ Section --- */
.faq-section {
  margin-top: 32px;
}

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 0;
  text-align: left;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold-dark);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  display: none;
  padding: 0 0 16px;
  color: var(--gray-800);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* --- Update History --- */
.update-history {
  margin: 24px 0;
  font-size: 0.9rem;
}

.update-history summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--brown);
  padding: 8px 0;
}

.update-history .changelog {
  padding-left: 1.5em;
  margin-top: 8px;
}

.update-history time {
  font-weight: 600;
  color: var(--gold-dark);
}

/* --- Disclaimer / Warning Box --- */
.warning-box {
  background: #FFF3CD;
  border-left: 4px solid var(--gold-mid);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.95rem;
}

.warning-box strong {
  color: var(--brown);
}

/* --- Answer Box (AI Overview optimization) --- */
.answer-box {
  background: var(--beige);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
}

.answer-box strong {
  color: var(--brown);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Who Is This For --- */
.who-is-this-for {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.profile.suitable {
  background: #d4edda;
  border-radius: var(--radius);
  padding: 20px;
}

.profile.not-suitable {
  background: #f8d7da;
  border-radius: var(--radius);
  padding: 20px;
}

.profile h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

/* --- Sources --- */
.sources {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 24px;
  font-size: 0.85rem;
}

.sources h3 {
  font-size: 0.95rem;
  margin-top: 0;
}

.source-indicator {
  color: var(--gold-dark);
  font-size: 0.7rem;
  cursor: help;
}

/* --- Author Card --- */
.author-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 24px 0;
}

.author-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
}

.author-credentials {
  list-style: none;
  padding: 0;
}

.author-credentials li {
  padding: 4px 0;
  padding-left: 24px;
  position: relative;
}

.author-credentials li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-dark);
  font-weight: 700;
}

/* --- Game Limits / Specs Table --- */
.specs-table {
  overflow-x: auto;
}

.specs-table table {
  min-width: 400px;
}

/* --- Demo Container --- */
.demo-container {
  background: var(--brown-dark);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  text-align: center;
  margin: 24px 0;
}

.demo-container img {
  max-width: 300px;
  margin: 0 auto 20px;
  border-radius: var(--radius);
}

/* --- Step Cards --- */
.step-card {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: var(--brown-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.step-content h3 {
  margin-top: 0;
}

/* --- Cookie Consent --- */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--brown-dark);
  color: var(--beige);
  padding: 16px;
  z-index: 9999;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.4);
}

.cookie-banner.show {
  display: block;
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-text {
  font-size: 0.85rem;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--gold);
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.cookie-actions button {
  padding: 10px 20px;
  border-radius: var(--radius);
  border: none;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.85rem;
}

.btn-accept {
  background: var(--green);
  color: var(--brown-dark);
}

.btn-reject {
  background: transparent;
  border: 1px solid var(--beige) !important;
  color: var(--beige);
}

/* --- Footer --- */
.site-footer {
  background: var(--brown-dark);
  color: var(--beige);
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col a {
  color: var(--beige);
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  padding: 4px 0;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.footer-col a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-col .footer-mission {
  font-size: 0.85rem;
  opacity: 0.7;
  line-height: 1.6;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: center;
  justify-content: center;
}

.trust-badges img {
  height: 36px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.trust-badges img:hover {
  opacity: 1;
}

/* Footer Disclaimer */
.footer-disclaimer {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  opacity: 0.6;
  line-height: 1.6;
}

.footer-bottom {
  padding: 16px 0;
  font-size: 0.8rem;
  opacity: 0.5;
  text-align: center;
}

/* --- SVG Infographics --- */
.infographic {
  margin: 24px 0;
  text-align: center;
}

.infographic svg {
  max-width: 100%;
  height: auto;
}

/* --- Responsive: Tablet (768px+) --- */
@media (min-width: 768px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.4rem; }

  .container { padding: 0 24px; }

  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 2.4rem; }

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

  .content-section {
    padding: 32px;
  }

  .who-is-this-for {
    grid-template-columns: 1fr 1fr;
  }

  .author-card {
    flex-direction: row;
    align-items: flex-start;
  }

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

  .cookie-inner {
    flex-direction: row;
    align-items: center;
  }
}

/* --- Responsive: Desktop (1024px+) --- */
@media (min-width: 1024px) {
  h1 { font-size: 2.8rem; }

  .hero h1 { font-size: 2.8rem; }
  .hero-subtitle { font-size: 1.15rem; }

  /* Show desktop nav, hide burger */
  .main-nav {
    display: block;
  }

  .burger-btn {
    display: none;
  }

  /* Hide sticky CTA on desktop */
  .sticky-cta {
    display: none !important;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .casino-card-cta {
    flex-direction: row;
  }
}

/* --- Mobile Sticky CTA active --- */
@media (max-width: 1023px) {
  .sticky-cta {
    display: block;
  }

  /* Add bottom padding for sticky CTA */
  body {
    padding-bottom: 60px;
  }
}

/* --- Print Styles --- */
@media print {
  .site-header,
  .sticky-cta,
  .cookie-banner,
  .btn-play,
  .hero-cta {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }
}

/* --- Author Detail (about.html) --- */
.author-info {
  flex: 1;
}

.author-title {
  color: var(--gold-dark);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5em;
}

.author-philosophy {
  background: var(--beige);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin: 16px 0;
  font-style: italic;
  color: var(--brown);
}

.author-contact,
.author-location {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 0.3em;
}

/* --- Mission Statement --- */
.mission-statement {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--brown);
}

/* --- Editorial Steps --- */
.editorial-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.editorial-steps li {
  counter-increment: step;
  padding: 12px 0 12px 48px;
  position: relative;
  border-bottom: 1px solid var(--gray-200);
}

.editorial-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 32px;
  height: 32px;
  background: var(--gold);
  color: var(--brown-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 24px 0;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.contact-card h3 {
  margin-top: 0;
  color: var(--brown);
}

.contact-form {
  margin: 24px 0;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--brown);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-body);
  margin-bottom: 16px;
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255,215,0,0.2);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button[type="submit"] {
  background: var(--green);
  color: var(--brown-dark);
  border: none;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition);
}

.contact-form button[type="submit"]:hover {
  background: var(--green-dark);
}

/* --- Demo Game Wrapper --- */
.demo-game-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.demo-game-wrapper img {
  max-width: 100%;
  border-radius: var(--radius);
  opacity: 0.7;
}

/* --- Table Responsive --- */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* --- Verdict Author Block --- */
.verdict-author-block {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: var(--beige);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}

.verdict-author-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.verdict-author-info {
  display: flex;
  flex-direction: column;
}

.verdict-author-info strong {
  font-size: 1.05rem;
  color: var(--brown);
}

.verdict-author-info span {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.verdict-author-social {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.verdict-author-social a {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-decoration: none;
  padding: 2px 8px;
  border: 1px solid var(--gold-dark);
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
}

.verdict-author-social a:hover {
  background: var(--gold-dark);
  color: var(--white);
}

/* --- Verdict Pros/Cons Cards --- */
.verdict-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 20px 0;
}

@media (min-width: 768px) {
  .verdict-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.verdict-card {
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}

.verdict-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.verdict-card ul {
  margin: 0;
  padding-left: 1.2em;
}

.verdict-card li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.verdict-pros {
  background: #d4edda;
  border: 1px solid #a3d9a5;
}

.verdict-pros h3 {
  color: #1e7e34;
}

.verdict-cons {
  background: #f8d7da;
  border: 1px solid #f1aeb5;
}

.verdict-cons h3 {
  color: #bd2130;
}

/* --- Verdict Summary --- */
.verdict-summary {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--brown);
  font-weight: 500;
}

/* --- Contact Grid Responsive --- */
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Image Float / Wrap --- */
.img-float-right {
  float: right;
  margin: 0 0 16px 20px;
  max-width: 45%;
  border-radius: var(--radius);
}

.img-float-left {
  float: left;
  margin: 0 20px 16px 0;
  max-width: 45%;
  border-radius: var(--radius);
}

.img-inline-small {
  display: inline-block;
  max-width: 200px;
  vertical-align: middle;
  margin: 8px 16px 8px 0;
  border-radius: var(--radius);
}

.img-medium-center {
  display: block;
  max-width: 500px;
  margin: 16px auto;
  border-radius: var(--radius);
}

/* Clearfix for float containers */
.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

@media (max-width: 600px) {
  .img-float-right,
  .img-float-left {
    float: none;
    max-width: 100%;
    margin: 12px 0;
  }
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
/* --- Image Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item figcaption {
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.4;
}

@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.text-green { color: var(--green-dark); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
