/* =========================================
   ELDORIA — Dark Fantasy RPG Landing Page
   ========================================= */

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

:root {
  --bg: #0a0a12;
  --bg-2: #10101c;
  --fg: #e8dcc8;
  --fg-muted: #8a8070;
  --accent: #e8a317;
  --accent-2: #9b7fcf;
  --accent-dim: rgba(232, 163, 23, 0.12);
  --rune: rgba(155, 127, 207, 0.18);
  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'Crimson Text', Georgia, serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
}

/* --- Typography --- */
.section-tag {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1.25rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
}

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

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.nav-dots {
  display: flex;
  gap: 0.5rem;
}
.nav-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--fg-muted);
  opacity: 0.4;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 2.5rem 6rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,18,0.96) 0%, rgba(10,10,18,0.70) 50%, rgba(10,10,18,0.80) 100%),
    url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_198695/5936727a-d87a-4246-bbb1-06f46cf18029.jpg');
  background-size: cover;
  background-position: center;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(155, 127, 207, 0.08) 0%, transparent 70%);
  top: -10%; right: -5%;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232, 163, 23, 0.06) 0%, transparent 70%);
  bottom: 0%; left: 10%;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 30%, var(--bg) 80%);
}

.hero-runestones {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.rune {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  color: var(--rune);
  user-select: none;
  line-height: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 7.5vw, 6.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.6);
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(232, 220, 200, 0.82);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-cta-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg);
  background: var(--accent);
  padding: 0.9rem 2.75rem;
  border-radius: 4px;
  border: 2px solid var(--accent);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  text-shadow: none;
}
.hero-cta-btn:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 30px rgba(232, 163, 23, 0.4), 0 0 60px rgba(232, 163, 23, 0.15);
}

.hero-secondary-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(232, 220, 200, 0.7);
  padding: 0.9rem 2rem;
  border: 1px solid rgba(232, 220, 200, 0.2);
  border-radius: 4px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.hero-secondary-btn:hover {
  color: var(--fg);
  border-color: rgba(232, 220, 200, 0.5);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(232, 163, 23, 0.15);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.meta-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.meta-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.hero-meta-divider {
  width: 1px;
  height: 40px;
  background: rgba(232, 163, 23, 0.2);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.hero-scroll-indicator span {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  writing-mode: vertical-rl;
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* --- Manifesto --- */
.manifesto {
  padding: 8rem 2.5rem;
  background: var(--bg-2);
  border-top: 1px solid rgba(232, 163, 23, 0.08);
  border-bottom: 1px solid rgba(232, 163, 23, 0.08);
}

.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.manifesto-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg);
}

.manifesto-body {
  font-size: 1.0625rem;
  color: rgba(232, 220, 200, 0.72);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.manifesto-body:last-child { margin-bottom: 0; }

/* --- Features --- */
.features {
  padding: 7rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.features-header {
  margin-bottom: 4rem;
}

.features-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.feature-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(232, 163, 23, 0.15);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.feature-img-wrap img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  filter: brightness(0.85) saturate(0.9);
  transition: filter 0.4s ease, transform 0.6s ease;
}

.feature-img-wrap:hover img {
  filter: brightness(0.95) saturate(1.0);
  transform: scale(1.02);
}

.feature-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,18,0.7) 0%, transparent 50%);
  pointer-events: none;
}

.feature-img-caption {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(232, 220, 200, 0.45);
  text-align: right;
  margin-top: 0.75rem;
}

.feature-text-block {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.feature-text-item {
  border-left: 2px solid rgba(232, 163, 23, 0.2);
  padding-left: 1.5rem;
  transition: border-color 0.3s;
}
.feature-text-item:hover { border-color: rgba(232, 163, 23, 0.5); }

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.feature-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.9375rem;
  color: rgba(232, 220, 200, 0.65);
  line-height: 1.65;
}

/* Features section 2 - same layout, no header */
.features-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(232, 163, 23, 0.08);
}

/* --- World --- */
.world {
  padding: 8rem 2.5rem;
  background: var(--bg-2);
  border-top: 1px solid rgba(232, 163, 23, 0.08);
}

.world-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.world-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 3rem;
}

.world-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-bottom: 4rem;
}

.world-text p {
  font-size: 1.0625rem;
  color: rgba(232, 220, 200, 0.72);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.world-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}

.world-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-label {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--accent);
}

.world-atmosphere {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-left: 2px solid rgba(232, 163, 23, 0.25);
  padding-left: 1.5rem;
}

.atm-line {
  font-style: italic;
  font-size: 1rem;
  color: rgba(232, 220, 200, 0.55);
  line-height: 1.6;
}
.atm-line-right { padding-left: 1.5rem; }

/* --- Closing --- */
.closing {
  padding: 10rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-inner { position: relative; z-index: 2; }

.closing-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(232, 163, 23, 0.07) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.closing-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.closing-sub {
  font-size: 1.0625rem;
  color: rgba(232, 220, 200, 0.65);
  font-style: italic;
  max-width: 480px;
  margin: 0 auto 3rem;
}

.closing-cta {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg);
  background: var(--accent);
  padding: 1.1rem 3.5rem;
  border-radius: 4px;
  border: 2px solid var(--accent);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.closing-cta:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 40px rgba(232, 163, 23, 0.4), 0 0 80px rgba(232, 163, 23, 0.15);
}

/* --- Donate / Support --- */
.donate {
  position: relative;
  padding: 8rem 2.5rem;
  overflow: hidden;
}

.donate-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-2);
}

.donate-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.donate-glow-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232, 163, 23, 0.06) 0%, transparent 70%);
  top: -5%; left: -10%;
}
.donate-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(155, 127, 207, 0.07) 0%, transparent 70%);
  bottom: -5%; right: -5%;
}

.donate-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

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

.donate-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.donate-sub {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Tiers grid */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: start;
}

/* Individual tier card */
.tier-card {
  background: var(--bg);
  border: 1px solid rgba(232, 163, 23, 0.12);
  padding: 2rem 1.75rem;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.tier-card:hover {
  border-color: rgba(232, 163, 23, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Tier card accent colors */
.tier-supporter:hover { box-shadow: 0 12px 40px rgba(232, 163, 23, 0.08); }
.tier-patron {
  border-color: rgba(232, 163, 23, 0.28);
  background: linear-gradient(180deg, #12121e 0%, var(--bg) 100%);
}
.tier-patron:hover {
  box-shadow: 0 12px 40px rgba(232, 163, 23, 0.15);
}
.tier-legend:hover { box-shadow: 0 12px 40px rgba(155, 127, 207, 0.1); }
.tier-mythic:hover { box-shadow: 0 12px 40px rgba(232, 163, 23, 0.1); }

/* Badge */
.tier-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 1rem;
  border-radius: 0 0 4px 4px;
  white-space: nowrap;
}

/* Header */
.tier-header {
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
}

.tier-rank {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.price-period {
  font-size: 0.875rem;
  color: var(--fg-muted);
}

/* Benefits list */
.tier-benefits {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.benefit {
  font-size: 0.875rem;
  color: rgba(232, 220, 200, 0.72);
  line-height: 1.5;
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
}

.benefit-icon {
  color: var(--accent);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.2em;
}

/* CTA Button */
.tier-btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

/* Button variants */
.tier-btn-supporter {
  background: rgba(232, 163, 23, 0.1);
  color: var(--accent);
  border: 1px solid rgba(232, 163, 23, 0.25);
}
.tier-btn-supporter:hover {
  background: rgba(232, 163, 23, 0.2);
  box-shadow: 0 0 20px rgba(232, 163, 23, 0.15);
}

.tier-btn-patron {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
}
.tier-btn-patron:hover {
  background: #d4920f;
  box-shadow: 0 0 24px rgba(232, 163, 23, 0.35);
}

.tier-btn-legend {
  background: rgba(155, 127, 207, 0.1);
  color: var(--accent-2);
  border: 1px solid rgba(155, 127, 207, 0.3);
}
.tier-btn-legend:hover {
  background: rgba(155, 127, 207, 0.2);
  box-shadow: 0 0 20px rgba(155, 127, 207, 0.15);
}

.tier-btn-mythic {
  background: linear-gradient(135deg, rgba(232, 163, 23, 0.15), rgba(155, 127, 207, 0.1));
  color: var(--accent);
  border: 1px solid rgba(232, 163, 23, 0.4);
}
.tier-btn-mythic:hover {
  background: linear-gradient(135deg, rgba(232, 163, 23, 0.25), rgba(155, 127, 207, 0.2));
  box-shadow: 0 0 24px rgba(232, 163, 23, 0.2);
}

/* Footer note */
.donate-note {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.8125rem;
  color: var(--fg-muted);
  font-style: italic;
}

/* Footer support link */
.footer-support-link {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}
.footer-support-link:hover { color: var(--accent); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 220, 200, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--accent); }

.nav-cta-link {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg);
  background: var(--accent);
  padding: 0.5rem 1.25rem;
  border-radius: 3px;
  border: 1px solid var(--accent);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-cta-link:hover {
  background: transparent;
  color: var(--accent);
}

/* --- Footer --- */
.footer {
  padding: 3rem 2.5rem;
  border-top: 1px solid rgba(232, 163, 23, 0.08);
  background: var(--bg);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-style: italic;
  font-size: 0.8125rem;
  color: var(--fg-muted);
}

.footer-meta {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .manifesto-inner,
  .world-content { grid-template-columns: 1fr; gap: 2.5rem; }

  .features-grid { grid-template-columns: 1fr; gap: 2rem; }
  .feature-img-wrap img { height: 260px; }
  .features-row { grid-template-columns: 1fr; gap: 2rem; }

  .hero-meta { flex-wrap: wrap; gap: 1.5rem; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .hero-scroll-indicator { display: none; }

  .hero { padding: 7rem 1.5rem 5rem; }
  .manifesto, .features, .world, .closing { padding-left: 1.5rem; padding-right: 1.5rem; }

  .hero-actions { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .tiers-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.75rem, 12vw, 4rem); }
  .features-title, .world-title, .closing-title { font-size: clamp(2rem, 8vw, 3rem); }
  .manifesto-title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .tiers-grid { grid-template-columns: 1fr; }
}