/* =============================================
   GLOWING RELIEF — ONE-PAGER
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

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

:root {
  --green: #39FF14;
  --black: #000000;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--black);
  color: var(--green);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* =============================================
   UTILITY
   ============================================= */

img {
  display: block;
  width: 100%;
  height: auto;
}

/* =============================================
   HERO
   ============================================= */

.hero {
  width: 100%;
  background-color: var(--black);
  position: relative;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* =============================================
   SECTION — generic
   ============================================= */

.section {
  width: 100%;
  max-width: 100%;
  background-color: var(--black);
}

/* Description: padding lateral seguro para que el texto no llegue al borde */
.section--description {
  padding: 0 5%;
}

.section--description img {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  height: auto;
  display: block;
}

/* Section label (PNG con texto sobre fondo transparente) */
.section__label {
  padding: 56px 5% 32px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.section__label img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Board: ancho completo, sin recorte en móvil */
.section__board {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.section__board img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
  object-fit: contain;
  object-position: top center;
}

/* =============================================
   VIDEO SECTION — full-width stacked frames
   ============================================= */

.section--video {
  width: 100%;
  margin-left: 0;
  background-color: var(--black);
  padding: 0;
}

.video-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

.video-frame {
  width: 100%;
  flex: 0 0 auto;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border: 0;
  margin: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 0;
}

/* Poster estático (data-poster) hasta que el usuario pulse play */
.video-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: #0a0a0a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.video-poster.is-hidden {
  opacity: 0;
  visibility: hidden;
}

/* Capa play: solo visible antes del primer clic */
.video-play-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.35);
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.video-play-layer:hover .video-play-layer__icon {
  transform: scale(1.06);
}

.video-play-layer:focus {
  outline: none;
}

.video-play-layer:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: -6px;
}

.video-play-layer__icon {
  width: clamp(72px, 14vw, 110px);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(57, 255, 20, 0.4));
  transition: transform 0.2s ease;
}

.video-play-layer.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
