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

html {
  height: 100%;
  overflow: hidden;
  position: fixed;
  width: 100%;
}

body {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  color: #ffffff;
  height: 100vh;
  overflow: hidden;
  position: relative;
  width: 100%;
  touch-action: none;
  -webkit-overflow-scrolling: touch;
}

.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Fallback for mobile devices */
@media screen and (max-width: 768px) {
  .bg-video {
    /* On mobile, if video doesn't autoplay, show a static background */
    background-image: url('assets/video-fallback.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: -1;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  height: 100dvh; /* Use dynamic viewport height for mobile */
  padding: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.logo {
  margin-bottom: 60px;
  animation: fadeInUp 1s ease-out;
}

.logo img {
  max-width: 300px;
  height: auto;
  filter: brightness(1.1);
}

.message {
  margin-bottom: 40px;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.message h1 {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.contact {
  animation: fadeInUp 1s ease-out 0.6s both;
}

.contact a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  padding: 12px 24px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  transition: all 0.3s ease;
  display: inline-block;
}

.contact a:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media screen and (max-width: 768px) {
  .container {
    padding: 20px;
    min-height: 100vh;
    min-height: 100dvh;
    justify-content: center;
    align-items: center;
  }
  
  .logo {
    margin-bottom: 40px;
  }
  
  .logo img {
    max-width: 250px;
  }
  
  .message h1 {
    font-size: 2rem;
  }
  
  .contact a {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

@media screen and (max-width: 480px) {
  .logo img {
    max-width: 200px;
  }
  
  .message h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .contact a {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}
