/* ==========================================================================
   Casinomania Casino - Main Stylesheet
   Design System: Dark theme with amber accent
   ========================================================================== */

/* ==========================================================================
   CSS VARIABLES FROM DESIGN SYSTEM
   ========================================================================== */
:root {
  /* Core Colors */
  --color-bg-0: #0F1115;
  --color-bg-1: #14171C;
  --color-bg-2: #1A1E24;
  --color-bg-3: #20262E;
  --color-surface: #272E38;
  --color-divider: #2F3742;
  
  --color-text-0: #FFFFFF;
  --color-text-1: #C9CFDA;
  --color-text-2: #9AA3AF;
  
  --color-brand-amber: #FF9F1A;
  --color-brand-amber-dark: #E58E12;
  --color-brand-amber-700: #C9780E;
  --color-brand-green: #29C86A;
  --color-brand-red: #FF4D4F;
  --color-brand-blue: #3AA0FF;
  
  /* Typography */
  --font-ui: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  
  /* Border Radius */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-round: 999px;
  
  /* Transitions */
  --transition-fast: 120ms ease;
  --transition-normal: 180ms ease;
  --transition-slow: 240ms ease;
  
  /* Shadows */
  --shadow-elev-1: 0 2px 6px rgba(0,0,0,0.25);
  --shadow-elev-2: 0 6px 16px rgba(0,0,0,0.38);
  --shadow-focus: 0 0 0 2px #0F1115, 0 0 0 4px rgba(255,159,26,0.85);
  
  /* Container */
  --container-max-width: 1200px;
  --container-padding: 1.5rem;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-1);
  background-color: var(--color-bg-0);
  min-height: 100vh;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text-0);
  margin-bottom: 1rem;
}

h1 {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
}

h2 {
  font-size: 22px;
  line-height: 1.3;
  margin-top: 0rem;
}

h3 {
  font-size: 18px;
  line-height: 1.35;
  color: var(--color-text-1);
  margin-top: 2rem;
}

h4 {
  font-size: 16px;
  line-height: 1.4;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-brand-amber);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-brand-amber-dark);
}

a:focus-visible {
  outline: 2px solid var(--color-brand-amber);
  outline-offset: 2px;
  border-radius: 2px;
}

strong {
  font-weight: 600;
  color: var(--color-text-0);
}

/* ==========================================================================
   LAYOUT CONTAINERS
   ========================================================================== */
.container {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

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

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  background: linear-gradient(180deg, #1A1E24 0%, #14171C 100%);
  border-bottom: 1px solid var(--color-divider);
  box-shadow: 0 4px 12px rgba(0,0,0,0.30);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-divider);
}

.site-logo {
  height: 100px;
  width: auto;
}

.header-cta-group {
  display: flex;
  gap: 0.75rem;
}

.mobile-cta-group {
  display: none;
}

.header-nav {
  padding: 0.75rem 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-menu a {
  color: var(--color-text-1);
  font-size: 14px;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-normal);
}

.nav-menu a:hover {
  color: var(--color-text-0);
}

.nav-menu a.active {
  color: var(--color-text-0);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-brand-amber);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-divider);
  color: var(--color-text-0);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.mobile-menu-toggle:hover {
  background: var(--color-bg-2);
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-ui);
  border-radius: var(--radius-md);
  border: 1px solid;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  min-width: 60px;
  white-space: nowrap;
}

.btn:focus-visible {
  box-shadow: var(--shadow-focus);
  outline: none;
}

.btn-primary {
  background-color: var(--color-brand-amber);
  color: var(--color-bg-0);
  border-color: var(--color-brand-amber);
  box-shadow: 0 4px 10px rgba(255,159,26,0.35);
}

.btn-primary:hover {
  background-color: var(--color-brand-amber-dark);
  border-color: var(--color-brand-amber-dark);
  box-shadow: 0 6px 14px rgba(255,159,26,0.45);
  color: var(--color-bg-0);
}

.btn-primary:active {
  background-color: var(--color-brand-amber-700);
  border-color: var(--color-brand-amber-700);
  transform: translateY(1px);
}

.btn-secondary {
  background-color: var(--color-bg-2);
  color: var(--color-text-0);
  border-color: var(--color-divider);
}

.btn-secondary:hover {
  background-color: var(--color-bg-3);
  border-color: rgba(255,159,26,0.65);
  color: var(--color-text-0);
}

.btn-secondary:active {
  background-color: var(--color-surface);
  border-color: var(--color-brand-amber);
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */
main {
  min-height: 60vh;
}

section {
  padding: 3rem 0;
}

section + section {
  border-top: 1px solid var(--color-divider);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
#hero {
  background: radial-gradient(60% 60% at 80% -10%, rgba(255,159,26,0.25) 0%, rgba(255,159,26,0) 60%),
              var(--color-bg-1);
  padding: 3rem 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.reading-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-2);
  font-size: 12px;
}

.fact-checked {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-bg-3);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--color-brand-green);
  border: 1px solid var(--color-divider);
  margin-top: 1rem;
}

.fact-checked svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero-image-wrapper {
  position: relative;
  text-align: center;
}

.hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elev-2);
  object-fit: contain;
}

.hero-cta {
  margin-top: 1.5rem;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumbs {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-divider);
}

.breadcrumbs-list {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  font-size: 12px;
}

.breadcrumbs-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs-list a {
  color: var(--color-text-2);
  transition: color var(--transition-fast);
}

.breadcrumbs-list a:hover {
  color: var(--color-brand-amber);
}

.breadcrumbs-list .current {
  color: var(--color-text-0);
}

.breadcrumb-separator {
  color: var(--color-text-2);
}

/* ==========================================================================
   TABLE OF CONTENTS (inside header)
   ========================================================================== */
.toc {
  background: var(--color-bg-1);
  border-top: 1px solid var(--color-divider);
  width: 100%;
  padding: 0;
}

.toc .container {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.toc .container::-webkit-scrollbar {
  display: none;
}

.toc-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  position: relative;
}

.toc-list a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--color-text-1);
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-fast);
  border-bottom: 3px solid transparent;
  position: relative;
  line-height: 1.4;
}

.toc-list a:hover {
  color: var(--color-text-0);
  background: rgba(255,159,26,0.05);
}

.toc-list a.active {
  color: var(--color-brand-amber);
  border-bottom-color: var(--color-brand-amber);
  background: rgba(255,159,26,0.08);
  font-weight: 600;
}

/* ==========================================================================
   GAMES SECTION
   ========================================================================== */
#games {
  background: var(--color-bg-1);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.game-card {
  background: var(--color-bg-3);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-elev-2);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.game-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,159,26,0.16) 0%, rgba(255,159,26,0) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.game-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,159,26,0.75);
  box-shadow: 0 10px 24px rgba(0,0,0,0.45);
}

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

.game-card:hover .game-cta {
  opacity: 1;
  transform: translateY(0);
}

.game-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--color-bg-2);
}

.game-info {
  padding: 0.75rem 0.5rem;
}

.game-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-0);
  margin: 0;
}

.game-cta {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  transition: all var(--transition-normal);
  z-index: 10;
}

/* Games horizontal scroll on mobile */
@media (max-width: 768px) {
  .games-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
  }
  
  .game-card {
    flex: 0 0 250px;
    scroll-snap-align: start;
  }
}

/* ==========================================================================
   CONTENT SECTIONS
   ========================================================================== */
.content-section {
  scroll-margin-top: 160px;
}

.section-image {
  margin: 2rem 0;
  text-align: center;
}

.section-image img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elev-1);
  object-fit: contain;
}

figcaption {
  margin-top: 0.75rem;
  font-size: 12px;
  color: var(--color-text-2);
  text-align: center;
  font-style: italic;
}

/* Lists */
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
  color: var(--color-text-1);
}

li::marker {
  color: var(--color-brand-amber);
}

/* ==========================================================================
   TABLES
   ========================================================================== */
.table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-divider);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-bg-2);
  font-size: 14px;
}

thead {
  background: var(--color-bg-1);
}

th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--color-text-1);
  border-bottom: 1px solid var(--color-divider);
}

td {
  padding: 0.75rem 1rem;
  color: var(--color-text-1);
  border-bottom: 1px solid var(--color-divider);
}

tbody tr {
  background: var(--color-bg-2);
  transition: background var(--transition-fast);
}

tbody tr:nth-child(even) {
  background: var(--color-bg-1);
}

tbody tr:hover {
  background: var(--color-bg-3);
  border-color: rgba(255,159,26,0.35);
}

tbody tr:last-child td {
  border-bottom: none;
}

/* Mobile table cards */
@media (max-width: 768px) {
  .table-wrapper.mobile-cards table,
  .table-wrapper.mobile-cards thead,
  .table-wrapper.mobile-cards tbody,
  .table-wrapper.mobile-cards th,
  .table-wrapper.mobile-cards td,
  .table-wrapper.mobile-cards tr {
    display: block;
  }
  
  .table-wrapper.mobile-cards thead {
    display: none;
  }
  
  .table-wrapper.mobile-cards tr {
    margin-bottom: 1rem;
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-md);
    padding: 1rem;
  }
  
  .table-wrapper.mobile-cards td {
    border: none;
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-between;
  }
  
  .table-wrapper.mobile-cards td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--color-text-0);
  }
}

/* ==========================================================================
   STEPS SECTION (Process)
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 2rem 0;
}

.step-card {
  background: var(--color-bg-2);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  transition: all var(--transition-normal);
}

.step-card:hover {
  border-color: rgba(255,159,26,0.5);
  box-shadow: var(--shadow-elev-1);
}

.step-index {
  width: 40px;
  height: 40px;
  background: var(--color-brand-amber);
  color: var(--color-bg-0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-0);
  margin-bottom: 0.75rem;
}

.step-card p {
  margin-bottom: 0;
  font-size: 14px;
}

/* ==========================================================================
   PROS & CONS SECTION
   ========================================================================== */
.pros-cons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.pros-list,
.cons-list {
  list-style: none;
  margin: 0;
}

.pros-list li,
.cons-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  background: var(--color-bg-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-divider);
}

.pros-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-brand-green);
}

.cons-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-brand-red);
}

/* ==========================================================================
   BONUS SLIDER
   ========================================================================== */
.bonus-slider {
  position: relative;
  margin: 2rem 0;
  overflow: hidden;
}

.bonus-cards {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  list-style: none;
}

.bonus-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: var(--color-bg-2);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-elev-1);
  transition: all var(--transition-normal);
}

.bonus-card:hover {
  border-color: var(--color-brand-amber);
  box-shadow: var(--shadow-elev-2);
  transform: translateY(-2px);
}

.bonus-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-0);
  margin-bottom: 0.75rem;
}

.bonus-desc {
  font-size: 13px;
  color: var(--color-text-2);
  margin-bottom: 1rem;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-bg-3);
  border: 1px solid var(--color-divider);
  color: var(--color-text-0);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.slider-prev:hover,
.slider-next:hover {
  background: var(--color-brand-amber);
  color: var(--color-bg-0);
  border-color: var(--color-brand-amber);
}

.slider-prev {
  left: 0;
}

.slider-next {
  right: 0;
}

/* ==========================================================================
   AUTHOR SECTION
   ========================================================================== */
#author {
  background: var(--color-bg-2);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 3rem 0;
}

.author-content {
  display: flex;
  gap: 1.5rem;
  align-items: start;
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--color-brand-amber);
  flex-shrink: 0;
  object-fit: cover;
}

.author-info h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 18px;
}

.author-meta {
  display: flex;
  gap: 1rem;
  font-size: 12px;
  color: var(--color-text-2);
  margin-bottom: 0.75rem;
}

.author-bio {
  font-size: 14px;
  margin: 0;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
#faq {
  background: var(--color-bg-1);
}

.faq-list {
  margin-top: 2rem;
}

.faq-item {
  background: var(--color-bg-2);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-text-0);
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none;
  transition: background var(--transition-fast);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 24px;
  color: var(--color-brand-amber);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background: var(--color-bg-3);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-1);
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-bg-1);
  border-top: 1px solid var(--color-divider);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--color-text-0);
  font-size: 16px;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--color-text-2);
  font-size: 14px;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-brand-amber);
}

.payment-methods {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.payment-icon {
  width: 50px;
  height: 32px;
  background: var(--color-bg-3);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
}

.gambleaware-logo {
  display: inline-block;
  margin-top: 1rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--color-divider);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 12px;
  color: var(--color-text-2);
}

.footer-copyright {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.age-restriction {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-bg-3);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-brand-red);
}

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--color-brand-amber);
  color: var(--color-bg-0);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-elev-2);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-brand-amber-dark);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   RESPONSIVE - TABLET
   ========================================================================== */
@media (min-width: 768px) {
  h1 {
    font-size: 36px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  h3 {
    font-size: 22px;
  }
  
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
  
  section {
    padding: 4rem 0;
  }
}

/* ==========================================================================
   RESPONSIVE - MOBILE
   ========================================================================== */
@media (max-width: 767px) {
  :root {
    --container-padding: 1rem;
  }
  
  .header-top {
    padding-top: 0px;
    padding-bottom: 0px;
    position: relative;
  }
  
  .header-cta-group {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .header-nav {
      padding-bottom: 0px;
    padding-top: 0px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg-2);
    border-bottom: 1px solid var(--color-divider);
    box-shadow: var(--shadow-elev-2);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
  }
  
  .header-nav.open {
    max-height: 500px;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
  }
  
  .mobile-cta-group {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0.75rem;
    border-top: 1px solid var(--color-divider);
  }
  
  .mobile-cta-group .btn {
    flex: 1;
  }
  
  .toc-list a {
    padding: 0.875rem 1.25rem;
    font-size: 13px;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .author-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
  .site-header,
  .site-footer,
  .back-to-top,
  .toc,
  .btn,
  .game-cta {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
}

