:root {
  color-scheme: dark;
  --bg-base: #0b1010;
  --bg-gradient: radial-gradient(
      58% 60% at 50% 2%,
      rgba(28, 54, 54, 0.65),
      transparent 65%
    ),
    radial-gradient(
      50% 38% at 50% 25%,
      rgba(0, 150, 171, 0.08),
      transparent 85%
    );
  --text-primary: #d7faff;
  --text-accent: #b0f0ff;
  --frame-overlay: rgba(10, 18, 22, 0.88);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-base);
  background-image: var(--bg-gradient);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow-x: hidden;
}

.hero {
  flex: 1 0 auto;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(3rem, 9vw, 6.5rem) clamp(1.75rem, 6vw, 5rem)
    clamp(4.5rem, 12vw, 8rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: clamp(1.6rem, 3vw, 2.4rem);
}

.branding {
  display: flex;
  justify-content: center;
}

.logo {
  width: clamp(210px, 24vw, 360px);
  height: auto;
}

.tagline {
  margin: 0;
  font-size: clamp(1.35rem, 2.1vw, 2.45rem);
  font-weight: 600;
  color: var(--text-accent);
  text-shadow: 0 0 16px rgba(119, 245, 255, 0.28);
  letter-spacing: 0.02em;
}

.video-shell {
  width: 100%;
  max-width: 56rem;
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  margin-right: auto;
  margin-left: auto;
  padding-inline: clamp(0.5rem, 2vw, 1.5rem);
}

.video-card {
  position: relative;
  z-index: 1;
  --card-radius: clamp(18px, 1.6vw, 24px);
  --card-padding: 0;
  border-radius: var(--card-radius);
  border: 2px solid rgba(186, 233, 244, 0.9);
  background: #191e1b;
  box-shadow: 0 0 40px rgba(186, 233, 244, 0.4),
    0 18px 60px rgba(40, 181, 215, 0.18);
  overflow: hidden;
}

.video-aspect {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}

.video-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-wrapper {
  border-radius: calc(var(--card-radius) - var(--card-padding));
  overflow: hidden;
  z-index: 1;
}

.video-overlay {
  background: linear-gradient(
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.55)
    ),
    rgba(0, 0, 0, 0.2);
  border-radius: calc(var(--card-radius) - var(--card-padding));
  flex-direction: column;
  gap: 1.25rem;
  transition: opacity 220ms ease;
  z-index: 2;
}

.video-overlay--hidden {
  opacity: 0;
  pointer-events: none;
}

.video {
  width: 100%;
  height: 100%;
  display: block;
  background: #191e1b;
  border: 1px solid rgba(150, 245, 255, 0.4);
  border-radius: calc(var(--card-radius) - var(--card-padding));
  box-shadow:
    inset 0 0 18px rgba(50, 245, 255, 0.12),
    inset 0 0 35px rgba(86, 245, 255, 0.08);
}

video::-webkit-media-controls-panel {
  background: rgba(8, 21, 24, 0.85);
}

video::-webkit-media-controls-play-button,
video::-webkit-media-controls-mute-button,
video::-webkit-media-controls-fullscreen-button {
  filter: invert(70%);
}

.play-button {
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-width: 2px;
  border-style: solid;
  border-color: #bae9f4;
  border-radius: 999px;
  background: rgba(35, 52, 54, 0.4);
  color: #bae9f4;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease,
    box-shadow 180ms ease;
  box-shadow: 0 0 22px rgba(186, 233, 244, 0.3);
}

.play-button:hover,
.play-button:focus-visible {
  background: rgba(186, 233, 244, 0.12);
  transform: scale(1.04);
  outline: none;
}

.play-icon {
  width: clamp(1.6rem, 4vw, 2rem);
  height: clamp(1.6rem, 4vw, 2rem);
  fill: currentColor;
}

.play-button:focus-visible {
  outline: 2px solid rgba(186, 233, 244, 0.8);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.transition-colors {
  transition: background-color 180ms ease, transform 180ms ease,
    box-shadow 180ms ease;
}

.w-20 {
  width: 5rem;
}

.h-20 {
  height: 5rem;
}

.border-2 {
  border-width: 2px;
}

.border-\[\#BAE9F4\] {
  border-color: #bae9f4;
}

.rounded-full {
  border-radius: 999px;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.mb-4 {
  margin-bottom: 1rem;
}

.cursor-pointer {
  cursor: pointer;
}

.hover\:bg-\[\#BAE9F4\]\/10:hover {
  background-color: rgba(186, 233, 244, 0.1);
}

.text-\[\#BAE9F4\] {
  color: #bae9f4;
}

@media (max-width: 600px) {
  .hero {
    gap: clamp(1.5rem, 6vw, 2rem);
    padding: clamp(1.75rem, 6vw, 2.5rem) clamp(1.25rem, 5vw, 2rem)
      clamp(5rem, 18vw, 7rem);
  }

}

.terrain {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-inline: clamp(1rem, 4vw, 3rem);
}

.terrain img {
  width: min(100%, 1482px);
  height: auto;
  display: block;
}
