:root {
  /* Rojo logo Tarplay (triángulo izquierdo) */
  --tarplay-red: #d7282f;
  --tarplay-red-bright: #ff3d45;
  --black: #060305;
  /* Capas de fondo: mismo matiz que el logo, oscurecido (sigue siendo rojo, no óxido) */
  --red-glow: #4a0c12;
  --red-mist: rgba(215, 40, 47, 0.38);
  --red-mist-soft: rgba(215, 40, 47, 0.22);
  --red-deep: rgba(38, 6, 10, 0.94);
  --red-card: rgba(48, 8, 12, 0.93);
  --red-edge: rgba(255, 90, 100, 0.38);
  --red-shine: rgba(255, 70, 85, 0.14);
  --gold: #f0d78c;
  --gold-mid: #d4a92e;
  --gold-deep: #8b6914;
  --cyan: #4dd2ff;
  --cyan-muted: rgba(110, 215, 255, 0.88);
  --white-soft: #f4ece9;
  --blue-cta-top: #1e5cb0;
  --blue-cta: #0b3d82;
  --blue-cta-deep: #062548;
  --dim: rgba(220, 190, 192, 0.4);
  --shadow-panel: 0 24px 48px rgba(0, 0, 0, 0.55),
    0 0 72px rgba(215, 40, 47, 0.22);
}

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

html {
  color-scheme: dark;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  background-color: var(--black);
  background-image: radial-gradient(
      ellipse 95% 65% at 50% -5%,
      var(--tarplay-red) 0%,
      var(--red-glow) 28%,
      transparent 58%
    ),
    radial-gradient(
      ellipse 75% 55% at 100% 75%,
      var(--red-mist) 0%,
      transparent 48%
    ),
    radial-gradient(
      ellipse 65% 50% at -5% 35%,
      var(--red-mist-soft) 0%,
      transparent 42%
    ),
    radial-gradient(
      ellipse 60% 45% at -10% 40%,
      var(--red-deep) 0%,
      transparent 40%
    ),
    radial-gradient(ellipse 120% 100% at 50% 100%, #080204 0%, var(--black) 68%);
  background-attachment: fixed;
  color: var(--white-soft);
}

.page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.header {
  width: 100%;
  max-width: 520px;
  text-align: center;
}

.logo {
  max-width: min(92vw, 420px);
  height: auto;
  display: inline-block;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.75))
    drop-shadow(0 0 48px rgba(215, 40, 47, 0.45));
}

.main {
  flex: 1;
  width: 100%;
  max-width: 560px;
  margin-top: clamp(1rem, 3vw, 2rem);
  position: relative;
  background: var(--red-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: clamp(1.5rem, 4vw, 2.35rem);
  box-shadow: var(--shadow-panel), inset 0 1px 0 rgba(255, 120, 130, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.38);
  border: 1px solid var(--red-edge);
  text-align: center;
}

.main::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    var(--red-shine) 0%,
    transparent 35%,
    rgba(0, 0, 0, 0.28) 100%
  );
  pointer-events: none;
}

.main > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(77, 210, 255, 0.35);
}

.title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 5.2vw, 2.35rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--gold);
  text-shadow: 0 1px 0 rgba(255, 250, 220, 0.45),
    0 -1px 0 rgba(60, 40, 8, 0.6), 0 2px 0 var(--gold-deep),
    0 8px 20px rgba(0, 0, 0, 0.9);
}

.lead {
  margin: 0 0 0.85rem;
  font-size: clamp(1rem, 2.7vw, 1.14rem);
  line-height: 1.55;
  color: var(--white-soft);
}

.lead-line {
  display: block;
  margin-bottom: 0.35rem;
}

.lead strong {
  color: #ffffff;
  font-weight: 800;
}

.highlight {
  display: inline-block;
  font-weight: 800;
  font-size: clamp(1.15rem, 3.2vw, 1.35rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(215, 40, 47, 0.65),
    0 1px 0 rgba(255, 200, 200, 0.35), 0 3px 12px rgba(0, 0, 0, 0.85);
}

.sub {
  margin: 0 0 1.75rem;
  font-size: 0.88rem;
  line-height: 1.55;
  font-weight: 600;
  color: var(--cyan-muted);
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 0 24px rgba(77, 210, 255, 0.12);
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.cta {
  appearance: none;
  cursor: pointer;
  width: 100%;
  max-width: 300px;
  padding: 0.95rem 1.25rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(
    180deg,
    var(--blue-cta-top) 0%,
    var(--blue-cta) 42%,
    var(--blue-cta-deep) 100%
  );
  border: 1px solid rgba(120, 190, 255, 0.35);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 28px rgba(0, 20, 60, 0.55);
  transition: transform 0.15s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 14px 36px rgba(0, 30, 90, 0.6);
}

.cta:active {
  transform: translateY(0);
}

.cta:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.fine {
  margin: 0;
  font-size: 0.72rem;
  color: var(--dim);
  letter-spacing: 0.03em;
}

.mono {
  font-weight: 700;
  color: rgba(120, 210, 255, 0.65);
}

.footer {
  margin-top: auto;
  padding-top: 1.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
