@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --hp-bg: #0D0B18;
  --hp-panel: #1A162B;
  --hp-accent: #9D4EDD;
  --hp-text: #FFFFFF;
  --hp-muted: rgba(255, 255, 255, 0.72);
  --hp-border: rgba(255, 255, 255, 0.08);
  --hp-radius: 14px;
  --hp-header-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background: var(--hp-bg);
  color: var(--hp-text);
  line-height: 1.75;
}

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

a { color: var(--hp-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.hp-wrap {
  width: min(940px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */
.hp-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(13, 11, 24, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hp-border);
  transition: box-shadow 0.25s ease;
}

.hp-header.is-scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.hp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  position: relative;
}

.hp-logo {
  display: flex;
  align-items: center;
  color: var(--hp-text);
  text-decoration: none;
}

.hp-logo:hover { text-decoration: none; opacity: 0.92; }

.hp-logo img { height: 40px; width: auto; }

.hp-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.hp-nav a {
  color: var(--hp-text);
  font-size: 0.9rem;
  opacity: 0.88;
  text-decoration: none;
}

.hp-nav a:hover { color: var(--hp-accent); opacity: 1; }

.hp-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--hp-border);
  color: var(--hp-text);
  padding: 0.45rem 0.75rem;
  border-radius: var(--hp-radius);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
}

/* Hero */
.hp-hero {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--hp-border);
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(157, 78, 221, 0.18), transparent),
    var(--hp-bg);
}

.hp-hero__kicker {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hp-accent);
  margin: 0 0 1rem;
}

.hp-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 1.5rem;
  max-width: 22ch;
  font-weight: 700;
}

.hp-hero__lead {
  font-size: 1.1rem;
  max-width: 62ch;
  margin: 0 0 2rem;
  color: var(--hp-muted);
}

/* Sections */
.hp-section {
  padding: 3.5rem 0;
  scroll-margin-top: var(--hp-header-h);
}

.hp-section--panel {
  background: linear-gradient(180deg, rgba(26, 22, 43, 0.35), transparent);
}

.hp-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  margin: 0 0 1.75rem;
  line-height: 1.2;
  font-weight: 600;
}

.hp-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  margin: 2.5rem 0 1rem;
  color: var(--hp-accent);
}

.hp-section p { margin: 0 0 1.5rem; color: var(--hp-muted); }

.hp-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hp-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Specs */
.hp-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem;
  margin: 2rem 0 2.5rem;
}

.hp-spec {
  background: var(--hp-panel);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 1rem 1.1rem;
  border-top: 3px solid var(--hp-accent);
}

.hp-spec__label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hp-accent);
  margin-bottom: 0.35rem;
}

.hp-spec__value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--hp-text);
}

.hp-table-wrap { overflow-x: auto; margin: 1.5rem 0 2rem; }

.hp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.hp-table th,
.hp-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--hp-border);
  text-align: left;
}

.hp-table th {
  color: var(--hp-accent);
  font-weight: 600;
  width: 38%;
}

.hp-table td { color: var(--hp-muted); }

/* Media */
.hp-figure {
  margin: 0 0 2rem;
  border-radius: var(--hp-radius);
  overflow: hidden;
  border: 1px solid var(--hp-border);
  background: var(--hp-panel);
}

.hp-figure img { width: 100%; }

.hp-figure figcaption {
  padding: 0.9rem 1.1rem;
  font-size: 0.88rem;
  color: var(--hp-muted);
  border-top: 1px solid var(--hp-border);
}

/* Gameplay cards */
.hp-cards {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.hp-card {
  background: var(--hp-panel);
  border: 1px solid var(--hp-border);
  border-left: 4px solid var(--hp-accent);
  border-radius: var(--hp-radius);
  padding: 1.15rem 1.25rem;
}

.hp-card p:last-child { margin-bottom: 0; }

/* FAQ */
.hp-faq details {
  background: var(--hp-panel);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.hp-faq summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 600;
  list-style: none;
  color: var(--hp-text);
}

.hp-faq summary::-webkit-details-marker { display: none; }

.hp-faq details[open] summary {
  color: var(--hp-accent);
  border-bottom: 1px solid var(--hp-border);
}

.hp-faq details p {
  padding: 0 1.15rem 1rem;
  margin: 0;
}

/* CTA */
.hp-cta {
  text-align: center;
  padding: 4rem 0 5rem;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(157, 78, 221, 0.22), transparent),
    var(--hp-panel);
  border-top: 1px solid var(--hp-border);
}

.hp-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 0 0 1rem;
}

.hp-cta p {
  max-width: 48ch;
  margin: 0 auto 1.75rem;
  color: var(--hp-muted);
}

.hp-btn {
  display: inline-block;
  background: var(--hp-accent);
  color: var(--hp-bg);
  padding: 0.9rem 1.6rem;
  border-radius: var(--hp-radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.hp-btn:hover {
  filter: brightness(1.08);
  text-decoration: none;
  transform: translateY(-1px);
}

.hp-btn--ghost {
  background: transparent;
  color: var(--hp-text);
  border: 1px solid var(--hp-border);
}

/* Floating CTA */
.hp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hp-float.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* Footer */
.hp-footer {
  border-top: 1px solid var(--hp-border);
  padding: 2.5rem 0 3rem;
  font-size: 0.9rem;
}

.hp-footer__grid {
  display: grid;
  gap: 1.25rem;
}

.hp-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hp-footer__nav a { color: var(--hp-text); opacity: 0.85; }

.hp-legal {
  font-size: 0.82rem;
  color: var(--hp-muted);
  margin: 0;
}

/* Cookie */
.hp-cookie {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 420px;
  background: var(--hp-panel);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 1rem 1.15rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  z-index: 200;
  display: none;
}

.hp-cookie.is-visible { display: block; }

.hp-cookie p {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: var(--hp-muted);
}

.hp-cookie__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}

/* Tech pages */
.hp-tech {
  padding: 3rem 0 4rem;
}

.hp-tech h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 1.25rem;
}

.hp-tech h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  color: var(--hp-accent);
}

.hp-tech p { color: var(--hp-muted); }

/* Responsive */
@media (max-width: 768px) {
  .hp-burger { display: inline-block; }

  .hp-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--hp-panel);
    padding: 1rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid var(--hp-border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  }

  .hp-nav.is-open { display: flex; }

  .hp-float { left: 1rem; right: 1rem; }
  .hp-float .hp-btn { width: 100%; text-align: center; }
}
