/* G.O.D.S landing v2 — cinematic mörk pergament + brinnande SVG-title + kontaktformulär (mail osynlig) */

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

html, body {
  min-height: 100%;
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  color: #c8a06a;
  background-color: #0a0502;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  min-height: 100vh;
  background:
    /* Eld-aurora bakom titel */
    radial-gradient(ellipse 55% 35% at center 30%, rgba(255, 130, 40, 0.20) 0%, rgba(0,0,0,0) 62%),
    /* HD cinematic pergament (Wikimedia + mörkbearbetning) */
    url('/assets/pergament-cinematic.jpg') center top / cover no-repeat,
    #0a0502;
  background-attachment: fixed, fixed, fixed;
}

.vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(ellipse at center 40%,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0.15) 50%,
      rgba(0,0,0,0.55) 88%,
      rgba(0,0,0,0.88) 100%);
}

.page {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  width: 100%;
  max-width: 900px;
  padding: 6rem 1.5rem 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ornament {
  display: flex; align-items: center; justify-content: center; gap: 1.2rem;
  margin-bottom: 2.5rem; opacity: 0.7;
}
.ornament .rune {
  font-family: 'Cinzel', serif; color: #d4a85c; font-size: 1.2rem;
  text-shadow: 0 0 12px rgba(255, 165, 50, 0.55);
}
.ornament .line {
  width: 130px; height: 1px;
  background: linear-gradient(90deg,
    rgba(212, 168, 92, 0) 0%,
    rgba(212, 168, 92, 0.85) 50%,
    rgba(212, 168, 92, 0) 100%);
}

/* SVG-titel — CENTRERAD, levande glöd */
.title {
  display: block;
  width: 100%;
  max-width: 780px;
  height: auto;
  margin: 0 auto 1.5rem;
  animation: ember 7s ease-in-out infinite alternate;
}

@keyframes ember {
  0% {
    filter:
      drop-shadow(0 0 22px rgba(255, 140, 30, 0.45))
      drop-shadow(0 0 50px rgba(255, 90, 20, 0.28))
      drop-shadow(0 6px 14px rgba(0, 0, 0, 0.85));
  }
  100% {
    filter:
      drop-shadow(0 0 32px rgba(255, 170, 50, 0.65))
      drop-shadow(0 0 80px rgba(255, 100, 25, 0.42))
      drop-shadow(0 6px 18px rgba(0, 0, 0, 0.9));
  }
}

.subtitle {
  font-family: 'Cinzel', serif;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 400; font-style: italic;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: #d4ad6f;
  text-shadow: 0 0 12px rgba(255, 165, 50, 0.35);
  opacity: 0.95;
  margin: 0 0 2rem;
}

.separator {
  display: flex; justify-content: center; gap: 0.7rem; margin: 1.6rem 0 2.2rem;
}
.separator span {
  width: 4px; height: 4px; border-radius: 50%;
  background: #c89048;
  box-shadow: 0 0 8px rgba(255, 160, 50, 0.6);
}
.separator span:nth-child(2) {
  width: 6px; height: 6px; background: #e5b86a;
  box-shadow: 0 0 14px rgba(255, 180, 70, 0.8);
}

.lede {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 300;
  line-height: 1.85; letter-spacing: 0.04em;
  color: #d8b67e;
  max-width: 560px;
  margin: 0 auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.whisper {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  font-style: italic; font-weight: 400;
  letter-spacing: 0.16em;
  color: #b08648;
  margin-top: 2rem;
  opacity: 0.82;
  text-shadow: 0 0 10px rgba(255, 140, 40, 0.3);
}

/* ── Kontaktformulär ─────────────────────────────────────────────────── */
.contact {
  width: 100%;
  max-width: 560px;
  padding: 3rem 1.5rem 5rem;
  text-align: center;
}
.contact-inner {
  background: rgba(20, 12, 6, 0.55);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(212, 168, 92, 0.18);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.5),
    inset 0 0 60px rgba(255, 140, 40, 0.04);
}
.contact-title {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem; font-weight: 500;
  color: #e5b86a;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
  text-shadow: 0 0 14px rgba(255, 160, 50, 0.3);
}
.contact-sub {
  font-size: 0.92rem; color: #b08648; opacity: 0.85;
  margin-bottom: 1.8rem; line-height: 1.6;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field-label {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #b08648;
}
.field input, .field textarea {
  background: rgba(8, 4, 1, 0.55);
  border: 1px solid rgba(212, 168, 92, 0.22);
  border-radius: 6px;
  padding: 0.7rem 0.9rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  color: #e5d7b7;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(255, 170, 60, 0.6);
  box-shadow: 0 0 0 1px rgba(255, 170, 60, 0.18), 0 0 18px rgba(255, 140, 40, 0.15);
}
.field input::placeholder, .field textarea::placeholder {
  color: rgba(176, 134, 72, 0.5);
}

/* Honeypot — gömd för människor, syns för bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cf-turnstile { margin: 0.3rem 0; min-height: 0; }

.submit-btn {
  background: linear-gradient(180deg, #c0671a 0%, #8a3a10 100%);
  border: 1px solid rgba(255, 170, 60, 0.4);
  color: #fff8d9;
  font-family: 'Cinzel', serif;
  font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.85rem 1.4rem;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow:
    0 2px 14px rgba(255, 100, 30, 0.25),
    inset 0 1px 0 rgba(255, 220, 150, 0.2);
}
.submit-btn:hover {
  background: linear-gradient(180deg, #d97727 0%, #9c4514 100%);
  box-shadow:
    0 4px 22px rgba(255, 130, 40, 0.4),
    inset 0 1px 0 rgba(255, 230, 160, 0.3);
}

.contact-status {
  text-align: center;
  font-size: 0.88rem;
  color: #d4a85c;
  margin-top: 0.6rem;
  min-height: 1.2em;
}

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer {
  margin-top: auto;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.4em;
  color: rgba(184, 132, 64, 0.55);
}
.footer-mark { color: rgba(212, 168, 92, 0.75); }
.footer-dot { margin: 0 0.8rem; opacity: 0.6; }

/* ── Mobil ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 3.5rem 1rem 2rem; }
  body { background-attachment: scroll, scroll, scroll; }
  .ornament .line { width: 70px; }
  .ornament { gap: 0.7rem; }
  .contact { padding: 2rem 1rem 3rem; }
  .contact-inner { padding: 1.8rem 1.2rem; }
  .footer { letter-spacing: 0.3em; }
}

/* Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .title { animation: none; }
  * { transition: none !important; }
}
