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

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

:root {
  --gold:        #c9943a;
  --gold-bright: #f0c060;
  --gold-pale:   #e8d080;
  --ember:       #ff6a10;
  --dark:        #0a0704;
  --text-body:   #d4b87a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Cinzel', serif;
  background: #000;
  color: var(--text-body);
  overflow-x: hidden;
}

/* ── BACKGROUND ── */
#scene {
  position: fixed;
  inset: 0;
  z-index: 0;
}
#bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.45) saturate(1.1);
}
#vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 55%, transparent 30%, rgba(0,0,0,0.65) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, transparent 20%, transparent 70%, rgba(0,0,0,0.98) 100%);
  z-index: 1;
}

/* ── EMBER CANVAS ── */
#ember-canvas {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* ── SMOKE ── */
.smoke-wisp {
  position: fixed;
  bottom: -80px;
  width: 180px;
  height: 600px;
  background: radial-gradient(ellipse 50% 100% at 50% 100%, rgba(60,40,20,0.18) 0%, transparent 70%);
  animation: riseSmoke linear infinite;
  z-index: 2;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(12px);
}
@keyframes riseSmoke {
  0%   { transform: translateY(0) scaleX(1) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  100% { transform: translateY(-700px) scaleX(1.6) rotate(8deg); opacity: 0; }
}

/* ── LAYOUT ── */
#page {
  position: relative;
  z-index: 10;
  min-height: 100vh;
}

/* ── HERO ── */
#hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 3rem 2rem;
  text-align: center;
}

/* ── LOGO ── */
#logo-wrap {
  margin-bottom: 1.5rem;
  animation: fadeDown 1.4s ease both;
}
#logo-wrap img {
  max-width: min(680px, 90vw);
  width: 100%;
  filter: drop-shadow(0 0 40px rgba(200,120,20,0.6)) drop-shadow(0 0 8px rgba(255,160,40,0.4));
}

/* ── TAGLINE ── */
#tagline {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.7rem, 1.6vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--gold-pale);
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(220,140,20,0.8);
  padding: 1.2rem 0;
  margin-bottom: 2.8rem;
  animation: fadeDown 1.8s ease 0.3s both;
}

/* ── LAUNCH BUTTON ── */
#launch-btn {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.1rem 3rem;
  border-radius: 2px;
  cursor: pointer;
  background: linear-gradient(135deg, #3a1e00 0%, #6b3300 40%, #3a1e00 100%);
  color: var(--gold-bright);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  display: inline-block;
  box-shadow:
    inset 0 0 0 1.5px #a06020,
    0 0 30px rgba(180,90,10,0.5),
    0 4px 20px rgba(0,0,0,0.7);
  text-shadow: 0 0 10px rgba(255,200,80,0.6);
  animation: fadeUp 1.6s ease 0.6s both, pulseGlow 3.5s ease-in-out 2.2s infinite;
  transition: transform 0.2s, box-shadow 0.2s, color 0.2s;
}
#launch-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  background: rgba(255,200,80,0.1);
}
#launch-btn:hover::before { opacity: 1; }
#launch-btn:hover {
  transform: translateY(-2px);
  color: #fff8d0;
  animation: none;
  box-shadow:
    inset 0 0 0 1.5px #f0a040,
    0 0 55px rgba(220,120,20,0.75),
    0 6px 30px rgba(0,0,0,0.7);
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: inset 0 0 0 1.5px #a06020, 0 0 30px rgba(180,90,10,0.5), 0 4px 20px rgba(0,0,0,0.7); }
  50%       { box-shadow: inset 0 0 0 1.5px #c08030, 0 0 55px rgba(200,110,10,0.65), 0 4px 20px rgba(0,0,0,0.7); }
}

/* ── ABOUT SECTION ── */
#about {
  position: relative;
  z-index: 10;
  padding: 5rem 2rem 6rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  animation: fadeUp 1.2s ease both;
}

.section-divider {
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180,120,40,0.6), transparent);
  margin: 0 auto 4rem;
}
.section-divider-sm {
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(160,100,30,0.35), transparent);
  margin: 2rem auto;
}

.about-logo {
  display: block;
  max-width: 260px;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 0 18px rgba(180,100,20,0.5));
}

.about-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--gold-bright);
  letter-spacing: 0.15em;
  margin-bottom: 0.4rem;
  text-shadow: 0 0 16px rgba(220,140,20,0.5);
}

.about-subtitle {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 0.88rem;
  color: rgba(200,160,80,0.5);
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}

.about-lead {
  font-family: 'IM Fell English', serif;
  font-size: clamp(0.95rem, 1.9vw, 1.05rem);
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 1rem;
}

/* ── STATS ── */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--gold-bright);
  text-shadow: 0 0 20px rgba(220,150,20,0.5);
  display: block;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(190,140,60,0.5);
}

/* ── FEATURE GRID ── */
.features-label {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(190,140,50,0.5);
  margin-bottom: 1.2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
  margin-bottom: 2rem;
  text-align: left;
}
.feature-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(160,100,30,0.2);
  border-top: 2px solid rgba(180,110,20,0.4);
  padding: 1.2rem 1.3rem;
  transition: background 0.25s, border-color 0.25s;
}
.feature-card:hover {
  background: rgba(180,100,20,0.07);
  border-color: rgba(200,140,40,0.45);
  border-top-color: rgba(240,180,60,0.7);
}
.fc-icon { font-size: 1.4rem; display: block; margin-bottom: 0.6rem; }
.fc-name {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  display: block;
  margin-bottom: 0.45rem;
}
.fc-desc {
  font-family: 'IM Fell English', serif;
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(200,160,90,0.75);
}

/* ── HOW IT WORKS ── */
.how-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
}
.how-step {
  flex: 1;
  min-width: 130px;
  max-width: 190px;
  text-align: center;
  padding: 1rem 0.8rem;
  position: relative;
}
.how-step:not(:last-child)::after {
  content: '›';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(180,110,30,0.35);
  font-size: 1.4rem;
}
.step-num {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.5rem;
  color: rgba(180,110,20,0.3);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.step-title {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.4rem;
}
.step-desc {
  font-family: 'IM Fell English', serif;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(190,145,75,0.65);
}

/* ── DISCLAIMER ── */
.disclaimer {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 0.75rem;
  line-height: 1.75;
  color: rgba(160,120,60,0.4);
  margin-top: 1rem;
}

/* ── FOOTER ── */
#footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 1.5rem 2rem 2.5rem;
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(180,130,50,0.3);
  border-top: 1px solid rgba(140,90,20,0.15);
}

/* ── ANIMATIONS ── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
