/* ============================================
   PuppyBet Casino - Main Stylesheet
   Dark theme, SEO-optimized, Mobile-First
   ============================================ */

/* === CSS Variables === */
:root {
  --bg-primary: #0d0d14;
  --bg-secondary: #151525;
  --bg-card: #1a1a2e;
  --bg-card-hover: #222240;
  --accent-primary: #e63946;
  --accent-secondary: #f77f00;
  --accent-gradient: linear-gradient(135deg, #e63946, #f77f00);
  --text-primary: #f1f1f1;
  --text-secondary: #a8a8b3;
  --text-muted: #6b6b7b;
  --border-color: #2a2a3e;
  --success: #2ecc71;
  --warning: #f39c12;
  --info: #3498db;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --transition: all 0.3s ease;
  --header-h: 60px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
}

a {
  color: var(--accent-secondary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-primary);
}

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

ul, ol {
  list-style: none;
}

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

/* ====================================================
   HEADER — Mobile-First
   ==================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 13, 20, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  padding-top: var(--safe-top);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

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

.logo span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* === Navigation — Mobile-First (hidden by default) === */
.main-nav {
  position: fixed;
  top: calc(var(--header-h) + var(--safe-top));
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 13, 20, 0.98);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 16px;
  padding-bottom: calc(24px + var(--safe-bottom));
  gap: 4px;
  display: flex;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.main-nav.open {
  transform: translateX(0);
}

.main-nav a {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  width: 100%;
  text-align: center;
  /* Минимальный touch target 44px */
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-primary);
  background: rgba(230, 57, 70, 0.15);
}

/* CTA Button */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--accent-gradient);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-height: 48px;
  -webkit-appearance: none;
  text-align: center;
}

.cta-btn:hover {
  color: #fff !important;
}

.cta-btn-secondary {
  background: transparent;
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary) !important;
}

.cta-btn-secondary:hover {
  background: var(--accent-primary);
  color: #fff !important;
}

/* Hamburger menu — visible by default (mobile-first) */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  /* 48px touch target */
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  -webkit-tap-highlight-color: transparent;
}

.hamburger:active {
  background: rgba(255,255,255,0.05);
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ====================================================
   HERO — Mobile-First
   ==================================================== */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  margin-top: calc(var(--header-h) + var(--safe-top));
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,20,0.93) 0%, rgba(13,13,20,0.75) 50%, rgba(13,13,20,0.93) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 16px 40px;
  text-align: center;
}

.hero h1 {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.hero-cta .cta-btn {
  width: 100%;
  max-width: 320px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  justify-content: center;
  margin-top: 28px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.hero-badge i {
  color: var(--success);
  font-size: 0.95rem;
}

/* ====================================================
   SECTIONS — Mobile-First
   ==================================================== */
.section {
  padding: 40px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 28px;
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
  line-height: 1.3;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-primary);
  margin-bottom: 6px;
}

/* === Section Banner === */
.section-banner {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  max-height: 200px;
}

.section-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === Content Grid — stacked on mobile === */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.content-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.content-text p {
  margin-bottom: 14px;
}

/* ====================================================
   FEATURE CARDS — Mobile-First (1 column)
   ==================================================== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: var(--transition);
  text-align: center;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(230, 57, 70, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.5rem;
  color: var(--accent-primary);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ====================================================
   INFO TABLE — Mobile Card Layout
   ==================================================== */
.info-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  /* Скролл-подсказка */
  scrollbar-width: thin;
  scrollbar-color: var(--accent-primary) var(--bg-card);
}

.info-table-wrapper::after {
  content: '← Svep för att se mer →';
  display: block;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 8px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 480px;
}

.info-table thead {
  background: var(--bg-card);
}

.info-table th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 2px solid var(--accent-primary);
  white-space: nowrap;
  font-size: 0.8rem;
}

.info-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.info-table tbody tr:hover {
  background: rgba(230, 57, 70, 0.05);
}

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

/* ====================================================
   CHECK LIST — single column on mobile
   ==================================================== */
.check-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 16px 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.check-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  background: rgba(46, 204, 113, 0.15);
  color: var(--success);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* === Numbered List === */
.numbered-list {
  counter-reset: item;
  margin: 16px 0;
}

.numbered-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.numbered-list li:last-child {
  border-bottom: none;
}

.numbered-list li::before {
  counter-increment: item;
  content: counter(item);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  background: var(--accent-gradient);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ====================================================
   PROMO BANNER — Mobile-First
   ==================================================== */
.promo-banner {
  background: var(--accent-gradient);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  margin: 28px 0;
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10%, 10%); }
}

.promo-banner h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  line-height: 1.35;
}

.promo-banner p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 18px;
  position: relative;
  line-height: 1.6;
}

.promo-banner .cta-btn {
  background: #fff;
  color: var(--accent-primary) !important;
  -webkit-text-fill-color: var(--accent-primary);
  position: relative;
  width: 100%;
  max-width: 300px;
}

/* === Highlight Box === */
.highlight-box {
  background: var(--bg-card);
  border-left: 4px solid var(--accent-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 16px;
  margin: 20px 0;
}

.highlight-box h4 {
  color: var(--accent-primary);
  font-size: 1rem;
  margin-bottom: 8px;
}

.highlight-box p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ====================================================
   STEPS — Mobile-First (1 column)
   ==================================================== */
.steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0;
}

.step-card {
  text-align: center;
  padding: 20px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  position: relative;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 12px;
}

.step-card h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* === Rating Stars === */
.rating {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 8px;
}

.rating i {
  color: var(--accent-secondary);
  font-size: 1rem;
}

/* ====================================================
   STATS BAR — Mobile-First (2 columns)
   ==================================================== */
.stats-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}

.stat-item {
  text-align: center;
  padding: 16px 12px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-top: 2px;
}

/* ====================================================
   ACCORDION / FAQ — Mobile-First
   ==================================================== */
.accordion {
  margin: 20px 0;
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  cursor: pointer;
  background: var(--bg-card);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  gap: 12px;
  /* Touch target */
  min-height: 52px;
  -webkit-tap-highlight-color: transparent;
}

.accordion-header span {
  flex: 1;
  line-height: 1.4;
}

.accordion-header:active {
  background: var(--bg-card-hover);
}

.accordion-header i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-body-inner {
  padding: 14px 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.accordion-item.active .accordion-body {
  max-height: 500px;
}

/* ====================================================
   TABLE OF CONTENTS — Mobile-First
   ==================================================== */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  margin-bottom: 24px;
}

.toc h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--accent-primary);
}

.toc-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.toc-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 8px 0;
  min-height: 40px;
}

.toc-list a:hover,
.toc-list a:active {
  color: var(--accent-primary);
}

.toc-list a i {
  font-size: 0.65rem;
  color: var(--accent-primary);
  flex-shrink: 0;
}

/* ====================================================
   FOOTER — Mobile-First
   ==================================================== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 40px 0 24px;
  padding-bottom: calc(24px + var(--safe-bottom));
}

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

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
}

.footer-links a:hover,
.footer-links a:active {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-badges {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-badges span {
  color: var(--text-muted);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-primary);
}

/* ====================================================
   BACK TO TOP — Mobile-First
   ==================================================== */
.back-to-top {
  position: fixed;
  bottom: calc(16px + var(--safe-bottom));
  right: 16px;
  width: 44px;
  height: 44px;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
  -webkit-tap-highlight-color: transparent;
}

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

/* ====================================================
   COOKIE BANNER — Mobile-First
   ==================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 14px 16px;
  padding-bottom: calc(14px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  z-index: 2000;
  box-shadow: var(--shadow-lg);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

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

.cookie-banner button {
  padding: 12px 32px;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
  min-height: 44px;
  font-size: 0.9rem;
  -webkit-appearance: none;
  width: 100%;
  max-width: 280px;
}

/* ====================================================
   ============= TABLET (min-width: 576px) =============
   ==================================================== */
@media (min-width: 576px) {
  .container {
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }

  .hero-cta .cta-btn {
    width: auto;
    max-width: none;
  }

  .section-header h2 {
    font-size: 1.65rem;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .steps-container {
    grid-template-columns: 1fr 1fr;
  }

  .toc-list {
    grid-template-columns: 1fr 1fr;
  }

  .check-list {
    grid-template-columns: 1fr 1fr;
  }

  .section-banner {
    max-height: 260px;
  }

  .promo-banner {
    padding: 28px 24px;
  }

  .promo-banner h3 {
    font-size: 1.35rem;
  }

  .promo-banner .cta-btn {
    width: auto;
    max-width: none;
  }

  .cookie-banner {
    flex-direction: row;
    text-align: left;
    padding: 14px 20px;
    padding-bottom: calc(14px + var(--safe-bottom));
  }

  .cookie-banner button {
    width: auto;
    max-width: none;
  }

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

  .info-table-wrapper::after {
    display: none;
  }
}

/* ====================================================
   ============= TABLET LANDSCAPE (min-width: 768px) ===
   ==================================================== */
@media (min-width: 768px) {
  :root {
    --header-h: 68px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-content {
    padding: 60px 20px 72px;
  }

  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-header h2 {
    font-size: 1.85rem;
  }

  .section-banner {
    max-height: 300px;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
  }

  .content-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }

  .feature-card {
    padding: 28px 22px;
  }

  .steps-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .promo-banner h3 {
    font-size: 1.5rem;
  }

  .info-table {
    font-size: 0.9rem;
    min-width: auto;
  }

  .info-table th {
    padding: 14px 16px;
    font-size: 0.85rem;
  }

  .info-table td {
    padding: 12px 16px;
  }

  .accordion-header {
    font-size: 0.95rem;
    padding: 16px 20px;
  }

  .accordion-body-inner {
    padding: 16px 20px;
  }
}

/* ====================================================
   ============= DESKTOP (min-width: 1024px) ===========
   ==================================================== */
@media (min-width: 1024px) {
  :root {
    --header-h: 72px;
  }

  .container {
    padding: 0 24px;
  }

  /* Desktop nav — inline */
  .hamburger {
    display: none;
  }

  .main-nav {
    position: static;
    flex-direction: row;
    background: transparent;
    transform: none;
    padding: 0;
    gap: 4px;
    overflow: visible;
    align-items: center;
    justify-content: flex-end;
  }

  .main-nav a {
    font-size: 0.88rem;
    padding: 8px 12px;
    width: auto;
    min-height: auto;
  }

  .logo img {
    height: 42px;
  }

  .hero {
    min-height: 580px;
  }

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

  .hero-subtitle {
    font-size: 1.2rem;
    margin: 0 auto 32px;
  }

  .hero-content {
    padding: 80px 24px;
  }

  .hero-badge {
    font-size: 0.9rem;
  }

  .section {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .section-header p {
    font-size: 1.1rem;
  }

  .section-banner {
    max-height: 320px;
    margin-bottom: 40px;
  }

  .content-grid {
    gap: 40px;
  }

  .content-text {
    font-size: 1.05rem;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px;
  }

  .feature-card {
    padding: 32px 24px;
  }

  .feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.15);
  }

  .feature-icon {
    width: 64px;
    height: 64px;
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .feature-card h3 {
    font-size: 1.15rem;
  }

  .feature-card p {
    font-size: 0.95rem;
  }

  .stats-bar {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 40px 0;
  }

  .stat-item {
    padding: 24px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .steps-container {
    gap: 24px;
    margin: 32px 0;
  }

  .step-card {
    padding: 24px 16px;
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  .info-table {
    font-size: 0.95rem;
  }

  .info-table th {
    padding: 14px 20px;
    font-size: 0.9rem;
  }

  .info-table td {
    padding: 12px 20px;
  }

  .check-list li {
    font-size: 0.95rem;
  }

  .check-list li::before {
    min-width: 24px;
    height: 24px;
    font-size: 0.8rem;
  }

  .promo-banner {
    padding: 40px;
    margin: 40px 0;
    border-radius: var(--radius-lg);
  }

  .promo-banner h3 {
    font-size: 1.8rem;
  }

  .promo-banner p {
    font-size: 1.1rem;
  }

  .highlight-box {
    padding: 24px;
  }

  .highlight-box h4 {
    font-size: 1.1rem;
  }

  .highlight-box p {
    font-size: 0.95rem;
  }

  .accordion-header {
    font-size: 1rem;
  }

  .accordion-header:hover {
    background: var(--bg-card-hover);
  }

  .toc {
    padding: 24px;
    margin-bottom: 40px;
  }

  .toc h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }

  .toc-list a {
    font-size: 0.9rem;
    padding: 6px 0;
  }

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

  .site-footer {
    padding: 60px 0 30px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-brand p {
    font-size: 0.9rem;
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  .age-badge {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .back-to-top {
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
  }

  .cookie-banner {
    padding: 16px 24px;
    gap: 24px;
  }
}

/* ====================================================
   ============= LARGE DESKTOP (min-width: 1200px) =====
   ==================================================== */
@media (min-width: 1200px) {
  .hero h1 {
    font-size: 3rem;
  }

  .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
  }

  .cta-btn-secondary:hover {
    background: var(--accent-primary);
    color: #fff !important;
  }

  .promo-banner .cta-btn:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  }
}

/* ====================================================
   VIP Grid Override for Tablet/Desktop
   ==================================================== */
@media (min-width: 768px) {
  .features-grid[style*="repeat(5"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (min-width: 1024px) {
  .features-grid[style*="repeat(5"] {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}

/* ====================================================
   TOUCH DEVICE OPTIMIZATIONS
   ==================================================== */
@media (hover: none) and (pointer: coarse) {
  .feature-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border-color);
  }

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

  .back-to-top:hover {
    transform: none;
    box-shadow: var(--shadow-md);
  }

  .cta-btn:active {
    opacity: 0.85;
    transform: scale(0.98);
  }

  .feature-card:active {
    background: var(--bg-card-hover);
  }

  .accordion-header:hover {
    background: var(--bg-card);
  }
}

/* ====================================================
   LANDSCAPE MODE on small screens
   ==================================================== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 16px 0;
  }

  .hero-content {
    padding: 20px 16px;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 14px;
  }

  .hero-badges {
    margin-top: 14px;
  }

  .main-nav {
    padding-top: 8px;
  }

  .main-nav a {
    padding: 8px 20px;
    min-height: 40px;
  }
}

/* ====================================================
   PRINT
   ==================================================== */
@media print {
  .site-header,
  .back-to-top,
  .cookie-banner,
  .cta-btn,
  .hamburger {
    display: none !important;
  }
  body {
    background: #fff;
    color: #333;
    padding: 0;
  }
  .hero {
    margin-top: 0;
  }
}
