/* Global reset and base */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: #e5e7eb;
  background: #0b0f17;
}

/* Loader */
.loader-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(1200px 1200px at 50% 50%, rgba(255,255,255,0.06), rgba(11,15,23,0.98) 60%);
  z-index: 50;
  transition: opacity .4s ease;
}
.loader-overlay.hidden { opacity: 0; pointer-events: none; }

.spinner {
  width: 56px;
  height: 56px;
  border: 4px solid rgba(255,255,255,0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Video wrapper */
.video-stage {
  position: fixed;
  inset: 0;
  background: #000; /* fundo escuro */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px; /* margem "cinema" */
}

video {
  width: 100%;
  height: auto;
  max-width: 1280px;  /* largura máxima do vídeo */
  max-height: 720px;  /* altura máxima do vídeo */
  object-fit: contain;
  background: #000;
  box-shadow: 0 0 40px rgba(0,0,0,0.9);
  border-radius: 8px;
}


/* Netflix-like Skip button */
.skip-btn {
  position: fixed;
  top: 28px;
  right: 28px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .3px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  color: #fff;
  outline: 2px solid rgba(255,255,255,0.25);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.skip-btn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.skip-btn:hover { background: rgba(0,0,0,0.75); }

/* Tap-to-start overlay (if autoplay blocked) */
.tap-to-start {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
  color: #fff;
  z-index: 40;
  gap: 12px;
  flex-direction: column;
  text-align: center;
}
.tap-to-start.hidden { display: none; }
.tap-to-start button {
  padding: 10px 16px;
  border-radius: 2px;
  border: 5px solid #fff;
  background: transparent;
  /* background: #000a9bc4; */
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  cursor: pointer;
}

/* Home (onepage) */
.onepage {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: radial-gradient(1000px 600px at 50% 40%, rgba(255,255,255,0.06), rgba(11,15,23,1) 60%);
}

.home-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 32px 28px;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  text-align: center;
}

.logo {
  width: clamp(120px, 22vw, 220px);
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.4));
}

.h1 {
  margin: 0;
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 800;
}

.countdown {
  font-variant-numeric: tabular-nums;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.cd-item {
  min-width: 80px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
.cd-item .num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}
.cd-item .lbl {
  font-size: 12px;
  opacity: .85;
}

/* Utility */
.hide { display: none !important; }