/* ===================================================================
   Drakoria — Landing Page Styles
   Aesthetic: Dark Fantasy — Midnight Blue, Black, Silver, Warm Gold
   Fonts: Cinzel (heading/display), EB Garamond (body)
   =================================================================== */

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

:root {
  --color-midnight:    #05070A;
  --color-gold:        #D4AF37;
  --color-gold-soft:   rgba(212,175,55,0.6);
  --color-gold-faint:  rgba(212,175,55,0.3);
  --color-silver:      #E0E0E0;
  --color-blue-glow:   #4A86E8;
  --color-lantern:     #FF9900;
  --color-dark-panel:  #0D1621;
  --font-heading:      'Cinzel', ui-sans-serif, system-ui, serif;
  --font-body:         'EB Garamond', ui-sans-serif, system-ui, serif;
  --font-display:      'Cinzel', ui-sans-serif, system-ui, serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--color-midnight);
  color: #fff;
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===================== Navbar ===================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem;
  background: linear-gradient(to bottom, rgba(5,7,10,0.85), transparent);
}
@media (min-width: 768px) { .navbar { padding: 0.75rem 2rem; } }

.navbar-logo img {
  width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--color-gold-soft);
}
@media (min-width: 768px) { .navbar-logo img { width: 3.5rem; height: 3.5rem; } }

.navbar-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .navbar-links { display: flex; } }
.navbar-links a {
  font-family: var(--font-heading);
  letter-spacing: 0.2em; font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase; text-decoration: none;
  transition: color 0.3s;
}
.navbar-links a:hover { color: var(--color-gold); }

.navbar-toggle {
  display: block; background: none; border: none;
  color: var(--color-gold); font-size: 1.5rem; cursor: pointer; line-height: 1;
}
@media (min-width: 768px) { .navbar-toggle { display: none; } }

.navbar-mobile {
  display: none; flex-direction: column; align-items: center; gap: 1.25rem;
  padding: 1.25rem 0;
  background: rgba(5,7,10,0.95);
  border-bottom: 1px solid var(--color-gold-faint);
}
.navbar-mobile.open { display: flex; }
.navbar-mobile a {
  font-family: var(--font-heading); letter-spacing: 0.2em; font-size: 0.75rem;
  color: rgba(255,255,255,0.8); text-transform: uppercase; text-decoration: none;
}
.navbar-mobile a:hover { color: var(--color-gold); }

/* ===================== Hero ===================== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 1rem; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to bottom, rgba(5,7,10,0.85), rgba(5,7,10,0.55) 50%, rgba(5,7,10,0.95));
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.hero-fog {
  position: absolute; inset: 0; z-index: 0; opacity: 0.7; pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(80,110,150,0.18), transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgba(60,90,140,0.14), transparent 55%);
  animation: fogDrift 42s ease-in-out infinite alternate;
}
.hero-content {
  position: relative; z-index: 10; max-width: 48rem;
  animation: fadeUp 1.1s ease-out both;
}
.hero-eyebrow {
  font-family: var(--font-heading); letter-spacing: 0.4em;
  color: var(--color-gold); font-size: 0.75rem; margin-bottom: 1rem;
}
@media (min-width: 768px) { .hero-eyebrow { font-size: 0.875rem; } }
.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 3.75rem; line-height: 1;
  background: linear-gradient(to bottom, #fff, #E8E8E8, #9a9a9a);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  letter-spacing: 0.08em;
  filter: drop-shadow(0 0 30px rgba(212,175,55,0.3));
}
@media (min-width: 768px) { .hero-title { font-size: 6rem; } }
.hero-subtitle {
  font-family: var(--font-display);
  font-size: 1.5rem; color: var(--color-silver);
  letter-spacing: 0.25em; margin: 0.75rem 0 1.25rem;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 2.25rem; } }
.hero-tagline {
  font-family: var(--font-heading); letter-spacing: 0.3em;
  color: var(--color-gold); font-size: 0.75rem; margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .hero-tagline { font-size: 0.875rem; } }
.hero-desc {
  font-family: var(--font-body); color: rgba(224,224,224,0.8);
  font-size: 1rem; max-width: 36rem; margin: 0 auto; line-height: 1.7;
}
@media (min-width: 768px) { .hero-desc { font-size: 1.125rem; } }

/* ===================== Book Section ===================== */
.book-section {
  position: relative; z-index: 10;
  display: flex; flex-direction: column; align-items: center;
  padding: 5rem 1rem;
}
.book-cover {
  animation: floatBook 6s ease-in-out infinite;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.85));
}
.book-cover img {
  width: 16rem; border-radius: 2px;
  border: 1px solid rgba(212,175,55,0.2);
}
@media (min-width: 768px) { .book-cover img { width: 20rem; } }
.cta-button {
  margin-top: 3rem; display: inline-flex; align-items: center; gap: 0.75rem;
  border: 2px solid var(--color-gold); background: rgba(13,22,33,0.8);
  padding: 1rem 2rem; color: var(--color-gold);
  font-family: var(--font-heading); letter-spacing: 0.2em;
  font-size: 0.875rem; text-decoration: none; text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
  animation: glowPulse 3.2s ease-in-out infinite;
}
@media (min-width: 768px) { .cta-button { font-size: 1rem; } }
.cta-button:hover { background: var(--color-gold); color: var(--color-midnight); }

/* ===================== Release Info ===================== */
.release-info {
  position: relative; z-index: 10;
  display: flex; flex-direction: column; align-items: center;
  padding: 3rem 1rem; text-align: center;
}
.release-date {
  font-family: var(--font-heading); color: var(--color-gold);
  letter-spacing: 0.3em; font-size: 1.125rem; margin-bottom: 0.5rem;
}
@media (min-width: 768px) { .release-date { font-size: 1.5rem; } }
.release-label {
  font-family: var(--font-heading); color: rgba(212,175,55,0.7);
  letter-spacing: 0.3em; font-size: 0.75rem; margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .release-label { font-size: 0.875rem; } }
.release-platforms {
  display: flex; align-items: center; gap: 2rem;
  color: rgba(255,255,255,0.9);
}
@media (min-width: 768px) { .release-platforms { gap: 3rem; } }
.release-platforms .platform {
  font-family: var(--font-display); font-size: 1.125rem; letter-spacing: 0.05em;
}
@media (min-width: 768px) { .release-platforms .platform { font-size: 1.5rem; } }
.release-divider {
  width: 1px; height: 1.5rem; background: rgba(212,175,55,0.4);
}

/* ===================== Socials ===================== */
.socials {
  position: relative; z-index: 10;
  display: flex; flex-direction: column; align-items: center;
  padding: 4rem 1rem;
}
.socials-card {
  width: 100%; max-width: 28rem;
  border: 1px solid var(--color-gold-faint);
  background: rgba(13,22,33,0.6); border-radius: 2px;
  padding: 2rem 1.5rem; text-align: center;
}
.socials-title {
  font-family: var(--font-heading); color: var(--color-gold);
  letter-spacing: 0.3em; font-size: 0.875rem; margin-bottom: 0.5rem;
}
.socials-desc { color: rgba(255,255,255,0.6); font-size: 0.75rem; margin-bottom: 1.5rem; }
.socials-links {
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
@media (min-width: 768px) {
  .socials-links { flex-direction: row; justify-content: center; }
}
.socials-links a {
  display: flex; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.8); font-size: 0.875rem; text-decoration: none;
  transition: color 0.3s;
}
.socials-links a:hover { color: var(--color-gold); }
.socials-links svg { width: 1.25rem; height: 1.25rem; fill: currentColor; flex-shrink: 0; }

/* ===================== Footer ===================== */
.footer {
  position: relative; z-index: 10; padding: 2rem; text-align: center;
}
.footer p { color: rgba(224,224,224,0.5); font-size: 0.75rem; letter-spacing: 0.15em; }

/* ===================== Lantern ===================== */
.lantern {
  position: fixed; z-index: 20; pointer-events: none;
  bottom: 2.5rem; left: 0.5rem;
}
@media (min-width: 768px) { .lantern { left: 1.5rem; } }
@media (max-width: 639px) { .lantern { display: none; } }
.lantern-glow {
  position: absolute; inset: -3rem;
  background: rgba(255,153,0,0.25);
  border-radius: 50%; filter: blur(3rem);
  animation: lanternFlicker 4s ease-in-out infinite;
}
.lantern img {
  position: relative; width: 7rem; object-fit: contain;
  mix-blend-mode: screen;
  animation: lanternFlicker 4s ease-in-out infinite;
}
@media (min-width: 768px) { .lantern img { width: 10rem; } }

/* ===================== Scroll Reveal ===================== */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ===================== Keyframes ===================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatBook {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes lanternFlicker {
  0%, 100% { opacity: 0.92; }
  25%      { opacity: 1; }
  50%      { opacity: 0.8; }
  75%      { opacity: 0.96; }
}
@keyframes fogDrift {
  from { transform: translateX(-8%); }
  to   { transform: translateX(8%); }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 22px rgba(212,158,93,0.35); }
  50%      { box-shadow: 0 0 42px rgba(212,158,93,0.7); }
}