/* ============================================================
   ILLIDAN STORMRAGE FAN TRIBUTE — STYLESHEET
   Dark WoW aesthetic: deep purples, blacks, fel fire accents
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --black: #030108;
  --deep-void: #06030f;
  --dark-purple: #0a0614;
  --mid-purple: #1a0a2e;
  --purple: #4c1d95;
  --bright-purple: #7c3aed;
  --light-purple: #c084fc;
  --cyan: #00e5ff;
  --cyan-dim: #0891b2;
  --gold: #d4a017;
  --gold-bright: #fbbf24;
  --orange: #ea580c;
  --white: #f8fafc;
  --gray: #94a3b8;
  --gray-dim: #475569;
  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow-cyan: 0 0 20px rgba(0, 229, 255, 0.25), 0 0 60px rgba(0, 229, 255, 0.1);
  --shadow-glow-purple: 0 0 20px rgba(124, 58, 237, 0.4), 0 0 60px rgba(124, 58, 237, 0.15);
}

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

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

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--light-purple);
}

ul {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Typography --- */
.section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.site-nav.scrolled {
  background: rgba(6, 3, 15, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--white);
}

.nav-brand span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--white) 0%, var(--light-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  position: relative;
  transition: color var(--transition);
}

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

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

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

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

.hero-main-bg {
  z-index: 1;
  transform: scale(1.08);
  transition: transform 0.1s linear;
}

.hero-accent-bg {
  z-index: 2;
  opacity: 0.35;
  mix-blend-mode: color-dodge;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    to bottom,
    rgba(3, 1, 8, 0.3) 0%,
    rgba(6, 3, 15, 0.2) 30%,
    rgba(6, 3, 15, 0.6) 70%,
    rgba(6, 3, 15, 0.95) 100%
  );
}

.hero-rune {
  position: absolute;
  z-index: 4;
  width: 120px;
  pointer-events: none;
  animation: runeFloat 8s ease-in-out infinite;
}

.hero-rune-left {
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
}

.hero-rune-right {
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  animation-delay: 4s;
}

@keyframes runeFloat {
  0%, 100% { transform: translateY(-50%) translateX(0); opacity: 0.6; }
  50% { transform: translateY(calc(-50% - 12px)) translateX(0); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s 0.3s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1em;
  margin-bottom: 1.5rem;
}

.hero-title-name {
  display: block;
  opacity: 0;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #e2d4ff 50%,
    var(--light-purple) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 40px rgba(124, 58, 237, 0.6));
}

.hero-title-name:nth-child(1) { animation: fadeInUp 0.9s 0.5s forwards; }
.hero-title-name:nth-child(2) { animation: fadeInUp 0.9s 0.7s forwards; }

.hero-divider {
  width: 300px;
  margin: 0 auto 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s 0.9s forwards;
}

.hero-subtitle {
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s 1.1s forwards;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s 1.3s forwards;
}

.btn-primary {
  display: inline-block;
  padding: 0.875rem 2.25rem;
  background: linear-gradient(135deg, var(--purple) 0%, var(--bright-purple) 100%);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(192, 132, 252, 0.3);
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cyan-dim) 0%, var(--purple) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn-primary:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.5);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary span { position: relative; z-index: 1; }

.btn-ghost {
  display: inline-block;
  padding: 0.875rem 2.25rem;
  background: transparent;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: all var(--transition);
}

.btn-ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.05);
  transform: translateY(-2px);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  opacity: 0;
  animation: fadeIn 1s 2s forwards;
}

.scroll-dot {
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0% { cy: 10; opacity: 1; }
  100% { cy: 26; opacity: 0; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  position: relative;
  padding: 8rem 2rem 6rem;
  background: linear-gradient(180deg, var(--deep-void) 0%, var(--dark-purple) 100%);
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.about-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}

.about-portrait {
  position: relative;
}

.portrait-frame {
  position: relative;
  display: inline-block;
  width: 100%;
}

.portrait-frame img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: top center;
  filter: contrast(1.05) saturate(0.9);
}

.portrait-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(6, 3, 15, 0.8) 100%
  );
  pointer-events: none;
}

.portrait-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--cyan);
  border-style: solid;
}

.portrait-corner-tl { top: -2px; left: -2px; border-width: 2px 0 0 2px; }
.portrait-corner-tr { top: -2px; right: -2px; border-width: 2px 2px 0 0; }
.portrait-corner-bl { bottom: -2px; left: -2px; border-width: 0 0 2px 2px; }
.portrait-corner-br { bottom: -2px; right: -2px; border-width: 0 2px 2px 0; }

.about-content {
  padding: 1rem 0;
}

.about-text p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.about-text p strong {
  color: var(--white);
  font-weight: 600;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(124, 58, 237, 0.2);
}

.stat-item {
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-dim);
}

.section-divider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.section-divider-bottom svg {
  width: 100%;
  height: 60px;
}

/* ============================================================
   ABILITIES
   ============================================================ */
.abilities {
  position: relative;
  padding: 6rem 2rem;
  background: linear-gradient(180deg, var(--dark-purple) 0%, #120825 50%, var(--dark-purple) 100%);
  overflow: hidden;
}

.abilities::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(0, 229, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.abilities-deco-top,
.abilities-deco-bottom {
  position: absolute;
  left: 0;
  right: 0;
  line-height: 0;
  pointer-events: none;
}

.abilities-deco-top { top: 0; }
.abilities-deco-bottom { bottom: 0; }

.abilities-deco-top svg,
.abilities-deco-bottom svg {
  width: 100%;
  height: 60px;
}

.fel-rune-divider {
  width: 600px;
  max-width: 100%;
  margin: 0 auto 3.5rem;
}

.fel-rune-divider svg {
  width: 100%;
  height: 30px;
}

.abilities-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ability-card {
  position: relative;
  background: linear-gradient(
    145deg,
    rgba(26, 10, 46, 0.9) 0%,
    rgba(10, 6, 20, 0.95) 100%
  );
  border: 1px solid rgba(124, 58, 237, 0.25);
  padding: 2rem;
  overflow: hidden;
  transition: all var(--transition);
  cursor: default;
}

.ability-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--bright-purple), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.ability-card:hover {
  border-color: rgba(124, 58, 237, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), var(--shadow-glow-purple);
}

.ability-card:hover::before {
  transform: scaleX(1);
}

.ability-icon-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 1.25rem;
}

.ability-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  border-radius: 8px;
  image-rendering: -webkit-optimize-contrast;
}

.ability-icon-glow {
  position: absolute;
  inset: -4px;
  border-radius: 12px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.5) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}

.ability-icon-glow.glow-orange {
  background: radial-gradient(circle, rgba(234, 88, 12, 0.5) 0%, transparent 70%);
}

.ability-icon-glow.glow-purple {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.6) 0%, transparent 70%);
}

.ability-icon-glow.glow-cyan {
  background: radial-gradient(circle, rgba(0, 229, 255, 0.4) 0%, transparent 70%);
}

.ability-icon-glow.glow-green {
  background: radial-gradient(circle, rgba(34, 197, 94, 0.4) 0%, transparent 70%);
}

.ability-card:hover .ability-icon-glow {
  opacity: 1;
}

.ability-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.ability-type {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.1);
  padding: 0.15rem 0.5rem;
  border: 1px solid rgba(0, 229, 255, 0.2);
  margin-bottom: 0.875rem;
}

.ability-desc {
  font-size: 0.87rem;
  color: var(--gray);
  line-height: 1.7;
  transition: opacity var(--transition), max-height var(--transition);
}

.ability-hover-detail {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 6, 20, 0.98) 0%, rgba(26, 10, 46, 0.95) 100%);
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(124, 58, 237, 0.3);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ability-hover-detail p {
  font-size: 0.83rem;
  color: var(--light-purple);
  line-height: 1.7;
}

.ability-card:hover .ability-hover-detail {
  transform: translateY(0);
}

/* ============================================================
   STORY TIMELINE
   ============================================================ */
.timeline {
  padding: 8rem 2rem;
  background: linear-gradient(180deg, var(--deep-void) 0%, var(--dark-purple) 100%);
  overflow: hidden;
}

.timeline-track {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(124, 58, 237, 0.4) 10%,
    rgba(124, 58, 237, 0.4) 90%,
    transparent
  );
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 5rem;
  align-items: center;
}

.timeline-item-right {
  direction: rtl;
}

.timeline-item-right > * {
  direction: ltr;
}

.timeline-media {
  position: relative;
  overflow: hidden;
}

.timeline-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.1);
  transition: filter var(--transition), transform 0.6s ease;
}

.timeline-item:hover .timeline-media img {
  filter: saturate(1) contrast(1.05);
  transform: scale(1.03);
}

.timeline-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(6, 3, 15, 0.6) 0%,
    transparent 60%
  );
}

.timeline-item-right .timeline-media-overlay {
  background: linear-gradient(
    to left,
    rgba(6, 3, 15, 0.6) 0%,
    transparent 60%
  );
}

.timeline-media-dark {
  background: var(--mid-purple);
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.timeline-media-final-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.4) 0%, rgba(0, 0, 0, 0.9) 70%);
}

.timeline-final-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.15) 0%, transparent 60%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.timeline-content {
  padding: 0.5rem 0;
}

.timeline-era {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.timeline-content p {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.timeline-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bright-purple);
  border: 1px solid rgba(124, 58, 237, 0.4);
  padding: 0.2rem 0.75rem;
}

.timeline-badge-gold {
  color: var(--gold-bright);
  border-color: rgba(251, 191, 36, 0.4);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  position: relative;
  padding: 8rem 2rem;
  overflow: hidden;
}

.gallery-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(4px) brightness(0.3);
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6, 3, 15, 0.7) 0%,
    rgba(10, 6, 20, 0.85) 50%,
    rgba(6, 3, 15, 0.9) 100%
  );
}

.gallery .container {
  position: relative;
  z-index: 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 240px 240px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--mid-purple);
  cursor: pointer;
  grid-column: span 4;
}

.gallery-item-tall {
  grid-row: span 2;
  grid-column: span 3;
}

.gallery-item-wide {
  grid-column: span 6;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.85);
  transition: filter 0.5s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  filter: saturate(1.1) brightness(1);
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(6, 3, 15, 0.9) 0%, transparent 100%);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gray);
  transform: translateY(100%);
  transition: transform var(--transition);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* ============================================================
   LORE & QUOTES
   ============================================================ */
.lore {
  position: relative;
  padding: 8rem 2rem;
  background: linear-gradient(180deg, var(--dark-purple) 0%, var(--deep-void) 100%);
  overflow: hidden;
}

.lore-portrait-accent {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 35%;
  overflow: hidden;
  pointer-events: none;
}

.lore-portrait-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.5) brightness(0.5);
}

.lore-portrait-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--dark-purple) 0%,
    rgba(10, 6, 20, 0.7) 40%,
    transparent 100%
  );
}

.lore-container {
  position: relative;
  z-index: 1;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.quote-card {
  position: relative;
  background: linear-gradient(
    145deg,
    rgba(26, 10, 46, 0.7) 0%,
    rgba(10, 6, 20, 0.8) 100%
  );
  border: 1px solid rgba(124, 58, 237, 0.2);
  padding: 2rem 2rem 2rem 2.5rem;
  overflow: hidden;
}

.quote-card-featured {
  grid-column: span 2;
  background: linear-gradient(
    135deg,
    rgba(76, 29, 149, 0.4) 0%,
    rgba(26, 10, 46, 0.6) 100%
  );
  border-color: rgba(124, 58, 237, 0.4);
  text-align: center;
  padding: 3.5rem 4rem;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(124, 58, 237, 0.4);
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
}

.quote-card-featured .quote-mark {
  left: 50%;
  transform: translateX(-50%);
  top: 0.5rem;
}

.quote-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.quote-card-featured .quote-text {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--light-purple);
}

.quote-source {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-style: normal;
}

.quote-attribution {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.quote-context {
  font-size: 0.7rem;
  color: var(--gray-dim);
  letter-spacing: 0.08em;
}

.quote-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.lore-snippet {
  background: linear-gradient(
    145deg,
    rgba(10, 6, 20, 0.8) 0%,
    rgba(26, 10, 46, 0.5) 100%
  );
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-left: 3px solid var(--gold);
  padding: 2rem;
}

.lore-snippet-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.875rem;
  letter-spacing: 0.05em;
}

.lore-snippet p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.8;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem 2rem;
}

.footer-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: brightness(0.15) saturate(0.8);
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6, 3, 15, 0.4) 0%,
    rgba(3, 1, 8, 0.85) 100%
  );
}

.footer-deco {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  pointer-events: none;
}

.footer-horns {
  width: 100%;
  height: 100px;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(124, 58, 237, 0.15);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--gray-dim);
  letter-spacing: 0.08em;
  font-style: italic;
  max-width: 240px;
}

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

.footer-links-heading {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.25rem;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links-col a {
  font-size: 0.85rem;
  color: var(--gray-dim);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links-col a:hover {
  color: var(--white);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 2rem auto 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--gray-dim);
  line-height: 1.7;
}

.footer-credit {
  color: rgba(124, 58, 237, 0.5) !important;
  margin-top: 0.5rem;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-portrait {
    max-width: 400px;
    margin: 0 auto;
  }

  .portrait-frame img {
    height: 400px;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 200px 200px 200px;
  }

  .gallery-item { grid-column: span 3; }
  .gallery-item-tall { grid-row: span 2; grid-column: span 3; }
  .gallery-item-wide { grid-column: span 6; }

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

  .quote-card-featured {
    grid-column: span 1;
  }

  .lore-portrait-accent {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .timeline-track::before {
    display: none;
  }

  .timeline-item,
  .timeline-item-right {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 1.5rem;
  }

  .timeline-item-right > * {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 3, 15, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
  }

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

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.875rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .nav-links a::after {
    display: none;
  }

  .hero-rune {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.5rem, 12vw, 5rem);
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

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

  .ability-hover-detail {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery-item,
  .gallery-item-tall,
  .gallery-item-wide {
    grid-column: span 1;
    grid-row: span 1;
    height: 180px;
  }

  .gallery-caption {
    transform: translateY(0);
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .about {
    padding: 6rem 1.25rem 5rem;
  }

  .abilities {
    padding: 5rem 1.25rem;
  }

  .timeline {
    padding: 5rem 1.25rem;
  }

  .gallery {
    padding: 5rem 1.25rem;
  }

  .lore {
    padding: 5rem 1.25rem;
  }

  .site-footer {
    padding: 4rem 1.25rem 2rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-item {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .stat-value {
    font-size: 1.25rem;
  }

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

  .gallery-item,
  .gallery-item-tall,
  .gallery-item-wide {
    height: 220px;
  }

  .footer-links-group {
    grid-template-columns: 1fr;
  }

  .quote-card-featured {
    padding: 2.5rem 1.5rem;
  }
}
