:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: radial-gradient(circle at 50% 40%, #102a57 0%, #071733 42%, #030812 100%);
}

body { overflow: hidden; }

.landing {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #102a57 0%, #071733 42%, #030812 100%);
}

.landing-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: radial-gradient(circle at 50% 40%, #102a57 0%, #071733 42%, #030812 100%);

  opacity: 0;
  transition: opacity .45s ease;
  will-change: opacity;
}


.landing-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.04) 0%,
      rgba(0, 0, 0, 0.00) 55%,
      rgba(2, 10, 27, 0.25) 72%,
      rgba(2, 10, 27, 0.74) 100%);
}

.landing-actions {
  position: absolute;
  left: 50%;
  bottom: max(28px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.enter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 188px;
  min-height: 56px;
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 999px;
  background: rgba(5, 17, 43, .55);
  color: #fff;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .14em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 32px rgba(0,0,0,.26);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.enter-button span {
  font-size: 1.1rem;
  letter-spacing: 0;
}

.enter-button:hover,
.enter-button:focus-visible {
  transform: translateY(-2px);
  background: #fff;
  color: #071733;
  outline: none;
}

.sound-button {
  border: 0;
  padding: 6px 10px;
  background: transparent;
  color: rgba(255,255,255,.85);
  font: inherit;
  font-size: .78rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.noscript-note {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  padding: 12px;
  background: rgba(0,0,0,.82);
  color: #fff;
  text-align: center;
}

.noscript-note a { color: #fff; }

@media (max-width: 640px) {
  .landing-video {
    object-position: center center;
  }

  .landing-actions {
    bottom: max(22px, env(safe-area-inset-bottom));
  }

  .enter-button {
    min-width: 172px;
    min-height: 52px;
    padding: 12px 24px;
    font-size: .84rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-video {
    display: none;
  }

  .landing {
    background: #071733 url("assets/icofea-2026-flyer.jpg") center/cover no-repeat;
  }

  .enter-button {
    transition: none;
  }
}


.landing-video.is-ready {
  opacity: 1;
}
