/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  background: #0f0f1a;
}

/* Background Blur */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/bg.jpg') center/cover no-repeat;
  z-index: -2;
  filter: blur(8px);
}

/* Frosted glass effect */
.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.4);
  padding: 2rem;
  animation: fadeIn 1s ease-in-out forwards;
  text-align: center;
}

/* Title */
.title {
  font-size: 4rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
  opacity: 0;
  animation: fadeIn 1s ease-in-out 0.3s forwards;
}

/* Gradient + Dimmed Glow */
.arch, .cord {
  display: inline-block;
  font-weight: 700;
  background: linear-gradient(270deg,
    #ff9edb,
    #ffb6a8,
    #ffeaa7,
    #caffd0,
    #9be0ff,
    #d2b4ff,
    #ff9edb
  );
  background-size: 400% 400%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;

  /* Dimmed glow (75% lower brightness) */
  text-shadow:
    0 0 2px rgba(255, 255, 255, 0.15),
    0 0 4px rgba(172, 130, 255, 0.15),
    0 0 8px rgba(155, 224, 255, 0.12);
}

.arch {
  font-weight: 600;
}

.cord {
  font-weight: 800;
}

/* Subtitle */
.subtitle {
  font-size: 1.25rem;
  color: #a59eff;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 1s ease-in-out 0.6s forwards;
}

/* CTA Button */
.cta-button {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  color: white;
  background: linear-gradient(135deg, #a259ff, #8e8dff);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: fadeIn 1s ease-in-out 0.9s forwards;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px #a259ff;
}

/* Down Arrow */
.down-arrow {
  font-size: 2rem;
  color: #a59eff;
  margin-top: 2rem;
  cursor: pointer;
  animation: bounce 2s infinite, fadeIn 1s ease-in-out 1.2s forwards;
  opacity: 0;
}

/* Scroll Section */
.below-section {
  height: 100vh;
  background-color: #1a1a1a;
}

/* FadeIn Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Gradient animation */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Bounce animation */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .title {
    font-size: 3rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .cta-button {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
  }

  .down-arrow {
    font-size: 1.5rem;
  }
}
