/* ==========================================================================
   Flappy Rise Game — Main Stylesheet
   flappyrisegame.com
   ========================================================================== */

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
  /* Primary backgrounds */
  --sky-blue-start: #87CEEB;
  --sky-blue-end: #4AA3DF;
  --bg-dark: #1a1a2e;
  --bg-dark-alt: #16213e;
  --bg-panel: #2d2d3d;
  --bg-panel-alt: #1e1e2e;
  --bg-footer: #0d1117;

  /* Accent colors */
  --green: #4CAF50;
  --green-hover: #43a047;
  --green-dark: #388E3C;
  --gold: #FFD700;
  --gold-alt: #F5A623;
  --orange: #E67E22;
  --orange-hover: #d35400;
  --danger: #e74c3c;
  --success: #2ecc71;

  /* Text */
  --text-light: #ffffff;
  --text-body: #e0e0e0;
  --text-muted: #a0a0a0;

  /* Typography */
  --font-family: "Segoe UI", Roboto, system-ui, -apple-system, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3rem;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --lh-tight: 1.3;
  --lh-normal: 1.5;
  --lh-relaxed: 1.7;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Borders & Radii */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lift: 0 12px 32px rgba(0, 0, 0, 0.5);

  /* Transitions */
  --transition: 0.2s ease;
  --transition-fast: 0.15s ease;

  /* Z-index layers */
  --z-header: 1000;
  --z-mobile-menu: 999;
  --z-sticky-cta: 998;
  --z-cookie: 10000;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text-body);
  background-color: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ==========================================================================
   3. ACCESSIBILITY
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 100000;
  padding: var(--space-sm) var(--space-md);
  background: var(--gold);
  color: #000;
  font-weight: var(--fw-bold);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--text-light);
  outline-offset: 2px;
}

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

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

/* ==========================================================================
   4. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  color: var(--text-light);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-md);
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }
h5 { font-size: var(--fs-base); }
h6 { font-size: var(--fs-sm); }

@media (min-width: 768px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: var(--fs-2xl); }
  h3 { font-size: var(--fs-xl); }
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-body);
  line-height: var(--lh-relaxed);
}

a:not([class]) {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

a:not([class]):hover {
  color: var(--gold-alt);
}

strong { font-weight: var(--fw-bold); }
small { font-size: var(--fs-sm); }

/* ==========================================================================
   5. LAYOUT
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

/* Content images: centered, max 480px */
main section img {
  max-width: 480px;
  width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Exceptions: gallery, casino cards, logos, avatars keep their own sizing */
.gallery-item img,
.casino-card img,
.casino-cards img,
.casino-logo,
.testimonial-avatar,
.logo-img {
  max-width: none;
  width: auto;
  margin-left: 0;
  margin-right: 0;
}

.section {
  padding: 2.5rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
}

.section-dark {
  background: var(--bg-dark-alt);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

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

.section-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* ==========================================================================
   6. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  line-height: 1;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.btn-cta,
.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.35);
}

.btn-cta:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, var(--green-hover), var(--green));
  box-shadow: 0 6px 18px rgba(76, 175, 80, 0.45);
  transform: translateY(-1px);
}

.btn-cta:active,
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--orange), var(--gold-alt));
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.35);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--orange-hover), var(--orange));
  box-shadow: 0 6px 18px rgba(230, 126, 34, 0.45);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-outline {
  border: 2px solid var(--green);
  color: var(--green);
  background: transparent;
}

.btn-outline:hover {
  background: var(--green);
  color: var(--text-light);
}

.btn-link {
  background: none;
  color: var(--gold);
  text-decoration: underline;
  padding: 0;
  text-transform: none;
  letter-spacing: normal;
}

.btn-link:hover {
  color: var(--gold-alt);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--fs-xs);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--fs-base);
}

/* ==========================================================================
   7. HEADER
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-sm);
}

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

@media (min-width: 768px) {
  .header-container {
    padding: 0 var(--space-xl);
  }
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--text-light);
  flex-shrink: 0;
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

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

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

@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-list a {
  color: var(--text-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
  padding: var(--space-xs) 0;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--gold);
}

.header-cta {
  padding: 0.6rem 1.2rem;
  font-size: var(--fs-xs);
}

@media (max-width: 1023px) {
  .header-cta {
    display: none;
  }
}

/* Burger Menu Toggle */
.burger-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

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

.burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.burger-menu.is-active .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-menu.is-active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.is-active .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   8. MOBILE MENU
   ========================================================================== */

.mobile-nav {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: var(--z-mobile-menu);
  background: var(--bg-dark-alt);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-lg);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-nav:not([hidden]) {
  max-height: 400px;
}

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

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-lg) var(--space-md);
}

.mobile-nav-list a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--text-body);
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

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

.mobile-cta {
  margin-top: var(--space-sm);
}

/* ==========================================================================
   9. STICKY BOTTOM CTA (Mobile)
   ========================================================================== */

.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky-cta);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  padding: var(--space-sm) var(--space-md);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.mobile-sticky-cta[hidden] {
  display: none;
}

.mobile-sticky-cta:not([hidden]) {
  display: block;
}

.sticky-cta-btn {
  display: block;
  width: 100%;
  color: var(--text-light);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  padding: var(--space-sm) 0;
  background: none;
  box-shadow: none;
}

.sticky-cta-btn:hover {
  background: none;
  box-shadow: none;
  transform: none;
}

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

/* ==========================================================================
   10. HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 46, 0.6) 0%,
    rgba(26, 26, 46, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem var(--space-md);
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-content {
    text-align: left;
    padding: 3.5rem var(--space-xl);
  }
}

.hero-content h1 {
  font-size: 1.75rem;
  color: var(--gold);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: var(--space-md);
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 2.75rem;
  }
}

.hero-subtitle {
  font-size: var(--fs-base);
  color: var(--text-body);
  margin-bottom: var(--space-lg);
  max-width: 680px;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: var(--fs-md);
  }
}

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

/* Quick Stats Grid */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: var(--space-lg) 0;
}

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

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--gold);
  line-height: var(--lh-tight);
}

.stat-label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Freshness Badge */
.freshness-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  color: var(--gold);
  margin-bottom: var(--space-lg);
}

/* Hero Image (2-column layout on desktop) */
.hero-image {
  display: none;
}

@media (min-width: 1024px) {
  .hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 480px;
  }

  .hero-overlay {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .hero-content {
    grid-column: 1;
    grid-row: 1;
    z-index: 2;
  }

  .hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 2;
    grid-row: 1;
    z-index: 2;
    padding: var(--space-xl);
  }

  .hero-image img {
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
  }
}

/* Hero CTAs */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-lg);
}

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

/* ==========================================================================
   11. BREADCRUMBS
   ========================================================================== */

.breadcrumbs {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-md);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .breadcrumbs {
    padding: var(--space-md) var(--space-xl);
  }
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

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

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

/* ==========================================================================
   12. TABLE OF CONTENTS
   ========================================================================== */

.toc {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

@media (min-width: 768px) {
  .toc {
    padding: var(--space-lg) var(--space-xl);
  }
}

.toc-title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-md);
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  list-style: decimal;
  padding-left: var(--space-lg);
}

.toc-list li {
  list-style: decimal;
}

.toc-list a {
  color: var(--gold);
  font-size: var(--fs-sm);
  transition: color var(--transition-fast);
}

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

/* ==========================================================================
   13. TABLES
   ========================================================================== */

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: var(--space-lg) 0;
}

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

.specs-table th,
.specs-table td,
.table th,
.table td {
  padding: 0.75rem 1rem;
  text-align: left;
}

.specs-table thead,
.table thead {
  background: rgba(255, 255, 255, 0.06);
}

.specs-table th,
.table th {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.specs-table tr,
.table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background var(--transition-fast);
}

.specs-table tr:nth-child(even),
.table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.specs-table tr:hover,
.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.specs-table td,
.table td {
  font-size: var(--fs-sm);
  color: var(--text-body);
}

/* ==========================================================================
   14. CASINO CARDS
   ========================================================================== */

.casino-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: var(--space-lg);
}

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

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

.casino-card,
.casino-cards > .card {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.casino-card-body,
.casino-cards > .card > .card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.casino-card-footer,
.casino-cards > .card > .card__body > div:last-child {
  margin-top: auto;
}

.casino-card:hover {
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.08);
  transform: translateY(-2px);
}

.casino-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 1.25rem 1.25rem 0;
}

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

.casino-info h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-xs);
}

.casino-card-body {
  padding: 1.25rem;
}

.bonus-highlight {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--gold);
  margin-bottom: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 215, 0, 0.06);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
}

.casino-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--fs-sm);
  color: var(--text-body);
}

.casino-features li::before {
  content: "\2713 ";
  color: var(--success);
  font-weight: var(--fw-bold);
}

.casino-card .pros-cons {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

.casino-card .pros strong {
  color: var(--success);
}

.casino-card .cons strong {
  color: var(--danger);
}

.casino-card-footer {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* Rating Stars */
.rating {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.star {
  color: var(--text-muted);
  font-size: var(--fs-md);
}

.star.filled {
  color: var(--gold);
}

.rating-text {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-left: var(--space-xs);
}

/* Affiliate Note */
.affiliate-note {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: var(--space-lg);
}

/* ==========================================================================
   15. STEPS / HOW IT WORKS
   ========================================================================== */

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: var(--space-lg);
}

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

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

.step-card {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-alt));
  color: #000;
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
  border-radius: 50%;
  margin-bottom: var(--space-md);
}

.step-card h3 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-sm);
}

.step-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   16. IMAGE GALLERY
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-sm) var(--space-md);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  font-size: var(--fs-xs);
  color: var(--text-light);
}

/* ==========================================================================
   17. WIN CALCULATOR
   ========================================================================== */

.calculator-box {
  max-width: 480px;
  margin: var(--space-lg) auto 0;
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

@media (min-width: 480px) {
  .calc-inputs {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
  }

  .calc-field {
    flex: 1;
    min-width: 140px;
  }
}

.calc-field label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.calc-field input {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-panel-alt);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-light);
  font-size: var(--fs-base);
  transition: border-color var(--transition-fast);
}

.calc-field input:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
}

.calc-result {
  padding: var(--space-md);
  background: rgba(255, 215, 0, 0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 215, 0, 0.15);
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.calc-result-row + .calc-result-row {
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.calc-result-row strong {
  font-size: var(--fs-lg);
  color: var(--gold);
}

/* ==========================================================================
   18. STRATEGY TIPS
   ========================================================================== */

.strategy-tips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: var(--space-lg);
}

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

.tip-card {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.tip-card:hover {
  border-color: rgba(255, 215, 0, 0.2);
  box-shadow: var(--shadow-md);
}

.tip-card h3 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-sm);
  color: var(--gold);
}

.tip-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: var(--lh-relaxed);
}

/* ==========================================================================
   19. TESTIMONIALS
   ========================================================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: var(--space-lg);
}

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

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

.testimonial-card {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.testimonial-header strong {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-light);
}

.testimonial-location {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.testimonial-header .rating {
  margin-left: auto;
}

.testimonial-card > p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  font-style: italic;
  margin-bottom: 0;
}

/* Share experience link */
.share-experience {
  text-align: center;
  margin-top: var(--space-lg);
}

/* ==========================================================================
   20. VERDICT / EXPERT RATING
   ========================================================================== */

.verdict-rating {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding: 1.25rem;
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.verdict-score {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--gold);
  line-height: 1;
}

.verdict-stars .star {
  font-size: var(--fs-xl);
}

.verdict-table {
  margin: var(--space-lg) 0;
}

.verdict-pros,
.verdict-cons {
  margin-bottom: var(--space-md);
}

.verdict-pros strong {
  color: var(--success);
}

.verdict-cons strong {
  color: var(--danger);
}

.verdict-summary {
  margin: var(--space-lg) 0;
}

.verdict-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-xl);
}

/* ==========================================================================
   21. PROS / CONS (standalone)
   ========================================================================== */

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

/* ==========================================================================
   22. PROMO CODE
   ========================================================================== */

.promo-code {
  display: flex;
  align-items: stretch;
  max-width: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px dashed var(--gold);
  background: rgba(255, 215, 0, 0.04);
  margin: var(--space-md) 0;
}

.promo-code__value {
  flex: 1;
  padding: var(--space-sm) var(--space-md);
  font-family: monospace;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--gold);
  letter-spacing: 2px;
  text-align: center;
}

.promo-code__copy,
.copy-code {
  display: flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  background: var(--gold);
  color: #000;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.promo-code__copy:hover,
.copy-code:hover {
  background: var(--gold-alt);
}

/* ==========================================================================
   23. UPDATE HISTORY
   ========================================================================== */

.update-history {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.update-history summary {
  padding: 1.25rem;
  font-weight: var(--fw-semibold);
  color: var(--text-light);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--transition-fast);
}

.update-history summary:hover {
  color: var(--gold);
}

.update-history summary h2 {
  margin-bottom: 0;
  font-size: var(--fs-lg);
}

.update-history summary::after {
  content: "\25BC";
  font-size: var(--fs-xs);
  color: var(--text-muted);
  transition: transform var(--transition);
}

.update-history[open] summary::after {
  transform: rotate(180deg);
}

.update-history summary::-webkit-details-marker {
  display: none;
}

.update-list {
  padding: 0 1.25rem 1.25rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

.update-list li {
  margin-bottom: var(--space-md);
  padding-left: var(--space-md);
  border-left: 2px solid rgba(255, 215, 0, 0.2);
}

/* ==========================================================================
   24. FAQ ACCORDION
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
  margin: var(--space-lg) auto 0;
}

.faq-item {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--text-light);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--transition-fast);
}

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

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

.faq-item summary::after {
  content: "+";
  font-size: var(--fs-lg);
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: var(--space-md);
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

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

/* Legacy FAQ support (button-based) */
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--text-light);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition-fast);
}

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

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  margin-left: var(--space-md);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--text-muted);
  border-radius: 1px;
  transition: transform var(--transition);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer__inner {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
}

/* ==========================================================================
   25. FOOTER
   ========================================================================== */

.site-footer {
  background: var(--bg-footer);
  padding: 3rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 768px) {
  .footer-container {
    padding: 0 var(--space-xl);
  }
}

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

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

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

.footer-col h4 {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--text-light);
  margin-bottom: var(--space-md);
}

.footer-col p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-col a {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  transition: color var(--transition-fast);
}

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

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

.trust-badges img {
  height: 32px;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

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

/* Disclaimer */
.footer-disclaimer {
  background: rgba(231, 76, 60, 0.08);
  border: 1px solid rgba(231, 76, 60, 0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: var(--space-xl) 0;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

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

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

/* Footer Bottom */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
  padding: var(--space-lg) 0;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.responsible-links {
  display: flex;
  gap: var(--space-md);
}

.responsible-links a {
  color: var(--text-muted);
  font-size: var(--fs-xs);
  transition: color var(--transition-fast);
}

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

/* ==========================================================================
   26. COOKIE CONSENT
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-cookie);
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5);
  padding: var(--space-lg) var(--space-md);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cookie-content > p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  flex: 1;
  margin-bottom: 0;
}

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

.cookie-actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.cookie-accept {
  padding: var(--space-sm) var(--space-lg);
  background: var(--green);
  color: var(--text-light);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.cookie-accept:hover {
  background: var(--green-hover);
}

.cookie-decline {
  padding: var(--space-sm) var(--space-lg);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-weight: var(--fw-medium);
  font-size: var(--fs-sm);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.cookie-decline:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   27. ANIMATIONS
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   28. BEM-STYLE ALIASES (for pages using old naming convention)
   ========================================================================== */

/* Header aliases */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--text-light);
  flex-shrink: 0;
}

.header__logo img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

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

.header__nav {
  display: none;
}

@media (min-width: 1024px) {
  .header__nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
  }
}

.header__nav a {
  color: var(--text-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
  padding: var(--space-xs) 0;
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--gold);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header__cta {
  padding: 0.6rem 1.2rem;
  font-size: var(--fs-xs);
}

/* Burger (BEM) */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

@media (min-width: 1024px) {
  .burger {
    display: none;
  }
}

.burger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.burger.is-active .burger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-active .burger__line:nth-child(2) {
  opacity: 0;
}

.burger.is-active .burger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu (BEM) */
.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: var(--z-mobile-menu);
  background: var(--bg-dark-alt);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-lg);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.is-open {
  max-height: 400px;
}

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

.mobile-menu__inner {
  padding: var(--space-lg) var(--space-md);
}

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

.mobile-menu__nav a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--text-body);
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

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

/* Hero (BEM) */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--sky-blue-start), var(--sky-blue-end));
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 46, 0.6) 0%,
    rgba(26, 26, 46, 0.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem var(--space-md);
}

.hero__title {
  font-size: 1.75rem;
  color: var(--gold);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: var(--space-md);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 2.75rem;
  }
}

.hero__subtitle {
  font-size: var(--fs-base);
  color: var(--text-body);
  margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
  .hero__subtitle {
    font-size: var(--fs-md);
  }
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: var(--space-lg);
}

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

.hero__stat {
  text-align: center;
}

.hero__stat-value {
  display: block;
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--gold);
}

.hero__stat-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Freshness badge dot */
.freshness-badge__dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  display: inline-block;
}

/* Generic Card (BEM) */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

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

.card {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.card:hover {
  border-color: rgba(255, 215, 0, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card__body {
  padding: 1.25rem;
}

.card__logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.card__title {
  font-size: var(--fs-base);
  margin-bottom: var(--space-sm);
}

.card__text {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.card__badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: rgba(76, 175, 80, 0.15);
  color: var(--green);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-sm);
}

/* Footer (BEM) */
.footer {
  background: var(--bg-footer);
  padding: 3rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

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

.footer__col-title {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--text-light);
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links a {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  transition: color var(--transition-fast);
}

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

.footer__text {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

/* Footer trust (BEM) */
.footer__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
  padding: var(--space-xl) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__trust img {
  height: 32px;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.footer__trust img:hover {
  opacity: 1;
}

.footer__disclaimer {
  background: rgba(231, 76, 60, 0.08);
  border: 1px solid rgba(231, 76, 60, 0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: var(--space-xl) 0;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

.footer__disclaimer strong {
  color: var(--danger);
}

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

.footer__copyright {
  text-align: center;
  padding: var(--space-lg) 0;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Sticky CTA (BEM) */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky-cta);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  padding: var(--space-sm) var(--space-md);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  text-align: center;
}

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

.sticky-cta a {
  display: block;
  color: var(--text-light);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  padding: var(--space-sm) 0;
}

@media (min-width: 1024px) {
  .sticky-cta {
    display: none;
  }
}

/* Cookie consent (BEM) */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-cookie);
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5);
  padding: var(--space-lg) var(--space-md);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-consent.is-visible {
  transform: translateY(0);
}

.cookie-consent__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cookie-consent__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cookie-consent__text {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  flex: 1;
}

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

.cookie-consent__actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.cookie-consent__accept {
  padding: var(--space-sm) var(--space-lg);
  background: var(--green);
  color: var(--text-light);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.cookie-consent__accept:hover {
  background: var(--green-hover);
}

.cookie-consent__reject {
  padding: var(--space-sm) var(--space-lg);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-weight: var(--fw-medium);
  font-size: var(--fs-sm);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.cookie-consent__reject:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Pros/Cons (BEM - standalone page version) */
.pros-cons__column {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pros-cons__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-md);
}

.pros-cons__title--pro {
  color: var(--success);
}

.pros-cons__title--con {
  color: var(--danger);
}

.pros-cons__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.pros-cons__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--text-body);
  line-height: var(--lh-relaxed);
}

.pros-cons__item::before {
  flex-shrink: 0;
  font-weight: var(--fw-bold);
  font-size: var(--fs-base);
  line-height: 1.4;
}

.pros-cons__item--pro::before {
  content: "\2713";
  color: var(--success);
}

.pros-cons__item--con::before {
  content: "\2717";
  color: var(--danger);
}

/* Rating (BEM) */
.rating__stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
}

.rating__score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 36px;
  padding: 0 var(--space-sm);
  background: linear-gradient(135deg, var(--gold), var(--gold-alt));
  color: #000;
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  border-radius: var(--radius-sm);
}

.rating__label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* Breadcrumbs (BEM extras) */
.breadcrumbs__separator {
  margin: 0 var(--space-xs);
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

.breadcrumbs__current {
  color: var(--text-body);
}

/* Calculator (BEM aliases) */
.calculator__field {
  margin-bottom: var(--space-lg);
}

.calculator__label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.calculator__input {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-panel-alt);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-light);
  font-size: var(--fs-base);
  transition: border-color var(--transition-fast);
}

.calculator__input:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
}

/* Update history content (BEM alias) */
.update-history__content {
  padding: 0 1.25rem 1.25rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

/* Cookie reject alias */
.cookie-reject {
  padding: var(--space-sm) var(--space-lg);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-weight: var(--fw-medium);
  font-size: var(--fs-sm);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.cookie-reject:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Redirect page */
.redirect-box {
  text-align: center;
  padding: var(--space-4xl) var(--space-md);
  max-width: 600px;
  margin: 0 auto;
}

.spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: var(--space-lg);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   29. PRINT STYLES
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }

  .site-header,
  .trust-badges,
  .cookie-banner,
  .mobile-sticky-cta,
  .mobile-nav,
  .burger-menu,
  .btn {
    display: none !important;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  h2, h3 {
    page-break-after: avoid;
  }
}

/* Language Switcher */
.lang-switch {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 4px;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.lang-switch:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.7);
}

/* ==========================================================================
   SIDE VIDEOS — fixed videos on left/right of content
   ========================================================================== */

.side-video {
    display: none;
}

@media (min-width: 1440px) {
    .side-video {
        display: block;
        position: fixed;
        top: 0;
        width: calc((100vw - 1200px) / 2);
        height: 100vh;
        z-index: 0;
        z-index: 0;
        overflow: hidden;
        pointer-events: none;
    }

    .side-video--left {
        left: 0;
    }

    .side-video--right {
        right: 0;
    }

    .side-video video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.25;
        filter: brightness(0.4) saturate(0.6);
    }

    /* Gradient fade edges so videos blend into the dark background */
    .side-video--left::after,
    .side-video--right::after {
        content: '';
        position: absolute;
        top: 0;
        width: 60px;
        height: 100%;
        z-index: 1;
    }

    .side-video--left::after {
        right: 0;
        background: linear-gradient(to left, var(--bg-dark), transparent);
    }

    .side-video--right::after {
        left: 0;
        background: linear-gradient(to right, var(--bg-dark), transparent);
    }

    /* Ensure main content sits above side videos */
    .site-header,
    main,
    .site-footer,
    .footer,
    .mobile-sticky-cta,
    .sticky-cta,
    .cookie-consent {
        position: relative;
        z-index: 1;
    }

    /* Header and footer full-width with solid background */
    .site-header {
        background: var(--bg-dark);
    }

    .site-footer,
    .footer {
        background: var(--bg-footer);
    }

    /* Remove section-level backgrounds so side videos are visible (except hero) */
    main section:not(.hero-section):not(.hero),
    main .section,
    main .section-dark {
        background: transparent !important;
    }

    /* Move backgrounds to container (max-width 1200px) */
    main .container {
        background: var(--bg-dark);
    }

    main .section-dark > .container,
    main section[style*="background"] > .container {
        background: var(--bg-dark-alt);
    }

    main section[style*="bg-panel"] > .container {
        background: var(--bg-panel);
    }

}

/* ==========================================================================
   CASE STUDY CAROUSEL
   ========================================================================== */

.case-carousel {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  position: relative;
}

.case-carousel__track-wrapper {
  overflow: hidden;
  flex: 1;
  border-radius: var(--radius-lg);
}

.case-carousel__track {
  display: flex;
  transition: transform 0.4s ease;
}

.case-card {
  flex: 0 0 100%;
  min-width: 0;
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin: 0 0.5rem;
}

@media (min-width: 768px) {
  .case-card {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media (min-width: 1024px) {
  .case-card {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

.case-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-lg) var(--space-sm);
}

.case-card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
}

.case-card--profit .case-card__number {
  background: rgba(76, 175, 80, 0.15);
  color: var(--green);
}

.case-card--loss .case-card__number {
  background: rgba(231, 76, 60, 0.15);
  color: var(--danger);
}

.case-card__title {
  font-size: var(--fs-md);
  margin-bottom: 0;
  color: var(--text-light);
}

.case-card__body {
  padding: var(--space-sm) var(--space-lg);
}

.case-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.case-card__row:last-child {
  border-bottom: none;
}

.case-card__label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.case-card__value {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-light);
}

.case-card__row--result {
  margin-top: var(--space-xs);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
}

.case-card__value--profit {
  color: var(--green);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
}

.case-card__value--loss {
  color: var(--danger);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
}

.case-card__math {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(0, 0, 0, 0.15);
}

.case-card__math strong {
  color: var(--gold);
  font-size: var(--fs-sm);
}

/* Carousel Arrows */
.case-carousel__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-panel);
  color: var(--text-light);
  font-size: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
  line-height: 1;
}

.case-carousel__arrow:hover:not(:disabled) {
  background: var(--bg-panel-alt);
  border-color: var(--gold);
  color: var(--gold);
}

.case-carousel__arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Carousel Dots */
.case-carousel__dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.case-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}

.case-carousel__dot:hover {
  background: rgba(255, 215, 0, 0.4);
}

.case-carousel__dot--active {
  background: var(--gold);
  transform: scale(1.2);
}
