﻿/* style.css — global styles for TopPayingCasino.com */

/* ── Variables ───────────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --color-bg:           #0f0f10;
  --color-surface:      #1a1a1d;
  --color-surface-2:    #242428;
  --color-border:       #2e2e33;

  /* Graphite */
  --color-graphite-1:   #3a3a40;
  --color-graphite-2:   #5a5a62;
  --color-graphite-3:   #8a8a94;

  /* Orange accent */
  --color-accent:       #f97316;
  --color-accent-hover: #ea6b0a;
  --color-accent-glow:  rgba(249, 115, 22, 0.22);

  /* Text */
  --color-text:         #f2f2f4;
  --color-text-muted:   #b4b4c2;
  --color-text-faint:   #818190;

  /* RTP status */
  --color-high-rtp:     #22c55e;
  --color-mid-rtp:      #f97316;
  --color-low-rtp:      #ef4444;

  /* Gradients */
  --gradient-hero:      linear-gradient(135deg, #0f0f10 0%, #1a1a1d 50%, #1f1a10 100%);
  --gradient-card:      linear-gradient(180deg, #1a1a1d 0%, #141416 100%);
  --gradient-accent:    linear-gradient(90deg, #f97316, #fb923c);
  --gradient-glow:      radial-gradient(ellipse at center, rgba(249,115,22,0.12) 0%, transparent 70%);

  /* Typography */
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:  'JetBrains Mono', 'Fira Code', monospace;

  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.25rem;

  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semi:    600;
  --weight-bold:    700;

  /* Spacing */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  24px;

  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  --max-width:     1200px;
  --content-width: 860px;

  /* Header */
  --header-height: 64px;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Utility ─────────────────────────────────────────────────────── */
.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;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.rtp-num {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
}
.rtp-high { color: var(--color-high-rtp); }
.rtp-mid  { color: var(--color-mid-rtp); }
.rtp-low  { color: var(--color-low-rtp); }

/* ── Scroll animations ───────────────────────────────────────────── */
html.js [data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
html.js [data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* ── Header ──────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header-height);
  background: linear-gradient(180deg, #707078 0%, #505058 100%);
  border-bottom: 1px solid #3e3e46;
}
.site-header.scrolled {
  border-bottom-color: var(--color-accent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-8);
}

/* Search bar */
.header-search {
  display: none;
  position: relative;
  flex: 1;
  max-width: 340px;
}
@media (min-width: 900px) {
  .header-search { display: flex; align-items: center; }
}
.search-icon {
  position: absolute;
  left: 10px;
  filter: invert(0.6);
  pointer-events: none;
  flex-shrink: 0;
}
#searchInput {
  width: 100%;
  height: 36px;
  padding: 0 var(--space-4) 0 34px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.18s, background 0.18s;
}
#searchInput::placeholder { color: rgba(255,255,255,0.4); }
#searchInput:focus {
  border-color: var(--color-accent);
  background: rgba(0,0,0,0.4);
}
.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #2a2a32;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  list-style: none;
  margin: 0;
  padding: 4px 0;
  z-index: 200;
  max-height: 320px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.search-results[hidden] { display: none; }
.search-results li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  color: var(--color-text);
  font-size: var(--text-sm);
  gap: var(--space-4);
  transition: background 0.14s;
}
.search-results li a:hover,
.search-results li a.is-active {
  background: rgba(255,255,255,0.07);
  color: var(--color-accent);
}
.search-tag {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
}
.search-no-results {
  padding: 10px 14px;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}
.logo-top    { color: var(--color-text); }
.logo-casino { color: var(--color-accent); }

/* Desktop nav */
.site-nav {
  display: none;
}
@media (min-width: 900px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: var(--space-8);
  }
}
.site-nav a {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-accent);
}
.site-nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -2px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 999px;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-text);
  transition: background 0.18s;
}
.nav-toggle:hover { background: var(--color-surface-2); }
.nav-toggle img { width: 22px; height: 22px; filter: invert(1); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(10, 10, 12, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-12) var(--space-8);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s;
}

.mobile-nav-close {
  position: absolute;
  top: 12px;
  right: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  transition: background 0.18s;
}
.mobile-nav-close:hover { background: var(--color-graphite-1); }
.mobile-nav-close img { width: 22px; height: 22px; filter: invert(1); }

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-nav a {
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: var(--weight-bold);
  letter-spacing: -0.025em;
  color: var(--color-text);
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--color-border);
  transition: color 0.18s, padding-left 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav nav a:first-child { border-top: 1px solid var(--color-border); }
.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  color: var(--color-accent);
  padding-left: var(--space-4);
}

body.nav-open { overflow: hidden; }

/* ── Main content offset ─────────────────────────────────────────── */
main { padding-top: var(--header-height); }

/* ── Footer ──────────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-16);
}

/* Trust bar */
.footer-trust {
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-5);
}
.footer-trust-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.footer-trust-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.footer-trust-logos {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.footer-trust-logos img {
  height: 28px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(0.3);
  transition: opacity 0.18s, filter 0.18s;
}
.footer-trust-logos a:hover img {
  opacity: 1;
  filter: none;
}

/* Main grid */
.footer-inner {
  display: grid;
  gap: var(--space-10);
  padding-block: var(--space-12);
}

@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: var(--space-12);
  }
}

.footer-brand .site-logo { margin-bottom: var(--space-3); }
.footer-tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 280px;
  line-height: 1.55;
}

.footer-col h3 {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color 0.18s;
}
.footer-col a:hover { color: var(--color-text); }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-6);
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
@media (min-width: 900px) {
  .footer-bottom-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-8);
  }
}

.footer-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 820px;
}
.footer-disclaimer a {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-disclaimer a:hover { color: var(--color-text); }

.footer-legal-links {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
}
.footer-legal-links a {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.footer-legal-links a:hover { color: var(--color-text); }

.footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-copyright {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--color-graphite-1);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--color-text-faint);
  line-height: 1;
}

/* ── Back to top ─────────────────────────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, background 0.18s;
}
#backToTop.visible {
  opacity: 1;
  pointer-events: auto;
}
#backToTop:hover { background: var(--color-graphite-1); }
#backToTop img { width: 20px; height: 20px; filter: invert(1); }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  line-height: 1;
  transition: background 0.18s, color 0.18s, opacity 0.18s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover { background: var(--color-accent-hover); }
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-outline:hover { background: var(--color-surface-2); }

/* ── Cards ───────────────────────────────────────────────────────── */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.card:hover { border-color: var(--color-graphite-1); }

/* ── RTP Table ───────────────────────────────────────────────────── */
.rtp-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.rtp-table th {
  background: var(--color-surface);
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  white-space: nowrap;
  border-bottom: 1px solid var(--color-border);
}
.rtp-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
  white-space: nowrap;
}
.rtp-table tr:last-child td { border-bottom: none; }
.rtp-table tbody tr:hover td { background: var(--color-surface-2); }

/* ── Casino logo ─────────────────────────────────────────────────── */
.casino-logo {
  width: 80px;
  height: 30px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0.85);
  transition: filter 0.18s;
}
.casino-logo:hover { filter: brightness(1); }

/* ── Slot card thumbnail ─────────────────────────────────────────── */
.slot-thumb {
  aspect-ratio: 16/9;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

/* ── Sections ────────────────────────────────────────────────────── */
.section { padding-block: var(--space-16); }
.section-sm { padding-block: var(--space-10); }

.section-title {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.section-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  max-width: 560px;
}

/* ── Author bio ──────────────────────────────────────────────────── */
.author-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-8);
  flex-wrap: wrap;
  padding-block: var(--space-12);
}
.author-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--color-border);
  flex-shrink: 0;
}
.author-meta h1 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
}
.author-role {
  display: inline-block;
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}
.author-bio {
  max-width: var(--content-width);
  margin-top: var(--space-8);
}
.author-bio p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-5);
}
.author-bio p:last-child { margin-bottom: 0; }

/* ── Prose ───────────────────────────────────────────────────────── */
.prose {
  max-width: var(--content-width);
  margin-inline: auto;
}
.prose h2 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
}
.prose h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-semi);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}
.prose p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-5);
}
.prose ul, .prose ol {
  margin-bottom: var(--space-5);
  padding-left: var(--space-6);
  list-style: disc;
  color: var(--color-text-muted);
  line-height: 1.75;
}
.prose ol { list-style: decimal; }
.prose li { margin-bottom: var(--space-2); }
.prose a {
  color: var(--color-accent);
  text-underline-offset: 2px;
}
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--color-text); font-weight: var(--weight-semi); }
.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--color-surface-2);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ── Responsible gambling bar ────────────────────────────────────── */
.rg-bar {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
}
.rg-bar a {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rg-bar a:hover { color: var(--color-text); }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  background: var(--gradient-hero);
  padding-block: var(--space-16) var(--space-16);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 400px;
    gap: var(--space-16);
  }
}

.hero-eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}
.hero-headline {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: var(--weight-bold);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-5);
}
.hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: var(--space-8);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Stat block */
.hero-stat-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.stat-value {
  font-family: var(--font-mono);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.45;
}

/* ── How-it-works grid ───────────────────────────────────────────── */
.how-grid {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-10);
}
@media (min-width: 640px) {
  .how-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .how-grid { grid-template-columns: repeat(3, 1fr); }
}

.how-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-8) var(--space-6);
  transition: border-color 0.2s, transform 0.2s;
}
.how-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}
.how-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}
.how-icon img { filter: invert(1) sepia(1) saturate(5) hue-rotate(340deg); }
.how-card h3 {
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  margin-bottom: var(--space-3);
}
.how-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ── Dark section ────────────────────────────────────────────────── */
.section-dark {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-block: var(--space-6);
}

/* ── Section header ──────────────────────────────────────────────── */
.section-header { max-width: 640px; margin-bottom: var(--space-8); }

/* ── Gap badge ───────────────────────────────────────────────────── */
.gap-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: rgba(249, 115, 22, 0.12);
  color: var(--color-accent);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  border: 1px solid rgba(249, 115, 22, 0.25);
}

/* ── btn-sm ──────────────────────────────────────────────────────── */
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

/* ── Author page ─────────────────────────────────────────────────── */
.author-hero {
  padding-block: var(--space-16) var(--space-10);
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--color-border);
}
.author-hero-inner {
  display: flex;
  align-items: flex-start;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.author-photo {
  width: 160px;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
  flex-shrink: 0;
  background: var(--color-surface-2);
  border: 2px solid var(--color-border);
}
.author-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.author-role {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}
.author-meta h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--weight-bold);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.author-tagline {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 500px;
  line-height: 1.55;
  margin-top: var(--space-1);
}

/* Stats row */
.author-stats-section {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  padding-block: var(--space-8);
}
.author-stats {
  display: flex;
  gap: var(--space-12);
  flex-wrap: wrap;
}
.author-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.author-stat-value {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.author-stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: var(--weight-medium);
}

/* Bio + method layout */
.author-content {
  max-width: var(--content-width);
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}
.author-bio-block h2,
.author-method-block h2 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}
.author-bio-block p {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-5);
}
.author-bio-block p:last-child { margin-bottom: 0; }

/* Method cards grid */
.method-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .method-grid { grid-template-columns: repeat(2, 1fr); }
}
.method-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.method-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px var(--color-accent-glow);
}

/* ── Author byline ────────────────────────────────────────────────────── */
.author-byline {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}
.author-byline-photo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}
.author-byline-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.author-byline-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--color-text);
  transition: color 0.18s;
}
.author-byline:hover .author-byline-name { color: var(--color-accent); }
.author-byline-role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ── Author box ──────────────────────────────────────────────────────── */
.author-box-section {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-12);
}
.author-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.author-box-photo {
  width: 64px;
  height: 114px;
  border-radius: var(--radius-md);
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}
.author-box-body {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.author-box-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--color-accent);
}
.author-box-name {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.author-box-bio {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}
.author-box-link {
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  width: fit-content;
  transition: opacity 0.18s;
}
.author-box-link:hover { opacity: 0.8; }

/* ── Slot page ────────────────────────────────────────────────────────── */
.slot-hero {
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-12) var(--space-10);
  position: relative;
  overflow: hidden;
}
.slot-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  pointer-events: none;
}
.slot-hero-inner {
  display: grid;
  gap: var(--space-10);
  align-items: start;
  position: relative;
}
@media (min-width: 760px) {
  .slot-hero-inner {
    grid-template-columns: 240px 1fr;
    gap: var(--space-12);
    align-items: center;
  }
}
.slot-cover {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  display: block;
}
.slot-hero-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.slot-provider-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--color-text-muted);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-1) var(--space-3);
  width: fit-content;
}
.slot-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: var(--weight-bold);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.slot-hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 520px;
}
.slot-hero-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-2);
}
.kpi {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-5);
  min-width: 120px;
}
.kpi-value {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.kpi-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--weight-medium);
}

/* ── RTP comparison section ─────────────────────────────────────── */
.rtp-section { padding-block: var(--space-12); }
.rtp-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
.rtp-section-header h2 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
}
.updated-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.updated-note img { opacity: 0.6; filter: invert(1); }

/* ── Casino rows ────────────────────────────────────────────────────────── */
.casino-rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.casino-row {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: var(--space-4);
  transition: border-color 0.18s, transform 0.18s;
  position: relative;
}
.casino-row:hover {
  border-color: var(--color-graphite-2);
  transform: translateX(2px);
}
.casino-row.is-best {
  border-color: var(--color-accent);
  background: linear-gradient(135deg, var(--color-surface) 0%, rgba(249,115,22,0.06) 100%);
}
.casino-row.is-best::before {
  content: 'Best RTP';
  position: absolute;
  top: -1px;
  left: var(--space-5);
  font-size: 10px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  background: var(--color-bg);
  padding: 0 var(--space-2);
  transform: translateY(-50%);
}
.casino-row-info {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-width: 0;
}
.casino-logo {
  width: 72px;
  height: 27px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  opacity: 0.85;
}
.casino-rank {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  width: 72px;
  flex-shrink: 0;
}
.casino-name {
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.casino-row-rtp {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.rtp-bar-wrap { display: none; }
@media (min-width: 560px) {
  .rtp-bar-wrap {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    width: 160px;
  }
}
.rtp-bar-track {
  flex: 1;
  height: 6px;
  background: var(--color-surface-2);
  border-radius: 999px;
  overflow: hidden;
}
.rtp-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--gradient-accent);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.rtp-value {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  white-space: nowrap;
  min-width: 60px;
  text-align: right;
}
.casino-row-cta .btn { white-space: nowrap; }

/* ── Info box ──────────────────────────────────────────────────────────── */
.info-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  margin-top: var(--space-6);
}
.info-box img { opacity: 0.7; filter: invert(1); flex-shrink: 0; margin-top: 2px; }
.info-box p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ── Quick facts ────────────────────────────────────────────────────────── */
.quick-facts {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: var(--space-10);
}
@media (min-width: 640px) {
  .quick-facts { grid-template-columns: repeat(4, 1fr); }
}
.fact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.fact-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: var(--weight-medium);
}
.fact-value {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  letter-spacing: -0.02em;
}

/* ── Slot prose ─────────────────────────────────────────────────────────── */
.slot-prose { padding-block: var(--space-12); border-top: 1px solid var(--color-border); }
.slot-prose h2 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
  margin-top: var(--space-10);
}
.slot-prose h2:first-child { margin-top: 0; }
.slot-prose p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-5);
  max-width: var(--content-width);
}
.method-card h3 {
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.method-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ── Casino profile page ─────────────────────────────────────────────────── */
.casino-hero {
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-12) 0 var(--space-10);
}
.casino-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-8);
  align-items: start;
}
.casino-hero-logo {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
}
.casino-hero h1 {
  font-size: clamp(1.625rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-3);
  max-width: 36ch;
}
.casino-hero-desc {
  color: var(--color-text-muted);
  font-size: 1rem;
  max-width: 56ch;
  margin-bottom: var(--space-6);
  line-height: 1.6;
}
.casino-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.casino-hero-stat {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.casino-hero-stat-val {
  font-size: 1.125rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--color-text);
}
.casino-hero-stat-val.green { color: #22c55e; }
.casino-hero-stat-val.red { color: #ef4444; }
.casino-hero-stat-label { font-size: 0.75rem; color: var(--color-text-muted); }

.verdict-banner {
  background: color-mix(in srgb, #22c55e 8%, var(--color-surface));
  border: 1px solid color-mix(in srgb, #22c55e 30%, transparent);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-8) 0 0;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.verdict-banner-icon {
  width: 32px;
  height: 32px;
  background: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.verdict-banner-title { font-weight: 700; font-size: 0.9375rem; color: var(--color-text); margin-bottom: 4px; }
.verdict-banner-text { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.6; }
.verdict-banner-text strong { color: var(--color-text); }

.casino-rtp-table-section {
  padding: var(--space-10) 0;
  border-top: 1px solid var(--color-border);
}
.casino-rtp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-top: var(--space-6);
}
.casino-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.casino-rtp-table thead {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.casino-rtp-table th {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.casino-rtp-table td {
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--color-border);
  vertical-align: middle;
}
.casino-rtp-table tr:hover td { background: color-mix(in srgb, var(--color-accent) 4%, transparent); }
.casino-rtp-table .slot-name-cell { display: flex; flex-direction: column; gap: 2px; }
.casino-rtp-table .slot-name-cell a { color: var(--color-text); font-weight: 600; text-decoration: none; }
.casino-rtp-table .slot-name-cell a:hover { color: var(--color-accent); }
.casino-rtp-table .slot-provider { font-size: 0.7rem; color: var(--color-text-muted); }
.rtp-val { font-family: var(--font-mono); font-weight: 700; font-size: 0.9375rem; }
.rtp-val.best { color: #22c55e; }
.rtp-val.mid { color: var(--color-text); }
.rtp-val.worst { color: #ef4444; }
.rtp-val.na { color: var(--color-text-muted); font-weight: 400; font-size: 0.8rem; font-family: var(--font-sans); }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
}
.status-badge.top { background: color-mix(in srgb, #22c55e 15%, transparent); color: #16a34a; border: 1px solid color-mix(in srgb, #22c55e 30%, transparent); }
.status-badge.same { background: color-mix(in srgb, var(--color-accent) 10%, transparent); color: var(--color-accent); border: 1px solid color-mix(in srgb, var(--color-accent) 25%, transparent); }
.status-badge.low { background: color-mix(in srgb, #ef4444 12%, transparent); color: #dc2626; border: 1px solid color-mix(in srgb, #ef4444 25%, transparent); }
.status-badge.unavail { background: var(--color-surface); color: var(--color-text-muted); border: 1px solid var(--color-border); }
.vs-best { font-size: 0.8125rem; color: var(--color-text-muted); font-family: var(--font-mono); }
.vs-best.worse { color: #ef4444; }

.casino-pros-cons-section { padding: var(--space-10) 0; border-top: 1px solid var(--color-border); }
.casino-pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.pros-box, .cons-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.pros-box { border-top: 3px solid #22c55e; }
.cons-box { border-top: 3px solid #ef4444; }
.pros-cons-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--space-4); }
.pros-cons-title.green { color: #22c55e; }
.pros-cons-title.red { color: #ef4444; }
.pros-cons-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.pros-cons-list li { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.5; padding-left: var(--space-5); position: relative; }
.pros-cons-list li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.pros-box .pros-cons-list li::before { content: "+"; color: #22c55e; }
.cons-box .pros-cons-list li::before { content: "-"; color: #ef4444; }

.casino-cta-box {
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-accent) 10%, var(--color-surface)) 0%, var(--color-surface) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  margin: var(--space-10) 0;
}
.casino-cta-box h2 { font-size: 1.375rem; font-weight: 700; margin-bottom: var(--space-3); }
.casino-cta-box p { color: var(--color-text-muted); font-size: 0.9375rem; max-width: 48ch; margin: 0 auto var(--space-6); line-height: 1.6; }
.cta-disclaimer { font-size: 0.75rem; color: var(--color-text-muted); margin-top: var(--space-3); }

@media (max-width: 768px) {
  .casino-hero-inner { grid-template-columns: 1fr; }
  .casino-hero-logo { display: none; }
  .casino-pros-cons-grid { grid-template-columns: 1fr; }
}
