/* ============================================
   Chicken Subway 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;
  --bg-dark: #1a0e08;
  --bg-card: #2d1810;
  --bg-section: #231208;
  --text-primary: #F5E6C8;
  --text-muted: #c9a882;
  --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(--text-primary);
  background: var(--brown-dark);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--gold-light);
}

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(--beige);
}

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 rgba(255,215,0,0.12);
}

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

tr:nth-child(even) {
  background: rgba(255,215,0,0.05);
}

/* --- 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(--text-muted);
}

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

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

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

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

.content-section {
  background: var(--bg-card);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

/* --- Table of Contents --- */
.toc {
  background: var(--bg-section);
  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(--beige);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.toc a:hover {
  color: var(--gold);
  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(--bg-card);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.casino-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,215,0,0.45);
}

.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(--text-muted);
}

.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 rgba(255,215,0,0.15);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 0;
  text-align: left;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--beige);
  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(--text-muted);
  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(--beige);
  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: rgba(232,163,23,0.12);
  border-left: 4px solid var(--gold-mid);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.95rem;
  color: var(--text-primary);
}

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

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

.answer-box strong {
  color: var(--gold);
  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: rgba(191,214,83,0.12);
  border: 1px solid rgba(191,214,83,0.3);
  border-radius: var(--radius);
  padding: 20px;
}

.profile.not-suitable {
  background: rgba(231,76,60,0.12);
  border: 1px solid rgba(231,76,60,0.3);
  border-radius: var(--radius);
  padding: 20px;
}

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

/* --- Sources --- */
.sources {
  background: var(--bg-section);
  border: 1px solid rgba(255,215,0,0.12);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.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(--bg-card);
  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);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5em;
}

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

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

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

/* --- 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 rgba(255,215,0,0.12);
}

.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(--bg-card);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

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

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

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-body);
  margin-bottom: 16px;
  background: var(--bg-section);
  color: var(--text-primary);
  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(--bg-section);
  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(--beige);
}

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

.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: rgba(191,214,83,0.12);
  border: 1px solid rgba(191,214,83,0.3);
}

.verdict-pros h3 {
  color: var(--green);
}

.verdict-cons {
  background: rgba(231,76,60,0.12);
  border: 1px solid rgba(231,76,60,0.3);
}

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

/* --- Verdict Summary --- */
.verdict-summary {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-primary);
  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); }
.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;
}

/* =====================================================
   IMAGE WRAPPING & LAYOUT UTILITIES
   ===================================================== */

/* Base: never stretch images */
img {
  object-fit: contain;
  height: auto;
  max-width: 100%;
}

/* Float wrapping */
.img-float-left {
  float: left;
  margin: 0.25rem 1.5rem 1rem 0;
  max-width: 45%;
  border-radius: 8px;
}
.img-float-right {
  float: right;
  margin: 0.25rem 0 1rem 1.5rem;
  max-width: 45%;
  border-radius: 8px;
}
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Screenshot grid — for small/narrow screenshots grouped together */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.screenshot-grid figure {
  margin: 0;
  text-align: center;
}
.screenshot-grid img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(255,215,0,0.15);
}
.screenshot-grid figcaption {
  font-size: 0.8rem;
  color: var(--text-muted, #a08060);
  margin-top: 0.4rem;
}

/* Section illustration: centered, max 600px */
.img-section {
  display: block;
  margin: 1.5rem auto;
  max-width: 600px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

/* Small card images: max 280px */
.img-card {
  display: block;
  max-width: 280px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* Mobile: disable floats */
@media (max-width: 640px) {
  .img-float-left,
  .img-float-right {
    float: none;
    max-width: 100%;
    margin: 0 0 1rem 0;
  }
  .screenshot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Info block: replaces text-only screenshots */
.info-block {
  background: rgba(255, 215, 0, 0.06);
  border-left: 3px solid var(--gold, #FFD700);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}
.info-block h4 {
  color: var(--gold, #FFD700);
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}
.info-block ul, .info-block ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-light, #F5E6C8);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Screenshot Gallery */
.screenshot-grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.screenshot-grid-gallery figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,215,0,0.05);
  border: 1px solid rgba(255,215,0,0.12);
}
.screenshot-grid-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.screenshot-grid-gallery figure:hover img {
  transform: scale(1.03);
}
.screenshot-grid-gallery figcaption {
  padding: 0.6rem 0.9rem;
  font-size: 0.82rem;
  color: var(--beige);
  opacity: 0.8;
}

/* Win Calculator */
.calculator-container { background: rgba(255,215,0,0.05); border: 1px solid rgba(255,215,0,0.15); border-radius: 12px; padding: 1.5rem; }
.calculator-inputs { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.calc-input-group { flex: 1; min-width: 200px; }
.calc-input-group label { display: block; font-size: 0.85rem; color: var(--gold); margin-bottom: 0.4rem; font-weight: 600; }
.calc-input-group input, .calc-input-group select { width: 100%; padding: 0.6rem 0.8rem; border: 1px solid rgba(255,215,0,0.3); border-radius: 6px; background: rgba(0,0,0,0.3); color: var(--beige-light); font-size: 1rem; }
.calculator-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.calc-result-card { background: rgba(255,215,0,0.07); border: 1px solid rgba(255,215,0,0.2); border-radius: 8px; padding: 1rem; text-align: center; }
.calc-label { display: block; font-size: 0.78rem; color: var(--beige); opacity: 0.7; margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.05em; }
.calc-value { display: block; font-size: 1.5rem; font-weight: 700; color: var(--gold); }
.calc-disclaimer { font-size: 0.82rem; color: var(--beige); opacity: 0.65; line-height: 1.5; margin-top: 0.5rem; }

/* Glossary */
.glossary-list { margin-top: 1rem; }
.glossary-list dt { font-weight: 700; color: var(--gold); font-size: 1rem; margin-top: 1.25rem; margin-bottom: 0.25rem; }
.glossary-list dd { margin-left: 1.2rem; color: var(--text-primary, var(--beige)); line-height: 1.7; font-size: 0.95rem; border-left: 2px solid rgba(255,215,0,0.2); padding-left: 0.75rem; }

/* Social Share */
.social-share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,215,0,0.15); }
.share-label { font-size: 0.9rem; color: var(--beige); opacity: 0.7; }
.share-btn { display: inline-block; padding: 0.45rem 1rem; border-radius: 6px; font-size: 0.85rem; font-weight: 600; text-decoration: none; transition: opacity 0.2s; }
.share-btn:hover { opacity: 0.85; }
.share-twitter { background: #1da1f2; color: #fff; }
.share-facebook { background: #1877f2; color: #fff; }
.share-telegram { background: #2ca5e0; color: #fff; }

/* Countdown Timer */
.promo-countdown { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; background: linear-gradient(135deg, rgba(255,215,0,0.12), rgba(232,163,23,0.08)); border: 1px solid rgba(255,215,0,0.3); border-radius: 10px; padding: 1rem 1.5rem; margin-bottom: 1.5rem; }
.countdown-label { font-weight: 600; color: var(--gold); font-size: 0.95rem; }
.countdown-display { display: flex; align-items: center; gap: 0.25rem; }
.countdown-unit { text-align: center; min-width: 48px; }
.countdown-unit span { display: block; font-size: 1.8rem; font-weight: 700; color: var(--gold); line-height: 1; }
.countdown-unit small { display: block; font-size: 0.65rem; color: var(--beige); opacity: 0.7; text-transform: uppercase; letter-spacing: 0.05em; }
.countdown-sep { font-size: 1.5rem; font-weight: 700; color: var(--gold); margin-bottom: 12px; }

/* Newsletter */
.newsletter-form { max-width: 500px; margin-top: 1.25rem; }
.newsletter-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.newsletter-row input[type="email"] { flex: 1; min-width: 200px; padding: 0.65rem 1rem; border: 1px solid rgba(255,215,0,0.3); border-radius: 6px; background: rgba(0,0,0,0.25); color: var(--beige-light); font-size: 0.95rem; }
.newsletter-row input[type="email"]::placeholder { color: rgba(245,230,200,0.4); }
.newsletter-note { font-size: 0.78rem; color: var(--beige); opacity: 0.6; }
