:root {
  --sky-1: #f8d9e4;
  --sky-2: #f4f0ff;
  --sky-3: #dceeff;
  --sky-4: #f6c86d;
  --sun: #fffaf3;
  --ink: #1d1b2c;
  --ink-soft: rgba(27, 24, 41, 0.7);
  --panel: rgba(13, 13, 28, 0.4);
  --panel-border: rgba(255, 255, 255, 0.14);
  --mist: rgba(255, 255, 255, 0.28);
  --glow-pink: #ff8cc5;
  --glow-orange: #ff7b39;
  --glow-lava: #ff4b2b;
  --howl-1: #06070d;
  --howl-2: #160f24;
  --howl-3: #2b1231;
  --howl-4: #42191e;
  --serum: #6cffb3;
  --text-light: #f9f7ff;
  --text-muted: rgba(250, 247, 255, 0.72);
  --shadow: rgba(16, 8, 24, 0.4);
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", "Segoe UI", sans-serif;
  background: #100d1b;
  color: var(--text-light);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.page-shell {
  width: min(100%, 1400px);
  margin: 0 auto;
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  backdrop-filter: blur(14px);
  background: rgba(13, 13, 21, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.6rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(248, 170, 200, 0.12));
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.logo-word {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-light);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-nav a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: white;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
}

.nav-toggle span {
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: white;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(246, 195, 214, 0.9) 0%, rgba(244, 242, 255, 0.96) 26%, rgba(188, 221, 255, 0.88) 52%, rgba(103, 140, 169, 0.64) 68%, rgba(28, 22, 36, 0.9) 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background: radial-gradient(circle at 50% 18%, rgba(255,255,255,0.75), transparent 24%),
              linear-gradient(180deg, rgba(255,255,255,0.12), rgba(18, 12, 22, 0.15));
}

.hero::after {
  background: linear-gradient(180deg, transparent 60%, rgba(13, 8, 21, 0.82) 100%);
}

.sky-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: transform 0.35s ease-out;
}

.layer-back {
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 195, 126, 0.28), transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0));
  transform: translate3d(0, 0, 0);
}

.layer-mid {
  background-image:
    linear-gradient(transparent 0 76%, rgba(25, 18, 32, 0.18) 100%),
    radial-gradient(circle at 50% 80%, rgba(100, 70, 112, 0.22), transparent 36%);
  transform: translate3d(0, 0, 0);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 5rem;
}

.eyebrow,
.section-label {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(21, 18, 30, 0.8);
}

.hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4.5rem, 9vw, 10rem);
  line-height: 0.85;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f9f7ff;
  text-shadow: 0 18px 40px rgba(72, 27, 83, 0.25);
}

.tagline {
  margin: 1.2rem 0 2.8rem;
  font-size: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(24, 22, 36, 0.82);
}

.enter-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(32vw, 220px);
  min-width: 180px;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 138, 180, 0.28));
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2), 0 12px 60px rgba(255, 134, 113, 0.3), 0 0 40px rgba(255, 122, 188, 0.24);
  color: white;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  animation: portalPulse 4s ease-in-out infinite;
}

.enter-button::before,
.enter-button::after {
  content: "";
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.enter-button::after {
  inset: 18%;
  background: radial-gradient(circle, rgba(255,255,255,0.5), transparent 62%);
  opacity: 0.9;
}

.enter-button span {
  position: relative;
  z-index: 1;
}

.enter-button:hover,
.enter-button:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.26), 0 18px 70px rgba(255, 138, 160, 0.45), 0 0 60px rgba(255, 118, 75, 0.35);
  filter: brightness(1.08);
}

.enter-button.secondary {
  width: min(26vw, 200px);
  min-width: 160px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 110, 80, 0.2));
}

.petals,
.embers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.8;
}

.petals {
  background-image:
    radial-gradient(circle at 10% 25%, rgba(255, 193, 214, 0.75) 0 2px, transparent 3px),
    radial-gradient(circle at 25% 18%, rgba(255, 255, 255, 0.7) 0 2px, transparent 3px),
    radial-gradient(circle at 55% 20%, rgba(255, 166, 194, 0.7) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 12%, rgba(245, 219, 255, 0.75) 0 2px, transparent 3px),
    radial-gradient(circle at 68% 28%, rgba(255, 220, 225, 0.8) 0 2px, transparent 3px);
  animation: petalDrift 20s linear infinite;
}

.embers {
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255, 117, 67, 0.7) 0 3px, transparent 5px),
    radial-gradient(circle at 64% 72%, rgba(255, 150, 73, 0.8) 0 3px, transparent 5px),
    radial-gradient(circle at 44% 86%, rgba(255, 89, 48, 0.8) 0 4px, transparent 5px),
    radial-gradient(circle at 82% 78%, rgba(192, 255, 164, 0.5) 0 3px, transparent 5px);
  animation: emberRise 18s ease-in-out infinite alternate;
}

.lore,
.characters {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 2rem;
}

.section-label {
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

.lore-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.lore-panel,
.character-card {
  background: rgba(14, 13, 22, 0.3);
  border: 1px solid var(--panel-border);
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: 0 24px 60px var(--shadow);
}

.panel-image-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.panel-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.panel-copy {
  padding: 1.5rem 1.4rem 1.8rem;
}

.panel-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  font-weight: 700;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.panel-copy p {
  margin: 0.5rem 0;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 32rem;
}

.sky-panel {
  background: linear-gradient(180deg, rgba(151, 197, 255, 0.14), rgba(22, 17, 28, 0.25));
}

.howl-panel {
  background: linear-gradient(180deg, rgba(128, 72, 106, 0.12), rgba(10, 9, 15, 0.3));
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.character-card {
  padding: 0 0 1.3rem;
  background: rgba(255, 255, 255, 0.02);
}

.character-card img {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
  background: linear-gradient(180deg, #180d2d, #2a1e39);
}

.character-card h3 {
  margin: 1rem 1rem 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.character-card p {
  margin: 0 1rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.villain-card {
  background: linear-gradient(180deg, rgba(103, 53, 67, 0.1), rgba(13, 13, 22, 0.2));
}

.final-cta {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem 4.5rem;
}

.cta-backdrop {
  min-height: 560px;
  border-radius: 2rem;
  position: relative;
  background:
    linear-gradient(180deg, rgba(13, 14, 20, 0.18), rgba(8, 7, 14, 0.88)),
    url("assets/hero_howlmore.webp") center/cover no-repeat;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 28px 90px rgba(11, 7, 20, 0.6);
}

.cta-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

@keyframes portalPulse {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(255,255,255,0.16), 0 0 18px rgba(255, 154, 196, 0.36), 0 0 60px rgba(255, 119, 71, 0.28);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(255,255,255,0.18), 0 0 42px rgba(255, 132, 165, 0.48), 0 0 80px rgba(255, 117, 60, 0.4);
  }
}

@keyframes petalDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, 18px, 0) scale(1.03);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes emberRise {
  0% {
    transform: translate3d(0, 18px, 0) scale(0.96);
    opacity: 0.45;
  }
  50% {
    transform: translate3d(0, 0, 0) scale(1.04);
    opacity: 0.8;
  }
  100% {
    transform: translate3d(0, -20px, 0) scale(1);
    opacity: 0.75;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 0.9rem 1rem;
  }

  .site-nav {
    position: absolute;
    right: 1rem;
    top: calc(100% + 0.8rem);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.2rem;
    background: rgba(10, 10, 18, 0.82);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 0.9rem;
    box-shadow: 0 18px 40px rgba(0,0,0,0.24);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero h1 {
    letter-spacing: 0.05em;
  }

  .lore-grid,
  .character-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .tagline {
    letter-spacing: 0.04em;
  }

  .logo-word {
    letter-spacing: 0.15em;
    font-size: 0.62rem;
  }

  .site-footer {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
