/* ---------- Custom font ---------- */
@font-face {
  font-family: 'Nexa';
  src: url('../fonts/Nexa Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');

/* ---------- Base layout ---------- */
html, body {
  margin: 0;
  padding: 0;
  height: calc(var(--vh) * 100);
  background-color: black;
  overflow: hidden;
  font-family: 'Nexa', 'Poppins', sans-serif;
}

/* ---------- Video container ---------- */
.video-container {
  position: relative;
  width: 100vw;
  height: calc(var(--vh) * 100);
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.video-wrapper {
  position: relative;
  height: 100%;
  aspect-ratio: 9 / 16;
  max-height: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: black;
}

/* ---------- Start Screen ---------- */
.start-screen {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;

  /* Background image for the intro */
  background: url('../img/fundo_logo.jpg') center center no-repeat;
  background-size: cover;
}

.start-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
  width: min(60vw, 360px);
  padding: 1.5rem;

  /* remove the dark overlay */
  background: transparent;
  border-radius: 0;
}

/* Logo image */
.start-logo {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.35));
  cursor: pointer;
  transition: transform 0.25s ease;
}

.start-logo:hover,
.start-logo:focus {
  transform: scale(1.04);
  outline: none;
}

/* Start button under logo */
.start-btn {
  width: 100%;
  max-width: 100%;
  padding: 0.9rem 1.4rem;
  font-size: 1.05rem;
  font-family: 'Nexa', 'Poppins', sans-serif;
}

/* ---------- Old start button style (if reused elsewhere) ---------- */
.start-button {
  background-color: #0050b3;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: background-color 0.3s, transform 0.2s;
}
.start-button:hover {
  background-color: #003366;
  transform: scale(1.05);
}

/* ---------- Choice buttons overlay ---------- */
.button-overlay {
  position: absolute;
  bottom: 5%;
  left: 0;
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 10;
  pointer-events: none;
}

.button-row {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 10%;
  pointer-events: all;
}

/* Choice buttons */
.choice-btn {
  width: 40%;
  background-color: transparent;
  color: #ffffff;
  font-size: 1.5rem;
  font-family: 'Nexa', 'Poppins', 'Segoe UI', Roboto, sans-serif;
  font-weight: 600;
  border: none;
  padding: 1rem 0;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  box-shadow: none;
  text-shadow: 0 0 8px rgba(0, 123, 255, 0.6);
  transition: text-shadow 0.3s, transform 0.2s, color 0.3s;
}

.choice-btn:hover {
  text-shadow: 0 0 12px rgba(0, 123, 255, 0.9);
  transform: scale(1.08);
  color: #e0f0ff;
  text-decoration: underline;
}

/* ---------- Replay button ---------- */
.replay-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: background-color 0.3s, transform 0.2s;
}
.replay-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}