/* Base layout and general styles */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  font-family: "Trebuchet MS", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
}

/* Banner: show entire video (no cropping) */
.banner {
  width: 100%;
  background: #000; /* behind video */
  border-bottom: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.banner__video {
  width: 100%;
  height: auto;                 /* scale by width, keep aspect ratio */
  max-height: clamp(140px, 22vh, 260px); /* neat on phones/desktops */
  object-fit: contain;          /* do NOT crop; letterbox if needed */
  display: block;
  margin: 0 auto;
  background: #000;
  opacity: 0;
  animation: bannerFadeIn 900ms ease forwards;
}

@keyframes bannerFadeIn { to { opacity: 1; } }

@media (max-width: 768px) {
  .banner__video { max-height: clamp(120px, 20vh, 180px); }
}

@keyframes bannerFadeIn {
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .banner { height: clamp(120px, 20vh, 180px); }
}

/* Logo Section */
.logo-section {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  max-width: 240px;
  height: auto;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Main Video */
.main-video video {
  width: min(800px, 75%);
  margin-top: 30px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Text Block */
.text-block {
  width: min(900px, 85%);
  margin: 40px auto;
  font-size: 1.1rem;
  line-height: 1.6;
  background: rgba(0, 0, 0, 0.5);
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
}

@media (max-width: 768px) {
  .banner-small {
    max-height: 140px;
  }
  .logo {
    max-width: 180px;
  }
  .main-video video {
    width: 90%;
  }
  .text-block {
    font-size: 1rem;
  }
}
