@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;900&family=Cinzel+Decorative:wght@400;700;900&family=Almendra+SC:ital,wght@0,400;0,700;1,400;1,700&family=Metamorphous&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500&display=swap');

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --clr-void: #060409;
  --clr-void-rgb: 6, 4, 9;
  --clr-deep: #09060e;
  --clr-deep-rgb: 9, 6, 14;
  --clr-dark: #0d0815;
  --clr-surface: #120b1c;
  --clr-surface-light: #180f26;
  --clr-nur: #d4af37;
  --clr-nur-rgb: 212, 175, 55;
  --clr-nur-light: #f0d060;
  --clr-nur-glow: rgba(var(--clr-nur-rgb), 0.3);
  --clr-nur-soft: rgba(var(--clr-nur-rgb), 0.08);
  --clr-text: #e8e4dc;
  --clr-text-rgb: 232, 228, 220;
  --clr-shadow-rgb: 0, 0, 0;
  --clr-text-dim: #9a9488;
  --clr-text-muted: #6b6560;
  --clr-accent-green: #2d6b4f;
  --clr-accent-teal: #1a5c5c;
  --clr-accent-purple: #3d2b5a;
  --clr-helin-red: #8b3a3a;
  --clr-ufan-blue: #2a3a6b;
  --font-display: 'Cinzel', serif;
  --font-body: 'Cormorant Garamond', serif;
  --font-ui: 'Inter', sans-serif;
  --font-metamorphous: 'Metamorphous', cursive;
  --font-almendra: 'Almendra SC', serif;
  --font-cinzel-dec: 'Cinzel Decorative', serif;
}

[data-theme="light"] {
  --clr-void: #fdfbf7;
  --clr-void-rgb: 253, 251, 247;
  --clr-deep: #f5f2eb;
  --clr-deep-rgb: 245, 242, 235;
  --clr-dark: #ebe5d9;
  --clr-surface: #ffffff;
  --clr-surface-light: #f9f8f6;

  --clr-text: #2c2825;
  --clr-text-rgb: 44, 40, 37;
  --clr-shadow-rgb: 140, 130, 120;
  --clr-text-dim: #5c564d;
  --clr-text-muted: #8c857b;

  --clr-nur: #b8860b;
  --clr-nur-rgb: 184, 134, 11;
  --clr-nur-light: #d4af37;
  --clr-nur-glow: rgba(var(--clr-nur-rgb), 0.2);
  --clr-nur-soft: rgba(var(--clr-nur-rgb), 0.08);

  --clr-accent-green: #1a4a35;
  --clr-accent-teal: #0f3d3d;
  --clr-accent-purple: #2a1c40;
  --clr-helin-red: #662222;
  --clr-ufan-blue: #1c284a;
}

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

body {
  font-family: var(--font-body);
  background: var(--clr-void);
  color: var(--clr-text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--clr-void);
}

::-webkit-scrollbar-thumb {
  background: var(--clr-nur);
  border-radius: 3px;
}

/* ========== NAVIGATION ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s ease;
  background: transparent;
  --nav-text: #e8e4dc;
}

.nav.scrolled {
  background: rgba(var(--clr-void-rgb), 0.92);
  backdrop-filter: blur(20px);
  padding: 0.8rem 3rem;
  border-bottom: 1px solid var(--clr-nur-soft);
  --nav-text: var(--clr-text-dim);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 6px;
  color: var(--clr-nur);
  text-shadow: 0 0 15px var(--clr-nur-glow);
  opacity: 1;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  user-select: none;
}

.nav.scrolled .nav-logo-text {
  opacity: 1;
  font-size: 1.4rem;
  color: var(--nav-text);
  text-shadow: none;
}

.nav.scrolled .logo-dot {
  color: var(--clr-nur);
}

.logo-dot {
  color: var(--clr-nur-light);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--nav-text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--clr-nur);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--clr-nur);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.nav-link-highlight {
  color: #ff9d00;
  /* Vibrant orange/yellow */
  font-weight: 700;
  text-shadow: 0 0 15px rgba(255, 157, 0, 0.4);
}

.nav-links a.nav-link-highlight:hover {
  color: #ffb84d;
  text-shadow: 0 0 20px rgba(255, 157, 0, 0.6);
}

.nav-links a.nav-link-neden {
  color: #d4af37;
  font-weight: 600;
  letter-spacing: 2px;
  border: 1px solid rgba(var(--clr-nur-rgb), 0.3);
  padding: 0.35rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-links a.nav-link-neden:hover {
  background: rgba(var(--clr-nur-rgb), 0.12);
  border-color: rgba(var(--clr-nur-rgb), 0.6);
  text-shadow: 0 0 15px rgba(var(--clr-nur-rgb), 0.3);
}

/* ========== STORY MODAL (Parchment Style) ========== */
.story-overlay {
  position: fixed;
  inset: 0;
  background: rgba(var(--clr-shadow-rgb), 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2rem;
}

.story-overlay.active {
  opacity: 1;
  visibility: visible;
}

.story-modal {
  width: 100%;
  max-width: 900px;
  max-height: 85vh;
  background: #f4eee1;
  /* Parchment base */
  background-image:
    radial-gradient(circle at 50% 50%, rgba(var(--clr-text-rgb), 0.2) 0%, transparent 100%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3C%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  color: #2c251d;
  border-radius: 4px;
  position: relative;
  box-shadow: 0 30px 100px rgba(var(--clr-shadow-rgb), 0.8), 0 0 40px rgba(var(--clr-nur-rgb), 0.2);
  display: flex;
  flex-direction: column;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  border: 1px solid rgba(139, 101, 62, 0.3);
}

.story-overlay.active .story-modal {
  transform: translateY(0) scale(1);
}

.story-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  font-size: 2.5rem;
  color: #8b653e;
  cursor: pointer;
  line-height: 1;
  transition: all 0.3s ease;
  z-index: 10;
  font-family: var(--font-ui);
}

.story-close:hover {
  color: #2c251d;
  transform: rotate(90deg);
}

.story-inner {
  padding: 4rem 5rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #8b653e transparent;
}

.story-inner::-webkit-scrollbar {
  width: 4px;
}

.story-inner::-webkit-scrollbar-thumb {
  background: #8b653e;
}

.story-title {
  font-family: var(--font-cinzel-dec);
  font-size: 2.8rem;
  text-align: center;
  color: #5d4037;
  margin-bottom: 3rem;
  letter-spacing: 4px;
  position: relative;
  padding-bottom: 1.5rem;
}

.story-title::after {
  content: '❧';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  opacity: 0.6;
}

.story-section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  text-align: center;
  margin: 4rem 0 2rem;
  color: #795548;
  border-top: 1px solid rgba(139, 101, 62, 0.2);
  padding-top: 3rem;
}

.story-bab {
  margin-bottom: 3.5rem;
}

.story-bab-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #8b653e;
  margin-bottom: 1.2rem;
  letter-spacing: 2px;
  font-weight: 600;
}

.story-bab-text {
  font-family: var(--font-body);
  font-size: 1.35rem;
  line-height: 1.8;
  color: #3e2723;
  text-align: justify;
  margin-bottom: 1.5rem;
}

.story-quote {
  font-style: italic;
  font-weight: 600;
  color: #5d4037;
  display: block;
  text-align: center;
  margin: 2rem 0;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .story-inner {
    padding: 3rem 2rem;
  }

  .story-title {
    font-size: 2rem;
  }
}


.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.nav-hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--nav-text);
  transition: all 0.3s ease;
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.1) 40%,
      rgba(0, 0, 0, 0.2) 80%,
      var(--clr-void) 100%);
  z-index: 1;
}

[data-theme="light"] .hero-overlay {
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.1) 40%,
      rgba(0, 0, 0, 0.2) 80%,
      rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: min(320px, 60vw);
  margin-bottom: 1.5rem;
  animation: fadeInScale 2s ease-out;
  filter: drop-shadow(0 0 40px var(--clr-nur-glow));
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 1.2vw, 0.9rem);
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--clr-nur);
  margin-bottom: 0.5rem;
  animation: fadeInUp 2s ease-out 0.5s both;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--clr-text-dim);
  max-width: 500px;
  animation: fadeInUp 2s ease-out 1s both;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeInUp 2s ease-out 1.5s both;
}

.hero-scroll-indicator span {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--clr-nur), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ========== SECTION COMMON ========== */
.section {
  padding: 8rem 2rem;
  width: 100%;
  position: relative;
}

.section-divider {
  width: 60px;
  height: 1px;
  margin: 0 auto 2rem;
  position: relative;
  background: none;
}

.section-divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--clr-nur) 0%, var(--clr-nur) calc(50% - 10px), transparent calc(50% - 10px), transparent calc(50% + 10px), var(--clr-nur) calc(50% + 10px), var(--clr-nur) 100%);
}

.section-divider::before {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--clr-nur);
  font-size: 0.6rem;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--clr-nur);
  text-align: center;
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.section-desc {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--clr-text-dim);
  line-height: 1.9;
}

/* ========== LORE / INTRO SECTION ========== */
.lore-section {
  background: linear-gradient(to bottom, var(--clr-void), var(--clr-deep));
}

.lore-body {
  max-width: 800px;
  margin: 2rem auto 0;
  text-align: center;
}

.lore-paragraph {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 300;
  color: var(--clr-text-dim);
  line-height: 2.2;
  margin-bottom: 1.5rem;
  text-align: justify;
  text-align-last: center;
}

.lore-paragraph:last-child {
  margin-bottom: 0;
}

/* Lore Term — tooltip words */
.lore-term {
  color: var(--clr-nur);
  font-weight: 500;
  cursor: help;
  position: relative;
  border-bottom: 1px dotted rgba(var(--clr-nur-rgb), 0.3);
  transition: all 0.3s ease;
}

.lore-term:hover {
  color: var(--clr-nur-light);
  border-bottom-color: var(--clr-nur);
  text-shadow: 0 0 12px rgba(var(--clr-nur-rgb), 0.4);
}

.lore-term::after {
  content: attr(data-meaning);
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(var(--clr-deep-rgb), 0.96);
  border: 1px solid rgba(var(--clr-nur-rgb), 0.25);
  color: var(--clr-text);
  padding: 10px 16px;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.3px;
  line-height: 1.6;
  white-space: normal;
  width: max-content;
  max-width: 260px;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(var(--clr-shadow-rgb), 0.5),
    0 0 20px rgba(var(--clr-nur-rgb), 0.08);
  backdrop-filter: blur(12px);
}

.lore-term::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(var(--clr-nur-rgb), 0.25);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 101;
}

.lore-term:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.lore-term:hover::before {
  opacity: 1;
  visibility: visible;
}

.lore-quote {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  font-weight: 300;
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
  color: var(--clr-text);
  line-height: 2;
  position: relative;
  padding: 3rem 0;
}

.lore-quote::before,
.lore-quote::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--clr-nur);
}

.lore-quote::before {
  top: 0;
}

.lore-quote::after {
  bottom: 0;
}

.lore-attribution {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--clr-nur);
  margin-top: 1.5rem;
  text-transform: uppercase;
}

/* ========== AYA ŞĀR FLOW ========== */
.aya-section {
  background: var(--clr-deep);
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.aya-flow {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 2rem 0;
}

/* Central vine connecting all entries */
.aya-flow::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
      transparent,
      var(--clr-nur-glow) 5%,
      var(--clr-nur) 15%,
      var(--clr-nur) 85%,
      var(--clr-nur-glow) 95%,
      transparent);
  transform: translateX(-50%);
}

/* Each entry row */
.aya-entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  position: relative;
}

/* Vine node dot */
.aya-entry::before {
  content: attr(data-index);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--clr-deep);
  border: 1px solid var(--clr-nur);
  box-shadow: 0 0 20px var(--clr-nur-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.55rem;
  letter-spacing: 1px;
  color: var(--clr-nur);
  z-index: 2;
}

/* Reverse layout: image on right, text on left */
.aya-entry.reverse {
  direction: rtl;
}

.aya-entry.reverse>* {
  direction: ltr;
}

/* Image wrapper */
.aya-entry-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.aya-entry-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(var(--clr-nur-rgb), 0.08);
  pointer-events: none;
  transition: border-color 0.5s ease;
}

.aya-entry:hover .aya-entry-img-wrap::after {
  border-color: rgba(var(--clr-nur-rgb), 0.2);
}

.aya-entry-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.aya-entry:hover .aya-entry-img {
  transform: scale(1.04);
}

/* Content side */
.aya-entry-content {
  padding: 1rem 0;
}

.aya-entry-index {
  display: none;
  /* index shown on vine node instead */
}

.aya-entry-name {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--clr-nur-light);
  margin-bottom: 0.3rem;
}

.aya-entry-title {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--clr-text-dim);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 1.2rem;
}

.aya-entry-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: var(--clr-nur-glow);
}



.aya-entry-desc {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  font-weight: 300;
  line-height: 1.9;
}

.aya-entry-desc em {
  color: var(--clr-text-dim);
  font-style: italic;
}

.aya-entry-desc .lore-term {
  font-size: inherit;
}

.lore-paragraph em {
  color: var(--clr-text);
  font-style: italic;
}

/* ========== INTERLUDE (VAKİTLERE DAİR) ========== */
.aya-interlude {
  margin: 6rem auto;
  padding: 4rem;
  background: var(--clr-deep);
  border: 1px solid rgba(var(--clr-text-rgb), 0.05);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(var(--clr-shadow-rgb), 0.5), inset 0 0 100px rgba(150, 100, 255, 0.03);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.aya-interlude::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(230, 200, 100, 0.8), transparent);
}

.interlude-header {
  text-align: center;
  margin-bottom: 3rem;
}

.interlude-icon {
  font-size: 2rem;
  color: rgba(230, 200, 100, 0.8);
  margin-bottom: 1rem;
  animation: floatOrb 4s ease-in-out infinite;
}

.interlude-title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.3em;
  color: var(--clr-text);
  text-transform: uppercase;
}

.interlude-content-wrap {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.interlude-text {
  flex: 1;
  min-width: 300px;
}

.interlude-text p,
.interlude-text-full p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(var(--clr-text-rgb), 0.85);
  margin-bottom: 1.5rem;
  text-align: justify;
}

.interlude-text p:last-child {
  margin-bottom: 0;
}

.interlude-text .lore-term,
.interlude-text-full .lore-term {
  font-size: inherit;
}

.interlude-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
  position: relative;
}

.interlude-image .img-primary {
  width: 100%;
  max-width: 400px;
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(150, 100, 255, 0.2), 0 0 100px rgba(255, 150, 50, 0.1);
  border: 2px solid rgba(var(--clr-text-rgb), 0.05);
  animation: slowSpin 60s linear infinite;
}

.interlude-image .img-secondary {
  width: 100%;
  max-width: 320px;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(150, 100, 255, 0.1), 0 0 50px rgba(255, 150, 50, 0.05);
  border: 1px solid rgba(var(--clr-text-rgb), 0.05);
  margin-top: 3rem;
}

.img-caption {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: rgba(var(--clr-text-rgb), 0.5);
  letter-spacing: 0.1em;
}

.interlude-text-full {
  margin-top: 3rem;
  padding-top: 3rem;
  column-count: 2;
  column-gap: 3rem;
}

@media (max-width: 768px) {
  .aya-interlude {
    padding: 2rem;
  }

  .interlude-content-wrap {
    flex-direction: column;
  }

  .interlude-text-full {
    column-count: 1;
  }

  .interlude-image .img-primary,
  .interlude-image .img-secondary {
    animation: none;
  }
}

@keyframes floatOrb {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes slowSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ========== KAVIMLER / PEOPLES ========== */
.peoples-section {
  background: linear-gradient(to bottom, var(--clr-deep), var(--clr-void));
  position: relative;
  overflow: hidden;
  padding-bottom: 8rem;
}

.peoples-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.people-card {
  position: relative;
  height: 520px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--clr-deep);
  border: 1px solid rgba(var(--clr-text-rgb), 0.05);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.people-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
  z-index: 0;
  transform: scale(1.05);
}

.people-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(var(--clr-void-rgb), 1) 0%,
      rgba(var(--clr-void-rgb), 0.8) 30%,
      rgba(var(--clr-void-rgb), 0.1) 70%,
      rgba(var(--clr-void-rgb), 0.4) 100%);
  z-index: 1;
  transition: opacity 0.6s ease;
}

[data-theme="light"] .people-card-overlay {
  background: linear-gradient(to top,
      rgba(var(--clr-void-rgb), 0.7) 0%,
      rgba(var(--clr-void-rgb), 0.3) 30%,
      transparent 70%,
      transparent 100%);
}

.people-card:hover {
  transform: translateY(-12px);
  border-color: rgba(var(--clr-nur-rgb), 0.4);
  box-shadow: 0 40px 80px rgba(var(--clr-shadow-rgb), 0.8), 0 0 30px rgba(var(--clr-nur-rgb), 0.1);
}

.people-card:hover .people-card-bg {
  transform: scale(1.15);
}

.people-icon {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: rgba(var(--clr-text-rgb), 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--clr-text-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 3;
  transition: all 0.6s ease;
  color: var(--clr-gold);
  box-shadow: 0 10px 20px rgba(var(--clr-shadow-rgb), 0.3);
}

.people-card:hover .people-icon {
  transform: rotateY(360deg) scale(1.1);
  background: rgba(var(--clr-nur-rgb), 0.15);
  border-color: rgba(var(--clr-nur-rgb), 0.5);
  box-shadow: 0 0 20px rgba(var(--clr-nur-rgb), 0.3);
}

.people-card-content {
  position: relative;
  padding: 2.5rem;
  z-index: 2;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.people-name {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 6px;
  color: var(--clr-text);
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  background: linear-gradient(to right, var(--clr-text), var(--clr-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.people-subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 3px;
  color: var(--clr-gold);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  opacity: 0.8;
}

.people-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(var(--clr-text-rgb), 0.7);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.people-card:hover .people-desc {
  max-height: 200px;
  opacity: 1;
  margin-top: 1rem;
}

text-shadow: 0 2px 10px rgba(var(--clr-shadow-rgb), 0.5);
}

.people-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--clr-nur);
  font-style: italic;
  margin-bottom: 1.2rem;
  display: block;
  letter-spacing: 1px;
}

.people-desc {
  font-size: 0.95rem;
  color: rgba(var(--clr-text-rgb), 0.7);
  line-height: 1.8;
  font-weight: 300;
  opacity: 0.8;
  transition: opacity 0.4s ease;
}

.people-card:hover .people-desc {
  opacity: 1;
}

.people-icon {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 2;
  font-size: 1.5rem;
  color: var(--clr-nur);
  opacity: 0.5;
  transition: all 0.4s ease;
}

.people-card:hover .people-icon {
  opacity: 1;
  transform: scale(1.2) rotate(10deg);
}

/* Entry Gallery Link (Reused for Peoples and Trees) */
.entry-gallery-link {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.6rem 1rem;
  background: rgba(var(--clr-deep-rgb), 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--clr-nur-rgb), 0.15);
  border-radius: 4px;
  color: var(--clr-gold);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 10;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(var(--clr-shadow-rgb), 0.3);
}

.people-card:hover .entry-gallery-link,
.aya-entry-img-wrap:hover .entry-gallery-link {
  opacity: 1;
  transform: translateY(0);
}

.entry-gallery-link:hover {
  background: var(--clr-gold);
  color: #000;
  border-color: var(--clr-gold);
  box-shadow: 0 0 30px rgba(var(--clr-nur-rgb), 0.4);
  transform: translateY(-2px);
}

/* ========== HARİTA / MAP ========== */
.map-section {
  background: linear-gradient(to bottom, var(--clr-void), var(--clr-deep));
  padding-bottom: 8rem;
}

.map-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(var(--clr-shadow-rgb), 0.8), 0 0 40px rgba(var(--clr-nur-rgb), 0.05);
  border: 1px solid rgba(var(--clr-nur-rgb), 0.1);
  cursor: pointer;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(var(--clr-void-rgb), 0.8));
  z-index: 1;
  pointer-events: none;
}

[data-theme="light"] .map-container::before {
  background: none;
}

.map-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-container:hover {
  transform: translateY(-10px) scale(1.01);
  border-color: rgba(var(--clr-nur-rgb), 0.4);
  box-shadow: 0 60px 120px rgba(var(--clr-shadow-rgb), 0.9), 0 0 60px rgba(var(--clr-nur-rgb), 0.15);
}

.map-container:hover .map-image {
  transform: scale(1.05);
}

.map-overlay-content {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  width: 100%;
  pointer-events: none;
}

.map-hint {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--clr-gold);
  text-shadow: 0 2px 10px rgba(var(--clr-shadow-rgb), 0.8);
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.map-hint::before,
.map-hint::after {
  content: '';
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--clr-gold));
}

.map-hint::after {
  background: linear-gradient(to left, transparent, var(--clr-gold));
}

/* Lightbox support for Map */
.map-container .entry-gallery-link {
  top: 50%;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
}

.map-container:hover .entry-gallery-link {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ========== RELIGIONS ========== */
.religions-section {
  background: var(--clr-deep);
  border-top: 1px solid rgba(var(--clr-nur-rgb), 0.06);
}

.religions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.religion-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
  background: linear-gradient(135deg, rgba(var(--clr-text-rgb), 0.03), rgba(var(--clr-text-rgb), 0.008));
  border: 1px solid rgba(var(--clr-text-rgb), 0.06);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.religion-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-gold-dim), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.religion-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--clr-nur-rgb), 0.15);
  background: linear-gradient(135deg, rgba(var(--clr-text-rgb), 0.05), rgba(var(--clr-text-rgb), 0.015));
  box-shadow: 0 20px 60px rgba(var(--clr-shadow-rgb), 0.4), 0 0 40px rgba(var(--clr-nur-rgb), 0.05);
}

.religion-card:hover::before {
  opacity: 1;
}

.religion-icon-wrap {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: radial-gradient(circle, rgba(var(--clr-nur-rgb), 0.08), transparent);
  border: 1px solid rgba(var(--clr-nur-rgb), 0.1);
  padding: 12px;
  transition: all 0.5s ease;
}

.religion-card:hover .religion-icon-wrap {
  border-color: rgba(var(--clr-nur-rgb), 0.25);
  background: radial-gradient(circle, rgba(var(--clr-nur-rgb), 0.12), transparent);
  box-shadow: 0 0 30px rgba(var(--clr-nur-rgb), 0.08);
}

.religion-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0.9) contrast(1.1);
  transition: filter 0.5s ease;
}

.religion-card:hover .religion-icon-img {
  filter: brightness(1.1) contrast(1.05);
}

.religion-card-content {
  flex: 1;
  min-width: 0;
}

.religion-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  background: linear-gradient(to right, var(--clr-text), var(--clr-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.15rem;
}

.religion-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--clr-gold-dim);
  font-style: italic;
  margin-bottom: 1.2rem;
  letter-spacing: 1.5px;
  opacity: 0.8;
}

.religion-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(var(--clr-text-rgb), 0.6);
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

.religion-desc:last-child {
  margin-bottom: 0;
}

/* ========== LANGUAGES ========== */
.languages-section {
  background: var(--clr-void);
  border-top: 1px solid rgba(var(--clr-text-rgb), 0.04);
}

.languages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.language-card {
  position: relative;
  background: linear-gradient(160deg, rgba(var(--clr-text-rgb), 0.025), rgba(var(--clr-text-rgb), 0.005));
  border: 1px solid rgba(var(--clr-text-rgb), 0.05);
  border-radius: 16px;
  padding: 2rem;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.language-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(var(--clr-nur-rgb), 0.04), transparent 50%);
  pointer-events: none;
  transition: opacity 0.5s ease;
  opacity: 0;
}

.language-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--clr-nur-rgb), 0.12);
  box-shadow: 0 15px 40px rgba(var(--clr-shadow-rgb), 0.3);
}

.language-card:hover .language-card-glow {
  opacity: 1;
}

.language-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-text);
  margin-bottom: 0.8rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.language-name::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, var(--clr-gold), transparent);
  border-radius: 2px;
}

.language-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(var(--clr-text-rgb), 0.55);
  line-height: 1.7;
  position: relative;
}

/* ========== TIMELINE ========== */
.timeline-section {
  background: var(--clr-deep);
  border-top: 1px solid rgba(var(--clr-nur-rgb), 0.04);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 3rem;
}

.timeline::before {
  display: none;
}

.timeline-item {
  position: relative;
  padding: 0 0 4rem 2rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem - 4px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--clr-nur);
  box-shadow: 0 0 12px var(--clr-nur-glow);
  left: -4px;
}

.timeline-era {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--clr-nur);
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 1rem;
  color: var(--clr-text-dim);
  line-height: 1.8;
  font-weight: 300;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--clr-void);
  padding: 6rem 2rem 3rem;
  text-align: center;
  border-top: 1px solid rgba(var(--clr-nur-rgb), 0.06);
}

.footer-logo {
  width: 100px;
  margin-bottom: 2rem;
  opacity: 0.6;
}

.footer-text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--clr-text-muted);
  max-width: 450px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.footer-copy {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--clr-text-muted);
  text-transform: uppercase;
}

/* ========== NÛR PARTICLES ========== */
#nur-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.3);
  }
}

/* ========== SOUND TOGGLE ========== */
.sound-toggle {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  z-index: 3;
  background: rgba(6, 4, 9, 0.6);
  border: 1px solid rgba(var(--clr-nur-rgb), 0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--clr-nur);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  animation: fadeInUp 2s ease-out 1.5s both;
}

.sound-toggle:hover {
  background: rgba(var(--clr-nur-rgb), 0.12);
  border-color: var(--clr-nur);
  transform: scale(1.1);
}

.sound-icon {
  width: 18px;
  height: 18px;
}

.sound-on {
  display: block;
}

.sound-off {
  display: none;
}

body.muted .sound-on {
  display: none;
}

body.muted .sound-off {
  display: block;
}

/* ========== SHULE PARTICLES ========== */
#shule-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.aya-entry-img-wrap {
  cursor: pointer;
}

/* ========== BOARD GAME ========== */
.boardgame-section {
  background: var(--clr-void);
  border-top: 1px solid rgba(120, 80, 200, 0.08);
  overflow: hidden;
}

.boardgame-hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4rem auto 3rem;
  max-width: 800px;
}

.boardgame-hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(120, 80, 200, 0.15), rgba(90, 50, 180, 0.06) 40%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.boardgame-box-img {
  position: relative;
  width: 100%;
  max-width: 720px;
  border-radius: 16px;
  filter: drop-shadow(0 30px 80px rgba(100, 60, 200, 0.3)) drop-shadow(0 10px 30px rgba(var(--clr-shadow-rgb), 0.5));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.boardgame-hero:hover .boardgame-box-img {
  transform: scale(1.02) translateY(-5px);
  filter: drop-shadow(0 40px 100px rgba(120, 80, 220, 0.4)) drop-shadow(0 15px 40px rgba(var(--clr-shadow-rgb), 0.5));
}

/* Feature Stats */
.boardgame-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 2rem auto 4rem;
  flex-wrap: wrap;
}

.boardgame-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.5rem 2.5rem;
  background: linear-gradient(135deg, rgba(var(--clr-text-rgb), 0.04), rgba(var(--clr-text-rgb), 0.01));
  border: 1px solid rgba(var(--clr-text-rgb), 0.06);
  border-radius: 16px;
  transition: all 0.4s ease;
}

.boardgame-feature:hover {
  border-color: rgba(120, 80, 200, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(100, 60, 200, 0.1);
}

.feature-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #b794f6, #805ad5, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(var(--clr-text-rgb), 0.5);
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* Card Carousel */
.boardgame-cards-section {
  margin: 2rem 0 4rem;
}

.boardgame-cards-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  text-align: center;
  color: rgba(var(--clr-text-rgb), 0.7);
  margin-bottom: 2rem;
}

.boardgame-carousel-wrap {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.boardgame-carousel {
  display: flex;
  gap: 1.5rem;
  animation: carouselScroll 40s linear infinite;
  width: max-content;
}

.boardgame-carousel:hover {
  animation-play-state: paused;
}

@keyframes carouselScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.boardgame-card-item {
  flex-shrink: 0;
  width: 220px;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
}

.boardgame-card-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 1px solid rgba(var(--clr-text-rgb), 0.05);
  pointer-events: none;
  transition: border-color 0.4s ease;
}

.boardgame-card-item:hover {
  transform: translateY(-10px) scale(1.05);
  z-index: 2;
}

.boardgame-card-item:hover::after {
  border-color: rgba(120, 80, 200, 0.3);
}

.boardgame-card-item img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.9);
  transition: filter 0.4s ease;
}

.boardgame-card-item:hover img {
  filter: brightness(1.05);
}

/* Description Block */
.boardgame-desc-block {
  margin: 2rem auto 0;
}

.boardgame-desc-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.boardgame-desc-col {
  background: linear-gradient(160deg, rgba(var(--clr-text-rgb), 0.03), rgba(var(--clr-text-rgb), 0.008));
  border: 1px solid rgba(var(--clr-text-rgb), 0.05);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
}

.boardgame-desc-col:hover {
  border-color: rgba(120, 80, 200, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(var(--clr-shadow-rgb), 0.3);
}

.boardgame-desc-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--clr-text);
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
}

.boardgame-desc-text {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: rgba(var(--clr-text-rgb), 0.5);
  line-height: 1.75;
}

/* ========== LIGHTBOX ========== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(var(--clr-void-rgb), 0.95);
  backdrop-filter: blur(30px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 80px rgba(var(--clr-nur-rgb), 0.1);
  transition: transform 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  z-index: 3;
  background: none;
  border: none;
  color: var(--clr-text);
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  color: var(--clr-nur);
  transform: scale(1.2);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(var(--clr-void-rgb), 0.5);
  border: 1px solid rgba(var(--clr-nur-rgb), 0.15);
  color: var(--clr-nur);
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(var(--clr-nur-rgb), 0.12);
  border-color: var(--clr-nur);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-prev.hidden,
.lightbox-next.hidden {
  opacity: 0;
  pointer-events: none;
}

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--clr-text-muted);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: rgba(var(--clr-deep-rgb), 0.8);
  border: 1px solid rgba(var(--clr-nur-rgb), 0.3);
  color: #d4af37;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(var(--clr-shadow-rgb), 0.5);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #d4af37;
  color: #1a1a2e;
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(var(--clr-nur-rgb), 0.4);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* ========== ANIMALS SECTION & CAROUSEL ========== */
.animals-section {
  background: var(--clr-void);
  position: relative;
  padding-bottom: 8rem;
}

.animals-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('Assets/texture-subtle.png');
  /* If available, else just a grain effect */
  opacity: 0.05;
  pointer-events: none;
}

.carousel-container {
  position: relative;
  max-width: 1100px;
  margin: 5rem auto;
  padding: 0 5rem;
  perspective: 2000px;
}

.carousel-track-wrap {
  overflow: hidden;
  border-radius: 12px;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}

.carousel-item {
  flex: 0 0 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 10px 20px rgba(var(--clr-shadow-rgb), 0.3));
}

.carousel-item img:hover {
  transform: scale(1.02);
}

.carousel-caption {
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  background: rgba(var(--clr-deep-rgb), 0.6);
  border: 1px solid rgba(var(--clr-nur-rgb), 0.2);
  color: #d4af37;
  font-size: 1rem;
  border-radius: 30px;
  backdrop-filter: blur(5px);
  letter-spacing: 1px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(var(--clr-shadow-rgb), 0.3);
  max-width: 80%;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(var(--clr-deep-rgb), 0.4);
  border: 1px solid rgba(var(--clr-nur-rgb), 0.2);
  color: #d4af37;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  backdrop-filter: blur(12px);
}

.carousel-btn:hover {
  background: rgba(var(--clr-nur-rgb), 0.15);
  border-color: #d4af37;
  box-shadow: 0 0 30px rgba(var(--clr-nur-rgb), 0.3);
  color: var(--clr-text);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-pagination {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 4rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(var(--clr-nur-rgb), 0.15);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(var(--clr-nur-rgb), 0.1);
}

.carousel-dot:hover {
  background: rgba(var(--clr-nur-rgb), 0.4);
  transform: scale(1.2);
}

.carousel-dot.active {
  width: 40px;
  border-radius: 10px;
  background: linear-gradient(90deg, #d4af37, #f1d592);
  box-shadow: 0 0 20px rgba(var(--clr-nur-rgb), 0.5);
  border-color: transparent;
}

/* Parchment Link Style */
.parchment-link {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, rgba(var(--clr-nur-rgb), 0.1), rgba(var(--clr-nur-rgb), 0.05));
  border: 1px solid rgba(var(--clr-nur-rgb), 0.3);
  color: #d4af37;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.parchment-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(var(--clr-text-rgb), 0.1), transparent);
  transition: left 0.5s ease;
}

.parchment-link:hover {
  background: rgba(var(--clr-nur-rgb), 0.15);
  border-color: #d4af37;
  box-shadow: 0 5px 15px rgba(var(--clr-shadow-rgb), 0.3);
  transform: translateY(-2px);
}

.parchment-link:hover::before {
  left: 100%;
}

@media (max-width: 768px) {
  .carousel-container {
    padding: 0 1.5rem;
    margin: 2rem auto;
  }

  .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .carousel-btn.prev {
    left: -5px;
  }

  .carousel-btn.next {
    right: -5px;
  }
}

@media (max-width: 768px) {

  .nav {
    padding: 1rem 1.5rem;
  }

  .nav.scrolled {
    padding: 0.7rem 1.5rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(var(--clr-void-rgb), 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-hamburger {
    display: flex;
  }

  .section {
    padding: 5rem 1.5rem;
  }

  .aya-entry {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 3rem 0;
  }

  .aya-entry.reverse {
    direction: ltr;
  }

  .aya-flow::before {
    display: none;
  }

  .aya-entry::before {
    display: none;
  }

  .peoples-grid {
    grid-template-columns: 1fr 1fr;
  }

  .religions-grid {
    grid-template-columns: 1fr;
  }

  .religion-icon-wrap {
    width: 64px;
    height: 64px;
  }

  .languages-grid {
    grid-template-columns: 1fr 1fr;
  }

  .boardgame-features {
    gap: 1.5rem;
  }

  .boardgame-desc-inner {
    grid-template-columns: 1fr;
  }

  .boardgame-card-item {
    width: 180px;
  }

  .timeline {
    padding-left: 2rem;
  }
}

@media (max-width: 480px) {
  .peoples-grid {
    grid-template-columns: 1fr;
  }

  .languages-grid {
    grid-template-columns: 1fr;
  }

  .boardgame-feature {
    padding: 1rem 1.5rem;
  }

  .boardgame-card-item {
    width: 160px;
  }

  .feature-number {
    font-size: 1.6rem;
  }

  .hero-logo {
    width: min(240px, 70vw);
  }
}

/* ========== STORY MODAL (PARCHMENT) ========== */
.story-overlay {
  position: fixed;
  inset: 0;
  background: rgba(var(--clr-void-rgb), 0.95);
  backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2rem;
}

.story-overlay.active {
  opacity: 1;
  visibility: visible;
}

.story-parchment {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 85vh;
  background: #f4e4bc;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(var(--clr-shadow-rgb), 0) 0%, rgba(var(--clr-shadow-rgb), 0.05) 100%),
    url('https://www.transparenttextures.com/patterns/old-paper.png');
  border-radius: 4px;
  padding: 4rem 5rem;
  overflow-y: auto;
  box-shadow:
    0 30px 90px rgba(var(--clr-shadow-rgb), 0.8),
    inset 0 0 100px rgba(139, 69, 19, 0.15);
  transform: scale(0.9) translateY(20px) rotate(-1deg);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #d2b48c;
}

.story-overlay.active .story-parchment {
  transform: scale(1) translateY(0) rotate(0deg);
}

.story-parchment::-webkit-scrollbar {
  width: 8px;
}

.story-parchment::-webkit-scrollbar-track {
  background: rgba(var(--clr-shadow-rgb), 0.05);
}

.story-parchment::-webkit-scrollbar-thumb {
  background: #8b4513;
  border-radius: 4px;
}

.story-close {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  font-family: var(--font-display);
  font-size: 2rem;
  color: #5d4037;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  line-height: 1;
}

.story-close:hover {
  transform: scale(1.2) rotate(90deg);
  color: #3e2723;
}

.story-disclaimer {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8d6e63;
  text-align: center;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(139, 69, 19, 0.2);
  padding-bottom: 1rem;
}

.story-disclaimer strong {
  color: #5d4037;
}

.story-content {
  color: #3e2723;
  font-family: 'Cormorant Garamond', serif;
}

.story-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #2b1d1a;
  letter-spacing: 4px;
}

.story-subtitle {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8d6e63;
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(139, 69, 19, 0.2);
}

.story-highlight-box {
  margin: 2.5rem 0;
  padding: 2rem 2.5rem;
  background: rgba(var(--clr-nur-rgb), 0.08);
  border-left: 3px solid #b8860b;
  border-radius: 0 4px 4px 0;
  box-shadow: inset 0 0 30px rgba(139, 69, 19, 0.05);
}

.story-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  text-align: center;
  color: #5d4037;
  margin: 2.5rem 2rem;
  padding: 1.5rem;
  border-top: 1px solid rgba(139, 69, 19, 0.15);
  border-bottom: 1px solid rgba(139, 69, 19, 0.15);
  line-height: 1.8;
}

.story-bab {
  margin-bottom: 3.5rem;
}

.story-bab-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  color: #5d4037;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.story-bab-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(139, 69, 19, 0.2);
}

.story-bab-text {
  font-size: 1.3rem;
  line-height: 1.9;
  text-align: justify;
  font-weight: 400;
}

@media (max-width: 768px) {
  .story-parchment {
    padding: 3rem 2rem;
  }

  .story-title {
    font-size: 1.8rem;
  }

  .story-bab-text {
    font-size: 1.15rem;
  }
}