
#video-background {
/*  making the video fullscreen  */
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%; 
  min-height: 100%;
  width: auto; 
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -100;  
}

/* Phrase Display Styling */
#phrase-display {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  text-align: center;
  width: 90%;
  max-width: 800px;
  padding: 20px;
}

#phrase-text {
  font-family: 'Cantata One', serif;
  font-size: clamp(2rem, 8vw, 6rem);
  font-weight: 400;
  color: rgb(0, 0, 0);
  margin: 0;
  /* text-shadow: 0 0 20px rgba(199, 196, 196, 0.5); */
  background: linear-gradient(45deg, #381818, #2a1414, #2c2033, #150b33, #122c31);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease-in-out infinite;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Bottom CTA buttons */
#cta-buttons {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  display: flex;
  gap: 12px;
}

.cta-button {
  font-family: 'Cantata One', serif;
  font-size: clamp(1rem, 3.5vw, 1.5rem);
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.2);
  color: #000;
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.cta-button:active {
  transform: translateY(0);
}

/* Mobile adjustments for CTA */
@media (max-width: 480px) {
  #cta-buttons {
    bottom: 16px;
    gap: 8px;
    padding: 0 8px;
  }
  .cta-button {
    flex: 1 1 auto;
    padding: 12px 16px;
  }
}


/* Mobile phones */
@media (max-width: 480px) {
  #video-background {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%; 
    min-height: 100%;
    width: auto; 
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -100;
    object-fit: cover;
    /* Ensure video is visible and can play on mobile */
    display: block;
    visibility: visible;
  }
  
  /* Fallback background for when video doesn't play */
  body {
    background: url(poster.png) no-repeat center center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
  }
  
  /* Mobile phrase display adjustments */
  #phrase-display {
    width: 95%;
    padding: 15px;
  }
  
  #phrase-text {
    font-size: clamp(2rem, 8vw, 6rem);
    line-height: 1.1;
  }


}











