/* ========== FONT SETUP ========== */
@font-face {
  font-family: 'ZenLoop';
  src: url('/assets/fonts/ZenLoop-Regular.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Squarish';
  src: url('/assets/fonts/ZF2334Squarish-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Squarish';
  src: url('/assets/fonts/ZF2334Squarish-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

/* ========== LANDING PAGE BACKGROUND FIX ========== */
body {
  background: url('https://raw.githubusercontent.com/prismaticweave/prismaticweave/main/assets/images/background.jpg')
              center center / cover no-repeat scroll !important;
}

/* ========== LANDING PAGE LAYOUT ========== */
.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
  font-family: 'Squarish', 'Inter', sans-serif;
}

/* ========== LANDING PAGE TITLE ========== */
.title {
  font-family: 'ZenLoop', 'Spline Sans Mono', monospace;
  font-size: 7.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: #FFFFFF;
  animation: titleReveal 2s ease-out forwards,
             slowFloat 8s ease-in-out infinite 2s,
             titleGlow 3s ease-in-out infinite alternate 2s;
  z-index: 1;
  text-shadow: 
    0 0 5px #FFFFFF,
    0 0 10px #FFFFFF,
    0 0 15px #D3CCE3,
    0 0 20px #D3CCE3,
    0 0 35px #D3CCE3,
    0 0 40px #E9E4F0;
  opacity: 0;
}

/* ========== TAGLINE ========== */
.tagline {
  font-weight: 400;
  font-size: 1.2rem;
  color: #FFFFFF;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInSubtle 1.5s ease-out 2.5s forwards;
}

/* ========== CALL TO ACTION BUTTON ========== */
.cta {
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(to right, #D3CCE3, #E9E4F0);
  color: #292E49;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  transition: all 0.4s ease;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  opacity: 0;
  animation: fadeInSubtle 1.5s ease-out 4.5s forwards,
             pulseGlow 2.5s ease-in-out 6s 2;
}
.cta:hover {
  border-color: #E9E4F0;
  transform: scale(1.03);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

/* ========== ANIMATION KEYFRAMES ========== */
@keyframes titleReveal {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0% 0 0);
  }
}

@keyframes fadeInSubtle {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes titleGlow {
  0% {
    text-shadow: 
      0 0 5px #FFFFFF,
      0 0 10px #FFFFFF,
      0 0 15px #D3CCE3,
      0 0 20px #D3CCE3,
      0 0 35px #D3CCE3,
      0 0 40px #E9E4F0;
  }
  100% {
    text-shadow: 
      0 0 8px #FFFFFF,
      0 0 15px #FFFFFF,
      0 0 25px #D3CCE3,
      0 0 35px #D3CCE3,
      0 0 50px #D3CCE3,
      0 0 60px #E9E4F0;
  }
}

@keyframes slowFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes pulseGlow {
  0%   { box-shadow: 0 0 0 rgba(255,255,255,0); transform: scale(1); }
  50%  { box-shadow: 0 0 12px rgba(255,255,255,0.15); transform: scale(1.03); }
  100% { box-shadow: 0 0 0 rgba(255,255,255,0); transform: scale(1); }
}
