body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to bottom right, #f9f9ff, #f0f4ff);
  color: #333;
  overflow: hidden;
}

.video-bg {
  display: block; /* Ensure it's not set to 'none' */
  visibility: visible; /* Ensure it's not set to 'hidden' */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 0.9;
  filter: brightness(0.9) saturate(1.1);
  background-color: black;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.8));
  z-index: 0;
}

.content {
  position: relative;
  z-index: 1;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: fadeIn 2s ease-in-out;
}

h1 {
  font-size: 3rem;
  color: #4a4a8a;
  margin: 0 0 1rem;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
}

p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.button {
  margin-top: 2rem;
  background: #a3d5ff;
  color: #003366;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.button:hover {
  background: #90caff;
  transform: translateY(-2px);
}

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

.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
  opacity: 0.8;
  filter: brightness(0.9) saturate(1.1);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.6));
  z-index: -1;
}

.video-embed {
  margin-top: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  overflow: hidden;
  animation: floatIn 1.2s ease forwards;
  max-width: 90vw;
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: 315px;
  border: none;
  border-radius: 15px;
}

@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fancy-video {
  margin: 2rem auto 1rem;
  max-width: 800px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  overflow: hidden;
  transform: scale(0.98);
  transition: transform 0.3s ease;
  animation: floatIn 1.2s ease forwards;
}

.fancy-video video {
  width: 100%;
  display: block;
  border: none;
}

.fancy-video:hover {
  transform: scale(1);
}

.video-embed {
  margin: 2rem auto;
  max-width: 800px;
  width: 90%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  overflow: hidden;
  animation: fadeIn 1.4s ease forwards;
}

.video-embed iframe {
  width: 100%;
  height: 315px;
  border: none;
  display: block;
  border-radius: 15px;
}

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

.emoji-sky {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  z-index: 5;
}

.emoji {
  position: absolute;
  font-size: 2rem;
  animation: floatEmoji linear infinite;
  opacity: 0.8;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.2));
}

@keyframes floatEmoji {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10vh) rotate(360deg);
    opacity: 0;
  }
}

.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
  background: linear-gradient(270deg, #ffd6ff, #e7cfff, #cafffb, #ffe5b4, #c8ffd4);
  background-size: 1000% 1000%;
  animation: gradientMove 30s ease infinite;
  opacity: 0.5;
  filter: blur(8px);
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
