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

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #1a1a2e;
  color: #eee;
  min-height: 100vh;
}

/* ——— Screens ——— */

.screen {
  position: fixed;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1.5rem;
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 100%);
  overflow-y: auto;
}

.screen.active {
  display: flex;
}

/* ——— Lobby ——— */

.video-container {
  position: absolute;
  inset: 0;
  background: #000;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lobby-overlay {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* ——— Buttons ——— */

.btn {
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  background: #e94560;
  color: #fff;
}

.btn:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(233, 69, 96, 0.4);
}

.btn-secondary {
  background: #0f3460;
  color: #eee;
}

.btn-export {
  background: #2a2a4a;
  color: #ccc;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  opacity: 0.85;
}

.btn-export:hover {
  opacity: 1;
}

/* ——— Breadcrumb ——— */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  width: 100%;
  max-width: 700px;
  margin-bottom: 1.2rem;
  font-size: 0.85rem;
}

.crumb {
  color: #e94560;
  cursor: pointer;
}

.crumb:hover {
  text-decoration: underline;
}

.crumb-active {
  color: #eee;
  cursor: default;
}

.crumb-sep {
  opacity: 0.4;
}

/* ——— Menu screen ——— */

.menu-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 700px;
}

.menu-grid {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  max-width: 700px;
}

.menu-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.menu-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(4px);
}

.menu-card-video {
  border-color: rgba(233, 69, 96, 0.35);
}

.menu-card-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
}

.menu-card-name {
  font-size: 1rem;
  font-weight: 600;
  flex: 1;
}

.menu-card-arrow {
  opacity: 0.4;
  font-size: 1rem;
}

/* ——— Nav buttons ——— */

.nav-buttons {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

/* ——— Answer screen ——— */

.answer-screen {
  justify-content: center;
}

.answer-video-container {
  width: 100%;
  max-width: 900px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.answer-video-container video {
  width: 100%;
  display: block;
}

/* ——— Tracking footer ——— */

.tracking-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 1rem;
  text-align: center;
  z-index: 10;
  pointer-events: none;
}

.tracking-footer .btn {
  pointer-events: auto;
}
