/* === Магический древнеславянский стиль === */
:root {
  --color-bg: #0a0c09;
  --anim-duration: 0.6s;
  --anim-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --color-bg-forest: #0d120c;
  --color-bg-soft: #141a12;
  --color-bg-parchment: #1c1810;
  --color-text: #e8e4dc;
  --color-text-muted: #9a9588;
  --color-accent: #b8954a;
  --color-accent-glow: #c9a962;
  --color-accent-hover: #d4b872;
  --color-forest: #2d3d28;
  --color-border: #3d3220;
  --color-border-gold: #6b5a3a;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Manrope', system-ui, sans-serif;
  --font-slavic: 'Monomakh', 'Cormorant Garamond', Georgia, serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --radius: 4px;
  --radius-ornate: 2px;
}

/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-slavic);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* === Фоновые слои === */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(45, 61, 40, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(184, 149, 74, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse 50% 30% at 20% 60%, rgba(45, 61, 40, 0.3) 0%, transparent 40%),
    linear-gradient(180deg, #0a0c09 0%, #0d120c 30%, #0a0c09 100%);
}

.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* === Анимации === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.5; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.section-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--anim-ease), transform 0.7s var(--anim-ease);
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .section-animate,
  .hero-label, .hero-title, .hero-subtitle, .hero-runes,
  .hero-frame, .header {
    animation: none !important;
  }
  .hero-glow { animation: none; }
  .burger-line,
  .nav,
  .nav-overlay {
    transition: none !important;
  }
}

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(to bottom, rgba(10, 12, 9, 0.95) 70%, transparent);
  border-bottom: 1px solid rgba(107, 90, 58, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  animation: fadeIn 0.8s var(--anim-ease);
}

.header-ornament {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-gold), transparent);
  opacity: 0.6;
}

.header-ornament--right {
  background: linear-gradient(90deg, transparent, var(--color-border-gold), transparent);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-divider {
  color: var(--color-accent);
  font-size: 0.5rem;
  opacity: 0.6;
}

.nav-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-family: var(--font-slavic);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  padding: 0.25rem 0.5rem;
}

.nav-link:hover {
  color: var(--color-accent-glow);
  text-shadow: 0 0 12px rgba(201, 169, 98, 0.3);
}

/* === Бургер-меню === */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s;
  z-index: 110;
}

.burger:hover {
  background: rgba(184, 149, 74, 0.1);
  border-color: var(--color-accent);
}

.burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
  transition: transform 0.3s var(--anim-ease), opacity 0.3s;
}

.burger.active .burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 9, 0.6);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}

.nav-overlay--visible {
  pointer-events: auto;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .header {
    justify-content: flex-end;
  }

  .header-ornament {
    display: none;
  }

  .nav-overlay {
    display: block;
  }

  .nav-overlay--visible {
    opacity: 1;
    visibility: visible;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: linear-gradient(180deg, var(--color-bg-soft) 0%, var(--color-bg) 100%);
    border-left: 1px solid var(--color-border-gold);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.35s var(--anim-ease);
  }

  .nav--open {
    transform: translateX(0);
  }

  .nav-divider {
    display: none;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: var(--space-sm);
  }
}

@media (min-width: 769px) {
  .nav-overlay {
    display: none !important;
  }
}

/* === Hero === */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--space-xl) var(--space-lg);
  overflow: hidden;
}

.hero-frame {
  position: relative;
  text-align: center;
  z-index: 1;
  padding: var(--space-xl);
  border: 1px solid rgba(107, 90, 58, 0.4);
  border-radius: 2px;
  box-shadow: 
    inset 0 0 60px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(184, 149, 74, 0.05);
  animation: fadeIn 1s var(--anim-ease);
}

.hero-frame::before,
.hero-frame::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(107, 90, 58, 0.3);
  top: 15px;
}

.hero-frame::before {
  left: 15px;
  border-right: none;
  border-bottom: none;
}

.hero-frame::after {
  right: 15px;
  border-left: none;
  border-bottom: none;
}

.hero-ornament {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-gold), transparent);
  opacity: 0.4;
}

.hero-ornament--top {
  top: 15px;
}

.hero-ornament--bottom {
  bottom: 15px;
}

.hero-content {
  position: relative;
}

.hero-label {
  font-family: var(--font-slavic);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  opacity: 0.9;
  animation: fadeInUp 0.8s var(--anim-ease) 0.2s both;
}

.hero-title {
  font-family: var(--font-slavic);
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 400;
  margin: 0 0 var(--space-sm);
  letter-spacing: 0.08em;
  color: var(--color-text);
  text-shadow: 0 0 30px rgba(201, 169, 98, 0.2);
  animation: fadeInUp 0.8s var(--anim-ease) 0.35s both;
}

.hero-subtitle {
  font-family: var(--font-slavic);
  font-size: 1.15rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin: 0 0 var(--space-md);
  animation: fadeInUp 0.8s var(--anim-ease) 0.5s both;
}

.hero-runes {
  font-size: 1rem;
  color: var(--color-accent);
  letter-spacing: 0.5em;
  opacity: 0.7;
  margin-top: var(--space-md);
  animation: fadeInUp 0.8s var(--anim-ease) 0.65s both;
}

.hero-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100px;
  background: linear-gradient(to top, var(--color-accent), transparent);
  opacity: 0.3;
  animation: glowPulse 4s ease-in-out infinite;
}

/* === Разделители секций === */
.section-divider {
  text-align: center;
  padding: var(--space-md) 0;
}

.divider-symbol {
  color: var(--color-accent);
  font-size: 0.7rem;
  opacity: 0.5;
  letter-spacing: 1em;
}

/* === Секции === */
.section {
  padding: var(--space-xl) var(--space-lg);
  position: relative;
}

.section-ornament {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--color-border-gold), transparent);
  opacity: 0.2;
}

.section-ornament--left {
  left: 5%;
}

.section-ornament--right {
  right: 5%;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-slavic);
  font-size: 2rem;
  font-weight: 400;
  margin: 0 0 var(--space-lg);
  color: var(--color-text);
  letter-spacing: 0.05em;
  text-align: center;
}

.title-ornament {
  color: var(--color-accent);
  font-size: 0.8em;
  margin: 0 0.3em;
  opacity: 0.8;
}

/* === Об авторе === */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 700px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.author-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--color-border-gold);
  box-shadow: 
    inset 0 0 30px rgba(0, 0, 0, 0.2),
    0 4px 20px rgba(0, 0, 0, 0.3);
  display: block;
  transition: transform 0.4s var(--anim-ease), box-shadow 0.4s var(--anim-ease);
}

.about-photo:hover .author-photo {
  transform: scale(1.02);
  box-shadow: 
    inset 0 0 30px rgba(0, 0, 0, 0.2),
    0 8px 30px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(184, 149, 74, 0.15);
}

.about-text .lead {
  font-size: 1.15rem;
  color: var(--color-accent-glow);
  margin-bottom: var(--space-md);
  font-family: var(--font-slavic);
}

.about-text p {
  margin: 0 0 var(--space-md);
  color: var(--color-text);
  font-family: var(--font-serif);
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* === Книга === */
.book {
  background: 
    linear-gradient(180deg, rgba(20, 26, 18, 0.5) 0%, transparent 100%),
    var(--color-bg-soft);
  border-top: 1px solid rgba(107, 90, 58, 0.2);
  border-bottom: 1px solid rgba(107, 90, 58, 0.2);
}

.book-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-xl);
  align-items: start;
  padding: var(--space-lg);
  background: rgba(28, 24, 16, 0.3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s var(--anim-ease), box-shadow 0.4s var(--anim-ease);
}

.book-card:hover {
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.2), 0 0 30px rgba(184, 149, 74, 0.08);
}

@media (max-width: 600px) {
  .book-card {
    grid-template-columns: 1fr;
  }
  
  .hero-frame {
    padding: var(--space-lg);
  }
  
  .hero-frame::before,
  .hero-frame::after {
    width: 40px;
    height: 40px;
  }
  
  .section-ornament {
    display: none;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .btn-top {
    bottom: var(--space-md);
    right: var(--space-md);
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
}

.book-cover {
  aspect-ratio: 2/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--color-border-gold);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(184, 149, 74, 0.1);
  transition: transform 0.4s var(--anim-ease);
}

.book-card:hover .book-cover {
  transform: scale(1.02);
}

.book-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book-title {
  font-family: var(--font-slavic);
  font-size: 1.9rem;
  font-weight: 600;
  margin: 0 0 var(--space-xs);
  color: var(--color-accent-glow);
  text-shadow: 0 0 20px rgba(201, 169, 98, 0.2);
}

.book-meta {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-md);
  font-family: var(--font-slavic);
  letter-spacing: 0.1em;
}

.book-description h4 {
  font-family: var(--font-slavic);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 var(--space-sm);
}

.book-description p {
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
  font-family: var(--font-serif);
}

.book-description p:last-of-type {
  margin-bottom: var(--space-lg);
}

.book-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* === Другие книги === */
.other-books {
  background: 
    linear-gradient(180deg, rgba(20, 26, 18, 0.5) 0%, transparent 100%),
    var(--color-bg-soft);
}

.other-books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-lg);
  justify-items: center;
}

.book-card-mini {
  display: block;
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.2s;
}

.book-card-mini:hover {
  transform: translateY(-4px);
}

.book-card-mini img {
  width: 140px;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--color-border-gold);
  margin-bottom: var(--space-sm);
}

.book-card-mini h4 {
  font-family: var(--font-slavic);
  font-size: 1rem;
  margin: 0 0 var(--space-xs);
}

.book-card-mini p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
}

.other-books-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--color-text-muted);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  padding: var(--space-xl);
}

/* === Кнопки === */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-slavic);
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #9a7b3a 100%);
  color: var(--color-bg);
  border: 1px solid var(--color-border-gold);
  box-shadow: 
    0 2px 10px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent-hover) 0%, var(--color-accent) 100%);
  box-shadow: 0 0 20px rgba(201, 169, 98, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-border-gold);
}

.btn-secondary:hover {
  background: rgba(184, 149, 74, 0.15);
  box-shadow: 0 0 15px rgba(184, 149, 74, 0.2);
}

/* === Фрагмент (пергамент) === */
.excerpt-content {
  max-width: 640px;
  margin: 0 auto;
}

.excerpt-parchment {
  padding: var(--space-xl);
  background: 
    linear-gradient(135deg, rgba(28, 24, 16, 0.9) 0%, rgba(20, 18, 12, 0.95) 100%);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  box-shadow: 
    inset 0 0 60px rgba(0, 0, 0, 0.2),
    0 4px 20px rgba(0, 0, 0, 0.3);
}

.excerpt-intro {
  font-family: var(--font-slavic);
  font-size: 0.9rem;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  text-align: center;
}

.excerpt-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.9;
}

.excerpt-text p {
  margin: 0 0 var(--space-md);
  color: var(--color-text);
}

.excerpt-text p:last-child {
  margin-bottom: 0;
}

/* === Контакты === */
.contact-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.contact-text {
  color: var(--color-text-muted);
  margin: 0 0 var(--space-lg);
  font-family: var(--font-serif);
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-accent-glow);
  text-decoration: none;
  font-family: var(--font-slavic);
  font-weight: 400;
  font-size: 1rem;
  transition: all 0.3s;
  padding: var(--space-md) var(--space-lg);
  border: 1px solid transparent;
  border-radius: var(--radius);
  min-width: 90px;
}

.contact-item:hover {
  color: var(--color-accent-hover);
  text-shadow: 0 0 15px rgba(201, 169, 98, 0.4);
  border-color: var(--color-border-gold);
}

.contact-item:hover .contact-icon {
  color: var(--color-accent-hover);
  transform: translateY(-2px);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  transition: color 0.3s, transform 0.3s;
}

.contact-icon svg {
  width: 28px;
  height: 28px;
}

.contact-label {
  letter-spacing: 0.05em;
}

/* === Отзывы === */
.reviews {
  background: 
    linear-gradient(180deg, rgba(20, 26, 18, 0.5) 0%, transparent 100%),
    var(--color-bg-soft);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.review-card {
  margin: 0;
  padding: var(--space-lg);
  background: rgba(28, 24, 16, 0.4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-accent);
  transition: transform 0.3s var(--anim-ease), box-shadow 0.3s var(--anim-ease);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.review-stars {
  color: var(--color-accent);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.review-text {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0 0 var(--space-sm);
  font-style: italic;
}

.review-author {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-style: normal;
}

/* === Новости === */
.news-list {
  max-width: 640px;
  margin: 0 auto;
}

.news-item {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
  transition: padding-left 0.3s var(--anim-ease);
}

.news-item:hover {
  padding-left: var(--space-sm);
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  display: block;
  font-size: 0.8rem;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.news-title {
  font-family: var(--font-slavic);
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0 0 var(--space-xs);
  color: var(--color-text);
}

.news-text {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* === Кнопка «Наверх» === */
.btn-top {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-bg);
  border: 1px solid var(--color-border-gold);
  border-radius: 50%;
  font-size: 1.5rem;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 50;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-top.visible {
  opacity: 1;
  visibility: visible;
}

.btn-top:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 98, 0.4);
}

/* === Footer === */
.footer {
  padding: var(--space-lg);
  text-align: center;
  border-top: 1px solid var(--color-border);
  background: rgba(10, 12, 9, 0.8);
}

.footer-ornament {
  font-size: 0.75rem;
  color: var(--color-accent);
  opacity: 0.5;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.3em;
}

.footer p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-family: var(--font-slavic);
}

/* === Страница 404 === */
.error-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-content {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.error-code {
  font-family: var(--font-slavic);
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 400;
  color: var(--color-accent);
  margin: 0 0 var(--space-sm);
  opacity: 0.9;
  text-shadow: 0 0 40px rgba(201, 169, 98, 0.2);
}

.error-title {
  font-family: var(--font-slavic);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--color-text);
  margin: 0 0 var(--space-md);
  letter-spacing: 0.05em;
}

.error-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin: 0 0 var(--space-xl);
}

.error-content .btn {
  margin-top: var(--space-md);
}

@media (max-width: 768px) {
  .nav--simple .nav-divider {
    display: none;
  }
}
