:root {
  --bg-1: #0f0c29;
  --bg-2: #302b63;
  --bg-3: #24243e;
  --text: #e8e8f0;
  --muted: #9a9ab0;
  --accent: #ff6ec7;
}

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

html, body {
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg-1), var(--bg-2), var(--bg-3));
  background-size: 400% 400%;
  animation: bgShift 18s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.nav a:hover {
  opacity: 1;
}

.nav-logo {
  font-weight: 700;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero {
  text-align: center;
  padding: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #ff6ec7, #7873f5, #4ade80, #fbbf24, #ff6ec7);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 6s linear infinite;
}

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

.hero-sub {
  margin-top: 1rem;
  font-size: clamp(1rem, 3vw, 1.4rem);
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer {
  padding: 1.2rem 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
