/* ============================================================
   MAIN.CSS — Casino mit schneller Auszahlung
   Design: Premium Dark · Crimson Red · Bricolage + DM Sans
   ============================================================ */

/* ── 0. Google Fonts ────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ── 1. CSS Variables ───────────────────────────────────────── */
:root {
  /* Palette */
  --primary:        #dc2626;
  --primary-hover:  #b91c1c;
  --primary-light:  #2d1515;
  --primary-glow:   rgba(220, 38, 38, 0.18);
  --gold:           #f59e0b;
  --gold-soft:      #92400e;
  --gold-light:     #1c1200;

  /* Backgrounds */
  --bg:             #0d0d10;
  --bg-soft:        #15151b;
  --bg-card:        #1a1a22;
  --bg-card-hover:  #1f1f28;
  --bg-elevated:    #222230;

  /* Text */
  --text:           #f0f0f5;
  --text-muted:     #8b8ba0;
  --text-dim:       #5a5a70;

  /* Borders */
  --border:         #27272f;
  --border-soft:    #1e1e26;

  /* Typography */
  --font-display:   'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:      'DM Sans', system-ui, sans-serif;

  /* Radii */
  --radius-sm:      5px;
  --radius:         10px;
  --radius-md:      14px;
  --radius-lg:      20px;
  --radius-xl:      28px;

  /* Layout */
  --max-w:          1200px;
  --max-w-content:  920px;
  --nav-h:          72px;

  /* Shadows */
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.4);
  --shadow:         0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg:      0 12px 40px rgba(0,0,0,0.6);
  --shadow-red:     0 4px 20px rgba(220,38,38,0.25);
  --shadow-gold:    0 4px 16px rgba(245,158,11,0.2);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ── 3. Typography Scale ────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }
p { line-height: 1.7; }

/* ── 4. Layout ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.container--narrow {
  max-width: var(--max-w-content);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section { padding-block: 4rem; }
.section--lg { padding-block: 5.5rem; }
.section--sm { padding-block: 2.5rem; }
.section--alt { background: var(--bg-soft); }

/* ── 5. Speed-Line (signature element) ─────────────────────── */
@keyframes speedLine {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.speed-line {
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--primary) 30%,
    var(--gold) 50%,
    var(--primary) 70%,
    transparent 100%);
  background-size: 200% auto;
  animation: speedLine 3s linear infinite;
}

/* ── 6. Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(13, 13, 16, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-right: auto;
  text-decoration: none;
}

.nav__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-red);
}

.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.1;
}

.nav__logo-text span {
  color: var(--primary);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--text);
  background: var(--bg-soft);
}

.nav__link--active {
  color: var(--primary) !important;
  background: var(--primary-light) !important;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  z-index: 99;
  background: rgba(13,13,16,0.98);
  backdrop-filter: blur(10px);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer__list {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-drawer__list a {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  font-family: var(--font-display);
}

.mobile-drawer__list a:hover {
  color: var(--text);
  background: var(--bg-soft);
}

/* ── 7. Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.625rem 1.375rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid transparent;
  line-height: 1;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-red);
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
  background-size: 200% auto;
  opacity: 0;
  transition: opacity 0.3s;
}

.btn--primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(220,38,38,0.35);
}

.btn--primary:hover::after { opacity: 1; }

.btn--outline {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}

.btn--outline:hover {
  color: var(--text);
  border-color: var(--text-dim);
  background: var(--bg-soft);
}

.btn--gold {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  font-weight: 700;
}

.btn--gold:hover {
  background: #d97706;
  border-color: #d97706;
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.btn--sm { padding: 0.45rem 1rem; font-size: 0.85rem; }
.btn--lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn--full { width: 100%; }

/* ── 8. Badge / Tag ─────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  border: 1px solid;
}

.badge--red {
  background: var(--primary-light);
  color: #f87171;
  border-color: rgba(220,38,38,0.25);
}

.badge--gold {
  background: var(--gold-light);
  color: var(--gold);
  border-color: rgba(245,158,11,0.25);
}

.badge--muted {
  background: var(--bg-elevated);
  color: var(--text-muted);
  border-color: var(--border);
}

/* ── 9. Hero ────────────────────────────────────────────────── */
.hero {
  padding-block: 3.5rem 2.5rem;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(220,38,38,0.08) 0%, transparent 70%);
  border-bottom: 1px solid var(--border-soft);
}

.hero__inner {
  max-width: 820px;
}

.hero__badge { margin-bottom: 1.25rem; }

.hero h1 {
  margin-bottom: 1rem;
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 660px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Hero stats rail */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  margin-bottom: 0;
}

.hero__stat {
  flex: 1;
  min-width: 150px;
  padding: 1rem 1.25rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero__stat:last-child { border-right: none; }

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.hero__stat-value--red { color: var(--primary); }
.hero__stat-value--gold { color: var(--gold); }

.hero__stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── 10. Compact Listing ────────────────────────────────────── */
.listing-section { padding-block: 3rem 2rem; }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.compact-list {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
}

.compact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.2s;
}

.compact-item:last-child { border-bottom: none; }
.compact-item:hover { background: var(--bg-card-hover); }

.compact-item__rank {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-dim);
  text-align: center;
  width: 24px;
  flex-shrink: 0;
}

.compact-item__rank--top {
  color: var(--gold);
  font-size: 0.9rem;
}

.compact-item__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  width: 110px;
  flex-shrink: 0;
}

.compact-item__logo img {
  height: 32px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: brightness(0.95) contrast(1.05);
  transition: filter 0.2s;
}

.compact-item__logo:hover img { filter: brightness(1.1) contrast(1.1); }

.compact-item__info {
  flex: 1;
  min-width: 0;
}

.compact-item__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-item__bonus {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-item__stars {
  display: flex;
  gap: 1px;
  flex-shrink: 0;
}

.compact-item__stars .star {
  color: var(--gold);
  font-size: 0.8rem;
  line-height: 1;
}

.compact-item__stars .star--empty { color: var(--text-dim); }

.compact-item__cta { flex-shrink: 0; }

/* ── 11. Detail Cards ───────────────────────────────────────── */
.cards-section { padding-block: 2rem 4rem; }

.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.detail-card:hover {
  border-color: rgba(220,38,38,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.detail-card__top {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 200px;
}

.detail-card__screenshot-link {
  display: block;
  overflow: hidden;
  position: relative;
}

.detail-card__screenshot-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.detail-card__screenshot-link:hover img { transform: scale(1.04); }

.detail-card__screenshot-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--bg-card));
}

.detail-card__meta {
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.detail-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.detail-card__rank {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
}

.detail-card__rank--top { color: rgba(245,158,11,0.35); }

.detail-card__logo img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.detail-card__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  flex: 1;
}

.detail-card__stars {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.detail-card__stars .star {
  color: var(--gold);
  font-size: 1rem;
}

.detail-card__stars .star--empty { color: var(--text-dim); }

.detail-card__bonus-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.detail-card__bonus-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.detail-card__bonus-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}

.detail-card__body {
  padding: 0 1.5rem 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
}

.detail-card__body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  grid-column: span 1;
}

.detail-card__body p:first-child { grid-column: span 2; }

.detail-card__footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-soft);
  background: rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Bonus Code */
.bonus-code-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s;
  user-select: none;
}

.bonus-code-field:hover { border-color: var(--primary); }

.bonus-code-field__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  font-weight: 600;
}

.bonus-code-field__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  letter-spacing: 0.08em;
}

.bonus-code-field__icon {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color 0.2s;
}

.bonus-code-field:hover .bonus-code-field__icon { color: var(--primary); }

.bonus-code-field.copied .bonus-code-field__icon { color: #22c55e; }
.bonus-code-field.copied .bonus-code-field__value { color: #22c55e; }

/* ── 12. Prose / Article Sections ──────────────────────────── */
.prose-section { padding-block: 4rem; }
.prose-section + .prose-section { padding-top: 0; }

.prose-section h2 {
  margin-bottom: 1rem;
  padding-top: 0.5rem;
}

.prose-section h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.prose-section p { color: var(--text-muted); margin-bottom: 1rem; }
.prose-section p:last-child { margin-bottom: 0; }

.prose-section ul,
.prose-section ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.prose-section li {
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.prose-section ul li { list-style: disc; }
.prose-section ol li { list-style: decimal; }

.prose-section strong { color: var(--text); font-weight: 600; }

.prose-section a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(220,38,38,0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.prose-section a:hover { text-decoration-color: var(--primary); }

/* Table of Contents */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.toc__title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.toc__list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.toc__list a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  gap: 0.5rem;
}

.toc__list a::before {
  content: '→';
  color: var(--primary);
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 0.1em;
}

.toc__list a:hover { color: var(--text); }

/* ── 13. Comparison Table ───────────────────────────────────── */
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-block: 1.5rem;
}

.comparison-table {
  min-width: 680px;
  font-size: 0.875rem;
}

.comparison-table thead {
  background: var(--bg-elevated);
}

.comparison-table th {
  padding: 0.875rem 1.25rem;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  white-space: nowrap;
}

.comparison-table td {
  padding: 0.875rem 1.25rem;
  border-top: 1px solid var(--border-soft);
  color: var(--text-muted);
  vertical-align: middle;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text);
}

.comparison-table tr:hover td { background: var(--bg-card-hover); }

.comparison-table .highlight { color: var(--gold); font-weight: 600; }
.comparison-table .tag-red {
  display: inline-block;
  background: var(--primary-light);
  color: #f87171;
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ── 14. FAQ ────────────────────────────────────────────────── */
.faq-section { padding-block: 4rem; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.faq-item {}

.faq-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.625rem;
  padding-left: 1rem;
  border-left: 2px solid var(--primary);
}

.faq-item p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 1rem;
}

/* ── 15. Author Block ───────────────────────────────────────── */
.author-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.author-block__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.author-block__info { flex: 1; }

.author-block__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.author-block__role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.625rem;
}

.author-block__bio {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── 16. Responsible Gambling Banner ───────────────────────── */
.rg-banner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.rg-banner__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.rg-banner__content {}

.rg-banner__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--gold);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rg-banner__text {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.rg-banner__text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── 17. Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding-block: 3rem 1.75rem;
  margin-top: auto;
}

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

.footer-brand {}

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.footer-brand__mark {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
}

.footer-brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.footer-brand__name span { color: var(--primary); }

.footer-brand__tagline {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 1rem;
  max-width: 240px;
}

.footer-age {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--primary-light);
  color: #f87171;
  border: 1px solid rgba(220,38,38,0.25);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-col__title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
}

.footer-col__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col__links a {
  font-size: 0.875rem;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-col__links a:hover { color: var(--text); }

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

.footer-bottom__copy {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-bottom__disclaimer {
  font-size: 0.75rem;
  color: var(--text-dim);
  max-width: 500px;
  text-align: right;
  line-height: 1.5;
}

/* ── 18. Breadcrumbs ────────────────────────────────────────── */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  padding-block: 0.75rem;
  margin-bottom: 2rem;
}

.breadcrumbs a {
  color: var(--text-dim);
  transition: color 0.2s;
}

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

.breadcrumbs__sep { color: var(--border); }

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

/* ── 19. Page Hero (service pages) ─────────────────────────── */
.page-hero {
  padding-block: 2.5rem 2rem;
  border-bottom: 1px solid var(--border-soft);
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(220,38,38,0.06) 0%, transparent 70%);
}

.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }

.page-hero__lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ── 20. Section Cards (service pages) ─────────────────────── */
.section-prose {
  padding-block: 2.5rem 4rem;
}

.section-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  margin-bottom: 1rem;
}

.section-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.875rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--border-soft);
}

.section-card p,
.section-card li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.section-card ul { padding-left: 1.25rem; }
.section-card ul li { list-style: disc; }
.section-card a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }

/* ── 21. Contact Form ───────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  background: var(--bg-elevated);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.925rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}

.form-control::placeholder { color: var(--text-dim); }

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.1em;
  accent-color: var(--primary);
}

.form-hidden { display: none !important; }

/* ── 22. Utilities ──────────────────────────────────────────── */
.text-muted     { color: var(--text-muted); }
.text-dim       { color: var(--text-dim); }
.text-red       { color: var(--primary); }
.text-gold      { color: var(--gold); }
.text-center    { text-align: center; }
.text-sm        { font-size: 0.875rem; }
.text-xs        { font-size: 0.75rem; }
.font-display   { font-family: var(--font-display); }
.font-bold      { font-weight: 700; }

.mt-0  { margin-top: 0; }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: 0.5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.mb-4  { margin-bottom: 2rem; }

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

/* ── 23. Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-card__body { grid-template-columns: 1fr; }
  .detail-card__body p:first-child { grid-column: span 1; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .mobile-drawer { display: block; }

  .hero { padding-block: 2.5rem 2rem; }
  .hero__stats { flex-direction: column; }
  .hero__stat { border-right: none; border-bottom: 1px solid var(--border); }
  .hero__stat:last-child { border-bottom: none; }

  .compact-item {
    gap: 0.625rem;
    padding: 0.75rem 1rem;
  }
  .compact-item__logo { width: 80px; }
  .compact-item__logo img { max-width: 80px; }
  .compact-item__stars { display: none; }

  .detail-card__top { grid-template-columns: 1fr; }
  .detail-card__screenshot-link { height: 160px; }
  .detail-card__screenshot-link::after { display: none; }
  .detail-card__body { padding: 0 1rem 0.75rem; }
  .detail-card__footer { padding: 1rem; }
  .detail-card__meta { padding: 1rem 1rem 0.75rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom__disclaimer { text-align: left; }

  .author-block { flex-direction: column; }
  .author-block__avatar { width: 56px; height: 56px; }

  .section { padding-block: 2.5rem; }
  .section--lg { padding-block: 3rem; }

  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .compact-item { gap: 0.5rem; padding: 0.625rem 0.875rem; }
  .compact-item__logo { width: 64px; }
  .compact-item__logo img { max-width: 64px; }
  .compact-item__rank { width: 18px; font-size: 0.75rem; }
  .detail-card__footer { flex-direction: column; }
  .btn--full-mobile { width: 100%; }
}

/* ── 24. Focus & A11y ───────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── 25. Reduced Motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .speed-line { animation: none; }
}