/* ═══════════════════════════════════════════════════════════════
   BLOCK RUSH SLOT — Main Stylesheet
   Design: Minecraft-inspired pixel art theme
   Mobile-first approach | Optimized for Core Web Vitals
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   CSS CUSTOM PROPERTIES (Variables)
   ═══════════════════════════════════════════════════════════════ */
:root {
  /* Primary Colors (from Block Rush game) */
  --bg-primary: #1a1a2e;
  --bg-secondary: #16213e;
  --bg-dark: #0f0f1a;
  --bg-card: #232342;
  
  /* Game-inspired colors */
  --sky-blue: #4a90d9;
  --sky-light: #87CEEB;
  --grass-green: #7cb342;
  --grass-dark: #5a8f2a;
  --dirt-brown: #8B5A2B;
  --stone-gray: #808080;
  
  /* Accent Colors */
  --gold: #FFD700;
  --gold-dark: #DAA520;
  --orange: #FF6B35;
  --cyan: #00D4FF;
  --lime: #7FFF00;
  --red: #FF4444;
  --purple: #9B59B6;
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-dark: #1a1a2e;
  
  /* Pixel-style shadows */
  --shadow-sm: 2px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 4px 4px 0 rgba(0, 0, 0, 0.3);
  --shadow-lg: 6px 6px 0 rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.3);
  
  /* Border radius - pixel style (minimal) */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  
  /* Typography */
  --font-main: 'Press Start 2P', 'Courier New', monospace;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  
  /* Container */
  --container-max: 1200px;
  --container-padding: 16px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ═══════════════════════════════════════════════════════════════
   PIXEL ART BACKGROUND PATTERN
   ═══════════════════════════════════════════════════════════════ */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(180deg, 
      var(--bg-primary) 0%, 
      var(--bg-secondary) 50%,
      var(--bg-dark) 100%
    );
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.02) 2px,
      rgba(255, 255, 255, 0.02) 4px
    );
  pointer-events: none;
  z-index: -1;
}

/* ═══════════════════════════════════════════════════════════════
   ACCESSIBILITY - SKIP LINK
   ═══════════════════════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--gold);
  color: var(--text-dark);
  padding: var(--space-md) var(--space-lg);
  z-index: 10001;
  font-weight: bold;
  text-decoration: none;
  transition: top var(--transition-fast);
}

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

/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 3px solid var(--gold);
  display: inline-block;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: var(--space-md);
  color: var(--gold);
}

h4 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

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

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

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

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

/* ═══════════════════════════════════════════════════════════════
   CONTAINER & LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

main {
  padding-top: 80px; /* Header height */
}

section {
  padding: var(--space-2xl) 0;
}

@media (min-width: 768px) {
  section {
    padding: var(--space-3xl) 0;
  }
}

/* ═══════════════════════════════════════════════════════════════
   HEADER (Sticky, Pixel-style)
   ═══════════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-primary) 100%);
  border-bottom: 4px solid var(--grass-green);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--text-primary);
}

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

.logo-text {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  background: linear-gradient(180deg, var(--text-primary) 0%, var(--sky-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text span {
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
}

/* Desktop Navigation */
.nav-desktop {
  display: none;
}

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
  }
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--gold);
  text-decoration: none;
  background: rgba(255, 215, 0, 0.1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 80%;
}

/* Header CTA Button */
.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1001;
}

@media (min-width: 992px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

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

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu */
.nav-mobile {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-dark);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  z-index: 999;
  overflow-y: auto;
}

.nav-mobile.active {
  transform: translateX(0);
}

.nav-mobile .nav-link {
  display: block;
  padding: var(--space-md);
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 992px) {
  .nav-mobile {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS (Pixel-style)
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn:focus {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Primary Button (Gold - Play Now) */
.btn-primary {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--text-dark);
  box-shadow: 
    0 4px 0 var(--dirt-brown),
    0 6px 10px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 0 var(--dirt-brown),
    0 8px 15px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  color: var(--text-dark);
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 
    0 2px 0 var(--dirt-brown),
    0 3px 5px rgba(0, 0, 0, 0.3);
}

/* Secondary Button */
.btn-secondary {
  background: linear-gradient(180deg, var(--sky-blue) 0%, #3a7bd5 100%);
  color: var(--text-primary);
  box-shadow: 
    0 4px 0 #2a5fa8,
    0 6px 10px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 0 #2a5fa8,
    0 8px 15px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  color: var(--text-primary);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 3px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--text-dark);
  text-decoration: none;
}

/* Small Button */
.btn-sm {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
}

/* Large Button */
.btn-lg {
  padding: var(--space-lg) var(--space-xl);
  font-size: 1.125rem;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

/* Minecraft-style sky background */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(180deg, 
      var(--sky-blue) 0%, 
      var(--sky-light) 40%,
      var(--grass-green) 70%,
      var(--grass-dark) 75%,
      var(--dirt-brown) 80%,
      var(--bg-dark) 100%
    );
  z-index: -1;
}

/* Pixel clouds */
.hero::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 0;
  right: 0;
  height: 60px;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='40' viewBox='0 0 120 40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect fill='%23ffffff' x='20' y='20' width='20' height='20'/%3E%3Crect fill='%23ffffff' x='40' y='10' width='20' height='30'/%3E%3Crect fill='%23ffffff' x='60' y='20' width='20' height='20'/%3E%3Crect fill='%23ffffff' x='80' y='10' width='20' height='30'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  opacity: 0.6;
  animation: clouds 60s linear infinite;
  z-index: 0;
}

@keyframes clouds {
  from { background-position: 0 0; }
  to { background-position: 1000px 0; }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

.hero-text {
  text-align: center;
}

@media (min-width: 992px) {
  .hero-text {
    text-align: left;
  }
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  margin-bottom: var(--space-md);
  text-shadow: 4px 4px 0 var(--bg-dark);
}

.hero h1 .highlight {
  color: var(--gold);
  display: block;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

@media (min-width: 992px) {
  .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

@media (min-width: 576px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  background: rgba(0, 0, 0, 0.6);
  border: 3px solid var(--grass-green);
  padding: var(--space-md);
  text-align: center;
  border-radius: var(--radius-sm);
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero CTA */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

@media (min-width: 992px) {
  .hero-cta {
    justify-content: flex-start;
  }
}

/* Hero Image */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 4px solid var(--grass-green);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* ═══════════════════════════════════════════════════════════════
   TABLE OF CONTENTS
   ═══════════════════════════════════════════════════════════════ */
.toc {
  background: var(--bg-card);
  border: 3px solid var(--grass-green);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.toc h2 {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  border-bottom: none;
  display: block;
}

.toc ol {
  list-style: none;
  counter-reset: toc-counter;
}

.toc li {
  counter-increment: toc-counter;
  margin-bottom: var(--space-sm);
}

.toc li::before {
  content: counter(toc-counter) ".";
  color: var(--gold);
  font-weight: bold;
  margin-right: var(--space-sm);
}

.toc a {
  color: var(--text-secondary);
}

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

/* ═══════════════════════════════════════════════════════════════
   CARDS & BOXES
   ═══════════════════════════════════════════════════════════════ */
.card {
  background: var(--bg-card);
  border: 3px solid var(--stone-gray);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--transition-fast);
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.card-highlight {
  border-color: var(--gold);
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(255, 215, 0, 0.05) 100%);
}

/* Warning Box */
.warning-box {
  background: rgba(255, 68, 68, 0.1);
  border: 3px solid var(--red);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}

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

/* Info Box */
.info-box {
  background: rgba(0, 212, 255, 0.1);
  border: 3px solid var(--cyan);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}

.info-box strong {
  color: var(--cyan);
}

/* Success Box */
.success-box {
  background: rgba(124, 179, 66, 0.1);
  border: 3px solid var(--grass-green);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}

/* ═══════════════════════════════════════════════════════════════
   CASINO CARDS
   ═══════════════════════════════════════════════════════════════ */
.casinos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

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

.casino-card {
  background: var(--bg-card);
  border: 3px solid var(--stone-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.casino-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.casino-card.featured {
  border-color: var(--gold);
  position: relative;
}

.casino-card.featured::before {
  content: '★ TOP PICK';
  position: absolute;
  top: var(--space-md);
  right: 0;
  background: var(--gold);
  color: var(--text-dark);
  padding: var(--space-xs) var(--space-md);
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.casino-header {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
  padding: var(--space-lg);
  text-align: center;
  border-bottom: 2px solid var(--stone-gray);
}

.casino-logo {
  height: 50px;
  width: auto;
  margin-bottom: var(--space-sm);
}

.casino-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.casino-rating {
  color: var(--gold);
  font-size: 1rem;
}

.casino-body {
  padding: var(--space-lg);
}

.casino-bonus {
  background: rgba(255, 215, 0, 0.1);
  border: 2px dashed var(--gold);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  text-align: center;
  margin-bottom: var(--space-md);
}

.casino-bonus-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.casino-bonus-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
}

.casino-features {
  list-style: none;
  margin-bottom: var(--space-md);
}

.casino-features li {
  padding: var(--space-xs) 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.casino-features li::before {
  content: '✓';
  color: var(--grass-green);
  margin-right: var(--space-sm);
  font-weight: bold;
}

.casino-footer {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
}

.casino-footer .btn {
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   IMAGE GALLERY
   ═══════════════════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid var(--stone-gray);
  transition: all var(--transition-fast);
}

.gallery-item:hover {
  border-color: var(--gold);
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: auto;
  min-height: 300px;
  max-height: 600px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: var(--bg-secondary);
}

@media (min-width: 768px) {
  .gallery-item img {
    min-height: 400px;
    max-height: 700px;
  }
}

@media (min-width: 992px) {
  .gallery-item img {
    min-height: 450px;
    max-height: 800px;
  }
}

.gallery-item figcaption {
  position: relative;
  background: rgba(0, 0, 0, 0.85);
  padding: var(--space-md);
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
  border-top: 2px solid var(--gold);
  margin-top: 0;
}

/* Interface Grid Layout */
.interface-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}

@media (min-width: 992px) {
  .interface-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.interface-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.interface-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-lg);
  background: var(--bg-secondary);
}

.interface-image img {
  width: 100%;
  height: auto;
  min-height: 350px;
  max-height: 700px;
  object-fit: contain;
  object-position: center;
  display: block;
}

@media (min-width: 768px) {
  .interface-image img {
    min-height: 450px;
    max-height: 800px;
  }
}

.interface-image figcaption {
  background: rgba(0, 0, 0, 0.85);
  padding: var(--space-md);
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
  border-top: 2px solid var(--gold);
}

/* Improved Image Display - No Cropping */
.gallery-item,
.interface-image {
  display: flex;
  flex-direction: column;
}

.gallery-item img,
.interface-image img {
  flex-shrink: 0;
}

/* Responsive Image Container */
figure.gallery-item,
figure.interface-image {
  margin: var(--space-lg) 0;
  background: var(--bg-secondary);
  padding: var(--space-sm);
}

/* Large Image Display for Important Screenshots */
.gallery-item.large-image img {
  min-height: 400px;
  max-height: 900px;
}

@media (min-width: 768px) {
  .gallery-item.large-image img {
    min-height: 500px;
    max-height: 1000px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

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

.testimonial {
  background: var(--bg-card);
  border: 3px solid var(--stone-gray);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.testimonial-header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.testimonial-header strong {
  display: block;
  font-size: 1rem;
}

.testimonial-header span {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.testimonial-rating {
  color: var(--gold);
  font-size: 0.875rem;
}

.testimonial blockquote {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
}

.testimonials-disclaimer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: var(--space-lg);
}

/* ═══════════════════════════════════════════════════════════════
   CALCULATOR
   ═══════════════════════════════════════════════════════════════ */
.calculator-container {
  background: var(--bg-card);
  border: 3px solid var(--grass-green);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  max-width: 500px;
  margin: 0 auto;
}

.calculator-inputs {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.input-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.input-group input {
  padding: var(--space-md);
  font-size: 1rem;
  background: var(--bg-secondary);
  border: 2px solid var(--stone-gray);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
}

.input-group input:focus {
  outline: none;
  border-color: var(--gold);
}

.calculator-result {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.result-item {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-item:last-child {
  border-bottom: none;
}

.result-label {
  color: var(--text-muted);
}

.result-value {
  font-weight: 700;
  color: var(--gold);
}

.result-warning .result-value {
  color: var(--orange);
}

.calculator-disclaimer {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════════════════════════ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 3px solid var(--stone-gray);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--gold);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  cursor: pointer;
  background: var(--bg-secondary);
}

.faq-question h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-primary);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: bold;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer > div {
  padding: var(--space-lg);
  border-top: 2px solid var(--stone-gray);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════
   PROS & CONS
   ═══════════════════════════════════════════════════════════════ */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

.pros, .cons {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.pros {
  border: 3px solid var(--grass-green);
}

.cons {
  border: 3px solid var(--red);
}

.pros h4 {
  color: var(--grass-green);
  margin-bottom: var(--space-md);
}

.cons h4 {
  color: var(--red);
  margin-bottom: var(--space-md);
}

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

.pros li, .cons li {
  padding: var(--space-sm) 0;
  color: var(--text-secondary);
}

.pros li::before {
  content: '✓';
  color: var(--grass-green);
  margin-right: var(--space-sm);
  font-weight: bold;
}

.cons li::before {
  content: '✗';
  color: var(--red);
  margin-right: var(--space-sm);
  font-weight: bold;
}

/* ═══════════════════════════════════════════════════════════════
   AUTHOR BOX
   ═══════════════════════════════════════════════════════════════ */
.author-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  background: var(--bg-card);
  border: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  text-align: center;
}

@media (min-width: 768px) {
  .author-box {
    flex-direction: row;
    text-align: left;
  }
}

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

.author-info strong {
  display: block;
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.author-info span {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Final Rating */
.final-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(255, 215, 0, 0.1) 100%);
  border: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin-top: var(--space-lg);
  text-align: center;
}

.rating-score {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: var(--shadow-md);
}

.rating-summary {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 400px;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   TABLES
   ═══════════════════════════════════════════════════════════════ */
.table-wrapper {
  overflow-x: auto;
  margin: var(--space-lg) 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 3px solid var(--stone-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
}

th, td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
  background: var(--bg-secondary);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

td {
  color: var(--text-secondary);
}

tr:hover td {
  background: rgba(255, 215, 0, 0.05);
}

.highlight-cell {
  color: var(--gold);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════
   HOW-TO STEPS
   ═══════════════════════════════════════════════════════════════ */
.steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

@media (min-width: 992px) {
  .steps-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  background: var(--bg-card);
  border: 3px solid var(--stone-gray);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  position: relative;
  transition: all var(--transition-fast);
}

.step-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
}

.step-icon {
  font-size: 2.5rem;
  margin: var(--space-md) 0;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-dark) 100%);
  border-top: 4px solid var(--grass-green);
  padding: var(--space-2xl) 0 var(--space-lg);
  margin-top: var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

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

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-col h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-logo {
  margin-bottom: var(--space-md);
  height: 40px;
  width: auto;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.footer-logo:hover {
  opacity: 1;
}

.footer-about p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

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

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-lg);
}

.trust-badges img {
  height: 40px;
  width: auto;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

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

/* Disclaimer */
.footer-disclaimer {
  background: rgba(255, 68, 68, 0.1);
  border: 2px solid var(--red);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.footer-disclaimer p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.footer-disclaimer p:last-child {
  margin-bottom: 0;
}

.footer-disclaimer strong {
  color: var(--red);
}

.footer-disclaimer a {
  color: var(--cyan);
}

/* Copyright */
.footer-copyright {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE STICKY CTA BAR
   ═══════════════════════════════════════════════════════════════ */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #000 100%);
  border-top: 3px solid var(--gold);
  padding: var(--space-sm) var(--space-md);
  display: none;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.mobile-sticky-cta.visible {
  display: flex;
}

@media (min-width: 992px) {
  .mobile-sticky-cta {
    display: none !important;
  }
}

.sticky-cta-content {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.sticky-cta-icon {
  font-size: 1.5rem;
}

.sticky-cta-text {
  display: flex;
  flex-direction: column;
}

.sticky-cta-text strong {
  font-size: 0.75rem;
  color: var(--gold);
}

.sticky-cta-text span {
  font-size: 0.625rem;
  color: var(--text-muted);
}

.btn-sticky-cta {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--text-dark);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 0 var(--dirt-brown);
}

/* ═══════════════════════════════════════════════════════════════
   COOKIE CONSENT
   ═══════════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 46, 0.98);
  padding: var(--space-md) var(--space-lg);
  z-index: 10000;
  border-top: 3px solid var(--gold);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  transform: translateY(100%);
  opacity: 0;
  transition: all var(--transition-normal);
}

.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 250px;
}

.cookie-text p {
  margin: 0;
  line-height: 1.5;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

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

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-buttons button {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════
   LAST UPDATED
   ═══════════════════════════════════════════════════════════════ */
.last-updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ═══════════════════════════════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════════════════════════════ */
.breadcrumbs {
  padding: var(--space-md) 0;
  font-size: 0.875rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.breadcrumbs li::after {
  content: '›';
  color: var(--text-muted);
  margin-left: var(--space-sm);
}

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

.breadcrumbs a {
  color: var(--text-muted);
}

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

.breadcrumbs span {
  color: var(--gold);
}

/* ═══════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-gold { color: var(--gold); }
.text-cyan { color: var(--cyan); }
.text-green { color: var(--grass-green); }
.text-red { color: var(--red); }
.text-muted { color: var(--text-muted); }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-xl { margin-bottom: var(--space-xl); }

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

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 575px) {
  :root {
    --container-padding: 12px;
  }
  
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.375rem; }
  h3 { font-size: 1.125rem; }
  
  .btn { padding: var(--space-sm) var(--space-md); }
  .btn-lg { padding: var(--space-md) var(--space-lg); }
}

/* ═══════════════════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════════════════ */
@media print {
  .header,
  .footer,
  .mobile-sticky-cta,
  .cookie-banner,
  .hero-cta,
  .btn {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
}
