/*
Theme Name: Sicher Bitcoin Casino
Theme URI: https://sicherbitcoincasino.de
Author: sicherbitcoincasino.de
Description: German Bitcoin Casino affiliate theme with deep navy + electric cyan design.
Version: 1.1.0
Text Domain: sicherbitcoincasino
*/

/* ========== ROOT VARIABLES ========== */
:root {
  --bg-primary: #080e1e;
  --bg-secondary: #0c1529;
  --bg-card: #111d36;
  --bg-card-alt: #0b1426;
  --bg-card-hover: #152545;
  --accent: #00c8f0;
  --accent-hover: #00a8cc;
  --accent-glow: rgba(0,200,240,0.15);
  --accent-secondary: #34d9a8;
  --accent-warm: #f0b840;
  --text-primary: #d8e4f0;
  --text-secondary: #7b93ae;
  --text-heading: #f0f4f8;
  --border-color: rgba(0,200,240,0.10);
  --border-color-strong: rgba(0,200,240,0.25);
  --success: #34d99a;
  --danger: #f05858;
  --star-color: #f0b840;
  --shadow-card: 0 2px 12px rgba(0,0,0,0.35);
  --shadow-card-hover: 0 8px 32px rgba(0,200,240,0.10), 0 2px 12px rgba(0,0,0,0.4);
  --max-width: 1280px;
  --radius: 8px;
  --radius-lg: 12px;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
}

/* ========== 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-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.72;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--accent-hover); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--text-heading); line-height: 1.25; }
h2 { font-size: 1.85rem; margin-bottom: 1.1rem; letter-spacing: -0.02em; }
h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }
strong { color: var(--text-heading); }

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

/* ========== HEADER ========== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(8,14,30,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 24px;
}
.header-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.site-brand { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; }
.site-brand a { color: var(--accent); transition: text-shadow 0.3s; }
.site-brand a:hover { text-shadow: 0 0 14px var(--accent-glow); }
.main-nav ul { list-style: none; display: flex; gap: 30px; }
.main-nav a {
  color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
  transition: color 0.25s; position: relative; padding-bottom: 2px;
}
.main-nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--accent); transition: width 0.3s; border-radius: 1px;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a:hover, .main-nav a.active { color: var(--text-heading); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-primary); margin: 5px 0; transition: 0.3s; border-radius: 2px; }
.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(5px,-5px); }

/* ========== HERO ========== */
.hero {
  min-height: 60vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 90px 24px 80px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(0,200,240,0.06) 0%, transparent 70%),
    linear-gradient(175deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 280px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.3;
}
.hero-content { max-width: 860px; }
.hero h1 {
  font-size: 2.8rem; margin-bottom: 1.2rem; line-height: 1.15;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text-heading) 60%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .subtitle {
  font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 1.8rem;
  line-height: 1.65; max-width: 720px; margin-left: auto; margin-right: auto;
}
.hero .meta-line { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.4rem; }
.hero .author-line {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-secondary);
}
.hero .author-line img { width: 30px; height: 30px; border-radius: 50%; object-fit: contain; border: 1px solid var(--border-color-strong); }

.btn-primary {
  display: inline-block; padding: 14px 38px;
  background: linear-gradient(135deg, var(--accent) 0%, #00a0d0 100%);
  color: #080e1e; font-weight: 700; border-radius: var(--radius); font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.3s; margin-top: 1.2rem;
  border: none; cursor: pointer;
  font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.6px;
  box-shadow: 0 4px 20px rgba(0,200,240,0.25);
}
.btn-primary:hover {
  color: #080e1e; transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0,200,240,0.35);
}

/* Inner hero (secondary pages) */
.inner-hero { min-height: 40vh; padding: 60px 24px; }
.inner-hero.tall { min-height: 45vh; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 1.5rem; }
.badge-item {
  background: rgba(0,200,240,0.07); border: 1px solid var(--border-color-strong);
  padding: 7px 18px; border-radius: 20px; font-size: 0.8rem;
  color: var(--accent); font-weight: 600; letter-spacing: 0.02em;
}

/* ========== TABLE OF CONTENTS ========== */
.toc-wrapper { max-width: 580px; margin: 30px auto; padding: 0 24px; }
.toc-box {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card);
}
.toc-toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; cursor: pointer; font-size: 0.88rem; font-weight: 600;
  color: var(--text-heading); background: none; border: none; width: 100%;
  font-family: var(--font-heading);
}
.toc-toggle .arrow { color: var(--accent); transition: transform 0.3s; font-size: 0.8rem; }
.toc-toggle.open .arrow { transform: rotate(180deg); }
.toc-list {
  list-style: none; padding: 0 18px 14px; display: none;
  border-top: 1px solid var(--border-color);
}
.toc-list.show { display: block; }
.toc-list li { padding: 5px 0; }
.toc-list a { font-size: 0.8rem; color: var(--text-secondary); transition: color 0.2s, padding-left 0.2s; }
.toc-list a:hover { color: var(--accent); padding-left: 4px; }

/* ========== SECTION DIVIDERS ========== */
.section-divider {
  display: flex; align-items: center; justify-content: center;
  padding: 44px 0; gap: 8px;
}
.section-divider span {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); opacity: 0.3;
}
.section-divider span:nth-child(2) { opacity: 0.5; width: 6px; height: 6px; }

/* ========== CASINO GRID ========== */
.section-heading { text-align: left; padding: 40px 0 28px; }
.casino-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-bottom: 40px;
}
.casino-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  transition: border-color 0.35s, transform 0.25s, box-shadow 0.35s;
  box-shadow: var(--shadow-card);
}
.casino-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  opacity: 0; transition: opacity 0.35s;
}
.casino-card:hover {
  border-color: var(--border-color-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.casino-card:hover::before { opacity: 1; }

.casino-card .rank-badge {
  position: absolute; top: 14px; left: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, #00a0d0 100%);
  color: #080e1e; font-weight: 800;
  width: 34px; height: 34px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 0.85rem; z-index: 2;
  box-shadow: 0 2px 10px rgba(0,200,240,0.3);
}
.casino-card .card-badge {
  position: absolute; top: 14px; right: 14px;
  background: rgba(52,217,168,0.1); border: 1px solid rgba(52,217,168,0.3);
  color: var(--accent-secondary); font-size: 0.68rem; padding: 3px 10px;
  border-radius: 20px; font-weight: 600; z-index: 2; letter-spacing: 0.02em;
}
.card-logo-wrap {
  background: var(--bg-card); padding: 18px 20px; display: flex; align-items: center;
  justify-content: center; min-height: 88px; border-bottom: 1px solid var(--border-color);
}
.card-logo-wrap .logo-plate {
  background: #ffffff; border-radius: 6px; padding: 10px 18px;
  display: flex; align-items: center; justify-content: center;
  max-width: 140px; width: 100%; min-height: 48px;
}
.card-logo-wrap img { max-height: 36px; width: auto; object-fit: contain; }
.card-body { padding: 16px 18px; }
.card-name { font-family: var(--font-heading); font-size: 1.08rem; margin-bottom: 5px; color: var(--text-heading); font-weight: 700; }
.card-stars { color: var(--star-color); font-size: 0.85rem; margin-bottom: 10px; }
.card-bonus {
  font-size: 0.98rem; font-weight: 700; color: var(--accent); margin-bottom: 12px;
  line-height: 1.35;
}

/* Payment icons */
.card-payments { display: flex; gap: 5px; flex-wrap: wrap; margin: 10px 0; align-items: center; }
.pay-icon {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05); border-radius: 4px;
  padding: 3px 7px; font-size: 0.58rem; color: var(--text-secondary);
  font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.06); min-width: 36px; height: 22px;
  transition: border-color 0.2s, color 0.2s;
}
.pay-icon:hover { border-color: var(--accent); color: var(--accent); }

/* Bonus details toggle */
.bonus-toggle {
  background: none; border: none; color: var(--accent); font-size: 0.76rem;
  cursor: pointer; padding: 4px 0; font-family: var(--font-body);
  display: flex; align-items: center; gap: 4px; opacity: 0.85; transition: opacity 0.2s;
}
.bonus-toggle:hover { opacity: 1; }
.bonus-toggle .bd-arrow { transition: transform 0.3s; font-size: 0.6rem; }
.bonus-toggle.open .bd-arrow { transform: rotate(180deg); }
.bonus-details-content {
  display: none; font-size: 0.78rem; color: var(--text-secondary);
  padding: 8px 0; line-height: 1.5; border-top: 1px solid var(--border-color);
  margin-top: 6px;
}
.bonus-details-content.show { display: block; }

.card-details { font-size: 0.8rem; color: var(--text-secondary); }
.card-details .detail-row {
  display: flex; justify-content: space-between; padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.card-details .detail-row:last-child { border-bottom: none; }
.card-details .detail-label { color: var(--text-secondary); }
.card-details .detail-value { color: var(--text-primary); font-weight: 600; }

.card-cta { padding: 4px 18px 18px; }
.card-cta .btn-cta {
  display: block; text-align: center; padding: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, #00a0d0 100%);
  color: #080e1e; font-weight: 700; border-radius: var(--radius);
  font-size: 0.9rem; transition: box-shadow 0.3s, transform 0.15s;
  text-transform: uppercase; letter-spacing: 0.6px; font-family: var(--font-heading);
  box-shadow: 0 2px 12px rgba(0,200,240,0.2);
}
.card-cta .btn-cta:hover {
  box-shadow: 0 4px 20px rgba(0,200,240,0.35);
  transform: translateY(-1px);
}
.card-terms {
  font-size: 0.66rem; color: var(--text-secondary); text-align: center;
  padding: 0 18px 14px; line-height: 1.4; opacity: 0.7;
}

/* ========== CONTENT SECTIONS ========== */
.content-section { padding: 50px 0; }
.content-section.alt-bg { background: var(--bg-secondary); }
.content-section h2 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--text-heading); letter-spacing: -0.01em; }
.content-section h3 { font-size: 1.15rem; margin-bottom: 0.75rem; color: var(--text-heading); }
.content-section p { color: var(--text-primary); line-height: 1.8; margin-bottom: 1rem; }
.section-spacing { margin-top: 60px; margin-bottom: 60px; }

/* ========== TABLES IN CONTENT ========== */
.table-responsive {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0; border-radius: var(--radius); border: 1px solid var(--border-color);
}
.content-section table, .page-content table, .review-block table {
  width: 100%; border-collapse: collapse; font-size: 0.88rem;
}
.content-section th, .page-content th, .review-block th {
  background: var(--bg-card-alt); color: var(--accent); font-weight: 600;
  padding: 12px 16px; text-align: left; white-space: nowrap;
  position: sticky; top: 0; border-bottom: 2px solid rgba(0,200,240,0.2);
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em;
}
.content-section td, .page-content td, .review-block td {
  padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,0.04);
  min-width: 120px; color: var(--text-primary);
}
.content-section tr:nth-child(even) td, .page-content tr:nth-child(even) td,
.review-block tr:nth-child(even) td { background: rgba(0,200,240,0.02); }

/* ========== REVIEWS ========== */
.review-block {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); margin-bottom: 28px; overflow: hidden;
  box-shadow: var(--shadow-card); transition: border-color 0.3s;
}
.review-block:hover { border-color: var(--border-color-strong); }
.review-topbar {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  background: linear-gradient(135deg, var(--bg-card-alt) 0%, var(--bg-card) 100%);
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
}
.review-topbar .review-logo-wrap {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: #ffffff; padding: 4px;
  border: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.review-topbar .review-logo {
  width: 100%; height: 100%; object-fit: contain;
}
.review-topbar h3 { flex: 1; margin: 0; font-size: 1.15rem; }
.review-topbar .review-stars { color: var(--star-color); font-size: 0.85rem; }
.review-topbar .btn-review-cta {
  padding: 9px 22px;
  background: linear-gradient(135deg, var(--accent) 0%, #00a0d0 100%);
  color: #080e1e; font-weight: 700; border-radius: var(--radius); font-size: 0.82rem;
  font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(0,200,240,0.2); transition: box-shadow 0.3s;
}
.review-topbar .btn-review-cta:hover { box-shadow: 0 4px 18px rgba(0,200,240,0.3); }
.review-screenshots { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px 22px; }
.review-screenshots img {
  width: 100%; height: auto; object-fit: contain; border-radius: var(--radius);
  border: 1px solid var(--border-color); cursor: pointer;
  transition: opacity 0.2s, border-color 0.3s;
}
.review-screenshots img:hover { opacity: 0.85; border-color: var(--border-color-strong); }
.review-body { padding: 22px; }
.review-body p { line-height: 1.8; }

/* Pros/Cons */
.pros-cons-table { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 0 22px 22px; }
.pros-col, .cons-col { padding: 18px; border-radius: var(--radius); }
.pros-col { background: rgba(52,217,154,0.06); border: 1px solid rgba(52,217,154,0.15); }
.cons-col { background: rgba(240,88,88,0.06); border: 1px solid rgba(240,88,88,0.15); }
.pros-col h4 { color: var(--success); font-size: 0.9rem; margin-bottom: 10px; font-family: var(--font-heading); letter-spacing: 0.02em; }
.cons-col h4 { color: var(--danger); font-size: 0.9rem; margin-bottom: 10px; font-family: var(--font-heading); letter-spacing: 0.02em; }
.pros-col li, .cons-col li { font-size: 0.84rem; margin-bottom: 7px; line-height: 1.5; color: var(--text-primary); }
.pros-col ul, .cons-col ul { list-style: none; padding: 0; }
.pros-col li::before { content: '✓ '; color: var(--success); font-weight: 700; }
.cons-col li::before { content: '✗ '; color: var(--danger); font-weight: 700; }

/* ========== FAQ ========== */
.faq-section { padding: 60px 0; }
.faq-item {
  border: 1px solid var(--border-color); border-radius: var(--radius);
  margin-bottom: 8px; overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item.active { border-color: var(--border-color-strong); box-shadow: 0 2px 16px rgba(0,200,240,0.06); }
.faq-question {
  width: 100%; background: var(--bg-card); border: none; color: var(--text-heading);
  padding: 16px 20px; display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; font-size: 0.92rem; font-weight: 600; font-family: var(--font-heading);
  min-height: 48px; text-align: left; transition: background 0.25s;
}
.faq-question:hover { background: var(--bg-card-hover); }
.faq-icon {
  color: var(--accent); font-size: 1.2rem; transition: transform 0.3s;
  min-width: 24px; text-align: center;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none; padding: 0 20px 18px; font-size: 0.88rem;
  line-height: 1.72; color: var(--text-secondary);
}
.faq-item.active .faq-answer { display: block; }

/* ========== AUTHOR BOX ========== */
.author-box {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
  border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  padding: 28px 32px; display: flex; gap: 22px; margin: 40px 0;
  box-shadow: var(--shadow-card);
}
.author-box img {
  width: 76px; height: 76px; border-radius: 50%; object-fit: contain; flex-shrink: 0;
  border: 2px solid var(--border-color-strong);
}
.author-box .author-info h3 { margin-bottom: 6px; font-size: 1.05rem; }
.author-box .author-info p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; margin: 0; }

/* ========== LIGHTBOX ========== */
.lightbox-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.92); z-index: 9999; align-items: center;
  justify-content: center; cursor: pointer;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
  max-width: 90vw; max-height: 90vh; object-fit: contain;
  border-radius: var(--radius); box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

/* ========== CONTACT FORM ========== */
.contact-form { max-width: 580px; }
.contact-form label {
  display: block; margin-bottom: 6px; font-weight: 600;
  font-size: 0.88rem; color: var(--text-heading);
}
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 16px; background: var(--bg-card-alt);
  border: 1px solid var(--border-color); border-radius: var(--radius);
  color: var(--text-primary); font-size: 0.95rem;
  font-family: var(--font-body); margin-bottom: 18px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .btn-primary { width: 100%; }
.toast {
  display: none; position: fixed; bottom: 30px; right: 30px;
  background: var(--success); color: #080e1e; padding: 14px 24px;
  border-radius: var(--radius); font-weight: 600; z-index: 9999;
  box-shadow: 0 4px 20px rgba(52,217,154,0.3);
}
.toast.show { display: block; }
.contact-info-box {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius); padding: 24px; margin-top: 28px;
}
.contact-info-box p { margin: 0 0 6px; font-size: 0.88rem; color: var(--text-secondary); }
.contact-info-box p:last-child { margin-bottom: 0; }

/* ========== FOOTER ========== */
.site-footer {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, #060b18 100%);
  border-top: 1px solid var(--border-color);
  padding: 48px 24px 40px; text-align: center;
}
.site-footer p { font-size: 0.78rem; color: var(--text-secondary); margin-bottom: 8px; line-height: 1.6; }
.site-footer a { color: var(--accent); }

/* ========== PAGE CONTENT ========== */
.page-content { padding: 60px 0; }
.page-content h2 { font-size: 1.6rem; margin-top: 2.2rem; margin-bottom: 1rem; }
.page-content h3 { font-size: 1.2rem; margin-top: 1.6rem; margin-bottom: 0.75rem; }
.page-content p { line-height: 1.8; }
.page-content ul, .page-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.page-content li { margin-bottom: 0.5rem; line-height: 1.6; }

/* ========== TEAM ========== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 28px; margin: 2rem 0; }
.team-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 28px; text-align: center;
  box-shadow: var(--shadow-card); transition: border-color 0.3s, transform 0.25s;
}
.team-card:hover { border-color: var(--border-color-strong); transform: translateY(-2px); }
.team-card img {
  width: 96px; height: 96px; border-radius: 50%; object-fit: contain;
  margin: 0 auto 16px; border: 2px solid var(--border-color-strong);
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-card p { font-size: 0.84rem; color: var(--text-secondary); margin: 0; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .casino-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .main-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(8,14,30,0.98); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color); padding: 16px 24px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 14px; }
  .main-nav a::after { display: none; }
  .hamburger { display: block; }
  .hero h1 { font-size: 1.9rem; }
  .hero .subtitle { font-size: 0.98rem; }
  .hero { min-height: 50vh; padding: 60px 24px; }
  .casino-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .review-topbar { flex-direction: column; align-items: flex-start; }
  .review-screenshots { grid-template-columns: 1fr; }
  .pros-cons-table { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; text-align: center; align-items: center; padding: 24px; }
  .content-section table td, .page-content table td, .review-block table td { min-width: 100px; font-size: 13px; }
  .content-section table th, .page-content table th, .review-block table th { font-size: 12px; }
  h2 { font-size: 1.4rem; }
  .inner-hero { min-height: 30vh; }
  .badge-row { gap: 8px; }
  .badge-item { font-size: 0.72rem; padding: 5px 12px; }
}
@media (max-width: 480px) {
  .casino-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-body { padding: 12px; }
  .card-name { font-size: 0.92rem; }
  .card-bonus { font-size: 0.86rem; }
  .casino-card .rank-badge { width: 28px; height: 28px; font-size: 0.75rem; top: 10px; left: 10px; }
  .casino-card .card-badge { font-size: 0.6rem; padding: 2px 8px; top: 10px; right: 10px; }
}
