/* ============================================
   WILD TOKYO CASINO, UNIFIED STYLESHEET
   All pages reference this single file.
   ============================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Raleway:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --background: 222 47% 6%;
  --foreground: 45 30% 90%;
  --card: 222 40% 10%;
  --card-foreground: 45 30% 90%;
  --popover: 222 40% 10%;
  --popover-foreground: 45 30% 90%;
  --primary: 43 80% 50%;
  --primary-foreground: 222 47% 6%;
  --secondary: 222 30% 15%;
  --secondary-foreground: 45 30% 90%;
  --muted: 222 25% 14%;
  --muted-foreground: 220 15% 55%;
  --accent: 43 70% 45%;
  --accent-foreground: 222 47% 6%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 210 40% 98%;
  --border: 222 25% 18%;
  --input: 222 25% 18%;
  --ring: 43 80% 50%;
  --radius: 0.5rem;
  --gold-start: 43 90% 55%;
  --gold-end: 35 85% 40%;
  --gold-glow: 43 80% 50%;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Raleway', sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
}

/* ── Container ── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.container-narrow {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ── Layout ── */
.min-h-screen {
  min-height: 100vh;
}

.flex-col-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.flex-1 {
  flex: 1;
}

/* ── Gradient Utilities ── */
.gradient-gold {
  background: linear-gradient(135deg, hsl(43, 90%, 55%), hsl(35, 85%, 40%));
}

.gradient-gold-text {
  background: linear-gradient(135deg, hsl(43, 90%, 60%), hsl(35, 85%, 45%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-gold {
  box-shadow: 0 0 20px hsl(43, 80%, 50%, 0.3), 0 0 40px hsl(43, 80%, 50%, 0.1);
}

.glow-gold {
  box-shadow: 0 0 10px hsl(43, 80%, 50%, 0.4), inset 0 0 10px hsl(43, 80%, 50%, 0.1);
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid hsl(var(--border));
  background-color: hsl(var(--background) / 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.header-logo img {
  height: 2rem;
  width: auto;
}

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

.header-nav a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  border-radius: 0.375rem;
  transition: color 0.2s, background-color 0.2s;
}

.header-nav a:hover {
  color: hsl(var(--foreground));
  background-color: hsl(var(--secondary));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  border: 1px solid hsl(var(--border));
  transition: background-color 0.2s;
  cursor: pointer;
  background: transparent;
  color: hsl(var(--foreground));
}

.lang-switcher-btn:hover {
  background-color: hsl(var(--secondary));
}

.lang-switcher-btn svg.flag {
  width: 1.5rem;
  height: 1rem;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.lang-switcher-btn .chevron {
  width: 0.75rem;
  height: 0.75rem;
  color: hsl(var(--muted-foreground));
  transition: transform 0.2s;
}

.lang-switcher-btn.open .chevron {
  transform: rotate(180deg);
}

.lang-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.lang-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.25rem;
  z-index: 50;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  padding: 0.25rem 0;
  min-width: 140px;
  display: none;
}

.lang-dropdown.open {
  display: block;
}

.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  transition: background-color 0.2s;
}

.lang-dropdown a:hover {
  background-color: hsl(var(--secondary));
}

.lang-dropdown a.active {
  color: hsl(var(--primary));
  font-weight: 500;
  background-color: hsl(var(--secondary) / 0.5);
}

.lang-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
}

.lang-overlay.open {
  display: block;
}

/* Header Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
  cursor: pointer;
  border: none;
  line-height: 1;
}

.btn-sm {
  height: 2.25rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
}

.btn-lg {
  height: 2.75rem;
  padding: 0 2rem;
  border-radius: 0.375rem;
  font-size: 1rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid hsl(var(--primary) / 0.5);
  color: hsl(var(--primary));
}

.btn-outline:hover {
  background-color: hsl(var(--primary) / 0.1);
}

.btn-gold {
  background: linear-gradient(135deg, hsl(43, 90%, 55%), hsl(35, 85%, 40%));
  color: hsl(var(--primary-foreground));
  font-family: 'Cinzel', serif;
  font-weight: 700;
  box-shadow: 0 0 20px hsl(43, 80%, 50%, 0.3), 0 0 40px hsl(43, 80%, 50%, 0.1);
  letter-spacing: 0.05em;
}

.btn-gold:hover {
  filter: brightness(1.1);
}

.btn-gold.glow {
  box-shadow: 0 0 10px hsl(43, 80%, 50%, 0.4), inset 0 0 10px hsl(43, 80%, 50%, 0.1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  color: hsl(var(--foreground));
  cursor: pointer;
  border-radius: 0.375rem;
}

.mobile-menu-btn:hover {
  background-color: hsl(var(--secondary));
}

.mobile-menu-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Panel */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  z-index: 60;
  background: hsl(var(--background));
  border-right: 1px solid hsl(var(--border));
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 2rem 0;
}

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

.mobile-menu-logo {
  padding: 0 1rem;
  margin-bottom: 1rem;
}

.mobile-menu-logo img {
  height: 2rem;
  width: auto;
}

.mobile-menu a.nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  border-radius: 0.5rem;
  transition: color 0.2s, background-color 0.2s;
  margin: 0 0.5rem;
}

.mobile-menu a.nav-link:hover {
  color: hsl(var(--primary));
  background-color: hsl(var(--secondary));
}

.mobile-menu-lang {
  border-top: 1px solid hsl(var(--border));
  margin-top: 1rem;
  padding: 1rem;
}

.mobile-menu-lang p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.mobile-menu-lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mobile-menu-lang-list a {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  transition: all 0.2s;
}

.mobile-menu-lang-list a:hover {
  background-color: hsl(var(--secondary));
}

.mobile-menu-lang-list a.active {
  border-color: hsl(var(--primary));
  background-color: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-weight: 500;
}

.mobile-menu-lang-list a .lang-text {
  font-size: 0.75rem;
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0 1rem;
}

.mobile-menu-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  border-radius: 0.25rem;
  font-size: 1.25rem;
}

.mobile-menu-close:hover {
  color: hsl(var(--foreground));
  background-color: hsl(var(--secondary));
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay-lr {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsl(var(--background) / 0.9), hsl(var(--background) / 0.5), transparent);
}

.hero-overlay-bt {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--background)), transparent, transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 2.5rem 1.25rem;
}

.hero-content-inner {
  max-width: 32rem;
}

.hero-subtitle {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.8);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.hero h1 {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  background: hsl(var(--secondary) / 0.8);
  color: hsl(var(--foreground));
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
}

.hero-badge svg {
  width: 0.875rem;
  height: 0.875rem;
  color: hsl(var(--primary));
}

.hero-badge-updated {
  background: hsl(var(--primary) / 0.2);
  color: hsl(var(--primary));
  border-color: hsl(var(--primary) / 0.3);
  font-weight: 500;
}

/* ── GAME CATEGORIES ── */
.game-categories {
  padding: 2rem 0;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.category-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--secondary) / 0.5);
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  transition: all 0.2s;
  cursor: pointer;
}

.category-pill:hover {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.category-pill svg {
  width: 1rem;
  height: 1rem;
}

.game-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.game-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  transition: border-color 0.2s;
  text-decoration: none;
  display: block;
}

.game-card:hover {
  border-color: hsl(var(--primary) / 0.5);
}

.game-card-image {
  aspect-ratio: 1;
  overflow: hidden;
}

.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.game-card:hover .game-card-image img {
  transform: scale(1.05);
}

.game-card-info {
  padding: 0.5rem 0.75rem;
}

.game-card-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card-provider {
  font-size: 0.625rem;
  color: hsl(var(--muted-foreground));
}

/* Inline content figures (image breaks inside article text) */
.content-figure {
  margin: 0.5rem 0;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
}

.content-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.content-figure figcaption {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  padding: 0.5rem 0.75rem;
  border-top: 1px solid hsl(var(--border));
}

.content-figure-float {
  align-self: center;
  width: 320px;
  max-width: 100%;
  margin: 0.5rem 0;
}

@media (max-width: 640px) {
  .content-figure-float {
    width: 100%;
  }
}

/* ── ARTICLE CONTENT ── */
.article-content {
  padding: 2rem 1rem;
}

/* Rating Block */
.rating-block {
  background: hsl(var(--card));
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
  margin: 2rem 0;
}

.rating-block-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rating-score {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rating-number {
  font-size: 2.25rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
}

.rating-max {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.rating-stars {
  display: flex;
  gap: 0.125rem;
  margin-top: 0.5rem;
}

.rating-stars .star-filled {
  font-size: 1.125rem;
}

.rating-stars .star-empty {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground) / 0.3);
}

.rating-verdict {
  flex: 1;
}

.rating-verdict blockquote {
  font-style: italic;
  font-size: 0.875rem;
  line-height: 1.7;
  color: hsl(var(--foreground));
  border-left: 2px solid hsl(var(--primary));
  padding-left: 1rem;
}

.rating-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.rating-author {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.rating-updated {
  font-size: 0.75rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
}

/* Author Block */
.author-block {
  background: hsl(var(--secondary) / 0.5);
  border-radius: 0.75rem;
  padding: 1.25rem;
  border: 1px solid hsl(var(--border));
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-avatar span {
  font-size: 1.125rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: hsl(var(--primary));
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}

.author-bio {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.25rem;
}

.author-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.author-dates span {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.author-dates .date-updated {
  color: hsl(var(--primary));
}

.author-dates .verified {
  color: hsl(142, 76%, 36%);
}

/* Table of Contents */
.toc {
  position: relative;
  background: hsl(var(--card) / 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.toc-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, hsl(43, 90%, 55%), hsl(35, 85%, 40%));
}

.toc-inner {
  padding: 1.25rem 1.5rem;
}

.toc-title {
  font-size: 1rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-title svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
}

.toc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.375rem;
}

.toc-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.375rem 0;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.toc-link:hover {
  color: hsl(var(--primary));
}

.toc-link:hover .toc-num {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.toc-link:hover .toc-label {
  transform: translateX(2px);
}

.toc-num {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.375rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.toc-label {
  transition: transform 0.2s;
}

/* Content Sections */
.content-section {
  margin-bottom: 2.5rem;
  scroll-margin-top: 5rem;
}

.content-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

/* Rich Content */
.rich-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rich-content p {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.85);
  line-height: 1.7;
  white-space: pre-line;
}

.rich-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rich-content h3 .h3-bar {
  width: 4px;
  height: 1.25rem;
  background: linear-gradient(135deg, hsl(43, 90%, 55%), hsl(35, 85%, 40%));
  border-radius: 9999px;
  display: inline-block;
  flex-shrink: 0;
}

.rich-content h4 {
  font-size: 1rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

/* Callouts */
.callout {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 0.5rem 0;
}

.callout svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.callout p {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.9);
  line-height: 1.7;
}

.callout-warning {
  background: hsl(var(--destructive) / 0.1);
  border: 1px solid hsl(var(--destructive) / 0.2);
}

.callout-warning svg {
  color: hsl(var(--destructive));
}

.callout-tip {
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.2);
}

.callout-tip svg {
  color: hsl(var(--primary));
}

.callout-info {
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
}

.callout-info svg {
  color: hsl(var(--muted-foreground));
}

/* Ordered Lists */
.rich-content ol {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rich-content ol li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.85);
}

.rich-content ol .ol-num {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
}

.rich-content ol li span.ol-text {
  line-height: 1.7;
}

/* Unordered Lists */
.rich-content ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.rich-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.85);
}

.rich-content ul .ul-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: hsl(var(--primary));
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.rich-content ul li span.ul-text {
  line-height: 1.7;
}

/* ── BONUS SECTION (CTA) ── */
.bonus-section {
  padding: 3rem 1rem;
}

.bonus-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid hsl(var(--primary) / 0.3);
  background: linear-gradient(to right, hsl(var(--secondary)), hsl(var(--card)), hsl(var(--secondary)));
  padding: 2rem;
}

.bonus-card-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, hsl(var(--primary) / 0.05), transparent);
}

.bonus-card-image {
  display: none;
  position: absolute;
  right: 2rem;
  bottom: 0;
  width: 12rem;
  opacity: 0.9;
}

.bonus-card-image img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem 0.75rem 0 0;
}

.bonus-card-content {
  position: relative;
  z-index: 10;
  max-width: 36rem;
}

.bonus-card-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.bonus-card-amount {
  font-size: 2.25rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.bonus-card-desc {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

/* ── PROS/CONS ── */
.pros-cons {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.pros-cons-card {
  background: hsl(var(--card));
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
}

.pros-cons-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.pros-cons-card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pros-cons-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.9);
}

.pros-cons-card li .icon-pro {
  color: hsl(142, 76%, 36%);
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.pros-cons-card li .icon-con {
  color: hsl(25, 95%, 53%);
  margin-top: 0.125rem;
  flex-shrink: 0;
}

/* ── CHANGELOG ── */
.changelog-block {
  background: hsl(var(--card));
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
  margin: 2rem 0;
}

.changelog-block h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

.changelog-entries {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.changelog-entry {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.changelog-date {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  font-family: monospace;
  white-space: nowrap;
  min-width: 100px;
}

.changelog-category {
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  white-space: nowrap;
  display: inline-block;
  width: fit-content;
}

.changelog-category.blue { background: hsl(217, 91%, 60%, 0.2); color: hsl(217, 91%, 65%); }
.changelog-category.yellow { background: hsl(48, 96%, 53%, 0.2); color: hsl(48, 96%, 65%); }
.changelog-category.green { background: hsl(142, 71%, 45%, 0.2); color: hsl(142, 71%, 55%); }
.changelog-category.purple { background: hsl(271, 91%, 65%, 0.2); color: hsl(271, 91%, 70%); }
.changelog-category.orange { background: hsl(25, 95%, 53%, 0.2); color: hsl(25, 95%, 63%); }

.changelog-desc {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.9);
}

/* ── FAQ ── */
.faq-block {
  margin: 2rem 0;
}

.faq-block h2 {
  font-size: 1.25rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: hsl(var(--card));
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  color: hsl(var(--foreground));
}

.faq-question span {
  font-weight: 600;
  font-size: 0.875rem;
  padding-right: 1rem;
}

.faq-chevron {
  color: hsl(var(--muted-foreground));
  flex-shrink: 0;
  transition: transform 0.2s;
  font-size: 0.875rem;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.8);
  line-height: 1.7;
  white-space: pre-line;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ── CTA BLOCK (SubPages) ── */
.cta-block {
  background: hsl(var(--secondary) / 0.5);
  border-radius: 0.75rem;
  padding: 2rem;
  border: 1px solid hsl(var(--primary) / 0.2);
  text-align: center;
  margin: 2rem 0;
}

.cta-bonus {
  font-size: 1.5rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta-subtitle {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

/* ── DISCLAIMER ── */
.disclaimer {
  text-align: center;
  margin-top: 3rem;
}

.disclaimer p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.disclaimer p + p {
  margin-top: 0.25rem;
  color: hsl(var(--muted-foreground) / 0.7);
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--secondary) / 0.3);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand-name {
  font-size: 1.25rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.footer-copyright {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.75rem;
}

.footer-email {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.5rem;
}

.footer-email a {
  transition: color 0.2s;
}

.footer-email a:hover {
  color: hsl(var(--primary));
}

.footer-col-title {
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

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

.footer-col nav a,
.footer-col nav span {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.footer-col nav a:hover {
  color: hsl(var(--primary));
}

.footer-bottom {
  border-top: 1px solid hsl(var(--border));
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.footer-bottom p + p {
  margin-top: 0.5rem;
  color: hsl(var(--muted-foreground) / 0.7);
}

/* ── SCROLL TO TOP ── */
.scroll-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(43, 90%, 55%), hsl(35, 85%, 40%));
  color: hsl(var(--primary-foreground));
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  border: none;
  transition: opacity 0.3s, transform 0.3s;
  animation: fadeIn 0.5s ease-out;
}

.scroll-to-top.visible {
  display: flex;
}

.scroll-to-top svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ── LOGIN FORM ── */
.login-form-card {
  background: hsl(var(--card));
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  padding: 1.5rem 2rem;
  max-width: 28rem;
  margin: 2rem auto;
}

.login-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.login-tab {
  flex: 1;
  padding: 0.625rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.login-tab.active {
  background: linear-gradient(135deg, hsl(43, 90%, 55%), hsl(35, 85%, 40%));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 0 20px hsl(43, 80%, 50%, 0.3);
}

.login-tab:not(.active) {
  background: hsl(var(--secondary));
  color: hsl(var(--muted-foreground));
}

.login-tab:not(.active):hover {
  color: hsl(var(--foreground));
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  margin-bottom: 0.375rem;
}

.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 0.625rem 1rem;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.3);
}

.form-group input::placeholder {
  color: hsl(var(--muted-foreground));
}

.forgot-link {
  text-align: right;
}

.forgot-link a {
  font-size: 0.75rem;
  color: hsl(var(--primary));
  transition: text-decoration 0.2s;
}

.forgot-link a:hover {
  text-decoration: underline;
}

.age-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
}

.age-check input {
  margin-top: 0.125rem;
  accent-color: hsl(var(--primary));
}

.age-check span {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.login-terms {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
  margin-top: 1rem;
}

.login-switch {
  text-align: center;
  margin-top: 0.5rem;
}

.login-switch button {
  font-size: 0.875rem;
  color: hsl(var(--primary));
  background: transparent;
  border: none;
  cursor: pointer;
}

.login-switch button:hover {
  text-decoration: underline;
}

/* ── LIVE GAMES GRID ── */
.live-games {
  margin: 2rem 0;
}

.live-games h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.live-games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.live-game-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  transition: border-color 0.2s;
  display: block;
}

.live-game-card:hover {
  border-color: hsl(var(--primary) / 0.5);
}

.live-game-card .game-card-image {
  aspect-ratio: 3/2;
}

/* ── SPORT HERO IMAGE ── */
.sport-hero-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
}

.sport-hero-images img {
  filter: drop-shadow(0 25px 25px rgba(0,0,0,0.25));
}

.sport-hero-images img:first-child {
  width: 10rem;
}

.sport-hero-images img:last-child {
  width: 9rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */

/* SM: 640px */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }

  .cta-buttons {
    flex-direction: row;
  }

  .author-block {
    flex-direction: row;
    align-items: flex-start;
  }

  .changelog-entry {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .sport-hero-images {
    flex-direction: row;
  }
}

/* MD: 768px */
@media (min-width: 768px) {
  .header-logo img {
    height: 2.5rem;
  }

  .hero {
    min-height: 400px;
  }

  .hero-content {
    padding: 4rem 2rem;
  }

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

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

  .games-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .game-card-info {
    padding: 0.5rem 0.75rem;
  }

  .game-card-name {
    font-size: 0.875rem;
  }

  .game-card-provider {
    font-size: 0.75rem;
  }

  .toc-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
  }

  .content-section h2 {
    font-size: 1.5rem;
  }

  .rating-block-inner {
    flex-direction: row;
    align-items: center;
  }

  .bonus-card {
    padding: 3rem;
  }

  .bonus-card-image {
    display: block;
  }

  .bonus-card-title {
    font-size: 2.25rem;
  }

  .bonus-card-amount {
    font-size: 3rem;
  }

  .pros-cons {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .live-games-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sport-hero-images img:first-child {
    width: 13rem;
  }

  .sport-hero-images img:last-child {
    width: 12rem;
  }
}

/* LG: 1024px */
@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }

  .bonus-card-image {
    width: 14rem;
  }
}

/* Header responsive */
@media (max-width: 1023px) {
  .header-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 767px) {
  .header-actions {
    display: none;
  }
}

/* XL: 1280px */
@media (min-width: 1280px) {
  .lang-label {
    display: inline;
  }
}

@media (max-width: 1279px) {
  .lang-label {
    display: none;
  }
}

/* ── SVG Flag Styles ── */
.flag-svg {
  width: 1.5rem;
  height: 1rem;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  border: 1px solid hsl(var(--border) / 0.3);
  display: inline-block;
  vertical-align: middle;
}

/* ── Scroll margin for anchors ── */
[id] {
  scroll-margin-top: 5rem;
}

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

.hidden {
  display: none !important;
}

/* === Expanded Author Block (polished) === */
.author-block.author-block-expanded {
  display: block;
  position: relative;
  padding: 0;
  margin: 2.5rem 0;
  background: linear-gradient(180deg, hsl(var(--card)) 0%, hsl(var(--card) / 0.95) 100%);
  border: 1px solid hsl(var(--border));
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 12px 40px -16px hsl(var(--primary) / 0.3), 0 2px 8px -4px hsl(0 0% 0% / 0.4);
}
.author-block.author-block-expanded .author-accent {
  height: 4px;
  background: linear-gradient(90deg,
    hsl(var(--primary)) 0%,
    hsl(45 90% 55%) 50%,
    hsl(var(--primary)) 100%);
}
.author-block.author-block-expanded .author-main {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.75rem;
  padding: 1.75rem;
  align-items: start;
}
.author-block.author-block-expanded .author-avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.author-block.author-block-expanded .author-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  padding: 0;
  background: hsl(var(--primary) / 0.1);
  border: 3px solid hsl(var(--primary) / 0.4);
  box-shadow: 0 8px 24px -8px hsl(var(--primary) / 0.5);
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.author-block.author-block-expanded .author-avatar:hover { transform: scale(1.03); }
.author-block.author-block-expanded .author-avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.author-block.author-block-expanded .author-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.65rem;
  background: hsl(142 70% 35% / 0.15);
  color: hsl(142 70% 50%);
  border: 1px solid hsl(142 70% 35% / 0.4);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.author-block.author-block-expanded .author-verified-pill svg { flex-shrink: 0; }
.author-block.author-block-expanded .author-info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 0.85rem;
}
.author-block.author-block-expanded .author-headline { display: flex; flex-direction: column; gap: 0.15rem; }
.author-block.author-block-expanded .author-name {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: hsl(var(--foreground));
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(45 90% 60%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.author-block.author-block-expanded .author-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}
.author-block.author-block-expanded .author-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed hsl(var(--border));
}
.author-block.author-block-expanded .author-meta-dot { opacity: 0.4; }
.author-block.author-block-expanded .author-meta .date-updated { color: hsl(var(--primary)); font-weight: 600; }
.author-block.author-block-expanded .author-bio {
  font-size: 0.92rem;
  line-height: 1.65;
  color: hsl(var(--foreground) / 0.88);
  margin: 0;
}
.author-block.author-block-expanded .author-credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.25rem;
  list-style: none;
  padding: 0; margin: 0;
}
.author-block.author-block-expanded .author-credentials li {
  font-size: 0.78rem;
  color: hsl(var(--foreground) / 0.78);
  position: relative;
  padding-left: 1.4rem;
  line-height: 1.5;
}
.author-block.author-block-expanded .author-credentials li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1rem; height: 1rem;
  background: hsl(var(--primary) / 0.15);
  border-radius: 50%;
}
.author-block.author-block-expanded .author-credentials li::after {
  content: "✓";
  position: absolute;
  left: 0.2rem;
  top: 0.25rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: hsl(var(--primary));
  width: 0.6rem;
  text-align: center;
}
.author-block.author-block-expanded .author-social {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding-top: 0.25rem;
}
.author-block.author-block-expanded .author-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  background: hsl(var(--secondary));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.author-block.author-block-expanded .author-social a:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -4px hsl(var(--primary) / 0.5);
}
.author-block.author-block-expanded .author-social a svg { flex-shrink: 0; }
.author-block.author-block-expanded .author-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 1.1rem 1.75rem;
  background: linear-gradient(180deg, hsl(var(--secondary) / 0.5) 0%, hsl(var(--secondary) / 0.3) 100%);
  border-top: 1px solid hsl(var(--border));
}
.author-block.author-block-expanded .author-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.25rem;
  border-right: 1px solid hsl(var(--border) / 0.5);
}
.author-block.author-block-expanded .author-stat:last-child { border-right: none; }
.author-block.author-block-expanded .author-stat-value {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(45 90% 60%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.author-block.author-block-expanded .author-stat-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: hsl(var(--muted-foreground));
  margin-top: 0.4rem;
  line-height: 1.2;
}
@media (max-width: 720px) {
  .author-block.author-block-expanded .author-main {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem 1.25rem;
  }
  .author-block.author-block-expanded .author-avatar-wrap { align-items: center; }
  .author-block.author-block-expanded .author-avatar { width: 110px; height: 110px; }
  .author-block.author-block-expanded .author-name { font-size: 1.3rem; text-align: center; }
  .author-block.author-block-expanded .author-role { text-align: center; }
  .author-block.author-block-expanded .author-meta { justify-content: center; text-align: center; }
  .author-block.author-block-expanded .author-credentials { grid-template-columns: 1fr; }
  .author-block.author-block-expanded .author-social { justify-content: center; }
  .author-block.author-block-expanded .author-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 1rem;
    gap: 0.75rem 0.5rem;
  }
  .author-block.author-block-expanded .author-stat { border-right: none; border-bottom: 1px solid hsl(var(--border) / 0.5); padding-bottom: 0.6rem; }
  .author-block.author-block-expanded .author-stat:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0; }
}

/* Mobile menu action buttons – ensure proper size */
.mobile-menu-actions .btn { height: 3rem; padding: 0 1.25rem; font-size: 0.95rem; border-radius: 0.5rem; letter-spacing: 0.03em; }
.mobile-menu-actions .btn-outline { border-width: 1.5px; }

/* Sticky mobile CTA */
.sticky-cta-mobile { display: none; }
@media (max-width: 767px) {
  .sticky-cta-mobile {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 0.625rem 0.875rem calc(env(safe-area-inset-bottom, 0px) + 0.625rem);
    background: linear-gradient(to top, rgba(8,6,20,0.98) 60%, rgba(8,6,20,0.85) 85%, rgba(8,6,20,0));
    backdrop-filter: blur(6px);
  }
  .sticky-cta-mobile a {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 3.25rem; border-radius: 999px;
    background: linear-gradient(135deg, hsl(43, 90%, 55%), hsl(35, 85%, 40%));
    color: hsl(var(--primary-foreground));
    font-family: 'Cinzel', serif; font-weight: 700; font-size: 1rem;
    text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase;
    box-shadow: 0 8px 28px hsl(43, 80%, 50%, 0.45), 0 0 0 1px hsl(43, 80%, 60%, 0.35) inset;
    animation: stickyPulse 2.4s ease-in-out infinite;
  }
  @keyframes stickyPulse {
    0%,100% { box-shadow: 0 8px 28px hsl(43, 80%, 50%, 0.45), 0 0 0 1px hsl(43, 80%, 60%, 0.35) inset; }
    50%    { box-shadow: 0 10px 36px hsl(43, 90%, 55%, 0.7), 0 0 0 1px hsl(43, 90%, 70%, 0.5) inset; }
  }
  body { padding-bottom: 5rem; }
}

/* Mobile hero — hard override: content starts directly under the header */
@media (max-width: 768px) {
  .hero {
    display: block !important;
    min-height: 690px !important;
    padding: 0 !important;
    background: hsl(var(--background)) !important;
    overflow: hidden !important;
  }

  .hero-bg {
    inset: auto 0 0 0 !important;
    height: 275px !important;
    background-image: url(/images/hero-mobile.webp) !important;
    background-position: center bottom !important;
    background-size: auto 275px !important;
    background-repeat: no-repeat !important;
    opacity: 1 !important;
  }

  .hero-overlay-lr {
    background: linear-gradient(to bottom, hsl(var(--background)) 0%, hsl(var(--background) / 0.98) 48%, hsl(var(--background) / 0.18) 77%, transparent 100%) !important;
  }

  .hero-overlay-bt {
    display: none !important;
  }

  .hero-content {
    position: relative !important;
    z-index: 12 !important;
    padding: 0.35rem 1rem 285px !important;
    margin: 0 !important;
    transform: none !important;
    background: transparent !important;
  }

  .hero-content-inner {
    max-width: none !important;
    margin: 0 !important;
  }

  .hero-subtitle {
    margin: 0 0 0.45rem !important;
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
  }

  .hero h1 {
    margin: 0 0 0.85rem !important;
    font-size: 1.48rem !important;
    line-height: 1.08 !important;
  }

  .hero-buttons {
    gap: 0.55rem !important;
  }

  .hero-buttons .btn-lg {
    width: 100% !important;
    height: 3rem !important;
    min-height: 3rem !important;
    padding: 0 0.75rem !important;
    font-size: 0.9rem !important;
  }

  .hero-badges {
    margin-top: 0.75rem !important;
    gap: 0.45rem !important;
  }

  .hero-badge {
    padding: 0.22rem 0.55rem !important;
    font-size: 0.68rem !important;
  }
}
