@font-face {
  font-family: 'FaleLy';
  src: url('./MozillaHeadline-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Updated gradient for more depth: deeper blue and white with extra stops */
  --bg: linear-gradient(
    135deg, 
    #ffffff 0%, 
    #e2f0ff 30%,
    #a0c8f8 55%, 
    #518edc 83%, 
    #1c478a 100%
  );
  --text: #233145;
  --text-muted: rgba(35, 49, 69, 0.62);
  --accent: #2273c8;
  --accent-glow: rgba(34, 115, 200, 0.35);
  --footer: rgba(35, 49, 69, 0.45);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'FaleLy', Arial, sans-serif !important;
}

html,
body {
  height: 100%;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  /* font-family: 'FaleLy', Arial, sans-serif !important; */
}

body {
  /* font-family: 'FaleLy', Arial, sans-serif !important; */
  color: var(--text);
  /* Gradient plus background video support: */
  background: var(--bg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  transition: background 0.8s cubic-bezier(0.86, 0, 0.07, 1);
}

.container {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: 'FaleLy', Arial, sans-serif !important;
  z-index: 3;
}

.content {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 52rem;
  font-family: 'FaleLy', Arial, sans-serif !important;
}

.main_logo {
  width: min(90vw, 38rem);
  margin-bottom: 2.5rem;
  filter: drop-shadow(0 0 2.5rem var(--accent-glow));
  font-family: 'FaleLy', Arial, sans-serif !important;
}

.main_logo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  font-family: 'FaleLy', Arial, sans-serif !important;
}

.eyebrow {
  font-size: clamp(0.75rem, 1.8vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  font-family: 'FaleLy', Arial, sans-serif !important;
}

.headline {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  font-family: 'FaleLy', Arial, sans-serif !important;
}

.subline {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--accent);
  max-width: 32rem;
  margin-bottom: 1.75rem;
  font-family: 'FaleLy', Arial, sans-serif !important;
}

.countdown {
  width: 100%;
  max-width: 36rem;
  font-family: 'FaleLy', Arial, sans-serif !important;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.25rem);
  font-family: 'FaleLy', Arial, sans-serif !important;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(3.5rem, 12vw, 5.5rem);
  padding: clamp(0.75rem, 2vw, 1rem) clamp(0.5rem, 1.5vw, 0.75rem);
  border: 1px solid rgba(34, 115, 200, 0.23);
  border-radius: 0.75rem;
  background: rgba(34, 115, 200, 0.06);
  backdrop-filter: blur(8px);
  font-family: 'FaleLy', Arial, sans-serif !important;
}

.countdown-value {
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-family: 'FaleLy', Arial, sans-serif !important;
}

.countdown-label {
  margin-top: 0.4rem;
  font-size: clamp(0.6rem, 1.4vw, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: 'FaleLy', Arial, sans-serif !important;
}

.countdown-sep {
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 300;
  color: rgba(34, 115, 200, 0.33);
  line-height: 1;
  padding-bottom: 1.2rem;
  font-family: 'FaleLy', Arial, sans-serif !important;
}

.countdown-date {
  margin-top: 1rem;
  font-size: clamp(0.75rem, 1.6vw, 0.9rem);
  color: var(--text-muted);
  letter-spacing: 0.04em;
  font-family: 'FaleLy', Arial, sans-serif !important;
}

.accent-line {
  width: 4rem;
  height: 2px;
  margin-top: 2.5rem;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform-origin: center;
  font-family: 'FaleLy', Arial, sans-serif !important;
}

.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 4vw, 2.5rem);
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  color: var(--footer);
  font-family:Georgia, 'Times New Roman', Times, serif;
}

.footer-copy {
  justify-self: start;
  font-family: 'FaleLy', Arial, sans-serif !important;
}

.footer-links {
  justify-self: center;
  font-family: 'FaleLy', Arial, sans-serif !important;
}

.footer-link {
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 500;
  transition: opacity 0.2s ease;

}

.footer-links {
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;

}

.footer-link {
  opacity: 1;
  background-color: #67a0ee;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  transition: opacity 0.2s, background 0.3s;
  gap: 5;

  box-shadow: 0 4px 16px 0 rgba(68, 146, 230, 0.08);
}

.footer-link:hover {
  opacity: 1;
  background-color: #2273c8;
}

.footer-link img {
  width: 1.3rem;
  height: 1.3rem;
  object-fit: contain;
  font-family: 'FaleLy', Arial, sans-serif !important;
}

.footer-credit {
  justify-self: end;
  font-family: 'FaleLy', Arial, sans-serif !important;
}

/* --- Background video styling with dark overlay for more darkness --- */
.bg_video {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.bg_video video {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  opacity: 0.45; /* darker, so page content stands out, video is more subtle */
  filter: brightness(0.7) contrast(1.08); /* make video a bit darker and more atmospheric */
  pointer-events: none;
  background: transparent;
}

/* Optionally provide a second blending layer class for extra effects */
.bg_video_1 {
  opacity: 0.45;
}

.bg_video_2 {
  opacity: 0.24;
  mix-blend-mode: screen;
}

/* Overlay the enhanced gradient over the video to deepen the effect */
.bg_video_gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: var(--bg);
  opacity: 1;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Subtle extra overlay if desired */
.bg_video_dark_overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: rgba(25,40,70,0.27);
  /* Increase the alpha to make the video even darker if needed */
}

/* Original overlay pattern preserved */
.bg_overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 95% 60% at 50% 35%, rgba(255,255,255,0.09) 0%, transparent 65%),
    linear-gradient(to bottom, rgba(235,245,255, 0.10) 0%, rgba(103, 160, 238, 0.12) 100%);
  z-index: 3;
  font-family: 'FaleLy', Arial, sans-serif !important;
}

@media (max-width: 640px) {
  .content {
    padding-bottom: 6rem;
    font-family: 'FaleLy', Arial, sans-serif !important;
  }

  .main_logo {
    width: min(85vw, 22rem);
    margin-bottom: 2rem;
    font-family: 'FaleLy', Arial, sans-serif !important;
  }

  .countdown-sep {
    padding-bottom: 0.9rem;
    font-family: 'FaleLy', Arial, sans-serif !important;
  }

  .countdown-unit {
    min-width: 3.25rem;
    padding: 0.65rem 0.35rem;
    font-family: 'FaleLy', Arial, sans-serif !important;
  }

  .footer {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.5rem;
    padding-bottom: 1.5rem;
    font-family: 'FaleLy', Arial, sans-serif !important;
  }

  .footer-copy,
  .footer-links,
  .footer-credit {
    justify-self: center;
    font-family: 'FaleLy', Arial, sans-serif !important;
  }

  .footer-links {
    order: -1;
    font-family: 'FaleLy', Arial, sans-serif !important;
  }
}
