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

body {
  background: #0a0a0f;
  color: #e0e0e8;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(78, 140, 255, 0.1);
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav nav a {
  color: #8888a0;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: 0.2s;
}

.nav nav a:hover {
  color: #e0e0e8;
  background: rgba(78, 140, 255, 0.08);
}

.nav nav a.active {
  color: #5b9bff;
  background: rgba(78, 140, 255, 0.12);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(78, 140, 255, 0.5));
}

.logo span {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1rem;
  background: linear-gradient(135deg, #5b9bff, #7c4dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.cta {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #5b9bff, #7c4dff);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: 0.3s;
  border: none;
  cursor: pointer;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(91, 155, 255, 0.4);
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: #5865F2;
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: 0.3s;
  border: none;
  cursor: pointer;
}

.btn-discord:hover {
  background: #4752C4;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.4);
}

.btn-discord svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Hero small (subpages) */
.hero-small {
  text-align: center;
  padding: 120px 20px 60px;
  background: radial-gradient(ellipse at top, rgba(91, 155, 255, 0.08), transparent 60%);
}

.hero-small h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff, #8888a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-small p {
  color: #8888a0;
  font-size: 1.15rem;
  max-width: 500px;
  margin: 0 auto;
}

main {
  min-height: 70vh;
}

footer {
  text-align: center;
  padding: 24px 20px;
  background: rgba(10, 10, 15, 0.95);
  color: #555;
  font-size: 0.85rem;
  border-top: 1px solid rgba(78, 140, 255, 0.08);
}

footer a {
  color: #5865F2;
  transition: 0.2s;
}

footer a:hover {
  color: #7c8aff;
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Card base */
.card-base {
  background: rgba(20, 22, 32, 0.8);
  border: 1px solid rgba(78, 140, 255, 0.1);
  border-radius: 16px;
  padding: 30px;
  transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-base:hover {
  border-color: rgba(91, 155, 255, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(91, 155, 255, 0.12);
}

/* Mobile nav */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #e0e0e8;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav {
    padding: 14px 20px;
  }
  .nav nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    flex-direction: column;
    padding: 10px 20px 20px;
    gap: 4px;
    border-bottom: 1px solid rgba(78, 140, 255, 0.1);
  }
  .nav nav.open {
    display: flex;
  }
  .nav nav a {
    padding: 12px 14px;
    width: 100%;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-small h1 {
    font-size: 2rem;
  }
}

/* Discord icon inline SVG helper */
.discord-icon {
  display: inline-block;
  vertical-align: middle;
}
