/* ==========================================================
   GTA VI — Hero + Contador
   Tokens
   ========================================================== */
:root {
  --night-1: #0b0417;
  --night-2: #1a0b30;
  --magenta: #ff2f9e;
  --orange: #ff7a3d;
  --violet: #7a3dff;
  --text-hi: #f6efff;
  --text-lo: #b8a7d9;
  --line: rgba(246, 239, 255, 0.14);
  

  --font-display: 'Anton', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

body {
  margin: 0;
  background: var(--night-1);
  font-family: var(--font-body);
  color: var(--text-hi);
}

/* ==========================================================
   Hero shell
   ========================================================== */
.elementor-23 .elementor-element.elementor-element-bf1bd47:not(.elementor-motion-effects-element-type-background), .elementor-23 .elementor-element.elementor-element-bf1bd47 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	  position: relative;
    background-color: var(--e-global-color-astglobalcolor4);
    background: radial-gradient(ellipse 60% 50% at 15% 20%, rgba(255, 47, 158, 0.18), transparent 60%), linear-gradient(180deg, var(--night-2) 0%, var(--night-1) 65%);
}

section.elementor-section.elementor-top-section.elementor-element.elementor-element-bf1bd47.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 30%, rgba(255, 122, 61, 0.14), transparent 55%);
    pointer-events: none;
}

/* ==========================================================
   Left column — content
   ========================================================== */

.hero__eyebrow {
  display: inline-block;
    margin-bottom: 0px;
    padding: 9px 22px;
    border-radius: 999px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    color: #ffd9f0;
    background: rgba(255, 47, 158, 0.08);
    border: 1px solid rgba(255, 47, 158, 0.55);
    box-shadow: 0 0 4px rgba(255, 47, 158, 0.35), inset 0 0 10px rgba(255, 47, 158, 0.12);
    text-shadow: 0 0 10px rgba(255, 47, 158, 0.6);
    background-color: #6065ff17;
    text-transform: uppercase;
}

.hero__eyebrow img {
	max-width: 38px;
	margin-right: 5px;
}

.hero__title h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 6.5vw, 84px);
  margin: 0 0 20px;
  letter-spacing: 0.5px;
  background: linear-gradient(100deg, var(--magenta) 10%, var(--orange) 55%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
	line-height: 5.5rem !important;
	font-size: 3.5rem;
  line-height: 1.2em !important;
  text-transform: uppercase;
}

.hero__description {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-lo);
  max-width: 46ch;
  margin: 0 0 0;
}

.hero__description span {
	text-decoration: underline;
}

.hero__release {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.hero__date {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-hi);
}

.hero__platforms {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.platform-badge {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-lo);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
}

/* ==========================================================
   Countdown — HUD / scoreboard style
   ========================================================== */
.countdown {
  width: 100%;
	margin-bottom: 10px;
}

.countdown__timer {
  display: flex;
  align-items: baseline;
  gap: 0;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 68px;
}

.countdown__value {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--text-hi);
  text-shadow: 0 0 24px rgba(255, 47, 158, 0.35);
}

.countdown__label {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-lo);
}

.countdown__divider {
  width: 1px;
  height: 40px;
  background: var(--line);
  margin: 0 20px;
  align-self: center;
}

/* Estado: lanzamiento */
.countdown__launched {
  padding: 4px 0 4px;
}

.launched__eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 38px);
  margin: 0 0 6px;
  background: linear-gradient(100deg, var(--magenta) 10%, var(--orange) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.launched__message {
  margin: 0;
  font-size: 16px;
  color: var(--text-lo);
}

/* ==========================================================
   CTAs
   ========================================================== */
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
	margin-bottom: 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.btn--primary {
  color: var(--night-1);
  background: linear-gradient(100deg, var(--magenta), var(--orange));
}

.btn--primary:hover {
	color: var(--night-1);
  background: linear-gradient(100deg, var(--magenta), var(--orange));
	text-decoration: underline;
}

a.btn--primary:focus {
	color: var(--night-1);
	text-decoration: underline;
}

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

.btn--ghost:hover {
  border-color: #ffffff2e;
	color: var(--text-hi);
	text-decoration: underline;
}

a.btn--ghost:focus {
	color: var(--text-hi);
	text-decoration: underline;
	outline: none;
}

/* ==========================================================
   Right column — art placeholder (Jason & Lucia)
   ========================================================== */
.hero__art {
  position: relative;
  min-height: 520px;
  border-radius: 4px;
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    padding: 64px 24px;
  }
  .hero__art {
    min-height: 320px;
    order: -1;
  }
  .countdown__divider {
    margin: 0 12px;
  }
  .countdown__unit {
    min-width: 54px;
  }
}

@media (max-width: 420px) {
  .countdown__timer {
    flex-wrap: wrap;
    row-gap: 16px;
  }
}

/* Respeta preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}

/*Poppup de video en la home*/

/* ==========================================================
   MODAL DE TRÁILERS — GTA VI
   ========================================================== */

.tmodal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.tmodal[hidden] { display: none; }

/* Fondo atenuado */
.tmodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 2, 14, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

/* Caja del vídeo */
.tmodal__dialog {
  position: relative;
  width: 70%;
  max-width: 1100px;
  min-width: 280px;
}

/* Botón de cierre */
.tmodal__close {
  position: absolute;
    top: 0px;
    right: 2px;
    z-index: 2;
    width: 40px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #f6efff;
    background: #822955;
    border: 1px solid rgba(255, 47, 158, 0.55);
    box-shadow: 0 0 8px rgba(255, 47, 158, 0.35);
    transition: background 0.15s ease, transform 0.15s ease;
    font-size: .6rem;
}

.tmodal__close:hover {
  background: #ff2f9e;
  color: #0b0417;
  transform: scale(1.06);
}

.tmodal__close:focus-visible {
  outline: 2px solid #ff2f9e;
  outline-offset: 3px;
}

/* Pestañas */
.tmodal__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.tmodal__tab {
  padding: 10px 20px;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #b8a7d9;
  background: rgba(26, 11, 48, 0.9);
  border: 1px solid rgba(246, 239, 255, 0.14);
  border-bottom: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.tmodal__tab:hover { color: #f6efff; }

.tmodal__tab.is-active {
  color: #0b0417;
  background: linear-gradient(100deg, #ff2f9e, #ff7a3d);
  border-color: transparent;
}

.tmodal__tab:focus-visible {
  outline: 2px solid #ff2f9e;
  outline-offset: 2px;
}

/* Contenedor del iframe — 16:9 */
.tmodal__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(255, 47, 158, 0.22);
}

.tmodal__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Bloquea el scroll del fondo mientras el modal está abierto */
body.tmodal-open {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 900px) {
  .tmodal { padding: 16px; }

  .tmodal__dialog { width: 94%; }

  .tmodal__close {
    top: -10px;
    right: -6px;
    width: 36px;
    height: 36px;
  }

  .tmodal__tab {
    padding: 9px 14px;
    font-size: 13px;
    flex: 1;
  }
}