:root {
  --bg: #0f1116;
  --glass: rgba(255, 255, 255, 0.08);
  --accent: #ffd966;
  --text: #fff;
  --blur: 20px;
  --transition: 0.3s ease;
  --radius: 16px;
  transition: all 1s;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(var(--blur));
  background: var(--glass);
  z-index: 100;
}
.navbar .logo { font-weight: 700; font-size: 1.2rem; color: var(--accent); }
.navbar nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--text);
  opacity: 0.8;
  transition: var(--transition);
}
.navbar nav a:hover { opacity: 1; color: var(--accent); }

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at center, #1b1d23, #0f1116);
  padding: 2rem;
}
.hero-content {
  max-width: 600px;
  animation: fadeIn 2s ease;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.2;
}

/* CTA */
.cta {
  background: var(--accent);
  color: #000;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}
.cta:hover { transform: scale(1.05); }

/* Lemon Spinner */
#lemon-spinner {
  display: inline-block;
  font-weight: 600;
  color: var(--accent);
  transition: opacity 0.5s ease, transform 0.5s ease;
  height: 1.2em; /* keeps line stable */
}

/* SERVICES */
.services {
  padding: 5rem 2rem;
  text-align: center;
}
.services h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
}
.service-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1000px;
  margin: auto;
}
.card {
  background: var(--glass);
  backdrop-filter: blur(var(--blur));
  border-radius: var(--radius);
  padding: 2rem;
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

/* COMMUNITY */
.community {
  text-align: center;
  padding: 5rem 2rem;
}
.discord-embed {
  margin: 2rem auto;
  border-radius: var(--radius);
  overflow: hidden;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  opacity: 0.6;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
