/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-user-select: none;
  user-select: none;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#app {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-color: #000000;
}

/* Hide cursor when video is playing */
body.hide-cursor, body.hide-cursor * {
  cursor: none !important;
}

/* Screen Layers */
.screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  background-color: #000000;
  z-index: 1;
}

.screen.active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

/* Capa Image Styling - Fills the entire screen across any aspect ratio */
#capa-img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  background-color: #000000;
  display: block;
}

/* Fullscreen Video Styling - Shows complete video without cropping */
#main-video {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  object-position: center;
  background-color: #000000;
  display: block;
  outline: none;
  border: none;
  pointer-events: none; /* Disables clicking/pausing video directly */
}

/* Prevent video element default focus highlights */
video::-webkit-media-controls {
  display: none !important;
}
video::-webkit-media-controls-enclosure {
  display: none !important;
}
