/* ==========================================================================
   Loca Deserta Universe — Self-Contained Modern Design System (Zero CDN)
   ========================================================================== */

@font-face {
  font-family: 'Rubik';
  src: url('/assets/fonts/Rubik-VariableFont_wght.ttf') format('truetype');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/Montserrat-SemiBold.ttf') format('truetype');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Play';
  src: url('/assets/fonts/Play-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Play';
  src: url('/assets/fonts/Play-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vollkorn';
  src: url('/assets/fonts/Vollkorn-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vollkorn';
  src: url('/assets/fonts/Vollkorn-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-primary: #0a0d14;
  --bg-secondary: #111622;
  --bg-card: rgba(22, 29, 44, 0.78);
  --bg-card-hover: rgba(30, 40, 62, 0.92);
  --bg-glass: rgba(13, 18, 28, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(245, 166, 35, 0.38);
  --border-scifi: rgba(56, 189, 248, 0.38);

  --text-primary: #f3f6fc;
  --text-secondary: #a6b2c9;
  --text-muted: #6e7b94;

  --gold: #f5a623;
  --gold-light: #ffd166;
  --crimson: #e63946;
  --cyan: #38bdf8;
  --cyan-glow: rgba(56, 189, 248, 0.2);
  --gold-glow: rgba(245, 166, 35, 0.2);
  --emerald: #10b981;
  --purple: #a855f7;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
  --shadow-glow-gold: 0 8px 32px rgba(245, 166, 35, 0.18);
  --shadow-glow-cyan: 0 8px 32px rgba(56, 189, 248, 0.18);

  --font-sans: 'Rubik', system-ui, -apple-system, sans-serif;
  --font-display: 'Play', 'Montserrat', system-ui, sans-serif;
  --font-serif: 'Vollkorn', Georgia, serif;
  --max-w: 1260px;
}

[data-theme="light"] {
  --bg-primary: #f8f6f0;
  --bg-secondary: #efeae0;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(248, 246, 240, 0.9);
  --border-subtle: rgba(15, 23, 42, 0.1);
  --border-accent: rgba(217, 119, 6, 0.45);
  --border-scifi: rgba(2, 132, 199, 0.45);
  --text-primary: #141824;
  --text-secondary: #434c5e;
  --text-muted: #64748b;
  --gold: #d97706;
  --gold-light: #b45309;
  --cyan: #0284c7;
  --shadow-lg: 0 14px 36px rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(245, 166, 35, 0.09), transparent 36%),
    radial-gradient(circle at 88% 18%, rgba(56, 189, 248, 0.09), transparent 38%),
    radial-gradient(circle at 50% 85%, rgba(168, 85, 247, 0.06), transparent 42%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

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

/* Container & Layout */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-sm {
  padding: 2.5rem 0;
}

/* Top Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 14px var(--gold-glow);
}

.brand-subtitle {
  display: block;
  font-size: 0.72rem;
  font-family: var(--font-sans);
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nav-link {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.scifi-badge {
  color: var(--cyan);
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 0.2rem;
  gap: 0.15rem;
}

.lang-btn {
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--gold);
  color: #090c12;
  box-shadow: 0 2px 10px var(--gold-glow);
}

.lang-btn:hover:not(.active) {
  color: var(--text-primary);
}

.theme-toggle, .mobile-menu-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle:hover, .mobile-menu-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

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

/* Hero Section */
.hero {
  padding: 4.5rem 0 3.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: rgba(245, 166, 35, 0.12);
  color: var(--gold);
  border: 1px solid var(--border-accent);
  margin-bottom: 1.2rem;
}

.eyebrow.scifi {
  background: rgba(56, 189, 248, 0.12);
  color: var(--cyan);
  border-color: var(--border-scifi);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.6vw, 3.85rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #ffd166 0%, #f5a623 55%, #ff6b35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-scifi {
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin-bottom: 1.85rem;
  max-width: 640px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.78rem 1.45rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.22s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #f5a623, #e07a00);
  color: #090c12;
  box-shadow: var(--shadow-glow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-scifi {
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #ffffff;
  box-shadow: var(--shadow-glow-cyan);
}

.btn-scifi:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(245, 166, 35, 0.08);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.48rem 0.95rem;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
}

/* Stats Bar */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  backdrop-filter: blur(10px);
}

.stat-val {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.15;
}

.stat-val.cyan {
  color: var(--cyan);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

/* Hero Visual Showcase */
.hero-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.showcase-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

.showcase-card.scifi:hover {
  border-color: var(--cyan);
}

.showcase-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.showcase-card-body {
  padding: 1rem;
}

.showcase-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--gold);
}

.showcase-tag.scifi {
  color: var(--cyan);
}

.showcase-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 0.2rem;
}

/* Section Headers */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 650px;
  margin-top: 0.45rem;
  font-size: 1rem;
}

/* Filter Tabs */
.filter-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.filter-tab {
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab.active, .filter-tab:hover {
  background: var(--gold);
  color: #090c12;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-lg);
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.game-card.scifi:hover {
  border-color: var(--border-scifi);
}

.game-card-media {
  position: relative;
  height: 215px;
  overflow: hidden;
  background: #070a0f;
}

.game-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.card-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  flex-wrap: wrap;
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(10, 13, 20, 0.85);
  color: var(--gold);
  border: 1px solid var(--border-accent);
  backdrop-filter: blur(8px);
}

.badge.scifi {
  color: var(--cyan);
  border-color: var(--border-scifi);
}

.badge.live {
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.4);
}

.game-card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-card-title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.game-card-desc {
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.pill {
  font-size: 0.74rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-weight: 500;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-subtle);
}

/* Books Showcase */
.book-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 1.25rem;
  align-items: start;
  transition: all 0.25s ease;
}

.book-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-scifi);
  box-shadow: var(--shadow-glow-cyan);
}

.book-cover {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
}

/* Social & Store Hub */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 1rem;
}

.hub-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.hub-item:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: var(--bg-card-hover);
}

.hub-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.45rem;
}

.hub-icon img, .hub-icon svg {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.hub-info {
  overflow: hidden;
}

.hub-name {
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hub-handle {
  font-size: 0.78rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Timeline / News */
.timeline {
  display: grid;
  gap: 1.1rem;
}

.news-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.25rem;
  align-items: baseline;
}

.news-item.scifi {
  border-left-color: var(--cyan);
}

.news-date {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-item.scifi .news-date {
  color: var(--cyan);
}

/* Gallery Grid on Inner Pages */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.15rem;
  margin: 1.5rem 0;
}

.gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
  border-color: var(--gold);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-caption {
  padding: 0.65rem 0.9rem;
  font-size: 0.83rem;
  color: var(--text-secondary);
  text-align: center;
}

/* Content / Article Prose */
.prose {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.prose h1, .prose h2, .prose h3 {
  font-family: var(--font-display);
  margin: 2rem 0 0.85rem;
  line-height: 1.25;
}

.prose h2 {
  font-size: 1.65rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border-subtle);
}

.prose p {
  margin-bottom: 1.15rem;
  color: var(--text-secondary);
}

.prose ul, .prose ol {
  margin: 0 0 1.25rem 1.4rem;
  color: var(--text-secondary);
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose strong {
  color: var(--text-primary);
}

.prose a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Book Reader Layout */
.book-reader {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  line-height: 1.82;
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 2.5rem 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.book-reader p {
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.book-reader img {
  border-radius: var(--radius-md);
  margin: 1.8rem auto;
  box-shadow: var(--shadow-lg);
}

/* FAQ Accordion for AI & SEO */
.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 920px;
}

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

.faq-item summary {
  padding: 1.1rem 1.35rem;
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 0 1.35rem 1.2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.9rem;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 14, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2.5rem;
  margin-top: 4rem;
}

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

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

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

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .book-card {
    grid-template-columns: 110px 1fr;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .news-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .book-card {
    grid-template-columns: 1fr;
  }
  .book-cover {
    max-width: 180px;
  }
  .book-reader {
    padding: 1.5rem 1.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
