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

:root {
  --bg: #050505;
  --bg-card: rgba(20, 20, 25, 0.7);
  --text: #ffffff;
  --text-muted: #a0a0b0;
  --red: #ff3b3b;
  --green: #00e676;
  --blue: #2979ff;
  --yellow: #ffea00;
  --cyan: #00e5ff;
  --pink: #ff4081;
  --glow-red: 0 0 20px rgba(255, 59, 59, 0.5);
  --glow-green: 0 0 20px rgba(0, 230, 118, 0.5);
  --glow-blue: 0 0 20px rgba(41, 121, 255, 0.5);
  --glow-yellow: 0 0 20px rgba(255, 234, 0, 0.5);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Ambient background lights */
.ambient-lights {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-lights .light {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  animation: float 18s ease-in-out infinite;
}

.ambient-lights .light.red {
  background: var(--red);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.ambient-lights .light.green {
  background: var(--green);
  top: 20%;
  right: -150px;
  animation-delay: -4s;
}

.ambient-lights .light.blue {
  background: var(--blue);
  bottom: 10%;
  left: 10%;
  animation-delay: -8s;
}

.ambient-lights .light.yellow {
  background: var(--yellow);
  bottom: -100px;
  right: 20%;
  animation-delay: -12s;
}

.ambient-lights .light.cyan {
  background: var(--cyan);
  top: 40%;
  left: 40%;
  animation-delay: -6s;
  opacity: 0.12;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
}

.nav-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-discord {
  background: linear-gradient(135deg, #5865F2, #4752C4);
  color: white !important;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-weight: 600 !important;
}

.nav-discord:hover {
  filter: brightness(1.1);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
}

.hero-content {
  max-width: 700px;
}

.hero-logo {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.15));
  animation: logo-glow 4s ease-in-out infinite;
}

@keyframes logo-glow {
  0%, 100% { filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.12)); }
  50% { filter: drop-shadow(0 0 45px rgba(0, 229, 255, 0.25)); }
}

.hero h1 {
  font-size: clamp(3.2rem, 10vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #fff 30%, #a0e0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #5865F2, #4752C4);
  color: white;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
  padding: 1rem 2.2rem;
  font-size: 1.1rem;
}

/* Features */
.features {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 3.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 1.8rem 1.5rem;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}

.feature-icon.red {
  background: rgba(255, 59, 59, 0.15);
  box-shadow: var(--glow-red);
}

.feature-icon.green {
  background: rgba(0, 230, 118, 0.15);
  box-shadow: var(--glow-green);
}

.feature-icon.blue {
  background: rgba(41, 121, 255, 0.15);
  box-shadow: var(--glow-blue);
}

.feature-icon.yellow {
  background: rgba(255, 234, 0, 0.15);
  box-shadow: var(--glow-yellow);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Community CTA */
.community {
  position: relative;
  z-index: 1;
  padding: 3rem 1.5rem 6rem;
}

.community-card {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.8), rgba(15, 15, 20, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 3.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.community-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.2));
}

.community-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.community-card p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem 1.5rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.footer-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-discord {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-discord:hover {
  color: var(--text);
}

/* Responsive */
@media (max-width: 700px) {
  .nav-links a:not(.nav-discord) {
    display: none;
  }

  .hero-logo {
    width: 140px;
    height: 140px;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .community-card {
    padding: 2.5rem 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
