* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #0a0a0a;
  --accent-color: #3b82f6;
  --text-color: #ffffff;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
    "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  background: linear-gradient(135deg, #1a2e1a 0%, #2d3f2d 50%, #1c2a1c 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

@keyframes backgroundShift {
  0%,
  100% {
    background: linear-gradient(135deg, #1e0a3c 0%, #0a2540 50%, #1a1a3e 100%);
  }
  50% {
    background: linear-gradient(135deg, #2a0a3c 0%, #0a3540 50%, #1a2a3e 100%);
  }
}

body::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 159, 64, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 8s ease-in-out infinite;
}

body::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(252, 211, 77, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  top: 30%;
  right: 10%;
  animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

main {
  text-align: center;
  z-index: 1;
  position: relative;
}

.logo {
  font-size: clamp(3rem, 12vw, 8rem);
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  background: linear-gradient(
    135deg,
    #fbbf24 0%,
    #d4fa3d 30%,
    #f8dc18 60%,
    #f9842c 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation:
    fadeInUp 1s ease-out,
    gradientFlow 8s ease infinite;
}

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

.accent-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    #fbbf24,
    #fb923c,
    #f97316,
    transparent
  );
  margin: 0 auto;
  border-radius: 2px;
  animation:
    fadeInUp 1s ease-out 0.3s both,
    glow 2s ease-in-out infinite;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow:
      0 0 15px rgba(251, 191, 36, 0.6),
      0 0 25px rgba(249, 115, 22, 0.4);
  }
  50% {
    box-shadow:
      0 0 25px rgba(251, 146, 60, 0.8),
      0 0 40px rgba(249, 115, 22, 0.6),
      0 0 55px rgba(251, 191, 36, 0.4);
  }
}

@media (max-width: 768px) {
  .logo {
    font-size: clamp(2.5rem, 10vw, 5rem);
  }

  .accent-line {
    width: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
