/* ============================================================
   BluVulf — Coming Soon Page
   style.css
   ============================================================ */

/* -------------------------------------------------------
   1. Brand Tokens
------------------------------------------------------- */
:root {
  /* Teal spectrum */
  --ice:            #F2F7FA;
  --sky-teal:       #4ECBDF;
  --northern-teal:  #26B7CD;
  --ocean:          #21A1B5;
  --teal-primary:   #1A7F8E;
  --deep-teal:      #08526A;
  --deep-navy:      #0E0B2E;

  /* Neutrals */
  --white:          #FFFFFF;
  --off-white:      #F7F7F7;
  --charcoal:       #34373D;

  /* Accents */
  --aurora-cyan:    #00E5D4;
  --aurora-violet:  #C078FF;

  /* Layout */
  --marquee-height-mobile:  60px;
  --marquee-height-desktop: 100px;
}


/* -------------------------------------------------------
   2. Reset & Base
------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  overflow-x: hidden;
  background-color: var(--deep-navy);
  font-family: 'Manrope', sans-serif;
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* -------------------------------------------------------
   3. Marquee Bar
------------------------------------------------------- */
.marquee-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--marquee-height-mobile);
  background-color: var(--ocean);
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 100;
  /* Subtle border on the bottom edge */
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 32s linear infinite;
  will-change: transform;
}

.marquee-content {
  display: inline-block;
  font-family: "ethnocentric", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(13px, 1.6vw, 24px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  padding-right: 0;
  /* Prevent layout reflows */
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Pause on hover / focus for accessibility */
.marquee-bar:hover .marquee-track,
.marquee-bar:focus-within .marquee-track {
  animation-play-state: paused;
}

@media (min-width: 768px) {
  .marquee-bar {
    height: var(--marquee-height-desktop);
  }
}


/* -------------------------------------------------------
   4. Hero Section
------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100dvh;     /* dynamic viewport height — fills screen on mobile too */
  padding-top: var(--marquee-height-mobile);

  display: flex;
  align-items: center;
  justify-content: center;

  /* Background image */
  background-image: url('images/hero-rotated.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;  /* subtle parallax effect on desktop */
}

@media (min-width: 768px) {
  .hero {
    padding-top: var(--marquee-height-desktop);
    min-height: 100svh;
  }
}

/* Disable fixed attachment on mobile (poor performance + buggy on iOS) */
@media (max-width: 767px) {
  .hero {
    background-attachment: scroll;
  }
}


/* -------------------------------------------------------
   5. Hero Overlay (matches Figma radial gradient exactly)
------------------------------------------------------- */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(8, 82, 106, 0.8)  0%,
      rgba(0, 0, 0, 0.5)    84%
    );
  pointer-events: none;
}


/* -------------------------------------------------------
   6. Aurora Glow Accents
------------------------------------------------------- */
.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: glow-pulse 8s ease-in-out infinite alternate;
}

.glow--top {
  width: clamp(300px, 50vw, 700px);
  height: clamp(300px, 50vw, 700px);
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 229, 212, 0.12) 0%, transparent 70%);
  animation-delay: 0s;
}

.glow--bottom {
  width: clamp(200px, 40vw, 500px);
  height: clamp(200px, 40vw, 500px);
  bottom: 5%;
  right: 10%;
  background: radial-gradient(circle, rgba(192, 120, 255, 0.08) 0%, transparent 70%);
  animation-delay: 3s;
}

@keyframes glow-pulse {
  from { opacity: 0.4; transform: translateX(-50%) scale(1); }
  to   { opacity: 1;   transform: translateX(-50%) scale(1.15); }
}

.glow--bottom {
  animation-name: glow-pulse-bottom;
}

@keyframes glow-pulse-bottom {
  from { opacity: 0.3; transform: scale(1); }
  to   { opacity: 0.8; transform: scale(1.2); }
}


/* -------------------------------------------------------
   7. Hero Content
------------------------------------------------------- */
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 56px;   /* matches Figma gap */
}


/* -------------------------------------------------------
   8. Logo
------------------------------------------------------- */
.logo {
  display: block;
  width: min(500px, 80vw);
  height: auto;

  /* Figma drop shadow */
  filter: drop-shadow(4px 4px 20px rgba(0, 0, 0, 0.35));

  /* Entrance animation */
  opacity: 0;
  animation: logo-rise 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

@keyframes logo-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .logo {
    width: min(500px, 50vw);
  }
}


/* -------------------------------------------------------
   9. Reduced Motion — respect user preferences
------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }

  .marquee-content:last-child {
    display: none;
  }

  .logo {
    opacity: 1;
    animation: none;
  }

  .glow {
    animation: none;
    opacity: 0.5;
  }

  .hero {
    background-attachment: scroll;
  }
}
