:root {
  --bg: rgb(2, 6, 23);
  --bg-light: #0f172a;

  --primary: #38bdf8;

  --text: #ffffff;
  --muted: #cbd5e1;

  --glass: rgba(15, 23, 42, 0.55);
  --border: rgba(255,255,255,0.06);

  --radius: 22px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top, #0b1220, var(--bg));

  color: var(--text);

  overflow-x: hidden;
}

/* reusable glass */
.glass {
  background: var(--glass);

  backdrop-filter: blur(16px);

  border: 1px solid var(--border);

  box-shadow:
    0 8px 32px rgba(0,0,0,0.3);
}

/* blobs */
.blobs {
  position: fixed;
  inset: 0;

  overflow: hidden;

  pointer-events: none;

  z-index: -1;
}

.blobs span {
  position: absolute;

  width: 300px;
  height: 300px;

  border-radius: 50%;

  background: rgba(56,189,248,0.12);

  filter: blur(60px);

  animation: float 12s infinite ease-in-out;
}

.blobs span:nth-child(1) {
  top: 10%;
  left: 10%;
}

.blobs span:nth-child(2) {
  bottom: 10%;
  right: 10%;

  animation-delay: 3s;
}

.blobs span:nth-child(3) {
  top: 50%;
  left: 60%;

  animation-delay: 6s;
}

@keyframes float {
  0%,100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-40px);
  }
}

/* navbar */
.navbar {
  position: fixed;

  top: 20px;
  left: 50%;

  transform:
    translateX(-50%)
    translateY(-100px);

  width: 90%;
  max-width: 1100px;

  padding: 16px 24px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  border-radius: 18px;

  z-index: 999;

  opacity: 0;

  transition: 0.4s ease;
}

.navbar.show-nav {
  opacity: 1;

  transform:
    translateX(-50%)
    translateY(0);
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;

  text-decoration: none;

  transition: 0.25s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

/* hero */
.hero-top {
  min-height: 115vh;

  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;

  background:
    linear-gradient(
      to bottom,
      rgba(2, 6, 23, 0.15) 0%,
      rgba(2, 6, 23, 0.4) 40%,
      rgba(2, 6, 23, 0.8) 75%,
      rgba(2, 6, 23, 1) 100%
    ),
    url("image.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
}

.hero-content {
  animation: heroFade 1s ease;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo {
  font-size: 5rem;
  font-weight: 800;

  color: var(--primary);

  text-shadow:
    0 0 20px rgba(56,189,248,0.5);
}

.tagline {
  margin-top: 10px;

  color: var(--muted);

  font-size: 1.1rem;
}

/* server box */
.server-box {
  margin-top: 25px;

  display: flex;
  justify-content: center;
  align-items: center;

  gap: 12px;

  flex-wrap: wrap;
}

.ip-box {
  padding: 12px 18px;

  border-radius: 14px;

  color: var(--primary);

  font-weight: 600;
}

/* buttons */
.btn {
  padding: 12px 22px;

  border: none;
  border-radius: 14px;

  background: var(--primary);
  color: black;

  font-weight: 700;

  cursor: pointer;

  transition: 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);

  box-shadow:
    0 12px 30px rgba(56,189,248,0.4);
}

/* server status */
.server-status {
  margin-top: 18px;

  color: #86efac;

  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

/* sections */
.section {
  padding: 100px 20px;

  text-align: center;
}

.section h2 {
  font-size: 2.4rem;
}

/* cards */
.features {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(250px, 1fr));

  gap: 24px;

  max-width: 1200px;

  margin:
    50px auto 0;
}

.card {
  padding: 35px;

  border-radius: var(--radius);

  transition: 0.35s ease;
}

.card:hover {
  transform:
    translateY(-10px)
    scale(1.02);
}

.card h3 {
  margin-bottom: 14px;
}

/* staff */
.staff-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(260px, 1fr));

  gap: 28px;

  max-width: 1200px;

  margin:
    50px auto 0;
}

.staff-card {
  padding: 35px 25px;

  border-radius: var(--radius);

  transition: 0.35s ease;
}

.staff-card:hover {
  transform:
    translateY(-10px)
    scale(1.02);
}

.staff-card img {
  width: 90px;
  height: 90px;

  margin-bottom: 18px;

  border-radius: 16px;

  image-rendering: pixelated;
}

.staff-card h3 {
  margin-bottom: 10px;
}

.staff-role {
  display: inline-block;

  padding: 6px 14px;

  border-radius: 999px;

  font-size: 0.85rem;
  font-weight: 700;

  margin-bottom: 14px;
}

.owner {
  background: rgba(239,68,68,0.15);
  color: #f87171;
}

.manager {
  background: rgba(197,34,48,0.15);
  color: #fb7185;
}

.dev {
  background: rgba(34,91,197,0.15);
  color: #60a5fa;
}

.admin {
  background: rgba(168,85,247,0.15);
  color: #c084fc;
}

.staff-card p {
  color: var(--muted);

  line-height: 1.6;
}

/* discord */
.discord p {
  margin:
    15px 0 25px;

  color: var(--muted);
}

/* footer */
footer {
  padding: 30px;

  text-align: center;

  color: #64748b;
}

/* fade */
.fade {
  opacity: 0;

  transform: translateY(40px);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade.show {
  opacity: 1;

  transform: translateY(0);
}

/* toast */
.toast {
  position: fixed;

  bottom: 25px;
  right: 25px;

  padding: 14px 20px;

  border-radius: 14px;

  background: rgba(15,23,42,0.95);

  border: 1px solid rgba(56,189,248,0.3);

  backdrop-filter: blur(10px);

  opacity: 0;

  transform: translateY(20px);

  transition: 0.3s ease;

  pointer-events: none;
}

.toast.show {
  opacity: 1;

  transform: translateY(0);
}

/* mobile */
@media (max-width: 768px) {

  .logo {
    font-size: 3rem;
  }

  .server-box {
    flex-direction: column;
  }

  .nav-links {
    display: none;
  }

}

.stats-section {
  display: flex;
  justify-content: center;
  gap: 25px;

  flex-wrap: wrap;

  margin-top: -60px;
  padding: 0 20px;

  position: relative;
  z-index: 5;
}

.stat {
  min-width: 220px;

  padding: 28px;

  border-radius: 24px;

  text-align: center;
}

.stat h3 {
  font-size: 2rem;
  color: #38bdf8;
}

.stat p {
  margin-top: 8px;
  color: #cbd5e1;
}

.dc {
  width: 90%;
  max-width: 900px;

  margin: 100px auto;

  padding: 70px 30px;

  border-radius: 30px;

  text-align: center;

  position: relative;

  overflow: hidden;
}

.dark-section,
.staff-section,
.dc,
footer {
  background: transparent;
}

body {
  background: #020617;

  color: white;
  overflow-x: hidden;
}

.blobs {
  position: fixed;
  inset: 0;

  overflow: hidden;

  pointer-events: none;

  z-index: 1;
}

.server-box {
  margin-top: 25px;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  text-align: center;

  gap: 14px;
}
.server-status,
.tagline {
  width: 100%;
  text-align: center;
}

.server-row {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  flex-wrap: wrap;
}

.server-row .ip-box {
  border-radius: 14px 0 0 14px;
}

.server-row .btn {
  border-radius: 0 14px 14px 0;
  margin-left: -15px;
}



.hero-top {
  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;

  padding: 0 16px;
}

body {
  overflow-x: hidden;
}

.stat {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.stat:hover {
  transform: translateY(-8px) scale(1.03);

  box-shadow:
    0 20px 40px rgba(0,0,0,0.4),
    0 0 25px rgba(56,189,248,0.2);
}

.navbar {
  position: fixed;

  top: 16px;
  left: 50%;

  transform: translateX(-50%);

  width: min(1100px, 92vw);

  padding: 14px 18px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;

  z-index: 999;

  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}


/* default state (VISIBLE unless JS activates animation system) */
.card,
.staff-card {
  opacity: 1;
  transform: none;
}

/* animated state */
.card.animate,
.staff-card.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

/* when revealed */
.card.animate.show,
.staff-card.animate.show {
  opacity: 1;
  transform: translateY(0);
}

.card,
.staff-card {
  position: relative;
  overflow: hidden;
}

/* shimmer layer */
.card::before,
.staff-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );

  transform: skewX(-20deg);
  transition: none;
  pointer-events: none;
}

/* shine on hover */
.card:hover::before,
.staff-card:hover::before {
  animation: shimmer 2.2s ease;
}

@keyframes shimmer {
  0% {
    left: -150%;
  }
  100% {
    left: 250%;
  }
}

.card:hover,
.staff-card:hover {
  box-shadow:
    0 20px 50px rgba(0,0,0,0.4),
    0 0 25px rgba(56,189,248,0.15),
    inset 0 0 20px rgba(255,255,255,0.04);
}

/* enable 3D space */
.card,
.staff-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.card,
.staff-card {
  transition: transform 0.25s ease;
}

.card,
.staff-card {
  transition: transform 0.12s ease;
  transform-style: preserve-3d;
}

.card,
.staff-card {
  transition: transform 0.18s ease;
  will-change: transform;
}

.hero {
  background-attachment: scroll;
}

.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* star base */
.star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: white;
  opacity: 0.6;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255,255,255,0.8);
  animation: drift linear infinite;
}

/* movement */
@keyframes drift {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-120vh);
  }
}

.nav-logo {
  position: relative;

  width: 42px;
  height: 42px;

  border-radius: 12px;

  object-fit: cover;

  overflow: hidden;

  box-shadow:
    box-shadow: none;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;

  animation:
    floatLogo 4s ease-in-out infinite;
}

/* hover */
.nav-logo:hover {
  transform:
    scale(1.08)
    rotate(3deg);

  box-shadow: none;
}

/* shimmer sweep */
.nav-logo::after {
  content: "";

  position: absolute;

  top: -50%;
  left: -120%;

  width: 60%;
  height: 200%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.45),
    transparent
  );

  transform: rotate(25deg);

  animation: shimmerLogo 3.5s infinite;
}

/* floating */
@keyframes floatLogo {
  50% {
    transform: translateY(-3px);
  }
}

/* shimmer movement */
@keyframes shimmerLogo {
  0% {
    left: -120%;
  }

  100% {
    left: 180%;
  }
  }
.nav-logo img {
  width: 100%;
  height: 100%;

  border-radius: inherit;

  display: block;
  }

.nav-logo img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  border-radius: inherit;
    }
.nav-logo {
  position: relative;

  width: 42px;
  height: 42px;

  min-width: 42px;
  min-height: 42px;

  flex-shrink: 0;

  overflow: hidden;
  border-radius: 12px;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar {
  padding: 12px 18px;
  align-items: center;
}
/* socials */
.socials-section {
  position: relative;
}

.social-card {
  max-width: 700px;

  margin: 40px auto 0;

  padding: 28px;

  display: flex;
  align-items: center;

  gap: 24px;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.social-card:hover {
  transform:
    translateY(-8px)
    scale(1.01);

  box-shadow:
    0 20px 40px rgba(0,0,0,0.35);
}

.social-card img {
  width: 90px;
  height: 90px;

  border-radius: 18px;

  image-rendering: pixelated;

  flex-shrink: 0;
}

.social-info {
  text-align: left;
}

.social-info h3 {
  margin-bottom: 8px;

  font-size: 1.4rem;
}

.social-info p {
  color: var(--muted);

  margin-bottom: 18px;

  line-height: 1.5;
}

.social-btn {
  display: inline-block;

  padding: 12px 18px;

  border-radius: 14px;

  background: #ff0000;

  color: white;

  text-decoration: none;

  font-weight: 700;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.social-btn:hover {
  transform: translateY(-3px);

  box-shadow:
    0 10px 25px rgba(255,0,0,0.35);
}

/* mobile */
@media (max-width: 700px) {

  .social-card {
    flex-direction: column;
    text-align: center;
  }

  .social-info {
    text-align: center;
  }

}

/* socials */
.social-card {
  max-width: 760px;

  margin: 0 auto;

  padding: 34px;

  display: flex;
  align-items: center;
  gap: 30px;

  position: relative;

  overflow: hidden;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.social-card:hover {
  transform:
    translateY(-8px)
    scale(1.01);

  box-shadow:
    0 20px 45px rgba(0,0,0,0.35);
}

/* left side */
.social-head {
  display: flex;
  flex-direction: column;
  align-items: center;

  flex-shrink: 0;
}

.official-tag {
  margin-bottom: 10px;

  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 1px;
  text-transform: uppercase;

  color: #94a3b8;
}

.social-head img {
  width: 100px;
  height: 100px;

  border-radius: 20px;

  image-rendering: pixelated;
}

/* right side */
.social-info {
  text-align: left;
}

.social-title {
  font-size: 2.3rem;
  font-weight: 800;

  margin-bottom: 12px;

  line-height: 1;
}

.social-title span {
  background:
    linear-gradient(
      90deg,
      #38bdf8,
      #7dd3fc
    );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow:
    0 0 18px rgba(56,189,248,0.35);
}

.social-info p {
  color: #94a3b8;

  line-height: 1.6;

  max-width: 420px;

  margin-bottom: 22px;
}

/* button */
.social-btn {
  display: inline-block;

  padding: 12px 18px;

  border-radius: 14px;

  background: #ff0000;

  color: white;

  text-decoration: none;

  font-weight: 700;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.social-btn:hover {
  transform: translateY(-3px);

  box-shadow:
    0 12px 28px rgba(255,0,0,0.35);
}

/* mobile */
@media (max-width: 700px) {

  .social-card {
    flex-direction: column;
    text-align: center;
  }

  .social-info {
    text-align: center;
  }

  .social-info p {
    margin-inline: auto;
  }

}