/* DVD Intro Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 1000;
  animation: fadeOut 2s ease-in-out 5s forwards;
  /* 3s delay before fadeOut animation starts */
}
/* Splash Modal */
#splash-modal {
  position: fixed;
  z-index: 9999;
  background-color: black;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#splash-video {
  width: 100%;
  height: auto;
  max-height: 100vh;
  object-fit: cover;
}
/* Background Video Styling */
.background-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  padding: 0;
  overflow: hidden;
  border: 5px solid #ffffff10;
  border-radius: 12px;
  z-index: 1;
}

#main-bg-video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* make sure full video shows */
  border-radius: 12px;
  display: block;
}



.modal-content {
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
}

.dvd-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.dvd-subtitle {
  font-size: 1.5rem;
  opacity: 0.7;
}

/* Fade out keyframes */
@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Courier New', Courier, monospace;
  background-color: #000;
  color: #fff;
}

/* Universal remote cursor for everything */
* {
  cursor: url('remote_cursor_48x48.png'), auto !important;
}

/* Force cursor to stay custom even on videos */
video {
  cursor: url('remote_cursor_48x48.png'), auto !important;
}


.main-header {
  background-color: #111;
  padding: 20px;
  text-align: center;
  border-bottom: 2px solid #444;
}

#video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3); /* lighter overlay so button is visible but video shows */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

#play-button {
  background-color: #fffacd;
  color: #000;
  transform: scale(1.1);
  box-shadow: 0 0 20px #FFD700, 0 0 30px #fff;
  font-size: 20px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
#play-button:hover {
  background-color: #000;
  color: #FFD700;
}


.title {
  font-size: 2.5em;
  letter-spacing: 2px;
  color: #FFD700;
}

#card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 40px 20px;
}

.card {
  background-color: #222;
  border: 1px solid #555;
  border-radius: 10px;
  padding: 20px;
  width: 280px;
  text-align: center;
  box-shadow: 0 0 15px #FFD700;

}

.card img {
  width: 100%;
  border-radius: 8px;
}

.card h2 {
  color: #FFD700;
  margin-top: 10px;
}

.card ul {
  list-style-type: none;
  padding: 0;
}

.card li {
  margin: 5px 0;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #FFD700;
  transition: all 0.3s ease;
  cursor: pointer;
}
.card-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-link:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #FFD700;
}
#random-btn-top {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  background-color:  #FFD700; /* slightly transparent */
  border: 2px solid #222;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

#random-btn-top:hover {
 
    background-color: #fffacd;
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 20px #FFD700, 0 0 30px #fff;
  
}


.footer {
  text-align: center;
  margin: 30px 0;
}

.footer button {
  background-color: #FFD700;
  border: none;
  padding: 10px 20px;
  margin: 10px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.footer button:hover {
  background-color: #ffcc00;
}
.footer button {
  background-color: #FFD700;
  border: none;
  padding: 10px 20px;
  margin: 10px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1.1rem;
  box-shadow: 0 0 10px #FFD70055;
  transition: all 0.3s ease;
}

.footer button:hover {
  background-color: #fffacd;
  color: #000;
  transform: scale(1.1);
  box-shadow: 0 0 20px #FFD700, 0 0 30px #fff;
}

/*added this to make sure the video preview is center */
/* New: DVD Menu Center Video Section */
.video-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  z-index: 0;
}

#menu-video {
  width: 80vw;
  max-height: 50vh;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.background-video-wrapper {
  width: 100%;
  max-width: 800px; /* optional, keeps it from getting too big */
  padding: 20px 0 20px 40px; /* top, right, bottom, left */
  box-sizing: border-box;
}

#main-bg-video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin-left: -20px;
  margin-right: auto;
}
