/* ============================================
   RoyalSpain RP · Landing
   Estilo: oscuro elegante negro/dorado + animaciones
   ============================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translate3d(0, 32px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes shine {
  0%   { background-position: -120% 0; }
  60%  { background-position: 220% 0; }
  100% { background-position: 220% 0; }
}
@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(20px, -30px, 0) scale(1.05); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(-30px, 25px, 0) scale(1.08); }
}
@keyframes gridDrift {
  from { background-position: 0 0; }
  to   { background-position: 80px 80px; }
}
@keyframes goldGlow {
  0%, 100% { text-shadow: 0 0 0 rgba(212,175,55,0); }
  50%      { text-shadow: 0 0 24px rgba(212,175,55,.35); }
}
@keyframes tickerScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #161616;
  --surface: #1a1a1a;
  --line: rgba(212, 175, 55, 0.12);
  --line-strong: rgba(212, 175, 55, 0.28);
  --gold: #d4af37;
  --gold-2: #f5d76e;
  --gold-3: #b8941f;
  --text: #ececec;
  --text-dim: #a8a8a8;
  --text-muted: #6b6b6b;
  --red: #c0392b;
  --green: #2ecc71;
  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0,0,0,.55);
  --shadow-gold: 0 0 0 1px rgba(212,175,55,.22), 0 14px 40px rgba(212,175,55,.12);
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .15s ease, opacity .15s ease; }
a:hover { color: var(--gold-2); }

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.container-narrow { max-width: 820px; }
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.gold { color: var(--gold); }
.muted { color: var(--text-dim); }
.small { font-size: .85rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: #000; padding: 10px 14px; font-weight: 700; z-index: 9999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ===== Botones ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-gold {
  position: relative;
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 50%, var(--gold-3) 100%);
  color: #0a0a0a;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.25);
  overflow: hidden;
  isolation: isolate;
}
.btn-gold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
    transparent 0%, transparent 35%,
    rgba(255,255,255,.55) 50%,
    transparent 65%, transparent 100%);
  background-size: 220% 100%;
  background-position: -120% 0;
  pointer-events: none;
  z-index: 1;
  animation: shine 4.5s ease-in-out infinite;
}
.btn-gold > * { position: relative; z-index: 2; }
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(212, 175, 55, 0.45);
  color: #0a0a0a;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.07);
  color: var(--gold-2);
}

/* ===== Banner alerta superior (cierre RAGE / alt:V) ===== */
.alert-bar {
  position: relative;
  z-index: 102;
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
}
.alert-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 0;
}
.alert-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(212,175,55,0.55);
  animation: dotPulse 2.2s ease-out infinite;
  flex-shrink: 0;
}
.alert-text {
  margin: 0;
  color: rgba(255,255,255,0.62);
  letter-spacing: 0.01em;
}
.alert-text a {
  color: var(--gold-2);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid rgba(212,175,55,0.25);
  transition: border-color .2s ease;
}
.alert-text a:hover { border-color: var(--gold-2); }
@media (max-width: 560px) {
  .alert-text { font-size: 0.78rem; }
  .alert-bar-inner { padding: 7px 16px; gap: 8px; }
}

/* ===== Ticker superior ===== */
.ticker {
  position: relative;
  z-index: 101;
  background: linear-gradient(90deg, #050505, #0a0a0a 20%, #0a0a0a 80%, #050505);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  --ticker-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: var(--ticker-mask);
          mask-image: var(--ticker-mask);
}
.ticker-track {
  display: flex;
  gap: 36px;
  padding: 9px 0;
  width: max-content;
  animation: tickerScroll 60s linear infinite;
  will-change: transform;
}
.ticker-track span { white-space: nowrap; }
.ticker-track strong { color: var(--gold); }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-hot {
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
  color: #0a0a0a !important;
  padding: 3px 12px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.10em;
  box-shadow: 0 0 22px rgba(212,175,55,.35);
  animation: goldGlow 3s ease-in-out infinite;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(10, 10, 10, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
}
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
  color: #0a0a0a;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-family: var(--font-sans);
  font-size: 1rem;
  box-shadow: 0 6px 18px rgba(212,175,55,.30);
}
.brand-title {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--text);
}
.brand-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 600;
  margin-top: 3px;
}
.main-nav {
  display: flex;
  gap: 28px;
  font-size: 0.95rem;
}
.main-nav a {
  color: var(--text-dim);
  font-weight: 500;
  position: relative;
}
.main-nav a:hover { color: var(--gold-2); }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--gold);
  transition: width .25s ease;
}
.main-nav a:hover::after { width: 100%; }
.main-nav a.nav-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-badge {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
  color: #0a0a0a;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(212,175,55,0.28);
  position: relative;
  animation: badgePulse 2.6s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 2px 8px rgba(212,175,55,0.28); }
  50% { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(212,175,55,0.45); }
}
.eyebrow-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(212,175,55,0.6);
  animation: dotPulse 1.8s ease-out infinite;
  margin-right: 6px;
  vertical-align: middle;
}
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(212,175,55,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(212,175,55,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  gap: 5px;
  flex-direction: column;
}
.nav-toggle span {
  width: 20px; height: 2px; background: var(--gold); display: block;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  opacity: 0.45;
  filter: saturate(0.85) contrast(1.05);
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(10,10,10,0.55) 55%, rgba(10,10,10,0.95) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.20) 30%, rgba(10,10,10,0.85) 100%);
}
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: .9;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
}
.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 720px;
  max-height: 720px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .32;
  will-change: transform;
}
.hero-bg::before {
  top: -20%;
  left: -10%;
  background: radial-gradient(circle, rgba(212,175,55,.22), transparent 65%);
  animation: orbFloat 18s ease-in-out infinite;
}
.hero-bg::after {
  bottom: -25%;
  right: -12%;
  background: radial-gradient(circle, rgba(212,175,55,.08), transparent 65%);
  animation: orbFloat2 22s ease-in-out infinite;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .25;
  background-image:
    linear-gradient(rgba(212,175,55,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.04) 1px, transparent 1px);
  background-size: 100px 100px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  animation: gridDrift 40s linear infinite;
}
.hero-inner {
  position: relative;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(212,175,55,0.06);
  border: 1px solid rgba(212,175,55,0.22);
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp .8s ease both;
}
.hero-badge .badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(212,175,55,.55);
  animation: dotPulse 2.2s ease-out infinite;
}
.dot-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(46,204,113,.65);
  animation: pulse 1.8s ease-in-out infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(46,204,113,.65); }
  70%  { box-shadow: 0 0 0 10px rgba(46,204,113,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); }
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
  font-weight: 500;
  margin: 0 0 24px;
  letter-spacing: -0.015em;
  animation: fadeUp .9s ease both .1s;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.hero-title .gold {
  background: linear-gradient(120deg, var(--gold-2), var(--gold), var(--gold-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.hero-lead    { animation: fadeUp .9s ease both .25s; }
.hero-cta     { animation: fadeUp .9s ease both .4s; }
.hero-meta    { animation: fadeUp .9s ease both .55s; }
.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.55;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-meta {
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.01em;
}
.hero-meta strong { color: var(--gold-2); font-weight: 600; }
.hero-meta-sep { color: rgba(255,255,255,0.18); }

/* ===== Section ===== */
.section {
  padding: 120px 0;
  position: relative;
}
.section-alt {
  background:
    linear-gradient(180deg, transparent 0%, rgba(212,175,55,0.025) 50%, transparent 100%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1;
  font-weight: 600;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.section-lead {
  color: var(--text-dim);
  font-size: 1.08rem;
  margin: 0;
}

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}
.feature {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .35s cubic-bezier(.2,.6,.2,1), border-color .25s ease;
  overflow: hidden;
  isolation: isolate;
}
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(212,175,55,.06), transparent 65%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.22);
}
.feature:hover::after { opacity: 1; }
.feature-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(212,175,55,0.08);
  display: grid; place-items: center;
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 18px;
  font-family: var(--font-serif);
}
.feature h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.feature p {
  color: var(--text-dim);
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  counter-reset: step;
}
.steps li {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 26px;
  padding-top: 56px;
}
.step-n {
  position: absolute;
  top: -18px; left: 24px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
  color: #0a0a0a;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.4rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(212,175,55,.25);
}
.steps h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 8px;
}
.steps p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.97rem;
}

/* ===== Rules ===== */
.rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.rule {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.rule-n {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  min-width: 50px;
}
.rule h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin: 0 0 6px;
  font-weight: 600;
}
.rule p { margin: 0; color: var(--text-dim); font-size: 0.95rem; }

/* ===== FAQ ===== */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq details {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  transition: border-color .2s ease;
}
.faq details[open] {
  border-color: var(--line-strong);
}
.faq summary {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 400;
  font-family: var(--font-sans);
  transition: transform .25s ease;
  line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq p {
  color: var(--text-dim);
  margin: 14px 0 0;
  font-size: 0.98rem;
}
.faq a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

/* ===== Socials ===== */
.socials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.social {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.social:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: rgba(212,175,55,.04);
}
.social-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
}
.social-handle {
  font-size: 0.88rem;
  color: var(--gold);
  font-weight: 500;
}
.social-discord:hover { border-color: #5865F2; background: rgba(88,101,242,.06); }
.social-discord:hover .social-handle { color: #7984ff; }

/* ===== CTA Final ===== */
.cta-final {
  padding: 100px 0;
  background:
    radial-gradient(ellipse at top, rgba(212,175,55,0.12), transparent 60%),
    var(--bg);
  text-align: center;
  border-top: 1px solid var(--line);
}
.cta-final h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.cta-final p {
  color: var(--text-dim);
  font-size: 1.1rem;
  margin: 0 auto 40px;
  max-width: 640px;
}
.cta-final-meta {
  margin-top: 28px !important;
  margin-bottom: 0 !important;
  font-size: 0.86rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.75) !important;
}

/* ===== Footer ===== */
.site-footer {
  background: #050505;
  border-top: 1px solid var(--line);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand strong { font-family: var(--font-serif); font-size: 1.25rem; }
.footer-brand p { margin: 4px 0 0; font-size: 0.92rem; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-nav a {
  font-size: 0.92rem;
  color: var(--text-dim);
}
.footer-nav a:hover { color: var(--gold-2); }
.footer-legal h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-bottom {
  padding-top: 22px;
  margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.footer-bottom p { margin: 0; }
.footer-copy { letter-spacing: 0.01em; }
.footer-meta { color: rgba(255,255,255,0.4) !important; font-size: 0.78rem !important; letter-spacing: 0.02em; }
.footer-meta a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color .2s ease; }
.footer-meta a:hover { color: var(--gold-2); }

/* === Placa del estudio (destacada) === */
.studio-plate {
  margin: 32px 0 0;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
  text-decoration: none;
  color: var(--ink);
  border-radius: 18px;
  background:
    radial-gradient(120% 200% at 0% 50%, rgba(212,175,55,0.10), transparent 55%),
    linear-gradient(135deg, rgba(212,175,55,0.05), rgba(212,175,55,0.01));
  border: 1px solid rgba(212,175,55,0.22);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 18px 40px rgba(0,0,0,0.35),
    0 0 0 0 rgba(212,175,55,0.0);
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.6,.2,1), border-color .25s ease, box-shadow .35s ease, background .35s ease;
  isolation: isolate;
}
.studio-plate::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg,
    rgba(212,175,55,0) 0%,
    rgba(212,175,55,0) 35%,
    rgba(212,175,55,0.7) 50%,
    rgba(212,175,55,0) 65%,
    rgba(212,175,55,0) 100%);
  background-size: 220% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.55;
  animation: studioSheen 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes studioSheen {
  0%, 100% { background-position: 180% 0; }
  50% { background-position: -80% 0; }
}
.studio-plate::after {
  content: "";
  position: absolute;
  right: -120px; top: 50%;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(212,175,55,0.18), transparent 70%);
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}
.studio-plate:hover {
  transform: translateY(-2px);
  border-color: rgba(212,175,55,0.55);
  background:
    radial-gradient(120% 200% at 0% 50%, rgba(212,175,55,0.16), transparent 55%),
    linear-gradient(135deg, rgba(212,175,55,0.10), rgba(212,175,55,0.02));
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 26px 60px rgba(0,0,0,0.45),
    0 0 0 4px rgba(212,175,55,0.08);
}
.studio-plate:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}
.studio-plate-mark {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
  color: #0a0a0a;
  box-shadow:
    0 8px 22px rgba(212,175,55,0.30),
    0 1px 0 rgba(255,255,255,0.25) inset;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.studio-plate-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 2;
}
.studio-plate-tags {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.studio-plate-sep {
  color: rgba(212,175,55,0.4);
  font-weight: 400;
  letter-spacing: 0;
}
.studio-plate-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.005em;
  color: var(--ink);
  line-height: 1.3;
}
.studio-plate-title strong {
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3) 60%, var(--gold-2));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.studio-plate-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.4);
  color: var(--gold-2);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.studio-plate-cta svg { transition: transform .25s ease; }
.studio-plate:hover .studio-plate-cta {
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
  color: #0a0a0a;
  border-color: transparent;
}
.studio-plate:hover .studio-plate-cta svg { transform: translateX(4px); }

@media (max-width: 720px) {
  .studio-plate {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
    padding: 20px;
  }
  .studio-plate::after { right: -160px; }
  .studio-plate-cta { align-self: stretch; justify-content: center; }
}
@media (max-width: 560px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
}

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.menu-open .main-nav {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 20px;
    gap: 16px;
  }
  .hero { padding: 80px 0 70px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .btn { padding: 12px 18px; font-size: 0.88rem; }
  .btn-lg { padding: 14px 22px; font-size: 0.94rem; }
  .section { padding: 70px 0; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}

/* ===== Sección lanzamiento ===== */
.launch .launch-card {
  position: relative;
  text-align: center;
  padding: 56px 40px;
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 30% 0%, rgba(212,175,55,0.18), transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(212,175,55,0.10), transparent 60%),
    linear-gradient(180deg, #161616 0%, #0e0e0e 100%);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  isolation: isolate;
}
.launch .launch-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(212,175,55,.8), transparent 40%, transparent 60%, rgba(212,175,55,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(212,175,55,0.08);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.launch-badge .badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: pulse 1.8s ease-in-out infinite;
}
.launch-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.08;
  font-weight: 600;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.launch-lead {
  color: var(--text-dim);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 720px;
  margin: 0 auto 36px;
}
.launch-lead strong { color: var(--text); }
.launch-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  max-width: 800px;
  margin: 0 auto 40px;
}
.launch-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.launch-stat .stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-2), var(--gold), var(--gold-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.launch-stat .stat-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-align: center;
}
.launch-perks {
  list-style: none;
  padding: 0;
  margin: 0 auto 36px;
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px 22px;
  text-align: left;
}
.launch-perks li {
  position: relative;
  padding-left: 24px;
  color: var(--text-dim);
  font-size: 0.97rem;
}
.launch-perks li::before {
  content: "✦";
  position: absolute;
  left: 0; top: 0;
  color: var(--gold);
}
.launch-perks li strong { color: var(--text); }
.launch-cta { margin-bottom: 0 !important; justify-content: center; }

@media (max-width: 560px) {
  .launch .launch-card { padding: 40px 22px; }
}

/* ===== Galería ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-3);
  aspect-ratio: 16 / 9;
  isolation: isolate;
  cursor: zoom-in;
  transition: transform .35s ease, border-color .25s ease, box-shadow .35s ease;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s ease;
  filter: saturate(0.95);
}
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.6) 100%);
  pointer-events: none;
}
.gallery-item:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 18px 50px rgba(212,175,55,.18);
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.15) brightness(1.05);
}

/* ===== Testimonios (marquee carrusel) ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.testimonial {
  padding: 28px 26px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial::before {
  content: "“";
  position: absolute;
  top: 8px;
  left: 24px;
  font-family: var(--font-serif);
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(212,175,55,0.18);
  pointer-events: none;
}
.testimonial p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--text);
  position: relative;
  z-index: 1;
}
.testimonial footer {
  font-size: 0.84rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.testimonial footer strong { color: var(--text); font-weight: 600; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox-img {
  max-width: min(94vw, 1400px);
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 30px 100px rgba(0,0,0,.7), 0 0 0 1px rgba(212,175,55,.25);
  animation: lightboxIn .25s ease-out;
}
.lightbox-close {
  position: absolute;
  top: 18px; right: 22px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: all .2s ease;
}
.lightbox-close:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: rotate(90deg);
}

/* ===== Sección MIGRACIÓN desde RAGE:MP / alt:V ===== */
.migrate {
  position: relative;
  overflow: hidden;
}
.migrate::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 360px at 15% 0%, rgba(192,57,43,0.10), transparent 70%),
    radial-gradient(800px 380px at 100% 100%, rgba(212,175,55,0.08), transparent 70%);
  pointer-events: none;
}
.migrate > .container { position: relative; z-index: 1; }

.migrate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
  margin: 28px 0 40px;
}
.migrate-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  position: relative;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.migrate-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.45);
  box-shadow: 0 18px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(212,175,55,0.20);
}
.migrate-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.migrate-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2a1a18, #150e0d);
  border: 1px solid rgba(192,57,43,0.45);
  color: #f5e6c8;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.migrate-altv .migrate-logo {
  background: linear-gradient(135deg, #1a2a28, #0d1715);
  border-color: rgba(64,180,168,0.45);
  color: #b6e5dc;
}
.migrate-card h3 {
  margin: 0 0 4px;
  font-size: 1.12rem;
  color: var(--ink);
  font-weight: 600;
  font-family: var(--font-serif);
}
.migrate-status {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-dim);
}
.migrate-checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.migrate-checks li {
  font-size: 0.92rem;
  color: var(--ink);
  padding: 10px 12px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
}

/* Tabla VS comparativa */
.migrate-vs {
  margin-top: 12px;
  margin-bottom: 36px;
}
.migrate-vs-title {
  text-align: center;
  font-size: 1.6rem;
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
}
.vs-table {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.005));
}
.vs-row {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1.4fr;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.vs-row:last-child { border-bottom: 0; }
.vs-row > span {
  padding: 14px 18px;
  font-size: 0.92rem;
}
.vs-row > span:first-child {
  color: var(--ink-dim);
  font-weight: 500;
  border-right: 1px solid rgba(255,255,255,0.04);
}
.vs-row > span + span {
  border-right: 1px solid rgba(255,255,255,0.04);
}
.vs-row > span:last-child { border-right: 0; }
.vs-head {
  background: rgba(212,175,55,0.05);
}
.vs-head > span {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.vs-us { color: var(--gold) !important; }
.vs-bad { color: #e88a7c; }
.vs-meh { color: #d7c89a; opacity: .9; }
.vs-good {
  color: #b7e6c4;
  font-weight: 500;
}
.vs-bad::before { content: "✗ "; opacity: .8; }
.vs-good::before { content: "✓ "; opacity: .9; }
.vs-meh::before { content: "~ "; opacity: .8; }

@media (max-width: 760px) {
  .vs-row {
    grid-template-columns: 1fr 1fr;
  }
  .vs-row > span:first-child {
    grid-column: 1 / -1;
    background: rgba(255,255,255,0.02);
    font-weight: 600;
    color: var(--gold);
    border-right: 0;
    padding: 10px 14px;
    font-size: 0.84rem;
  }
  .vs-head { display: none; }
}

/* Pasos numerados de migración */
.migrate-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  counter-reset: step;
}
.migrate-steps li {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  position: relative;
  transition: transform .25s ease, border-color .25s ease;
}
.migrate-steps li:hover {
  transform: translateY(-3px);
  border-color: rgba(212,175,55,0.4);
}
.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
  color: #0a0a0a;
  font-weight: 800;
  font-family: var(--font-serif);
  margin-bottom: 10px;
  box-shadow: 0 6px 20px rgba(212,175,55,.30);
}
.migrate-steps h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 600;
}
.migrate-steps p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-dim);
  line-height: 1.5;
}
.migrate-steps a {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.center { text-align: center; }
.mt-32 { margin-top: 32px; }

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.reveal[data-delay="1"].in { transition-delay: .08s; }
.reveal[data-delay="2"].in { transition-delay: .16s; }
.reveal[data-delay="3"].in { transition-delay: .24s; }
.reveal[data-delay="4"].in { transition-delay: .32s; }
.reveal[data-delay="5"].in { transition-delay: .40s; }

/* Header shadow on scroll */
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  box-shadow: 0 6px 30px rgba(0,0,0,.45), 0 0 0 1px var(--line);
}

/* Mobile vídeo: desactivar para ahorrar datos */
@media (max-width: 720px) {
  .hero-video { display: none; }
  .testimonial { flex-basis: 280px; }
  .lightbox { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-video { display: none; }
}
