:root {
  --main: #4d8dd4;
  --accent: #a9f1e1;
  --bg-dark: #0b1220;
  --bg-card: rgba(255, 255, 255, 0.06);
  --text-muted: #bfc7d5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top, #0f1b2e, var(--bg-dark));
  color: #fff;
  min-height: 100vh;
}

/* ===== NAVBAR ===== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  z-index: 10;
  width: 100vw;
}

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

.logo img { width: 42px; height: 42px; border-radius: 8px; }
.logo span {
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--main), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* NAV LINKS */
nav.nav-links { display: flex; align-items: center; }
nav.nav-links a {
  position: relative;
  color: #fff;
  text-decoration: none;
  margin-left: 28px;
  font-weight: 500;
  opacity: 0.85;
  padding-bottom: 4px;
  transition: color 0.25s ease;
}
nav.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--main), var(--accent));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
nav.nav-links a:hover { opacity: 1; color: var(--accent); }
nav.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 20px; background: none; border: none; cursor: pointer; padding: 0; }
.hamburger span { display: block; height: 3px; width: 100%; background: #fff; border-radius: 2px; transition: 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,6px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-6px); }

/* HERO */
.hero { padding: 0px 20px 80px; text-align: center; }
.hero h1 { font-size: 3rem; margin-bottom: 16px; background: linear-gradient(90deg, var(--main), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { max-width: 640px; margin: 0 auto 32px; color: var(--text-muted); font-size: 1.1rem; }
.hero .buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* HERO CARDS STAGGERED FADE */
.hero .buttons > div, .hero p, .hero h1{
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s forwards;
}
.hero .buttons > div:nth-child(1) { animation-delay: 0.2s; }
.hero .buttons > div:nth-child(2) { animation-delay: 0.3s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* COPY CARD */
.copy-card {
  background: linear-gradient(135deg, rgba(77,141,212,0.15), rgba(169,241,225,0.15));
  border: 1px solid rgba(169,241,225,0.25);
  border-radius: 16px;
  padding: 22px 28px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.copy-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(77,141,212,0.35); }
.copy-card .ip-text {
  font-size: 1.25rem;
  font-variant: small-caps;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, var(--main), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.copy-card .copy-text { font-size: 0.9rem; color: var(--text-muted); }

/* DISCORD CARD */
.discord-card {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  gap: 12px;
  background: linear-gradient(135deg, rgba(77,141,212,0.15), rgba(169,241,225,0.15));
  border: 1px solid rgba(169,241,225,0.25);
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.discord-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(77,141,212,0.35); }
.discord-logo { width: 32px; height: 32px; border-radius: 8px; }
.discord-text { font-size: 1.25rem; font-weight: 700; color: var(--accent); }

/* FEATURES */
.features {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.card {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 28px;
  width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.5s forwards;
}
.card:nth-child(1) { animation-delay: 0.45s; }
.card:nth-child(2) { animation-delay: 0.60s; }
.card:nth-child(3) { animation-delay: 0.75s; }
.card:hover { transform: translateY(-10px) scale(1.05); box-shadow: 0 20px 40px rgba(77,141,212,0.3); }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }

/* FOOTER */
footer { padding: 30px 20px; text-align: center; color: var(--text-muted); background: rgba(0,0,0,0.3); margin-top: 60px; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.3rem; }
  nav.nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    flex-direction: column;
    background: rgba(0,0,0,0.9);
    width: 200px;
    padding: 20px;
    display: none;
    border-radius: 0 0 8px 8px;
    gap: 12px;
  }
  nav.nav-links.show { display: flex; }
  nav.nav-links a { margin-left: 0; }
  .hamburger { display: flex; }
}