/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  overflow: hidden;
}

/* Full-Screen Background Video */
#background-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -1;
  object-fit: cover;
}

/* Brand Logo */
.brand-logo {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  margin-bottom: 10px;
}

.brand-logo h1 {
  font-family: 'Playfair Display', serif;
  color: #d4af37; /* Gold color */
  font-size: 1.8rem;
  letter-spacing: 2px;
  margin: 0 0 15px 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Centered Text (Hidden by Default) */
.centered-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
  opacity: 0; /* Initially hidden */
  transition: opacity 1s ease;
}

.centered-text h1 {
  font-size: 4rem;
  color: white;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  background: linear-gradient(90deg, #e6e9f0, #d6d2cf, #d6d2d1);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s linear infinite;
}

.centered-text p {
  font-size: 1.5rem;
  color: white;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  margin-top: 10px;
}

/* Shine Animation for Text */
@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* Small Unmute Button */
.mute-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  z-index: 2;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.mute-button:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

/* Preloader Styles */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9); /* Semi-transparent black background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensure it's on top of everything */
  opacity: 1;
  transition: opacity 1s ease;
}

.preloader-content {
  text-align: center;
  color: white;
}

.preloader-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.preloader-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.loading-spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #ffffff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto; /* Center the spinner */
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Hide Preloader When Loaded */
.preloader.loaded {
  opacity: 0;
  pointer-events: none; /* Disable interactions */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .brand-logo h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .centered-text h1 {
    font-size: 2.5rem;
  }

  .centered-text p {
    font-size: 1.2rem;
  }

  .mute-button {
    padding: 8px;
    font-size: 0.9rem;
    width: 35px;
    height: 35px;
  }

  .preloader-content h1 {
    font-size: 2rem;
  }

  .preloader-content p {
    font-size: 1rem;
  }
}

/* Show Now Button */
.show-now-button {
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.show-now-button:hover {
  background-color: rgba(255, 255, 255, 0.5);
}