/* ═══════════════════════════════════════════════════════════
   PoE Recipe — Landing stylesheet
   Visual charter: Path of Exile 2 — cinematic dark / gold
   ═══════════════════════════════════════════════════════════ */

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* ── Custom properties ──────────────────────────────────────────────────── */
:root {
  --black:       #06080b;
  --bg:          #080b0f;
  --bg-2:        #0d1118;
  --bg-card:     rgba(13, 17, 24, .75);
  --gold:        #c9a84a;
  --gold-light:  #e8cb7a;
  --gold-dim:    rgba(201, 168, 74, .18);
  --gold-glow:   rgba(201, 168, 74, .35);
  --text:        #c8cdd4;
  --text-dim:    #7a7f8a;
  --text-head:   #f0e6cb;
  --border:      rgba(201, 168, 74, .15);
  --border-mid:  rgba(201, 168, 74, .28);
  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body:   "Crimson Pro", Georgia, serif;
  --font-ui:     system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ── Base ───────────────────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--black);
  background-image:
    radial-gradient(ellipse 120% 60% at 50% -10%, rgba(201,168,74,.09) 0%, transparent 65%),
    radial-gradient(ellipse 80% 40% at 80% 110%, rgba(90,40,10,.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 30% at 10% 90%, rgba(40,20,80,.12) 0%, transparent 55%),
    linear-gradient(180deg, #080b0f 0%, #06080b 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color .18s; }
a:hover, a:focus-visible { color: var(--gold-light); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text-head);
  line-height: 1.15;
  letter-spacing: .03em;
}
strong { color: var(--text-head); font-weight: 600; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--gold); color: #06080b;
  padding: 8px 14px; border-radius: 4px;
  font-family: var(--font-ui); font-size: .9rem; font-weight: 600;
  z-index: 200;
}
.skip-link:focus { left: 8px; }

/* ── Ambient particles ──────────────────────────────────────────────────── */
.particles {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.p {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: float-up linear infinite;
}
.p1  { width:2px; height:2px; left:12%; animation-duration:14s; animation-delay:0s;   }
.p2  { width:3px; height:3px; left:27%; animation-duration:18s; animation-delay:3s;   }
.p3  { width:2px; height:2px; left:43%; animation-duration:12s; animation-delay:6s;   }
.p4  { width:4px; height:4px; left:58%; animation-duration:20s; animation-delay:1s;   }
.p5  { width:2px; height:2px; left:72%; animation-duration:16s; animation-delay:9s;   }
.p6  { width:3px; height:3px; left:85%; animation-duration:11s; animation-delay:4s;   }
.p7  { width:2px; height:2px; left:35%; animation-duration:22s; animation-delay:12s;  }
.p8  { width:3px; height:3px; left:91%; animation-duration:15s; animation-delay:7s;   }

@keyframes float-up {
  0%   { transform: translateY(105vh) translateX(0)  scale(1);   opacity: 0; }
  5%   { opacity: .55; }
  50%  { transform: translateY(40vh)  translateX(24px) scale(1.3); opacity: .35; }
  95%  { opacity: .2; }
  100% { transform: translateY(-10vh) translateX(-12px) scale(.8); opacity: 0; }
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.1rem 2rem;
  background: linear-gradient(180deg, rgba(6,8,11,.88) 0%, rgba(6,8,11,0) 100%);
  backdrop-filter: blur(6px);
}
.logo {
  display: flex; align-items: center; gap: .6rem;
  color: var(--text-head); font-family: var(--font-display);
  font-size: 1.05rem; letter-spacing: .08em;
  text-decoration: none;
}
.logo:hover, .logo:focus-visible { color: #fff; }
.logo-gem { display: flex; align-items: center; filter: drop-shadow(0 0 6px rgba(201,168,74,.5)); }
.logo-text { font-weight: 500; }
.site-header nav { margin-left: auto; }
.nav-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-ui); font-size: .85rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-dim);
  transition: color .18s;
}
.nav-link:hover { color: var(--gold-light); }

/* ── Rune ring ───────────────────────────────────────────────────────────── */
.rune-ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -52%);
  pointer-events: none; z-index: 0;
}
.rune-ring-outer, .rune-ring-inner {
  position: absolute; top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid;
  transform: translate(-50%, -50%);
}
.rune-ring-outer {
  width: 660px; height: 660px;
  border-color: rgba(201,168,74,.07);
  animation: spin 120s linear infinite;
}
.rune-ring-inner {
  width: 460px; height: 460px;
  border-color: rgba(201,168,74,.05);
  animation: spin 80s linear infinite reverse;
}
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* ── Main / coming-soon layout ───────────────────────────────────────────── */
.cs-main {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 100vh;
  padding: 8rem 1.5rem 6rem;
  text-align: center;
}

/* ── Hero gem ────────────────────────────────────────────────────────────── */
.hero-gem {
  width: 120px; height: 120px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 28px rgba(201,168,74,.45))
          drop-shadow(0 0 8px rgba(201,168,74,.25));
  animation: gem-pulse 4s ease-in-out infinite;
}
@keyframes gem-pulse {
  0%, 100% { filter: drop-shadow(0 0 28px rgba(201,168,74,.45)) drop-shadow(0 0 8px rgba(201,168,74,.25)); }
  50%       { filter: drop-shadow(0 0 42px rgba(201,168,74,.7))  drop-shadow(0 0 18px rgba(201,168,74,.45)); }
}

/* ── Content block ───────────────────────────────────────────────────────── */
.cs-content { max-width: 680px; width: 100%; }

.eyebrow {
  font-family: var(--font-ui);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: block;
}

.cs-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #f5e098 0%, #c9a84a 55%, #8a6420 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  animation: title-shimmer 6s ease-in-out infinite alternate;
}
@keyframes title-shimmer {
  from { filter: brightness(1); }
  to   { filter: brightness(1.15); }
}

/* ── Rune divider ────────────────────────────────────────────────────────── */
.rune-divider {
  display: flex; align-items: center; gap: 1rem;
  margin: 0 auto 1.8rem; max-width: 320px;
}
.rd-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-glow), transparent);
}
.rd-rune {
  color: var(--gold); font-size: .85rem;
  animation: rune-spin 8s linear infinite;
  display: inline-block;
}
@keyframes rune-spin { to { transform: rotate(360deg); } }

/* ── Tagline ─────────────────────────────────────────────────────────────── */
.cs-tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-style: italic;
  color: #a8b0bc;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

/* ── Feature list ────────────────────────────────────────────────────────── */
.cs-features {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.2rem;
  text-align: left;
  margin: 0 auto 2.8rem;
  max-width: 600px;
}
.cs-features li {
  display: flex; align-items: flex-start; gap: .6rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .8rem 1rem;
  font-size: .95rem;
  color: var(--text);
  transition: border-color .18s;
}
.cs-features li:hover { border-color: var(--border-mid); }
.cf-icon { color: var(--gold); font-size: .85rem; margin-top: .22rem; flex-shrink: 0; }

/* ── CTA buttons ─────────────────────────────────────────────────────────── */
.cs-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: 5px;
  font-family: var(--font-ui); font-size: .9rem;
  font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s, box-shadow .18s, background .18s, border-color .18s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, #d4b45a 0%, #b8922e 100%);
  color: #06080b;
  border-color: rgba(232, 203, 122, .4);
  box-shadow: 0 4px 24px -6px rgba(201,168,74,.55), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover, .btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px -6px rgba(201,168,74,.75), inset 0 1px 0 rgba(255,255,255,.22);
  color: #06080b;
}
.btn-ghost {
  background: transparent;
  color: var(--text-head);
  border-color: var(--border-mid);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--gold-dim);
  border-color: var(--gold-glow);
  color: var(--gold-light);
  transform: translateY(-1px);
}

.cs-hint {
  font-family: var(--font-ui);
  font-size: .82rem;
  color: var(--text-dim);
  letter-spacing: .01em;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  position: relative; z-index: 1;
  padding: 2.5rem 1.5rem 1.5rem;
  text-align: center;
}
.footer-rule {
  height: 1px; max-width: 480px; margin: 0 auto 2rem;
  background: linear-gradient(90deg, transparent, var(--border-mid), transparent);
}
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: .6rem 2rem;
  margin-bottom: 1rem;
}
.footer-inner nav { display: flex; gap: 1.2rem; }
.footer-inner nav a {
  font-family: var(--font-ui); font-size: .82rem;
  color: var(--text-dim); letter-spacing: .04em;
}
.footer-inner nav a:hover { color: var(--gold); }
.muted { color: var(--text-dim); font-size: .85rem; font-family: var(--font-ui); }
.copyright {
  font-family: var(--font-ui); font-size: .78rem;
  color: rgba(122,127,138,.55); letter-spacing: .04em;
}

/* ── Privacy page ────────────────────────────────────────────────────────── */
.privacy-main {
  max-width: 720px; margin: 0 auto;
  padding: 8rem 1.5rem 5rem;
}
.privacy-main h1 { font-size: 2.4rem; margin-bottom: .4rem; }
.privacy-main h2 {
  font-size: 1.25rem; margin: 2rem 0 .5rem;
  color: var(--gold); font-weight: 500; letter-spacing: .04em;
}
.privacy-main p, .privacy-main li {
  color: var(--text); font-size: 1rem; margin-bottom: .8rem;
}
.privacy-main ul { padding-left: 1.5rem; }
.privacy-main li { margin-bottom: .5rem; }
code {
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: .88em; background: var(--gold-dim);
  padding: 2px 7px; border-radius: 4px; color: var(--gold-light);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .site-header { padding: 1rem 1.2rem; }
  .cs-features { grid-template-columns: 1fr; }
  .rune-ring-outer { width: 380px; height: 380px; }
  .rune-ring-inner { width: 260px; height: 260px; }
  .hero-gem { width: 90px; height: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

