/* ============================================
   Wildzy Casino — Main Stylesheet v3.0
   Mobile-First Optimized, Feb 2026
   ============================================ */

/* === CSS VARIABLES === */
:root {
  --primary: #7B2FBE;
  --primary-dark: #5A1F8E;
  --primary-light: #A855F7;
  --accent: #E91E8C;
  --accent-light: #FF6EB4;
  --gold: #FFD700;
  --gold-dark: #DAA520;
  --bg-dark: #0F0A1A;
  --bg-card: #1A1128;
  --bg-section: #140E22;
  --bg-section-alt: #1C1332;
  --text-primary: #F0E6FF;
  --text-secondary: #B8A0D4;
  --text-muted: #7A6B8F;
  --border-color: #2D2145;
  --success: #22C55E;
  --warning: #F59E0B;
  --sweden-blue: #006AA7;
  --sweden-yellow: #FECC02;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(123, 47, 190, 0.15);
  --shadow-lg: 0 8px 40px rgba(123, 47, 190, 0.25);
  --navbar-h: 70px;
  --tap-min: 44px; /* minimum touch target size per Google/Apple */
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent; /* remove blue tap highlight on mobile */
}

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

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* === UTILITY === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

/* === HEADER / NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 10, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 20px;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-lg);
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  min-height: var(--tap-min);
}

.navbar-logo img {
  height: 42px;
  width: auto;
  background: transparent;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.navbar-nav a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.3s ease, background 0.3s ease;
  white-space: nowrap;
  min-height: var(--tap-min);
  display: inline-flex;
  align-items: center;
}

.navbar-nav a:hover {
  color: #fff;
  background: rgba(123, 47, 190, 0.2);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 28px;
  min-height: var(--tap-min);
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(233, 30, 140, 0.3);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(233, 30, 140, 0.5);
  color: #fff !important;
}

/* Active state for mobile tap */
.btn-cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(233, 30, 140, 0.4);
}

.btn-cta-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1a1a !important;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.btn-cta-gold:hover {
  box-shadow: 0 6px 30px rgba(255, 215, 0, 0.5);
  color: #1a1a1a !important;
}

.btn-cta-gold:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
}

/* === Hamburger with ✕ animation === */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s ease;
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

/* Animate hamburger to ✕ */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--navbar-h);
}

.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(135deg, rgba(15, 10, 26, 0.85) 0%, rgba(15, 10, 26, 0.5) 50%, rgba(15, 10, 26, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-intro {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero-badge-item i {
  color: var(--gold);
}

/* === TABLE OF CONTENTS (TOC) === */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: 32px;
}

.toc h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 6px;
  list-style: none;
}

.toc-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: 8px;
  border-left: 3px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  min-height: var(--tap-min);
}

.toc-nav a:hover,
.toc-nav a.active {
  color: #fff;
  background: rgba(123, 47, 190, 0.15);
  border-left-color: var(--accent);
}

.toc-nav a i {
  color: var(--accent-light);
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

/* === SECTIONS === */
.section {
  padding: 80px 0;
}

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

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

/* Section Animations — CSS class based, SEO-safe */
.section-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Fallback for no-JS and reduced motion */
@media (prefers-reduced-motion: reduce) {
  .section-animate {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

noscript + main .section {
  opacity: 1;
  transform: none;
}

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

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Section Banner */
.section-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  position: relative;
  max-height: 300px;
}

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

.section-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 10, 26, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 30px;
}

.section-banner-overlay h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Content blocks */
.content-block {
  margin-bottom: 32px;
}

.content-block h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.content-block p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}

/* Feature List */
.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-list li:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.feature-list li i {
  color: var(--accent-light);
  font-size: 1.2rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.feature-list li span {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Info Table */
.info-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
  margin: 24px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.info-table th {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 14px 20px;
  white-space: nowrap;
}

.info-table td {
  padding: 12px 20px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

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

.info-table tr:nth-child(even) td {
  background: rgba(123, 47, 190, 0.05);
}

.info-table tr:hover td {
  background: rgba(123, 47, 190, 0.1);
}

.info-table .highlight {
  color: var(--gold);
  font-weight: 600;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 24px 0;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

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

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 20px;
}

.card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

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

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 40px 0;
}

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

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

.cta-banner h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-cta {
  position: relative;
  z-index: 1;
}

/* Sweden Highlight */
.sweden-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--sweden-blue), #004C7A);
  color: var(--sweden-yellow);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 16px;
}

/* Pros/Cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0;
}

.pros, .cons {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border-color);
}

.pros h4, .cons h4 {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.pros h4 { color: var(--success); }
.cons h4 { color: var(--warning); }

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

.pros li, .cons li {
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pros li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

.cons li::before {
  content: '✗';
  color: var(--warning);
  font-weight: 700;
  flex-shrink: 0;
}

/* Star Rating */
.rating-display {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  flex-wrap: wrap;
}

.rating-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
}

.rating-stars {
  display: flex;
  gap: 2px;
}

.rating-stars i {
  color: var(--gold);
  font-size: 1.1rem;
}

.rating-text {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* === FOOTER === */
.footer {
  background: #0A0612;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}

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

.footer-brand img {
  height: 36px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-org {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer h5 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  padding: 2px 0;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

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

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

.footer-badges span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 12px;
  border-radius: 6px;
}

.footer-badges i {
  color: var(--success);
}

/* Age restriction */
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid #ff4444;
  border-radius: 50%;
  color: #ff4444;
  font-weight: 800;
  font-size: 0.75rem;
}

/* Last Updated */
.last-updated {
  text-align: center;
  padding: 16px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--border-color);
  margin-top: 20px;
}

.last-updated time {
  font-weight: 600;
  color: var(--text-secondary);
}

/* === FAQ Accordion === */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
  min-height: 56px; /* comfortable touch target */
}

.faq-question:active {
  background: rgba(123, 47, 190, 0.08);
}

.faq-question i {
  color: var(--accent-light);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 24px 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

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

/* === BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 999;
  box-shadow: var(--shadow);
}

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

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.back-to-top:active {
  transform: translateY(0);
}

/* === COOKIE NOTICE === */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 16px 20px;
  z-index: 9999;
  display: none;
}

.cookie-notice.show {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-notice p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.cookie-notice button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 28px;
  min-height: var(--tap-min);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.cookie-notice button:hover {
  background: var(--primary-light);
}

.cookie-notice button:active {
  background: var(--primary-dark);
}

/* ============================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

/* ============================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {
  :root {
    --navbar-h: 60px;
  }

  /* Navbar mobile */
  .navbar {
    padding: 0 16px;
  }

  .navbar-logo img {
    height: 36px;
  }

  .navbar-nav {
    position: fixed;
    top: var(--navbar-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 10, 26, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

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

  .navbar-nav a {
    padding: 14px 20px;
    font-size: 1rem;
    border-radius: 10px;
    min-height: 48px;
  }

  .navbar-nav li:last-child {
    margin-top: 12px;
  }

  .navbar-nav li:last-child .btn-cta {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
  }

  .hamburger {
    display: flex;
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

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

  .hero-intro {
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.7;
  }

  .hero-badges {
    gap: 8px;
    margin-top: 20px;
  }

  .hero-badge-item {
    padding: 6px 14px;
    font-size: 0.78rem;
    gap: 6px;
  }

  /* Container padding */
  .container {
    padding: 0 16px;
  }

  /* Section */
  .section {
    padding: 48px 0;
  }

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

  .section-header h2 {
    font-size: 1.5rem;
    padding: 0 8px;
  }

  .section-header p {
    font-size: 0.95rem;
    padding: 0 8px;
  }

  /* Banner mobile */
  .section-banner {
    border-radius: var(--radius);
    margin-bottom: 28px;
    max-height: 220px;
  }

  .section-banner img {
    height: 220px;
  }

  .section-banner-overlay {
    padding: 20px;
  }

  .section-banner-overlay h3 {
    font-size: 1.2rem;
  }

  /* Content block */
  .content-block h3 {
    font-size: 1.2rem;
  }

  .content-block p {
    font-size: 0.95rem;
  }

  /* Feature list mobile */
  .feature-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-list li {
    padding: 14px 16px;
  }

  .feature-list li span {
    font-size: 0.9rem;
  }

  /* Table mobile */
  .info-table th {
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  .info-table td {
    padding: 10px 14px;
    font-size: 0.82rem;
  }

  /* Cards mobile */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    padding: 24px;
  }

  .card-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    border-radius: 12px;
    margin-bottom: 16px;
  }

  /* CTA Banner mobile */
  .cta-banner {
    padding: 32px 20px;
    margin: 28px 0;
    border-radius: var(--radius);
  }

  .cta-banner h3 {
    font-size: 1.3rem;
  }

  .cta-banner p {
    font-size: 0.9rem;
  }

  .cta-banner .btn-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  /* Pros/Cons mobile */
  .pros-cons {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pros, .cons {
    padding: 20px;
  }

  /* Rating display mobile */
  .rating-number {
    font-size: 1.6rem;
  }

  .rating-stars i {
    font-size: 1rem;
  }

  /* TOC mobile */
  .toc {
    padding: 20px;
    border-radius: var(--radius);
  }

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

  .toc-nav a {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  /* FAQ mobile */
  .faq-question {
    padding: 16px 18px;
    font-size: 0.92rem;
    gap: 12px;
  }

  .faq-answer-inner {
    padding: 0 18px 16px;
    font-size: 0.85rem;
  }

  /* Footer mobile */
  .footer {
    padding: 40px 0 20px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-badges {
    justify-content: center;
  }

  /* Back to top mobile */
  .back-to-top {
    bottom: 20px;
    right: 16px;
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  /* Cookie notice mobile */
  .cookie-notice.show {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    text-align: center;
  }

  .cookie-notice p {
    font-size: 0.8rem;
  }

  .cookie-notice button {
    width: 100%;
  }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================ */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.45rem;
  }

  .hero-intro {
    font-size: 0.92rem;
  }

  .btn-cta {
    padding: 12px 22px;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
  }

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

  .section-banner img {
    height: 180px;
  }

  .section-banner-overlay h3 {
    font-size: 1.05rem;
  }

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

  .content-block h3 {
    font-size: 1.1rem;
  }

  .cta-banner h3 {
    font-size: 1.15rem;
  }

  .section-badge {
    font-size: 0.7rem;
    padding: 5px 12px;
    letter-spacing: 1.5px;
  }

  .hero-badge-item {
    padding: 5px 10px;
    font-size: 0.72rem;
  }
}

/* ============================================
   RESPONSIVE — TINY MOBILE (max 360px)
   ============================================ */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

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

  .hero-intro {
    font-size: 0.85rem;
  }

  .hero-content {
    padding: 32px 12px;
  }

  .hero-badges {
    gap: 6px;
  }

  .hero-badge-item {
    padding: 4px 8px;
    font-size: 0.68rem;
  }

  .section {
    padding: 36px 0;
  }

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

  .section-banner {
    max-height: 150px;
    border-radius: 10px;
  }

  .section-banner img {
    height: 150px;
  }

  .section-banner-overlay {
    padding: 14px;
  }

  .section-banner-overlay h3 {
    font-size: 0.95rem;
  }

  .toc {
    padding: 16px;
  }

  .toc h3 {
    font-size: 1rem;
  }

  .toc-nav a {
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .info-table th {
    padding: 10px 10px;
    font-size: 0.78rem;
  }

  .info-table td {
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .card {
    padding: 20px;
  }

  .card-icon {
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
  }

  .card h4 {
    font-size: 1rem;
  }

  .card p {
    font-size: 0.82rem;
  }

  .feature-list li {
    padding: 12px 14px;
    gap: 10px;
  }

  .feature-list li span {
    font-size: 0.82rem;
  }

  .faq-question {
    padding: 14px 14px;
    font-size: 0.85rem;
  }

  .faq-answer-inner {
    padding: 0 14px 14px;
    font-size: 0.82rem;
  }

  .cta-banner {
    padding: 24px 14px;
    border-radius: 10px;
  }

  .cta-banner h3 {
    font-size: 1.05rem;
  }

  .cta-banner p {
    font-size: 0.82rem;
  }

  .pros, .cons {
    padding: 16px;
  }

  .pros h4, .cons h4 {
    font-size: 0.95rem;
  }

  .pros li, .cons li {
    font-size: 0.82rem;
  }

  .rating-number {
    font-size: 1.4rem;
  }

  .rating-stars i {
    font-size: 0.9rem;
  }

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

/* ============================================
   LANDSCAPE PHONE (short height)
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
  }

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

  .hero h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .hero-intro {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }

  .navbar-nav {
    top: var(--navbar-h);
  }
}

/* ============================================
   SAFE AREA (notch phones — iPhone X+, etc.)
   ============================================ */
@supports (padding: env(safe-area-inset-bottom)) {
  .cookie-notice {
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }

  .back-to-top {
    bottom: calc(20px + env(safe-area-inset-bottom));
  }

  .navbar {
    padding-left: calc(20px + env(safe-area-inset-left));
    padding-right: calc(20px + env(safe-area-inset-right));
  }

  .footer {
    padding-bottom: calc(30px + env(safe-area-inset-bottom));
  }
}

/* ============================================
   PRINT STYLES (bonus)
   ============================================ */
@media print {
  .navbar, .back-to-top, .cookie-notice, .hamburger {
    display: none !important;
  }

  .hero {
    margin-top: 0;
    min-height: auto;
  }

  .section-animate {
    opacity: 1;
    transform: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
