/* ============================================
   REQUIEM RP — Dark Fantasy Gothic Stylesheet
   ============================================ */

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

:root {
  --ink-black: #08060a;
  --void: #0d0b10;
  --crypt: #15121a;
  --ash: #1f1b25;
  --stone: #2a242f;
  --bone: #c9b896;
  --parchment: #d4c4a0;
  --whisper: #8a7d6a;
  --rune-gold: #b8954b;
  --rune-glow: #d4a857;
  --blood: #6b0f1a;
  --blood-bright: #9a1428;
  --blood-glow: #c8243a;
  --ember: #d4654b;
}

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

html, body {
  background: var(--ink-black);
  color: var(--parchment);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background-image:
    radial-gradient(ellipse at top, rgba(107, 15, 26, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(184, 149, 75, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--ink-black) 0%, var(--void) 100%);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.7) 100%);
}

::selection {
  background: var(--blood);
  color: var(--bone);
}

h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: var(--bone);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.gothic {
  font-family: 'UnifrakturCook', serif;
  font-weight: 700;
}

a {
  color: var(--rune-gold);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--rune-glow);
  text-shadow: 0 0 12px rgba(212, 168, 87, 0.6);
}

/* NAVIGATION */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3rem;
  background: linear-gradient(180deg, rgba(8,6,10,0.95) 0%, rgba(8,6,10,0) 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184, 149, 75, 0.15);
}

.nav-brand {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  color: var(--bone);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-brand img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(200, 36, 58, 0.4));
}

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

.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--whisper);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--rune-glow);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--blood-glow);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* PAGE WRAPPERS */
main {
  position: relative;
  z-index: 3;
  min-height: 100vh;
}

.page {
  padding: 8rem 2rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

.page-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
}

.page-header::before {
  content: '✦';
  display: block;
  font-size: 1.5rem;
  color: var(--blood-glow);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 10px rgba(200, 36, 58, 0.5));
}

.page-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 1rem;
  background: linear-gradient(180deg, var(--bone) 0%, var(--whisper) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(184, 149, 75, 0.1);
}

.page-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--whisper);
  letter-spacing: 0.05em;
  max-width: 600px;
  margin: 0 auto;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem 0;
  gap: 1rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 0 1 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rune-gold), transparent);
}

.divider-symbol {
  color: var(--blood-glow);
  font-size: 1.2rem;
  filter: drop-shadow(0 0 8px rgba(200, 36, 58, 0.4));
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0 2rem;
}

.hero-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: blur(2px) saturate(0.7) contrast(1.1);
}

.hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(107, 15, 26, 0.5) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(184, 149, 75, 0.15) 0%, transparent 40%),
    linear-gradient(180deg, rgba(8,6,10,0.7) 0%, rgba(8,6,10,0.9) 100%);
}

.hero-runes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.rune-floating {
  position: absolute;
  font-family: 'UnifrakturCook', serif;
  color: var(--rune-gold);
  opacity: 0.08;
  font-size: 8rem;
  animation: float 20s ease-in-out infinite;
}

.rune-floating:nth-child(1) { top: 10%; left: 8%; animation-delay: 0s; }
.rune-floating:nth-child(2) { top: 60%; left: 5%; animation-delay: 5s; font-size: 6rem; }
.rune-floating:nth-child(3) { top: 25%; right: 10%; animation-delay: 10s; font-size: 7rem; }
.rune-floating:nth-child(4) { bottom: 15%; right: 15%; animation-delay: 7s; font-size: 5rem; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-content {
  text-align: center;
  max-width: 900px;
  position: relative;
  z-index: 3;
  animation: fadeUp 1.5s ease-out;
}

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

.hero-logo {
  max-width: 200px;
  width: 100%;
  height: auto;
  margin: 0 auto 2rem;
  display: block;
  filter: drop-shadow(0 0 30px rgba(200, 36, 58, 0.4));
  animation: fadeUp 1s ease-out 0.1s both;
}

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.5em;
  color: var(--rune-gold);
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s ease-out 0.3s forwards;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
  background: linear-gradient(180deg, var(--bone) 0%, var(--rune-gold) 50%, var(--blood) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(154, 20, 40, 0.3);
  opacity: 0;
  animation: fadeUp 1.2s ease-out 0.5s forwards;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--parchment);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  opacity: 0;
  animation: fadeUp 1.2s ease-out 0.8s forwards;
}

.hero-cta-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1.2s ease-out 1.1s forwards;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--rune-gold);
  color: var(--bone);
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blood) 0%, var(--blood-bright) 100%);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(0);
}

.btn:hover {
  border-color: var(--blood-glow);
  box-shadow: 0 0 30px rgba(200, 36, 58, 0.4);
  color: var(--bone);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blood) 0%, var(--blood-bright) 100%);
  border-color: var(--blood-bright);
}

.btn-primary::before {
  background: linear-gradient(135deg, var(--blood-bright) 0%, var(--blood-glow) 100%);
}

/* FEATURES */
.features {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

/* PILLARS (3 fazioni con immagini) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.pillar-card {
  background: linear-gradient(180deg, rgba(31, 27, 37, 0.7) 0%, rgba(13, 11, 16, 0.95) 100%);
  border: 1px solid rgba(184, 149, 75, 0.25);
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-top: 2px solid var(--blood-glow);
  border-left: 2px solid var(--blood-glow);
  z-index: 3;
  pointer-events: none;
}

.pillar-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px;
  border-bottom: 2px solid var(--blood-glow);
  border-right: 2px solid var(--blood-glow);
  z-index: 3;
  pointer-events: none;
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 36, 58, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(154, 20, 40, 0.25);
}

.pillar-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  background: var(--void);
}

.pillar-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13, 11, 16, 0.95) 100%);
  pointer-events: none;
}

.pillar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05) brightness(0.85);
  transition: all 0.6s ease;
}

.pillar-card:hover .pillar-image img {
  filter: saturate(1) contrast(1.1) brightness(1);
  transform: scale(1.05);
}

.pillar-body {
  padding: 1.5rem 2rem 2.5rem;
}

.pillar-title {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  color: var(--bone);
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-align: center;
  text-shadow: 0 0 20px rgba(184, 149, 75, 0.2);
}

.pillar-text {
  color: var(--parchment);
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
}

/* TUTORIAL STEPS */
.steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(31, 27, 37, 0.5) 0%, rgba(13, 11, 16, 0.7) 100%);
  border-left: 2px solid var(--blood);
  position: relative;
  transition: all 0.3s ease;
}

.step:hover {
  border-left-color: var(--blood-glow);
  transform: translateX(8px);
}

.step-number {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--rune-gold);
  line-height: 1;
  text-shadow: 0 0 20px rgba(184, 149, 75, 0.3);
}

.step-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--bone);
}

.step-content p {
  color: var(--whisper);
  font-size: 1.05rem;
}

.step-content code {
  display: inline-block;
  font-family: 'Courier New', monospace;
  background: var(--ash);
  padding: 0.3rem 0.7rem;
  color: var(--ember);
  border: 1px solid var(--stone);
  font-size: 0.95rem;
  margin: 0.25rem 0;
}

.code-block {
  background: var(--void);
  border: 1px solid var(--stone);
  padding: 1rem 1.5rem;
  margin-top: 1rem;
  font-family: 'Courier New', monospace;
  color: var(--ember);
  font-size: 1rem;
  border-left: 3px solid var(--blood-glow);
  overflow-x: auto;
}

/* SPOTLIGHT CREATURE — Video grandi a tutta larghezza */
.spells-stack {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.spell-card {
  background: linear-gradient(180deg, rgba(31, 27, 37, 0.7) 0%, rgba(13, 11, 16, 0.95) 100%);
  border: 1px solid rgba(184, 149, 75, 0.25);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.spell-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-top: 2px solid var(--blood-glow);
  border-left: 2px solid var(--blood-glow);
  z-index: 2;
  pointer-events: none;
}

.spell-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-bottom: 2px solid var(--blood-glow);
  border-right: 2px solid var(--blood-glow);
  z-index: 2;
  pointer-events: none;
}

.spell-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 36, 58, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(154, 20, 40, 0.2);
}

.spell-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--void);
  overflow: hidden;
}

.spell-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.spell-info {
  padding: 1.5rem 1.75rem 2rem;
}

.spell-info h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  letter-spacing: 0.15em;
  color: var(--bone);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.spell-info p {
  color: var(--whisper);
  font-size: 1rem;
  line-height: 1.6;
}

/* DONATIONS */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tier {
  background: linear-gradient(180deg, rgba(31, 27, 37, 0.6) 0%, rgba(13, 11, 16, 0.9) 100%);
  border: 1px solid rgba(184, 149, 75, 0.25);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
}

.tier-featured {
  border-color: var(--blood-glow);
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(154, 20, 40, 0.2);
}

.tier-featured::before {
  content: 'PRESCELTO';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blood-bright);
  color: var(--bone);
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  padding: 0.4rem 1rem;
  border: 1px solid var(--blood-glow);
}

.tier:hover {
  transform: translateY(-8px);
  border-color: var(--rune-glow);
}

.tier-featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.tier-name {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: var(--rune-gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.tier-price {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--bone);
  margin-bottom: 0.5rem;
}

.tier-price span {
  font-size: 1rem;
  color: var(--whisper);
  font-weight: 400;
}

.tier-divider {
  width: 60px;
  height: 1px;
  background: var(--rune-gold);
  margin: 1.5rem auto;
}

.tier-perks {
  list-style: none;
  text-align: left;
  margin: 1.5rem 0;
}

.tier-perks li {
  padding: 0.5rem 0;
  color: var(--parchment);
  border-bottom: 1px dashed rgba(184, 149, 75, 0.15);
  font-size: 1rem;
  display: flex;
  align-items: start;
  gap: 0.5rem;
}

.tier-perks li::before {
  content: '✦';
  color: var(--blood-glow);
  flex-shrink: 0;
}

.donation-note {
  margin-top: 4rem;
  padding: 2rem;
  background: rgba(13, 11, 16, 0.6);
  border-left: 3px solid var(--rune-gold);
  font-style: italic;
  color: var(--whisper);
}

/* LORE */
.lore-intro {
  max-width: 750px;
  margin: 0 auto 5rem;
  text-align: center;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--parchment);
  line-height: 1.8;
}

.lore-intro::first-letter {
  font-family: 'UnifrakturCook', serif;
  font-size: 4rem;
  float: left;
  line-height: 1;
  margin: 0.3rem 0.8rem 0 0;
  color: var(--blood-glow);
  text-shadow: 0 0 15px rgba(200, 36, 58, 0.4);
}

.chronicle {
  max-width: 900px;
  margin: 0 auto;
}

.chronicle-entry {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(184, 149, 75, 0.15);
  position: relative;
}

.chronicle-entry:last-child {
  border-bottom: none;
}

.chronicle-era {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--rune-gold);
  text-transform: uppercase;
  padding-top: 0.5rem;
  position: sticky;
  top: 100px;
  align-self: flex-start;
  height: fit-content;
}

.chronicle-era-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--bone);
  margin-top: 0.5rem;
  font-family: 'UnifrakturCook', serif;
}

.chronicle-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--bone);
}

.chronicle-content p {
  color: var(--parchment);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.lore-quote {
  margin: 4rem auto;
  max-width: 700px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--whisper);
  position: relative;
  padding: 2rem 0;
}

.lore-quote::before,
.lore-quote::after {
  content: '❦';
  display: block;
  color: var(--blood-glow);
  font-size: 1.5rem;
  margin: 1rem 0;
}

/* CONTACTS */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-card {
  background: linear-gradient(180deg, rgba(31, 27, 37, 0.6) 0%, rgba(13, 11, 16, 0.85) 100%);
  border: 1px solid rgba(184, 149, 75, 0.2);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(200, 36, 58, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--blood-glow);
}

.contact-card:hover::after {
  opacity: 1;
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--rune-gold);
  position: relative;
  z-index: 1;
}

.contact-card h3 {
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.contact-card a {
  color: var(--parchment);
  font-size: 1rem;
  position: relative;
  z-index: 1;
  word-break: break-all;
}

.contact-card p {
  color: var(--whisper);
  font-size: 0.95rem;
  margin-top: 0.5rem;
  position: relative;
  z-index: 1;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem;
  background: linear-gradient(180deg, rgba(31, 27, 37, 0.4) 0%, rgba(13, 11, 16, 0.7) 100%);
  border: 1px solid rgba(184, 149, 75, 0.2);
  position: relative;
}

.contact-form::before,
.contact-form::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid var(--blood-glow);
}

.contact-form::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.contact-form::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rune-gold);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--void);
  border: 1px solid var(--stone);
  color: var(--parchment);
  padding: 0.9rem 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blood-glow);
  box-shadow: 0 0 12px rgba(200, 36, 58, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* FOOTER */
.footer {
  margin-top: 6rem;
  padding: 3rem 2rem 2rem;
  border-top: 1px solid rgba(184, 149, 75, 0.15);
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(8,6,10,0.5) 100%);
  position: relative;
  z-index: 3;
}

.footer-sigil {
  font-family: 'UnifrakturCook', serif;
  font-size: 2.5rem;
  color: var(--blood-glow);
  filter: drop-shadow(0 0 15px rgba(200, 36, 58, 0.4));
  margin-bottom: 1rem;
}

.footer-text {
  color: var(--whisper);
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-copy {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--stone);
  text-transform: uppercase;
}

/* MOBILE */
@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .nav-links {
    gap: 1rem;
    width: 100%;
    justify-content: center;
  }

  .nav-links a {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }

  .nav-brand {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
  }

  .nav-brand img {
    height: 36px;
  }

  .page {
    padding: 9rem 1.5rem 4rem;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .chronicle-entry {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .chronicle-era {
    position: static;
  }

  .tier-featured {
    transform: none;
  }

  .tier-featured:hover {
    transform: translateY(-8px);
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }
}
