/* 1. Global Reset */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* 2. Background Video & Overlay */
#bg-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -2;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Adjust darkness here */
  z-index: -1;
}

/* 3. Navigation */
nav {
  position: absolute;
  top: 0;
  right: 0;
  padding: 30px;
  z-index: 10;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ffcc00;
}

/* 4. Main Content Container */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  color: white;
  text-align: center;
  padding: 0 20px;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 4px 10px rgba(0,0,0,0.5);
}

/* 5. Countdown Glassmorphism */
#countdown {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.time-segment {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px;
  border-radius: 15px;
  min-width: 100px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.time-segment span {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
}

.label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
}

/* 6. Mobile Responsiveness */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  .time-segment {
    min-width: 70px;
    padding: 10px;
  }
  .time-segment span { font-size: 1.8rem; }
  nav { padding: 15px; }
}
