/* Drakvar — Web Oficial de INGAMEDI. Dark Fantasy Gótico Noble, Tipografía Cinzel + Manrope. */

:root {
  --bg: #0b0a0e;
  --bg-alt: #110f16;
  --bg-surface: rgba(22, 19, 28, 0.85);
  --bg-surface-hover: rgba(30, 26, 38, 0.95);
  --ink: #efe6d8;
  --ink-dim: #b8ac9a;
  --ink-faint: #82786a;
  --gold: #d8ab5c;
  --gold-bright: #f4d084;
  --gold-glow: rgba(216, 171, 92, 0.35);
  --crimson: #9c2b2b;
  --crimson-bright: #c73e3e;
  --crimson-glow: rgba(199, 62, 62, 0.35);
  --rune-blue: #4aa0e0;
  --line: rgba(216, 171, 92, 0.2);
  --line-light: rgba(216, 171, 92, 0.35);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
  --shadow-gold: 0 10px 30px rgba(216, 171, 92, 0.25);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --font-display: 'Cinzel', serif;
  --font-body: 'Manrope', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Superposición de grano sutil */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Tipografía de títulos */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.eyebrow::before, .eyebrow::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

/* ---------- HEADER ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: linear-gradient(to bottom, rgba(8, 7, 10, 0.92) 0%, rgba(8, 7, 10, 0.4) 80%, transparent 100%);
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(11, 10, 14, 0.94);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  background: radial-gradient(circle at 35% 30%, rgba(216, 171, 92, 0.3), rgba(15, 12, 18, 0.9));
  box-shadow: 0 0 12px rgba(216, 171, 92, 0.3);
}

.brand-word {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--ink);
  transition: color 0.2s;
}

.brand:hover .brand-word {
  color: var(--gold-bright);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.main-nav a:not(.nav-cta):hover {
  color: var(--gold-bright);
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.main-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--crimson-bright), var(--crimson));
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(156, 43, 43, 0.45);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.2s, filter 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(156, 43, 43, 0.6);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: rgba(216, 171, 92, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--gold-bright);
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 600px at 15% 20%, rgba(156, 43, 43, 0.2), transparent 65%),
    radial-gradient(ellipse 900px 700px at 85% 75%, rgba(216, 171, 92, 0.16), transparent 65%),
    linear-gradient(165deg, #0f0d14 0%, #0b0a0e 45%, #070609 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(216, 171, 92, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 171, 92, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, black 0%, transparent 80%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 52px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
}

.hero-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(22, 19, 28, 0.8);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--gold-bright);
  margin-bottom: 16px;
  width: fit-content;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-platform-badge svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.16;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero-title .title-accent {
  color: var(--gold-bright);
  text-shadow: 0 0 24px rgba(216, 171, 92, 0.35);
}

.hero-desc {
  color: var(--ink-dim);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-desc strong {
  color: var(--gold-bright);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.btn-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 60%, #a17834 100%);
  color: #1a1206;
  box-shadow: 0 10px 28px rgba(216, 171, 92, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(216, 171, 92, 0.55);
  filter: brightness(1.06);
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid rgba(216, 171, 92, 0.3);
  background: rgba(22, 19, 28, 0.6);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: translateY(-2px);
  background: rgba(22, 19, 28, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.btn-playstore {
  background: linear-gradient(135deg, #1b1722, #120f18);
  border: 1px solid var(--line-light);
  color: var(--ink);
  gap: 12px;
  padding: 10px 22px;
}

.btn-playstore:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(216, 171, 92, 0.2);
}

.playstore-icon {
  width: 22px;
  height: 22px;
}

.playstore-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}

.playstore-text small {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.playstore-text strong {
  font-family: var(--font-display);
  font-size: 0.94rem;
  color: var(--gold-bright);
}

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--gold-bright);
  line-height: 1.1;
}

.stat span {
  font-size: 0.8rem;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* Arte de héroe con marco biselado gótico */
.hero-art {
  display: flex;
  justify-content: center;
  position: relative;
}

.art-frame-wrapper {
  position: relative;
}

.art-frame-wrapper::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 26px;
  background: radial-gradient(circle, rgba(216, 171, 92, 0.2), transparent 70%);
  filter: blur(14px);
  z-index: 0;
}

.art-frame {
  position: relative;
  z-index: 1;
  width: min(390px, 100%);
  border-radius: var(--radius-lg);
  padding: 10px;
  background: linear-gradient(160deg, rgba(216, 171, 92, 0.45) 0%, rgba(156, 43, 43, 0.3) 50%, rgba(15, 12, 18, 0.95) 100%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(216, 171, 92, 0.4);
}

.art-frame img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.6);
  filter: contrast(1.05);
}

.art-frame-tag {
  position: absolute;
  left: 22px;
  bottom: 22px;
  padding: 6px 14px;
  background: rgba(10, 9, 13, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px;
  height: 38px;
  border: 2px solid var(--ink-faint);
  border-radius: 20px;
}

.scroll-cue span {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 4px;
  height: 7px;
  background: var(--gold);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDown 1.6s ease infinite;
}

@keyframes scrollDown {
  0% { opacity: 1; top: 5px; }
  100% { opacity: 0; top: 20px; }
}

/* ---------- SECCIONES ---------- */

.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 14px;
  color: var(--ink);
}

.section-sub {
  color: var(--ink-dim);
  font-size: 1.02rem;
  line-height: 1.65;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* PRESENTACIÓN DRAKVAR */

.drakvar-intro {
  text-align: center;
  overflow: hidden;
}

.drakvar-intro-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.drakvar-logo {
  width: min(440px, 85%);
  margin: 10px auto 14px;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  color: var(--gold-bright);
  margin-bottom: 16px;
  font-weight: 600;
}

/* CARDS DE PILARES / SISTEMAS */

.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.system-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.system-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.system-card:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 171, 92, 0.45);
  box-shadow: var(--shadow);
  background: var(--bg-surface-hover);
}

.system-card:hover::before {
  opacity: 1;
}

.system-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(216, 171, 92, 0.1);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.system-icon-wrap img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.system-card h3 {
  font-size: 1.15rem;
  color: var(--gold-bright);
  margin-bottom: 10px;
}

.system-card p {
  color: var(--ink-dim);
  font-size: 0.92rem;
  line-height: 1.6;
  flex-grow: 1;
}

.system-badge {
  margin-top: 18px;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-display);
}

/* STORY STRIP & CIUDADES */

.story-strip {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 22px;
  margin-bottom: 48px;
}

.story-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  height: 300px;
}

.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.story-card:hover img {
  transform: scale(1.05);
}

.story-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 8, 14, 0.95) 0%, rgba(10, 8, 14, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
}

.story-caption h3 {
  font-size: 1.2rem;
  color: var(--gold-bright);
  margin-bottom: 4px;
}

.story-caption p {
  font-size: 0.86rem;
  color: var(--ink-dim);
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.city-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #0d0c11;
}

.city-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.city-card:hover img {
  transform: scale(1.08);
}

.city-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 16px;
  background: linear-gradient(to top, rgba(9, 7, 12, 0.95) 0%, rgba(9, 7, 12, 0.6) 70%, transparent 100%);
}

.city-info h3 {
  font-size: 1.1rem;
  color: var(--gold-bright);
  margin-bottom: 4px;
}

.city-info p {
  font-size: 0.8rem;
  color: var(--ink-dim);
  line-height: 1.4;
}

/* VOCACIONES & CLASES */

.classes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.class-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4.2;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #0d0c11;
}

.class-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: contrast(1.05) saturate(0.9);
}

.class-card:hover img {
  transform: scale(1.06);
  filter: contrast(1.1) saturate(1.1);
}

.class-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 18px;
  background: linear-gradient(to top, rgba(6, 5, 8, 0.96) 0%, rgba(6, 5, 8, 0.3) 60%, transparent 100%);
}

.class-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 700;
}

.class-overlay h3 {
  color: var(--gold-bright);
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.class-overlay p {
  font-size: 0.82rem;
  color: var(--ink-dim);
  line-height: 1.4;
}

/* ROSTER DE HÉROES */

.heroes-wrapper {
  position: relative;
}

.heroes-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 10px 4px 20px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.heroes-carousel::-webkit-scrollbar {
  height: 8px;
}

.heroes-carousel::-webkit-scrollbar-track {
  background: rgba(22, 19, 28, 0.6);
  border-radius: 4px;
}

.heroes-carousel::-webkit-scrollbar-thumb {
  background: var(--line-light);
  border-radius: 4px;
}

.hero-card {
  flex: 0 0 210px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.hero-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.hero-card-img-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #14111a;
  position: relative;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-card:hover img {
  transform: scale(1.06);
}

.hero-card-meta {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
  background: rgba(16, 13, 20, 0.95);
  border-top: 1px solid var(--line);
}

.hero-card-role {
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.hero-card-name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 600;
}

/* BESTIARIO */

.bestiary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.beast-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid rgba(156, 43, 43, 0.4);
  box-shadow: var(--shadow);
  background: #12080a;
}

.beast-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.1);
  transition: transform 0.4s ease;
}

.beast-card:hover img {
  transform: scale(1.06);
}

.beast-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 18px;
  background: linear-gradient(to top, rgba(28, 4, 6, 0.96) 0%, rgba(28, 4, 6, 0.4) 70%, transparent 100%);
}

.beast-overlay h3 {
  font-size: 1.1rem;
  color: #f7d6d6;
  margin-bottom: 2px;
}

.beast-overlay p {
  font-size: 0.8rem;
  color: #c99a9a;
}

/* PRE-REGISTRO & NEWSLETTER FORM */

.cta-section {
  position: relative;
  text-align: center;
  padding: 120px 0;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.cta-mark {
  width: 64px;
  height: 64px;
  font-size: 1.8rem;
  margin: 0 auto 24px;
}

.cta-content h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin-bottom: 14px;
}

.cta-content p {
  color: var(--ink-dim);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.preregister-box {
  background: rgba(22, 19, 28, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.preregister-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 12px;
}

.preregister-input {
  flex: 1;
  background: rgba(10, 8, 14, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 20px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.preregister-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(216, 171, 92, 0.3);
}

.form-msg {
  font-size: 0.85rem;
  margin-top: 10px;
  min-height: 20px;
}

.form-msg.success {
  color: #70d896;
}

.form-msg.error {
  color: #e57373;
}

/* FOOTER */

.site-footer {
  background: #070608;
  border-top: 1px solid var(--line);
  padding-top: 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-company {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.18em;
  color: var(--gold-bright);
}

.footer-brand p {
  color: var(--ink-faint);
  max-width: 340px;
  margin-top: 10px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-links-group {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(216, 171, 92, 0.12);
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom p {
  color: var(--ink-faint);
  font-size: 0.82rem;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: var(--gold-bright);
}

/* ---------- RESPONSIVE MOBILE-FIRST ---------- */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-copy {
    align-items: center;
  }
  .hero-platform-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .systems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cities-grid, .classes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-strip {
    grid-template-columns: 1fr;
  }
  .story-card {
    height: 240px;
  }
  .bestiary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11, 10, 14, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .main-nav.open {
    max-height: 480px;
  }
  .main-nav a {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(216, 171, 92, 0.1);
    font-size: 0.95rem;
  }
  .main-nav a.nav-cta {
    margin: 16px 24px 24px;
    text-align: center;
    justify-content: center;
  }
  .nav-toggle {
    display: flex;
  }

  .systems-grid, .cities-grid, .classes-grid, .bestiary-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }
  .stat strong {
    font-size: 1.45rem;
  }
  .section {
    padding: 70px 0;
  }
  .preregister-form {
    flex-direction: column;
  }
  .preregister-form .btn {
    width: 100%;
  }
  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}
