/* Created By: BAMFaulkner & Brainy */
/* Date Created: 11/12/25 */

* { box-sizing: border-box; }
html, body { 
	height: 100%; margin: 0; 
}
body { 
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #fff;
  margin: 0;
  background-color: #050010; /* dark fallback color */
}

.screen { 
  position: relative;
  height: 100svh;
  width: 100%;
  overflow: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(
      60% 60% at 50% 40%,
      rgba(20, 0, 40, 0.25),
      rgba(10, 0, 20, 0.25)
  );
  z-index: 0;
}

/* subtle vignette & readability */
.overlay {
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 60% 60%, rgba(20, 0, 40, 0.25), rgba(10, 0, 20, 0.25));
}

.center{
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertical center */
  align-items: center;       /* horizontal center */
  text-align: center;
  gap: .6rem;
  padding: .5rem;
}

/* remove the pushes that fight centering */
.logo{
  width: clamp(350px, 30vw, 700px);
  margin-right: 5px;
  height: auto;
  filter: drop-shadow(0 6px 22px rgba(190,140,255,.35));
  transition: width .3s ease;
  /* delete these:
  margin-top: 6rem;
  transform: translateY(.5rem);
  */
}

.wordmark {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: clamp(28px, 6vw, 64px);
  text-shadow: 0 6px 22px rgba(0,0,0,0.35);
}

.infinity { display: inline-block; transform: translateY(-0.05em); }

.tag {
  margin: 0;
  max-width: 72ch;
  opacity: 0.95;
  font-size: clamp(14px, 2.4vw, 18px);
  line-height: 1.5;
  text-wrap: balance;
}

.link {
  margin-top: .5rem;
  margin-left: .25rem;
  display: inline-block;
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
  color: #fff; text-decoration: none;
  backdrop-filter: blur(2px);
  font-weight: 600;
  transition: transform .2s ease, background .2s ease;
}

/* Fullscreen background video */
#background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;        /* sit behind everything */
  pointer-events: none;
  opacity: 0;
  animation: fade-in 1.5s ease forwards;
}

#video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(
      60% 60% at 50% 40%,
      rgba(20, 0, 40, 0.25),
      rgba(10, 0, 20, 0.25)
  );
  z-index: 0;
  pointer-events: none;
}

@keyframes fade-in {
  to { opacity: 1; }
}

@media (max-width: 600px) {
  .logo {
    width: clamp(300px, 45vw, 320px);
  }

  .wordmark {
    font-size: clamp(22px, 6vw, 38px);
  }

  .tag {
    font-size: clamp(12px, 3.4vw, 16px);
    margin-top: 0.25rem;
  }
}

@media (orientation: landscape) and (max-height: 480px){
  .screen { overflow: auto; }                /* allow tiny scroll instead of clip */
  .center { gap: .3rem; padding: .5rem .75rem; }
  .logo     { width: clamp(300px, 14vmin, 400px); }
  .wordmark { font-size: clamp(14px, 4.8vmin, 26px); }
  .tag      { font-size: clamp(14px, 2.2vmin, 16px); }
}




.link:hover { transform: translateY(-1px); background: rgba(255,255,255,0.12); }
@media (prefers-reduced-motion: reduce) {
  .link { transition: none; }
}
