/* ============================================
   FROSTBEULEN UND FEUERBALL — Stylesheet
   ============================================ */

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

/* ── Variables ── */
:root {
  --bg:          #07090f;
  --bg-surface:  #0d1220;
  --bg-card:     #111827;
  --bg-card-hover: #172035;
  --text:        #c9d6e8;
  --text-muted:  #6b7e96;
  --text-dim:    #4a5568;
  --ice:         #7dd3f0;
  --ice-bright:  #bae6fd;
  --ice-dim:     rgba(125, 211, 240, 0.15);
  --gold:        #d4a843;
  --gold-dim:    rgba(212, 168, 67, 0.15);
  --fire:        #c84b2a;
  --frost-border: rgba(125, 211, 240, 0.18);
  --frost-glow:  0 0 30px rgba(125, 211, 240, 0.07);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Crimson Text', Georgia, serif;
  background-color: var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Snow Canvas ── */
#snow-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7, 9, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--frost-border);
  padding: 0 2rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ice);
  text-decoration: none;
  text-transform: uppercase;
}

.nav-brand span { color: var(--fire); }

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

.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ── Wrapper ── */
.page-wrapper {
  position: relative;
  z-index: 1;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(15, 40, 80, 0.6) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 0%, rgba(125, 211, 240, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.03em;
  margin-bottom: 0.4em;
  background: linear-gradient(160deg, #bae6fd 0%, #7dd3f0 35%, #d4a843 70%, #c84b2a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 40px rgba(125, 211, 240, 0.25));
}

.hero-subtitle {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3.5rem;
}

.hero-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ice), transparent);
  margin: 0 auto 3.5rem;
  opacity: 0.5;
}

/* ── Opening Text ── */
.opening-text {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-muted);
  font-style: italic;
}

.opening-text p { margin-bottom: 1.2em; }
.opening-text p:last-child { margin-bottom: 0; }

.opening-text .highlight {
  color: var(--text);
  font-style: normal;
}

.opening-text .ice-text { color: var(--ice); font-style: italic; }
.opening-text .gold-text { color: var(--gold); font-style: normal; font-weight: 600; }

.scroll-cue {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-cue .arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--frost-border), transparent);
  animation: scrollArrow 2s ease-in-out infinite;
}

@keyframes scrollArrow {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* ── Sections ── */
.section {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 0.5rem;
}

.section-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3rem;
}

.section-heading::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 0.75rem;
}

/* ── Session Cards ── */
.sessions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.session-card {
  background: var(--bg-card);
  border: 1px solid var(--frost-border);
  border-radius: 6px;
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.session-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ice), var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.session-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(125, 211, 240, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), var(--frost-glow);
}

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

.card-number {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--ice);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

.card-title {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.card-date {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.05em;
}

.card-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-style: italic;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.2s;
}

.session-card:hover .card-cta { gap: 0.8rem; }

/* ── Session Detail Page ── */
.session-header {
  padding: 8rem 2rem 3rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.session-header::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(15, 40, 80, 0.5) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.session-label {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ice);
  opacity: 0.7;
  margin-bottom: 1rem;
}

.session-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--ice-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.session-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--frost-border);
}

.session-meta-item {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.session-meta-item .label { color: var(--text-dim); }
.session-meta-item .value { color: var(--text-muted); margin-left: 0.4em; }

/* ── Article Body ── */
.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
  position: relative;
  z-index: 1;
}

.article-body h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gold-dim);
}

.article-body h2:first-child { margin-top: 0; }

.article-body p {
  margin-bottom: 1.1em;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-body p:last-child { margin-bottom: 0; }

.article-body blockquote {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--ice-dim);
  border-left: 3px solid var(--ice);
  border-radius: 0 4px 4px 0;
  font-style: italic;
  color: var(--text-muted);
}

.article-body blockquote p { color: var(--text-muted); margin-bottom: 0.5em; }
.article-body blockquote p:last-child { margin-bottom: 0; }

.article-body em { color: var(--ice-bright); font-style: italic; }
.article-body strong { color: var(--text); font-weight: 600; }

.article-divider {
  text-align: center;
  margin: 2.5rem 0;
  color: var(--text-dim);
  letter-spacing: 0.5em;
  font-size: 0.8rem;
}

.article-closing {
  margin-top: 3rem;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--frost-border);
  border-radius: 6px;
  font-style: italic;
  color: var(--text-muted);
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-closing p { margin-bottom: 0.5em; }
.article-closing p:last-child { margin-bottom: 0; color: var(--fire); font-style: normal; font-family: 'Cinzel', serif; font-size: 0.85rem; letter-spacing: 0.1em; }

/* ── Back Button ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.back-link:hover { color: var(--ice); }

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--frost-border);
  padding: 2rem;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

footer span { color: var(--ice); opacity: 0.5; }

/* ── Frost separator ── */
.frost-sep {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--frost-border) 20%, var(--frost-border) 80%, transparent);
  margin: 0;
}

/* ── Utility ── */
.text-ice { color: var(--ice); }
.text-gold { color: var(--gold); }
.text-fire { color: var(--fire); }
