/* ══════════════════════════════════════
   Gaming.css — landing /gaming (SMED Gaming). Prefijo gz-.
   Paleta: negro, azul neón y verde aguamarina/esmeralda.
   El protagonista es el video de la intro (gamingIntro.js) en una mazmorra;
   el título HTML forjado queda como respaldo si el video no carga.
══════════════════════════════════════ */
.gz-page {
  --gz-black: #030608;
  --gz-blue: #1e90ff;
  --gz-neon: #38bdf8;
  --gz-emerald: #10e8b0;
  --gz-aqua: #2dd4bf;
  background: var(--gz-black);
}

.gz-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 110px 20px 60px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(55% 40% at 50% 80%, rgba(16,232,176,0.16), transparent 70%),
    radial-gradient(50% 50% at 50% 30%, rgba(30,144,255,0.22), transparent 70%),
    linear-gradient(rgba(56,189,248,0.05) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, rgba(56,189,248,0.05) 1px, transparent 1px) 0 0 / 46px 46px,
    radial-gradient(120% 90% at 50% 100%, #04141a 0%, var(--gz-black) 65%);
}

.gz-sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; }

.gz-stage { position: relative; z-index: 2; width: min(1100px, 100%); display: grid; justify-items: center; text-align: center; }

.gz-kicker {
  margin: 0 0 6px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gz-emerald);
  text-shadow: 0 0 12px rgba(16,232,176,0.6);
  opacity: 0;
  transition: opacity 0.8s ease;
}
.gz-hero.is-titled .gz-kicker { opacity: 1; }

/* ── Título forjado (respaldo si el video no carga): acero con borde neón ── */
.gz-title {
  position: relative;
  margin: 210px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.35em;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(2.6rem, 9vw, 7.2rem);
  line-height: 1;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: scale(1.35);
  filter: blur(6px);
}
.gz-word {
  --heat: 0;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, #ffffff calc(var(--heat) * 100%), #e6f6ff) 0%,
      color-mix(in srgb, #a5f3fc calc(var(--heat) * 100%), #8aa4bd) 40%,
      color-mix(in srgb, #22d3ee calc(var(--heat) * 100%), #3b4d63) 70%,
      color-mix(in srgb, #0ea5e9 calc(var(--heat) * 100%), #111c2a) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px rgba(56,189,248,calc(0.35 + var(--heat) * 0.5));
  filter: drop-shadow(0 0 calc(6px + var(--heat) * 28px) rgba(56,189,248,calc(0.35 + var(--heat) * 0.6)));
}
.gz-word--accent {
  -webkit-text-stroke-color: rgba(16,232,176,calc(0.45 + var(--heat) * 0.4));
  filter: drop-shadow(0 0 calc(6px + var(--heat) * 28px) rgba(16,232,176,calc(0.4 + var(--heat) * 0.5)));
}
.gz-hero.is-static .gz-title { margin-top: 40px; }
.gz-hero.is-static .gz-kicker,
.gz-hero.is-static .gz-title,
.gz-hero.is-titled .gz-title {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 0.15s ease, transform 0.5s cubic-bezier(0.2, 1.5, 0.4, 1), filter 0.4s ease;
}
/* Borde neón que late en las letras ya frías */
.gz-hero.is-static .gz-word { animation: gzNeon 3s ease-in-out infinite; }
.gz-hero.is-static .gz-word--accent { animation-delay: 1.5s; }
@keyframes gzNeon { 50% { filter: drop-shadow(0 0 18px rgba(16,232,176,0.7)); } }


/* ── Después de la intro ── */
.gz-after { position: relative; z-index: 6; margin-top: 26px; opacity: 0; transform: translateY(14px); transition: opacity 0.8s ease, transform 0.8s ease; }
.gz-hero.is-done .gz-after { opacity: 1; transform: none; }
.gz-lead { margin: 0 auto 24px; max-width: 620px; font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,0.75); }
.gz-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.gz-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid rgba(56,189,248,0.35);
  background: rgba(56,189,248,0.06);
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.gz-btn i { font-size: 1.2rem; }
.gz-btn:hover { transform: translateY(-2px); border-color: var(--gz-emerald); box-shadow: 0 0 20px rgba(16,232,176,0.35); }
.gz-btn--primary { border: 0; color: #02110d; background: linear-gradient(135deg, var(--gz-neon), var(--gz-emerald)); box-shadow: 0 16px 40px -14px rgba(16,232,176,0.7); }
.gz-btn--ghost { background: transparent; border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.75); }

@media (max-width: 600px) {
  .gz-title { margin-top: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  .gz-hero.is-static .gz-word { animation: none; }
}

/* ══ Mazmorra de fondo (misma paleta: negro, azul neón, esmeralda) ══ */
.gz-dungeon { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
/* Muro de piedra: bloques irregulares con juntas de brillo aguamarina tenue */
.gz-wall {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(70% 55% at 50% 45%, transparent 30%, rgba(3,6,8,0.85) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='150'%3E%3Cg fill='%23081218' stroke='%23123a44' stroke-opacity='0.55' stroke-width='2'%3E%3Crect x='1' y='1' width='94' height='46' rx='4'/%3E%3Crect x='97' y='1' width='70' height='46' rx='4'/%3E%3Crect x='169' y='1' width='70' height='46' rx='4'/%3E%3Crect x='-40' y='51' width='86' height='46' rx='4'/%3E%3Crect x='48' y='51' width='104' height='46' rx='4'/%3E%3Crect x='154' y='51' width='84' height='46' rx='4'/%3E%3Crect x='1' y='101' width='62' height='46' rx='4'/%3E%3Crect x='65' y='101' width='96' height='46' rx='4'/%3E%3Crect x='163' y='101' width='76' height='46' rx='4'/%3E%3C/g%3E%3Cg fill='%2310e8b0' fill-opacity='0.04'%3E%3Crect x='97' y='1' width='70' height='14'/%3E%3Crect x='48' y='51' width='104' height='10'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 100% 100%, 240px 150px;
  opacity: 0.9;
}
.gz-arch { position: absolute; bottom: 0; height: 100%; width: auto; max-width: 26vw; opacity: 0.95; }
.gz-arch--l { left: -2vw; }
.gz-arch--r { right: -2vw; }

/* Antorchas con llama neón que titila e ilumina el muro */
.gz-torch { position: absolute; width: 16px; height: 46px; border-radius: 4px 4px 8px 8px; background: linear-gradient(180deg, #1f2a33, #0a0f14); box-shadow: 0 0 0 2px #0e1c24; --flame: #38bdf8; --flame-2: #1e90ff; }
.gz-torch--green { --flame: #10e8b0; --flame-2: #0d9488; }
.gz-torch::before { content: ''; position: absolute; left: 50%; top: -14px; width: 240px; height: 240px; translate: -50% -40%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--flame) 28%, transparent), transparent); animation: gzGlow 2.4s ease-in-out infinite; }
.gz-torch i { position: absolute; left: 50%; bottom: 100%; width: 22px; height: 38px; translate: -50% 4px; border-radius: 50% 50% 45% 45% / 65% 65% 35% 35%; background: radial-gradient(ellipse at 50% 75%, #ffffff 0%, var(--flame) 35%, var(--flame-2) 65%, transparent 72%); filter: blur(0.6px) drop-shadow(0 0 10px var(--flame)); transform-origin: 50% 100%; animation: gzFlicker 0.9s ease-in-out infinite alternate; }
.gz-torch--1 { left: 13%; top: 34%; }
.gz-torch--2 { left: 27%; top: 52%; animation-delay: 0.3s; }
.gz-torch--3 { right: 27%; top: 52%; }
.gz-torch--4 { right: 13%; top: 34%; }
.gz-torch--2 i, .gz-torch--3 i { animation-duration: 1.1s; }
@keyframes gzFlicker { 0% { transform: scale(1, 1) rotate(-3deg); } 40% { transform: scale(0.92, 1.12) rotate(2deg); } 70% { transform: scale(1.05, 0.94) rotate(-1deg); } 100% { transform: scale(0.96, 1.08) rotate(3deg); } }
@keyframes gzGlow { 50% { opacity: 0.7; transform: scale(0.94); } }

/* Niebla baja que se mueve */
.gz-fog { position: absolute; left: -20%; right: -20%; bottom: -8%; height: 38%; background: radial-gradient(40% 60% at 25% 70%, rgba(16,232,176,0.12), transparent 70%), radial-gradient(45% 60% at 70% 75%, rgba(56,189,248,0.14), transparent 70%), linear-gradient(180deg, transparent, rgba(4,20,26,0.9)); filter: blur(10px); animation: gzFog 14s ease-in-out infinite alternate; }
@keyframes gzFog { to { transform: translateX(6%); } }

/* ══ Video de fondo: cubre toda la sección ══ */
.gz-screen { display: none; position: absolute; left: 0; right: 0; top: 0; height: 100vh; min-height: 560px; z-index: 0; overflow: hidden; }
.gz-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; background: #030608; }
/* Funde el video con la página: viñeteado y degradados arriba/abajo */
.gz-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3,6,8,0.85) 0%, transparent 20%, transparent 72%, #030608 100%),
    radial-gradient(85% 75% at 50% 45%, transparent 55%, rgba(3,6,8,0.9) 100%);
}

.gz-hero.is-video .gz-screen { display: block; }
/* Con video, del calabozo solo quedan los arcos, las antorchas y la niebla encima */
.gz-hero.is-video .gz-dungeon { z-index: 1; }
.gz-hero.is-video .gz-wall { display: none; }
.gz-hero.is-video .gz-arch { opacity: 0.92; }
.gz-hero.is-video .gz-torch--2,
.gz-hero.is-video .gz-torch--3 { display: none; }
/* En modo video el título HTML queda solo para lectores de pantalla y buscadores */
.gz-hero.is-video .gz-title { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; opacity: 1; transform: none; filter: none; }
/* Texto arriba y botones abajo, flotando sobre el video */
.gz-hero.is-video { place-items: stretch; min-height: calc(100vh + 200px); }
.gz-hero.is-video .gz-stage {
  align-self: stretch;
  justify-self: center;
  min-height: calc(100vh + 30px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.gz-hero.is-video .gz-kicker, .gz-hero.is-static .gz-kicker { opacity: 1; margin-bottom: 14px; }
.gz-hero.is-video .gz-after { margin-top: 0; }
.gz-hero.is-video .gz-lead { text-shadow: 0 2px 12px rgba(0,0,0,0.9); }

@media (max-width: 900px) {
  .gz-arch { max-width: 34vw; opacity: 0.6; }
  .gz-torch--2, .gz-torch--3 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gz-torch i, .gz-torch::before, .gz-fog { animation: none; }
}

/* Filtro de puntos azulados sobre el video (trama tipo pantalla) */
.gz-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(circle at center, rgba(56,189,248,0.55) 0 1.1px, transparent 1.6px);
  background-size: 5px 5px;
  opacity: 0.5;
  mix-blend-mode: screen;
}
/* Tinte azul suave para unificar el color del video con la paleta */
.gz-video { filter: saturate(1.1) hue-rotate(-6deg); }
.gz-screen::after { z-index: 2; }
/* Fondo liso bajo el video para que el fundido no deje línea */
.gz-hero.is-video { background: #030608; }

/* ══ Al terminar el video: se desvanece y queda solo el logo SMED GAMING ══ */
.gz-hero.is-video .gz-screen { transition: opacity 1.2s ease; }
.gz-hero.is-ended .gz-screen { opacity: 0; pointer-events: none; }
.gz-hero.is-video.is-ended .gz-wall { display: block; }
.gz-hero.is-video.is-ended .gz-title {
  position: relative;
  width: auto;
  height: auto;
  margin: auto 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  animation: gzLogoIn 1.1s cubic-bezier(0.2, 1.2, 0.4, 1) both;
}
.gz-hero.is-ended .gz-word { animation: gzNeon 3s ease-in-out infinite; }
.gz-hero.is-ended .gz-word--accent { animation-delay: 1.5s; }
.gz-hero.is-video.is-ended { min-height: 100vh; }
.gz-hero.is-video.is-ended .gz-stage { min-height: calc(100vh - 170px); }
@keyframes gzLogoIn { from { opacity: 0; transform: scale(1.15); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) {
  .gz-hero.is-video.is-ended .gz-title, .gz-hero.is-ended .gz-word { animation: none; }
}

/* ══════════════════════════════════════
   CADA FPS CUENTA (gamingFps.js)
══════════════════════════════════════ */
.gf-section {
  position: relative;
  padding: clamp(70px, 9vw, 120px) 24px;
  color: #fff;
  background:
    radial-gradient(50% 40% at 15% 20%, rgba(30,144,255,0.14), transparent 70%),
    radial-gradient(45% 40% at 85% 70%, rgba(16,232,176,0.12), transparent 70%),
    linear-gradient(rgba(56,189,248,0.04) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, rgba(56,189,248,0.04) 1px, transparent 1px) 0 0 / 46px 46px,
    #030608;
  overflow: hidden;
}
.gf-head, .gf-compare, .gf-services, .gf-goals { max-width: 1180px; margin-left: auto; margin-right: auto; }
.gf-head { text-align: center; margin-bottom: 44px; }
.gf-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-family: 'Orbitron', sans-serif; font-size: 0.72rem; letter-spacing: 4px; text-transform: uppercase; color: #10e8b0; text-shadow: 0 0 12px rgba(16,232,176,0.5); }
.gf-title { margin: 0 0 16px; font-family: 'Orbitron', sans-serif; font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: 1px; }
.gf-title span { background: linear-gradient(90deg, #38bdf8, #10e8b0); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(16,232,176,0.45)); }
.gf-lead { margin: 0 auto; max-width: 720px; font-size: 1.05rem; line-height: 1.75; color: rgba(255,255,255,0.72); }

/* Comparación en vivo */
.gf-compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center; margin-bottom: 56px; }
.gf-monitor { margin: 0; padding: 12px; border-radius: 18px; background: #070d12; border: 1px solid rgba(56,189,248,0.18); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.9); }
.gf-monitor--high { border-color: rgba(16,232,176,0.45); box-shadow: 0 0 40px -12px rgba(16,232,176,0.45), 0 30px 60px -30px rgba(0,0,0,0.9); }
.gf-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #02070b; }
.gf-screen canvas { display: block; width: 100%; height: 100%; }
.gf-fps { position: absolute; top: 10px; left: 12px; font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 0.78rem; color: rgba(255,255,255,0.7); padding: 4px 8px; border-radius: 6px; background: rgba(0,0,0,0.55); }
.gf-fps b { font-size: 1.05rem; color: #facc15; }
.gf-monitor--high .gf-fps b { color: #10e8b0; }
.gf-monitor figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 4px 6px; font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.gf-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-weight: 700; font-size: 0.78rem; }
.gf-tag--bad { color: #fbbf24; background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.3); }
.gf-tag--good { color: #10e8b0; background: rgba(16,232,176,0.1); border: 1px solid rgba(16,232,176,0.35); }
.gf-graph { display: block; width: 100%; height: 46px; margin-top: 4px; border-radius: 8px; background: rgba(255,255,255,0.03); }
.gf-vs { font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: 1.4rem; color: rgba(255,255,255,0.35); }

/* Servicios */
.gf-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 56px; }
.gf-card {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(14,40,60,0.85), rgba(5,12,18,0.95));
  border: 1px solid rgba(56,189,248,0.2);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.gf-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, #38bdf8, #10e8b0, transparent); opacity: 0.7; }
.gf-card:hover { transform: translateY(-6px); border-color: rgba(16,232,176,0.55); box-shadow: 0 0 40px -10px rgba(16,232,176,0.4); }
.gf-card-ico { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 18px; border-radius: 14px; background: linear-gradient(135deg, #1e90ff, #10e8b0); color: #02110d; font-size: 1.6rem; box-shadow: 0 0 24px rgba(16,232,176,0.35); }
.gf-card-num { position: absolute; top: 18px; right: 22px; font-family: 'Orbitron', sans-serif; font-size: 2.4rem; font-weight: 900; color: rgba(56,189,248,0.12); }
.gf-card h3 { margin: 0 0 10px; font-family: 'Orbitron', sans-serif; font-size: 1.15rem; letter-spacing: 1px; }
.gf-card p { margin: 0 0 16px; font-size: 0.9rem; line-height: 1.65; color: rgba(255,255,255,0.7); }
.gf-card ul { margin: 0; padding: 14px 0 0; list-style: none; display: grid; gap: 8px; border-top: 1px dashed rgba(56,189,248,0.2); }
.gf-card li { display: flex; gap: 8px; align-items: center; font-size: 0.84rem; font-weight: 600; color: #e0f2fe; }
.gf-card li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #10e8b0; box-shadow: 0 0 8px #10e8b0; flex-shrink: 0; }

/* ¿Qué quieres lograr? */
.gf-goals { padding: 30px; border-radius: 24px; background: rgba(7,13,18,0.9); border: 1px solid rgba(56,189,248,0.2); }
.gf-goals-head h3 { margin: 0 0 4px; font-family: 'Orbitron', sans-serif; font-size: 1.3rem; }
.gf-goals-head p { margin: 0 0 18px; color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.gf-goal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.gf-goal-tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 12px; border: 1px solid rgba(56,189,248,0.25); background: transparent; color: rgba(255,255,255,0.75); font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: all 0.25s ease; }
.gf-goal-tabs button i { font-size: 1.15rem; color: #38bdf8; }
.gf-goal-tabs button:hover { border-color: #10e8b0; color: #fff; }
.gf-goal-tabs button[aria-selected="true"] { background: linear-gradient(135deg, rgba(30,144,255,0.25), rgba(16,232,176,0.25)); border-color: #10e8b0; color: #fff; box-shadow: 0 0 22px -6px rgba(16,232,176,0.6); }
.gf-goal-tabs button[aria-selected="true"] i { color: #10e8b0; }
.gf-goal-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 30px; align-items: center; }
.gf-goal-text b { display: block; margin-bottom: 8px; font-size: 1.15rem; }
.gf-goal-text p { margin: 0 0 14px; font-size: 0.92rem; line-height: 1.65; color: rgba(255,255,255,0.7); }
.gf-goal-target { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; background: rgba(16,232,176,0.08); border: 1px solid rgba(16,232,176,0.3); font-size: 0.82rem; color: #a7f3d0; }
.gf-goal-target b { display: inline; margin: 0; font-size: inherit; color: #fff; }
.gf-bars { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.gf-bars li { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 12px; font-size: 0.84rem; color: rgba(255,255,255,0.75); }
.gf-bars i { display: block; height: 10px; border-radius: 10px; background: rgba(255,255,255,0.06); overflow: hidden; }
.gf-bars em { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #1e90ff, #10e8b0); box-shadow: 0 0 12px rgba(16,232,176,0.5); transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.gf-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(56,189,248,0.15); color: rgba(255,255,255,0.75); }
.gf-cta b { color: #fff; }

@media (max-width: 900px) {
  .gf-compare { grid-template-columns: 1fr; }
  .gf-vs { text-align: center; }
  .gf-services { grid-template-columns: 1fr; }
  .gf-goal-panel { grid-template-columns: 1fr; }
  .gf-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .gf-section { padding-left: 16px; padding-right: 16px; }
  .gf-goals { padding: 20px; }
  .gf-bars li { grid-template-columns: 100px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .gf-card, .gf-bars em { transition: none; }
}

/* ══ Llamado al scroll (al terminar el video) ══ */
html { scroll-behavior: smooth; }
.gz-scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  translate: -50% 12px;
  color: #a7f3d0;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease 0.6s, translate 0.8s ease 0.6s;
}
.gz-hero.is-ended .gz-scroll, .gz-hero.is-static .gz-scroll { opacity: 1; translate: -50% 0; pointer-events: auto; }
.gz-mouse { position: relative; width: 26px; height: 40px; border-radius: 14px; border: 2px solid rgba(16,232,176,0.8); box-shadow: 0 0 16px rgba(16,232,176,0.45); }
.gz-mouse i { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #10e8b0; box-shadow: 0 0 8px #10e8b0; animation: gzWheel 1.6s ease-in-out infinite; }
.gz-scroll-txt { font-family: 'Orbitron', sans-serif; font-size: 0.66rem; letter-spacing: 3px; text-transform: uppercase; text-shadow: 0 0 10px rgba(16,232,176,0.6); }
.gz-chevrons { display: flex; flex-direction: column; line-height: 0.55; font-size: 1.3rem; color: #38bdf8; }
.gz-chevrons i { animation: gzChev 1.6s ease-in-out infinite; }
.gz-chevrons i + i { animation-delay: 0.2s; }
.gz-scroll:hover .gz-mouse { border-color: #38bdf8; box-shadow: 0 0 22px rgba(56,189,248,0.6); }
.gz-scroll:focus-visible { outline: 2px solid #10e8b0; outline-offset: 6px; border-radius: 12px; }
@keyframes gzWheel { 0% { opacity: 0; transform: translateY(-2px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes gzChev { 0%, 100% { opacity: 0.25; transform: translateY(-3px); } 50% { opacity: 1; transform: translateY(3px); } }
/* Que los botones no choquen con el indicador */
.gz-hero.is-video.is-ended .gz-stage { min-height: calc(100vh - 260px); padding-bottom: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gz-mouse i, .gz-chevrons i { animation: none; }
}

/* ══════════════════════════════════════
   CONSIGUE TODO AQUÍ (inventario de piezas)
══════════════════════════════════════ */
.gb-section, .gv-section {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 24px;
  color: #fff;
  background:
    radial-gradient(45% 40% at 80% 20%, rgba(16,232,176,0.1), transparent 70%),
    radial-gradient(45% 40% at 15% 80%, rgba(30,144,255,0.12), transparent 70%),
    #030608;
}
.gb-head { max-width: 820px; margin: 0 auto 40px; text-align: center; }
.gb-inventory {
  max-width: 1180px;
  margin: 0 auto 40px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.gb-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 22px 12px 18px;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(170deg, rgba(14,40,60,0.7), rgba(5,12,18,0.95));
  border: 1px solid rgba(56,189,248,0.22);
  transition: transform 0.3s cubic-bezier(0.22, 1.2, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  animation: gbIn 0.6s ease both;
  animation-delay: var(--d, 0ms);
}
/* esquinas de casilla de inventario */
.gb-slot::before, .gb-slot::after { content: ''; position: absolute; width: 12px; height: 12px; border-color: #10e8b0; border-style: solid; opacity: 0.55; }
.gb-slot::before { top: 6px; left: 6px; border-width: 2px 0 0 2px; border-top-left-radius: 6px; }
.gb-slot::after { bottom: 6px; right: 6px; border-width: 0 2px 2px 0; border-bottom-right-radius: 6px; }
.gb-slot:hover { transform: translateY(-5px) scale(1.03); border-color: #10e8b0; box-shadow: 0 0 30px -8px rgba(16,232,176,0.55); }
.gb-slot-ico { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 8px; border-radius: 14px; background: rgba(56,189,248,0.1); border: 1px solid rgba(56,189,248,0.3); color: #38bdf8; font-size: 1.7rem; transition: all 0.3s ease; }
.gb-slot:hover .gb-slot-ico { background: linear-gradient(135deg, #1e90ff, #10e8b0); color: #02110d; box-shadow: 0 0 20px rgba(16,232,176,0.5); }
.gb-slot b { font-size: 0.88rem; }
.gb-slot span:last-child { font-size: 0.74rem; color: rgba(255,255,255,0.55); }
@keyframes gbIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.gb-steps {
  max-width: 1180px;
  margin: 0 auto 34px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.gb-steps li { display: flex; gap: 12px; padding: 16px; border-radius: 14px; background: rgba(7,13,18,0.9); border: 1px solid rgba(56,189,248,0.15); }
.gb-steps span { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #1e90ff, #10e8b0); color: #02110d; font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: 0.85rem; }
.gb-steps b { display: block; margin: 4px 0 3px; font-size: 0.92rem; }
.gb-steps p { margin: 0; font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.gb-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ══════════════════════════════════════
   NUESTROS ENSAMBLES (YouTube)
══════════════════════════════════════ */
.gv-frame {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px rgba(56,189,248,0.4), 0 0 60px -12px rgba(16,232,176,0.45), 0 40px 80px -30px rgba(0,0,0,0.9);
}
.gv-facade { position: absolute; inset: 0; padding: 0; border: 0; background: #000; cursor: pointer; display: grid; place-items: center; }
.gv-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: opacity 0.3s ease, transform 0.6s ease; }
.gv-facade::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle, transparent 40%, rgba(3,6,8,0.75)); }
.gv-facade:hover img { opacity: 0.9; transform: scale(1.03); }
.gv-play {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e90ff, #10e8b0);
  color: #02110d;
  font-size: 3rem;
  box-shadow: 0 0 0 10px rgba(16,232,176,0.18), 0 0 40px rgba(16,232,176,0.6);
  animation: gvPulse 2s ease-in-out infinite;
}
.gv-label { position: absolute; z-index: 1; left: 50%; bottom: 22px; translate: -50% 0; padding: 7px 14px; border-radius: 999px; background: rgba(3,6,8,0.75); border: 1px solid rgba(56,189,248,0.35); font-family: 'Orbitron', sans-serif; font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; color: #a7f3d0; }
.gv-facade:focus-visible { outline: 3px solid #10e8b0; outline-offset: -3px; }
@keyframes gvPulse { 50% { box-shadow: 0 0 0 18px rgba(16,232,176,0.08), 0 0 50px rgba(16,232,176,0.7); } }
.gv-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gv-more { margin: 18px 0 0; text-align: center; }
.gv-more a { display: inline-flex; align-items: center; gap: 6px; color: #a7f3d0; font-weight: 600; text-decoration: none; }
.gv-more a i { font-size: 1.4rem; color: #38bdf8; }
.gv-more a:hover { color: #fff; }

@media (max-width: 980px) {
  .gb-inventory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .gb-section, .gv-section { padding-left: 16px; padding-right: 16px; }
  .gb-inventory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gb-steps { grid-template-columns: 1fr; }
  .gv-play { width: 68px; height: 68px; font-size: 2.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .gb-slot, .gv-play { animation: none; }
}

/* Inventario en 3D (gamingParts3D.js): un lienzo encima pinta cada pieza en su casilla */
.gb-inv-wrap { position: relative; max-width: 1180px; margin: 0 auto 40px; }
.gb-inv-wrap .gb-inventory { margin-bottom: 0; }
.gb-3d { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.gb-3d canvas { display: block; width: 100%; height: 100%; }
.gb-slot-stage { display: grid; place-items: center; width: 100%; height: 120px; margin-bottom: 6px; color: #38bdf8; font-size: 2.2rem; }
.has-gb-3d .gb-slot-stage i { visibility: hidden; }
.gb-slot:hover .gb-slot-stage { color: #10e8b0; }

/* ══════════════════════════════════════
   TORNEOS (más allá del taller)
══════════════════════════════════════ */
.gt-section {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 24px;
  color: #fff;
  background:
    radial-gradient(50% 45% at 50% 0%, rgba(16,232,176,0.14), transparent 70%),
    linear-gradient(rgba(56,189,248,0.04) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, rgba(56,189,248,0.04) 1px, transparent 1px) 0 0 / 46px 46px,
    #030608;
}
.gt-features { max-width: 1180px; margin: 0 auto 36px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gt-features li { display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: rgba(7,13,18,0.9); border: 1px solid rgba(56,189,248,0.18); }
.gt-features i { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #1e90ff, #10e8b0); color: #02110d; font-size: 1.4rem; }
.gt-features b { display: block; margin: 2px 0 4px; font-size: 0.95rem; }
.gt-features span { font-size: 0.84rem; color: rgba(255,255,255,0.62); line-height: 1.5; }

.gt-games { max-width: 1180px; margin: 0 auto 16px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; perspective: 900px; }
.gt-game {
  --gc: #38bdf8;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 230px;
  padding: 16px;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(90% 60% at 50% 25%, color-mix(in srgb, var(--gc) 35%, transparent), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 10px),
    linear-gradient(180deg, #0a1a24, #04080b);
  border: 1px solid color-mix(in srgb, var(--gc) 40%, transparent);
  transition: transform 0.4s cubic-bezier(0.22, 1.2, 0.36, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}
.gt-game::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(3,6,8,0.92)); }
.gt-game:hover { transform: translateY(-8px) rotateX(6deg); border-color: var(--gc); box-shadow: 0 24px 50px -20px color-mix(in srgb, var(--gc) 70%, transparent); }
.gt-game-art { position: absolute; left: 50%; top: 30%; translate: -50% -50%; z-index: -1; font-size: 5rem; color: var(--gc); opacity: 0.55; filter: drop-shadow(0 0 20px var(--gc)); transition: transform 0.5s ease, opacity 0.3s ease; }
.gt-game:hover .gt-game-art { transform: scale(1.12) rotate(-6deg); opacity: 0.85; }
.gt-game-genre { align-self: flex-start; margin-bottom: 6px; padding: 3px 9px; border-radius: 999px; background: rgba(3,6,8,0.7); border: 1px solid color-mix(in srgb, var(--gc) 50%, transparent); font-size: 0.64rem; font-weight: 600; color: var(--gc); }
.gt-game h3 { margin: 0; font-family: 'Orbitron', sans-serif; font-size: 0.98rem; letter-spacing: 0.5px; line-height: 1.2; }
.gt-game--more { border-style: dashed; }
.gt-note { max-width: 1180px; margin: 0 auto 28px; text-align: center; font-size: 0.72rem; color: rgba(255,255,255,0.4); }

@media (max-width: 1080px) { .gt-games { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .gt-features { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .gt-section { padding-left: 16px; padding-right: 16px; }
  .gt-games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gt-game { min-height: 190px; }
}
@media (prefers-reduced-motion: reduce) { .gt-game, .gt-game-art { transition: none; } }

/* ══════════════════════════════════════
   MARCAS: carrusel infinito de logos
══════════════════════════════════════ */
.gl-section { position: relative; padding: 46px 0 40px; background: #030608; border-top: 1px solid rgba(56,189,248,0.12); border-bottom: 1px solid rgba(56,189,248,0.12); overflow: hidden; }
.gl-title { margin: 0 0 24px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Orbitron', sans-serif; font-size: 0.78rem; letter-spacing: 3px; text-transform: uppercase; color: #a7f3d0; }
.gl-title i { font-size: 1.2rem; color: #10e8b0; }
.gl-marquee {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.gl-track { display: flex; width: max-content; animation: glScroll 38s linear infinite; }
.gl-marquee:hover .gl-track { animation-play-state: paused; }
.gl-track ul { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0 11px; list-style: none; }
.gl-track li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 14px;
  background: rgba(7,13,18,0.9);
  border: 1px solid rgba(56,189,248,0.16);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.gl-track li:hover { border-color: rgba(16,232,176,0.6); box-shadow: 0 0 26px -8px rgba(16,232,176,0.6); }
/* El logo se pinta con el degradado neón usando el SVG como máscara */
.gl-logo {
  width: 70px;
  height: 36px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #38bdf8, #10e8b0);
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
  opacity: 0.85;
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.gl-track li:hover .gl-logo { opacity: 1; filter: drop-shadow(0 0 8px rgba(16,232,176,0.8)); }
.gl-track em { font-style: normal; font-weight: 700; font-size: 0.9rem; color: rgba(255,255,255,0.8); white-space: nowrap; }
.gl-note { margin: 18px 0 0; text-align: center; font-size: 0.7rem; color: rgba(255,255,255,0.38); }
@keyframes glScroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .gl-track { animation: none; }
  .gl-marquee { overflow-x: auto; }
}

/* ══ Armado: foto de Cristian + servicios conectados (gamingFps.js) ══ */
.gf-build { max-width: 1180px; margin: 0 auto 56px; display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.gf-photo { position: relative; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 1600 / 893; box-shadow: 0 0 0 1px rgba(56,189,248,0.35), 0 0 50px -14px rgba(16,232,176,0.45), 0 40px 80px -30px rgba(0,0,0,0.9); }
.gf-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gf-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(3,6,8,0.9)), radial-gradient(circle at 50% 50%, transparent 55%, rgba(3,6,8,0.45)); }
.gf-photo figcaption { position: absolute; left: 22px; bottom: 18px; z-index: 2; display: flex; flex-direction: column; gap: 2px; }
.gf-photo figcaption b { font-family: 'Orbitron', sans-serif; font-size: 1.05rem; }
.gf-photo figcaption span { font-size: 0.82rem; color: #a7f3d0; }

/* Puntos luminosos sobre la foto */
.gf-spot {
  position: absolute;
  z-index: 3;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid #10e8b0;
  background: rgba(3,6,8,0.75);
  color: #fff;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(16,232,176,0.6);
  animation: gfSpot 2s ease-out infinite;
  transition: transform 0.3s ease, background 0.3s ease;
}
.gf-spot span { font-family: 'Orbitron', sans-serif; font-size: 0.68rem; font-weight: 700; }
.gf-spot.is-active { transform: scale(1.25); background: linear-gradient(135deg, #1e90ff, #10e8b0); color: #02110d; border-color: #fff; }
.gf-spot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@keyframes gfSpot { 0% { box-shadow: 0 0 0 0 rgba(16,232,176,0.6); } 100% { box-shadow: 0 0 0 16px rgba(16,232,176,0); } }

/* Tarjetas en columna: solo la activa despliega su lista */
.gf-build .gf-services { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.gf-build .gf-card { padding: 18px 22px; cursor: pointer; }
.gf-build .gf-card-ico { width: 42px; height: 42px; margin-bottom: 12px; font-size: 1.35rem; }
.gf-build .gf-card p { margin-bottom: 0; font-size: 0.86rem; }
.gf-build .gf-card ul { max-height: 0; overflow: hidden; padding-top: 0; border-top-color: transparent; transition: max-height 0.45s ease, padding 0.45s ease, margin 0.45s ease, border-color 0.3s ease; }
.gf-build .gf-card.is-active { border-color: rgba(16,232,176,0.65); box-shadow: 0 0 36px -10px rgba(16,232,176,0.5); }
.gf-build .gf-card.is-active ul { max-height: 140px; margin-top: 14px; padding-top: 12px; border-top-color: rgba(56,189,248,0.2); }
.gf-build .gf-card:hover { transform: translateX(-4px); }

@media (max-width: 900px) {
  .gf-build { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .gf-spot { animation: none; } }
/* Inactivas: solo icono y título en una fila; la activa despliega texto y lista */
.gf-build .gf-card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.gf-build .gf-card-ico { margin-bottom: 0; grid-row: 1; }
.gf-build .gf-card h3 { margin: 0; grid-row: 1; }
.gf-build .gf-card p, .gf-build .gf-card ul { grid-column: 1 / -1; }
.gf-build .gf-card p { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.45s ease, opacity 0.3s ease, margin 0.45s ease; }
.gf-build .gf-card.is-active p { max-height: 120px; opacity: 1; margin-top: 12px; }
.gf-build .gf-card-num { top: 50%; translate: 0 -50%; font-size: 1.9rem; }
.gf-build .gf-card.is-active .gf-card-num { top: 18px; translate: none; }

/* Portadas de los juegos de fondo en cada tarjeta */
.gt-game-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease; }
.gt-game:hover .gt-game-img { transform: scale(1.08); opacity: 1; }
/* Con portada, el ícono neón ya no hace falta */
.gt-game-img ~ .gt-game-art { display: none; }
/* Borde de color y degradado inferior más fuerte para que el texto se lea sobre la imagen */
.gt-game:has(.gt-game-img)::after { background: linear-gradient(180deg, transparent 35%, rgba(3,6,8,0.55) 60%, rgba(3,6,8,0.95)); }
.gt-game:has(.gt-game-img) { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gc) 35%, transparent); }

/* ══════════════════════════════════════
   LÍDER DE SMED GAMING
══════════════════════════════════════ */
.gc-section { padding: clamp(50px, 7vw, 90px) 24px clamp(70px, 9vw, 110px); background: #030608; color: #fff; }
.gc-card {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(14,40,60,0.85), rgba(5,12,18,0.98));
  border: 1px solid rgba(56,189,248,0.3);
  box-shadow: 0 0 60px -18px rgba(16,232,176,0.45), 0 40px 80px -30px rgba(0,0,0,0.9);
}
.gc-photo { position: relative; margin: 0; min-height: 380px; }
.gc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(1.05); }
.gc-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(5,12,18,0.95)), linear-gradient(180deg, transparent 60%, rgba(3,6,8,0.7)); }
.gc-photo figcaption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1e90ff, #10e8b0);
  color: #02110d;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(16,232,176,0.55);
}
.gc-photo figcaption i { font-size: 1.05rem; }
.gc-info { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.gc-info .gf-kicker { justify-content: flex-start; }
.gc-info h2 { margin: 0 0 6px; font-family: 'Orbitron', sans-serif; font-size: clamp(1.6rem, 3vw, 2.3rem); background: linear-gradient(90deg, #ffffff, #a5f3fc 60%, #10e8b0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gc-role { margin: 0 0 16px; font-family: 'Orbitron', sans-serif; font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: #38bdf8; }
.gc-bio { margin: 0 0 20px; font-size: 0.98rem; line-height: 1.7; color: rgba(255,255,255,0.75); }
.gc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.gc-tags li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(56,189,248,0.08); border: 1px solid rgba(56,189,248,0.3); font-size: 0.8rem; font-weight: 600; color: #e0f2fe; }
.gc-tags i { color: #10e8b0; font-size: 1rem; }
.gc-actions { justify-content: flex-start; }
@media (max-width: 820px) {
  .gc-card { grid-template-columns: 1fr; }
  .gc-photo { min-height: 0; aspect-ratio: 4 / 3.2; }
  .gc-photo::after { background: linear-gradient(180deg, transparent 55%, rgba(5,12,18,0.95)); }
}

/* ══════════════════════════════════════
   SMED GAMING STUDIO · Próximamente
══════════════════════════════════════ */
.gs-section { padding: clamp(50px, 7vw, 90px) 24px 0; background: #030608; color: #fff; }
.gs-card {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 64px) clamp(22px, 5vw, 56px);
  border-radius: 26px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(30,144,255,0.25), transparent 70%),
    radial-gradient(50% 60% at 50% 100%, rgba(16,232,176,0.18), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 4px),
    #05090d;
  border: 1px dashed rgba(16,232,176,0.45);
}
/* Línea de escaneo que recorre la tarjeta */
.gs-scan { position: absolute; left: 0; right: 0; top: -20%; height: 18%; background: linear-gradient(180deg, transparent, rgba(56,189,248,0.12), transparent); animation: gsScan 5s linear infinite; pointer-events: none; }
@keyframes gsScan { to { top: 110%; } }
.gs-card .gf-kicker { justify-content: center; }

/* Título con efecto glitch */
.gs-title { position: relative; display: block; margin: 6px 0 14px; font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: clamp(1.7rem, 5.2vw, 3.6rem); letter-spacing: 2px; color: #e6f6ff; text-shadow: 0 0 22px rgba(56,189,248,0.6); }
.gs-title::before, .gs-title::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; }
.gs-title::before { color: #10e8b0; clip-path: inset(0 0 55% 0); animation: gsGlitchA 3.2s steps(1) infinite; }
.gs-title::after { color: #38bdf8; clip-path: inset(55% 0 0 0); animation: gsGlitchB 3.2s steps(1) infinite; }
@keyframes gsGlitchA { 0%, 88%, 100% { transform: none; opacity: 0; } 89% { transform: translate(-4px, -1px); opacity: 0.9; } 92% { transform: translate(3px, 1px); opacity: 0.9; } 95% { transform: translate(-2px, 0); opacity: 0.7; } }
@keyframes gsGlitchB { 0%, 88%, 100% { transform: none; opacity: 0; } 90% { transform: translate(4px, 1px); opacity: 0.9; } 93% { transform: translate(-3px, -1px); opacity: 0.9; } 96% { transform: translate(2px, 0); opacity: 0.7; } }

.gs-soon { display: inline-flex; margin-bottom: 18px; padding: 8px 18px; border-radius: 999px; background: linear-gradient(135deg, #1e90ff, #10e8b0); color: #02110d; font-family: 'Orbitron', sans-serif; font-size: 0.8rem; font-weight: 900; letter-spacing: 3px; text-transform: uppercase; box-shadow: 0 0 30px rgba(16,232,176,0.5); animation: gsPulse 2.4s ease-in-out infinite; }
@keyframes gsPulse { 50% { box-shadow: 0 0 46px rgba(16,232,176,0.8); transform: scale(1.04); } }
.gs-lead { margin: 0 auto 28px; max-width: 640px; font-size: 1.02rem; line-height: 1.7; color: rgba(255,255,255,0.75); }
.gs-hints { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 820px; margin: 0 auto 28px; padding: 0; list-style: none; }
.gs-hints li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 14px; border-radius: 16px; background: rgba(7,13,18,0.85); border: 1px solid rgba(56,189,248,0.2); }
.gs-hints i { font-size: 1.7rem; color: #38bdf8; margin-bottom: 4px; }
.gs-hints b { font-size: 0.92rem; }
.gs-hints span { font-size: 0.78rem; color: rgba(255,255,255,0.55); }
/* Barra de carga indeterminada */
.gs-loader { position: relative; max-width: 420px; height: 6px; margin: 0 auto 10px; border-radius: 6px; background: rgba(255,255,255,0.07); overflow: hidden; }
.gs-loader span { position: absolute; top: 0; bottom: 0; width: 35%; border-radius: inherit; background: linear-gradient(90deg, #1e90ff, #10e8b0); box-shadow: 0 0 14px #10e8b0; animation: gsLoad 1.8s ease-in-out infinite; }
@keyframes gsLoad { 0% { left: -35%; } 100% { left: 100%; } }
.gs-loading { margin: 0 0 24px; font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 0.78rem; color: #a7f3d0; }
@media (max-width: 640px) { .gs-hints { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .gs-scan, .gs-title::before, .gs-title::after, .gs-soon, .gs-loader span { animation: none; }
}

/* ══════════════════════════════════════
   PAQUETES DE SERVICIO
══════════════════════════════════════ */
.gp-section {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 24px;
  color: #fff;
  background:
    radial-gradient(45% 40% at 50% 0%, rgba(30,144,255,0.16), transparent 70%),
    linear-gradient(rgba(56,189,248,0.04) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, rgba(56,189,248,0.04) 1px, transparent 1px) 0 0 / 46px 46px,
    #030608;
}
.gp-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.gp-pack {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 22px;
  border-radius: 22px;
  background: linear-gradient(170deg, rgba(14,40,60,0.8), rgba(5,12,18,0.97));
  border: 1px solid rgba(56,189,248,0.2);
  transition: transform 0.35s cubic-bezier(0.22, 1.2, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.gp-pack:hover { transform: translateY(-8px); border-color: rgba(56,189,248,0.55); box-shadow: 0 0 40px -12px rgba(56,189,248,0.5); }
.gp-pack--hl {
  border: 1px solid transparent;
  background:
    linear-gradient(170deg, rgba(10,40,52,0.95), rgba(5,12,18,0.98)) padding-box,
    linear-gradient(160deg, #38bdf8, #10e8b0) border-box;
  box-shadow: 0 0 50px -14px rgba(16,232,176,0.6);
  transform: translateY(-10px);
}
.gp-pack--hl:hover { transform: translateY(-16px); }
.gp-badge { position: absolute; top: -13px; left: 50%; translate: -50% 0; display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; border-radius: 999px; background: linear-gradient(135deg, #1e90ff, #10e8b0); color: #02110d; font-family: 'Orbitron', sans-serif; font-size: 0.62rem; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap; box-shadow: 0 0 20px rgba(16,232,176,0.6); }
.gp-ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 14px; background: rgba(56,189,248,0.1); border: 1px solid rgba(56,189,248,0.35); color: #38bdf8; font-size: 1.7rem; }
.gp-pack--hl .gp-ico { background: linear-gradient(135deg, #1e90ff, #10e8b0); color: #02110d; border: 0; box-shadow: 0 0 22px rgba(16,232,176,0.5); }
.gp-pack h3 { margin: 0 0 6px; font-family: 'Orbitron', sans-serif; font-size: 1.08rem; letter-spacing: 0.5px; }
.gp-tag { margin: 0 0 18px; font-size: 0.86rem; color: rgba(255,255,255,0.65); }
.gp-pack ul { margin: 0 0 18px; padding: 16px 0 0; list-style: none; display: grid; gap: 9px; border-top: 1px dashed rgba(56,189,248,0.22); }
.gp-pack li { display: flex; gap: 8px; align-items: flex-start; font-size: 0.85rem; line-height: 1.4; color: #e0f2fe; }
.gp-pack li i { flex-shrink: 0; margin-top: 1px; color: #10e8b0; font-size: 1.05rem; }
.gp-ideal { display: flex; gap: 8px; align-items: flex-start; margin: auto 0 18px; padding: 10px 12px; border-radius: 12px; background: rgba(16,232,176,0.07); border: 1px solid rgba(16,232,176,0.22); font-size: 0.8rem; line-height: 1.45; color: #a7f3d0; }
.gp-ideal i { flex-shrink: 0; font-size: 1rem; }
.gp-pack .gz-btn { justify-content: center; }
@media (max-width: 1080px) { .gp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } .gp-pack--hl { transform: none; } }
@media (max-width: 560px) { .gp-section { padding-left: 16px; padding-right: 16px; } .gp-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .gp-pack { transition: none; } }

/* ══════════════════════════════════════
   FORMULARIO SMED GAMING
══════════════════════════════════════ */
.gfm-section { padding: clamp(60px, 8vw, 100px) 24px clamp(70px, 9vw, 110px); background: radial-gradient(50% 40% at 50% 0%, rgba(16,232,176,0.12), transparent 70%), #030608; color: #fff; scroll-margin-top: 70px; }
.gfm-card { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); border-radius: 24px; overflow: hidden; border: 1px solid rgba(56,189,248,0.3); box-shadow: 0 0 60px -18px rgba(16,232,176,0.4), 0 40px 80px -30px rgba(0,0,0,0.9); }
.gfm-aside { padding: 40px 32px; background: radial-gradient(80% 60% at 0% 0%, rgba(30,144,255,0.3), transparent 70%), linear-gradient(rgba(56,189,248,0.06) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(56,189,248,0.06) 1px, transparent 1px) 0 0 / 24px 24px, #06121b; }
.gfm-tag { margin: 0 0 8px; font-family: 'Orbitron', sans-serif; font-size: 0.64rem; letter-spacing: 3px; color: #10e8b0; }
.gfm-aside h3 { margin: 0 0 26px; font-family: 'Orbitron', sans-serif; font-size: 1.35rem; }
.gfm-steps { margin: 0 0 30px; padding: 0; list-style: none; display: grid; gap: 20px; }
.gfm-steps li { position: relative; display: flex; gap: 14px; }
.gfm-steps li + li::before { content: ''; position: absolute; left: 17px; top: -20px; height: 20px; border-left: 1px dashed rgba(16,232,176,0.45); }
.gfm-steps span { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #1e90ff, #10e8b0); color: #02110d; font-family: 'Orbitron', sans-serif; font-size: 0.66rem; font-weight: 900; }
.gfm-steps b { display: block; margin: 6px 0 3px; font-size: 0.92rem; }
.gfm-steps p { margin: 0; font-size: 0.82rem; color: rgba(255,255,255,0.62); }
.gfm-note { display: flex; gap: 8px; margin: 0; padding-top: 18px; border-top: 1px solid rgba(56,189,248,0.2); font-size: 0.78rem; color: rgba(255,255,255,0.6); }
.gfm-note i { font-size: 1.05rem; color: #10e8b0; }
.gfm-note a { color: #a7f3d0; }

.gfm-form { padding: 36px 34px; display: grid; gap: 18px; background: rgba(5,12,18,0.97); }
.gfm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gfm-field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.gfm-field > span, .gfm-field legend { padding: 0; font-size: 0.82rem; font-weight: 600; color: #e0f2fe; }
.gfm-field legend { margin-bottom: 8px; }
.gfm-field em { font-style: normal; font-weight: 400; color: rgba(255,255,255,0.45); }
.gfm-field input, .gfm-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid rgba(56,189,248,0.25);
  background: rgba(255,255,255,0.03);
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.gfm-field textarea { resize: vertical; min-height: 120px; }
.gfm-field input::placeholder, .gfm-field textarea::placeholder { color: rgba(255,255,255,0.35); }
.gfm-field input:focus, .gfm-field textarea:focus { outline: none; border-color: #10e8b0; box-shadow: 0 0 0 4px rgba(16,232,176,0.15), 0 0 20px -6px rgba(16,232,176,0.5); }
.gfm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gfm-chip { position: relative; cursor: pointer; }
.gfm-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.gfm-chip span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(56,189,248,0.3); font-size: 0.84rem; font-weight: 600; color: rgba(255,255,255,0.8); transition: all 0.2s ease; }
.gfm-chip span i { color: #38bdf8; font-size: 1rem; }
.gfm-chip:hover span { border-color: #10e8b0; color: #fff; }
.gfm-chip input:checked + span { background: linear-gradient(135deg, #1e90ff, #10e8b0); border-color: transparent; color: #02110d; box-shadow: 0 0 20px -4px rgba(16,232,176,0.6); }
.gfm-chip input:checked + span i { color: #02110d; }
.gfm-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(16,232,176,0.35); }
.gfm-submit { justify-self: start; }
.gfm-submit:disabled { opacity: 0.6; cursor: progress; }
@media (max-width: 860px) { .gfm-card { grid-template-columns: 1fr; } .gfm-aside { padding: 30px 24px; } .gfm-form { padding: 28px 22px; } }
@media (max-width: 560px) { .gfm-section { padding-left: 16px; padding-right: 16px; } .gfm-row { grid-template-columns: 1fr; } .gfm-submit { justify-self: stretch; justify-content: center; } }

/* Torneo real (Instagram) */
.gt-proof { max-width: 1180px; margin: 0 auto 30px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; align-items: center; padding: 28px; border-radius: 22px; background: linear-gradient(160deg, rgba(14,40,60,0.8), rgba(5,12,18,0.97)); border: 1px solid rgba(16,232,176,0.35); box-shadow: 0 0 50px -16px rgba(16,232,176,0.4); }
.gt-proof-badge { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(16,232,176,0.1); border: 1px solid rgba(16,232,176,0.4); color: #10e8b0; font-family: 'Orbitron', sans-serif; font-size: 0.64rem; letter-spacing: 2px; text-transform: uppercase; }
.gt-proof h3 { margin: 0 0 12px; font-family: 'Orbitron', sans-serif; font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.25; }
.gt-proof p { margin: 0 0 20px; font-size: 0.95rem; line-height: 1.7; color: rgba(255,255,255,0.72); }
.gt-proof-link { display: inline-flex; align-items: center; gap: 6px; color: #a7f3d0; font-weight: 600; text-decoration: none; }
.gt-proof-link i { font-size: 1.4rem; }
.gt-proof-link:hover { color: #fff; }
.gt-proof-media { display: grid; place-items: center; min-height: 320px; }
.gt-proof-media.is-loaded { min-height: 0; }
.gt-proof-media .instagram-media { margin: 0 auto !important; max-width: 420px !important; min-width: 280px !important; width: 100% !important; }
.gt-ig-facade {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 4.4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 18px;
  border: 1px solid rgba(56,189,248,0.3);
  background: radial-gradient(70% 60% at 50% 40%, rgba(225,48,108,0.25), transparent 70%), radial-gradient(60% 50% at 70% 80%, rgba(16,232,176,0.15), transparent 70%), #07101a;
  color: #fff;
  font: inherit;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.gt-ig-facade:hover { transform: translateY(-4px); border-color: #10e8b0; }
.gt-ig-facade:focus-visible { outline: 3px solid #10e8b0; outline-offset: 3px; }
.gt-ig-ico { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 22px; background: linear-gradient(45deg, #f9ce34, #ee2a7b 50%, #6228d7); font-size: 2.6rem; box-shadow: 0 16px 40px -12px rgba(238,42,123,0.7); }
.gt-ig-facade b { font-family: 'Orbitron', sans-serif; font-size: 0.9rem; }
.gt-ig-facade > span:last-child { padding: 8px 16px; border-radius: 999px; background: linear-gradient(135deg, #1e90ff, #10e8b0); color: #02110d; font-weight: 700; font-size: 0.85rem; }
@media (max-width: 820px) { .gt-proof { grid-template-columns: 1fr; } }

/* La publicación de Instagram dentro de un celular con marco neón */
.gt-phone {
  position: relative;
  justify-self: center;
  width: min(380px, 100%);
  padding: 46px 12px 14px;
  border-radius: 42px;
  background: linear-gradient(160deg, #0d1b26, #04080c);
  box-shadow:
    0 0 0 2px rgba(56,189,248,0.45),
    0 0 0 7px #05090d,
    0 0 0 8px rgba(16,232,176,0.35),
    0 0 60px -10px rgba(16,232,176,0.55),
    0 40px 70px -30px rgba(0,0,0,0.9);
}
.gt-phone-island { position: absolute; top: 14px; left: 50%; translate: -50% 0; width: 92px; height: 22px; border-radius: 999px; background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.gt-phone-live { position: absolute; top: 15px; right: 22px; display: inline-flex; align-items: center; gap: 5px; font-family: 'Orbitron', sans-serif; font-size: 0.5rem; letter-spacing: 1px; text-transform: uppercase; color: #10e8b0; }
.gt-phone-live i { width: 6px; height: 6px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 6px #ef4444; animation: gtLive 1.4s ease-in-out infinite; }
@keyframes gtLive { 50% { opacity: 0.3; } }
.gt-phone .gt-proof-media { min-height: 0; border-radius: 28px; overflow: hidden; background: #000; }
.gt-phone .gt-ig-facade { max-width: none; border-radius: 28px; border: 0; aspect-ratio: 4 / 5; }
.gt-phone .gt-proof-media.is-loaded { background: #fff; }
.gt-phone .instagram-media, .gt-phone iframe { margin: 0 !important; max-width: none !important; min-width: 0 !important; width: 100% !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
@media (prefers-reduced-motion: reduce) { .gt-phone-live i { animation: none; } }

/* v2.0.1 · en pantallas verticales el "cover" recortaba los costados del
   video (se perdía el logo SMED GAMING): se muestra completo y centrado */
@media (max-aspect-ratio: 4/5) {
  .gz-video { object-fit: contain; object-position: 50% 42%; transform: scale(1.12); }
}
