* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-main: #07090d;
  --bg-secondary: #0d1117;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-strong: rgba(255, 255, 255, 0.06);
  --border-soft: rgba(255, 255, 255, 0.06);
  --border-blue: rgba(0, 149, 255, 0.24);
  --text-main: #ffffff;
  --text-soft: #a9b4bf;
  --text-muted: #7f8c99;
  --blue-main: #009dff;
  --blue-second: #005dff;
  --blue-light: #58c4ff;
  --shadow-blue: 0 0 30px rgba(0, 140, 255, 0.20);
  --shadow-blue-strong: 0 0 35px rgba(0, 140, 255, 0.35);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --transition: all 0.35s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(0, 132, 255, 0.10), transparent 30%),
    radial-gradient(circle at bottom right, rgba(0, 76, 255, 0.10), transparent 28%),
    linear-gradient(180deg, #06080c 0%, #0a0e14 35%, #090c11 100%);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
}

.container {
  width: min(90%, 1280px);
  margin: auto;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
  pointer-events: none;
  z-index: -4;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -3;
  pointer-events: none;
}

.glow1 {
  width: 380px;
  height: 380px;
  top: 70px;
  left: -80px;
  background: rgba(0, 157, 255, 0.22);
}

.glow2 {
  width: 420px;
  height: 420px;
  right: -120px;
  bottom: -20px;
  background: rgba(0, 93, 255, 0.18);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(8, 11, 16, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 157, 255, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo-box {
  width: 152px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  border-radius: 1px;
  /* background: linear-gradient(135deg, var(--blue-main), var(--blue-second)); */
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: var(--shadow-blue); */
  position: relative;
  overflow: hidden;
  padding: 1px;
}

.logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* filter: drop-shadow(0 0 8px rgba(0, 140, 255, 0.45)); */
}

.logo:hover .logo-box img {
  transform: scale(1.1) rotate(3deg);
  /* filter: drop-shadow(0 0 14px rgba(0, 162, 255, 0.8)); */
}

.logo h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.logo span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nav-links a {
  position: relative;
  color: #d8e1ea;
  font-size: 0.95rem;
  padding: 10px 12px;
  border-radius: 10px;
  transition: var(--transition);
}

.nav-links a:not(.nav-btn)::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-main), var(--blue-light));
  border-radius: 999px;
  transition: 0.35s ease;
}

.nav-links a:not(.nav-btn):hover {
  color: #fff;
  background: rgba(255,255,255,0.03);
}

.nav-links a:not(.nav-btn):hover::after {
  width: calc(100% - 24px);
}

.nav-btn {
  padding: 12px 18px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, var(--blue-main), var(--blue-second));
  color: #fff !important;
  box-shadow: 0 0 20px rgba(0, 140, 255, 0.24);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}

.nav-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.22), transparent 80%);
  transform: translateX(-120%);
  transition: 0.7s ease;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(0, 140, 255, 0.35);
}

.nav-btn:hover::before {
  transform: translateX(120%);
}

.hero {
  padding: 100px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(0, 157, 255, 0.24);
  background: rgba(0, 157, 255, 0.08);
  color: var(--blue-light);
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 22px;
  box-shadow: inset 0 0 20px rgba(0, 157, 255, 0.06);
}

.hero-left h1 {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  max-width: 760px;
}

.hero-left h1 span {
  color: var(--blue-light);
  text-shadow: 0 0 20px rgba(88, 196, 255, 0.22);
}

.hero-left p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.95;
  max-width: 690px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 14px 24px;
  border-radius: 15px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-110%);
  transition: 0.65s ease;
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(110%);
}

.btn.primary {
  background: linear-gradient(135deg, var(--blue-main), var(--blue-second));
  color: #fff;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 0 24px rgba(0, 140, 255, 0.24);
}

.btn.primary::before {
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.26), transparent 80%);
}

.btn.primary:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 0 32px rgba(0, 140, 255, 0.42);
}

.btn.secondary {
  background: rgba(255,255,255,0.035);
  color: #e6eef7;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.btn.secondary::before {
  background: linear-gradient(120deg, transparent 20%, rgba(0,157,255,0.16), transparent 80%);
}

.btn.secondary:hover {
  transform: translateY(-4px);
  color: #fff;
  border-color: rgba(0, 157, 255, 0.32);
  box-shadow: 0 0 24px rgba(0, 140, 255, 0.12);
}

.hero-mini-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.mini-box {
  min-width: 150px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.03));
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.mini-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, transparent 25%, rgba(0,157,255,0.08), transparent 70%);
  opacity: 0;
  transition: 0.35s ease;
}

.mini-box:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 157, 255, 0.24);
  box-shadow: 0 0 24px rgba(0, 140, 255, 0.10);
}

.mini-box:hover::before {
  opacity: 1;
}

.mini-box h3 {
  font-size: 1.5rem;
  color: var(--blue-light);
  margin-bottom: 6px;
}

.mini-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.server-card {
  position: relative;
  background: linear-gradient(180deg, rgba(14,18,25,0.95), rgba(9,12,18,0.96));
  border: 1px solid rgba(0, 157, 255, 0.16);
  border-radius: 28px;
  padding: 28px;
  box-shadow:
    0 30px 50px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(0, 110, 255, 0.08);
  overflow: hidden;
}

.server-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(88,196,255,0.9), transparent);
  animation: topLine 5s linear infinite;
}

@keyframes topLine {
  0% { left: -40%; }
  100% { left: 100%; }
}

.server-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.live-status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d9e4ef;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #00ff9c;
  box-shadow: 0 0 12px #00ff9c;
  animation: pulseDot 1.6s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.22); opacity: 0.75; }
  100% { transform: scale(1); opacity: 1; }
}

.server-tag {
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--blue-light);
  font-size: 0.84rem;
  background: rgba(0, 157, 255, 0.08);
  border: 1px solid rgba(0, 157, 255, 0.18);
}

.server-ip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 24px;
  transition: var(--transition);
}

.server-ip:hover {
  border-color: rgba(0, 157, 255, 0.18);
  box-shadow: inset 0 0 20px rgba(0, 157, 255, 0.03);
}

.server-ip small {
  color: var(--text-muted);
  display: inline-block;
  margin-bottom: 6px;
}

.server-ip h3 {
  font-size: 1.08rem;
  color: #fff;
  word-break: break-word;
}

.server-ip button {
  position: relative;
  padding: 12px 18px;
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, var(--blue-main), var(--blue-second));
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition);
}

.server-ip button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.25), transparent 80%);
  transform: translateX(-120%);
  transition: 0.7s ease;
}

.server-ip button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 24px rgba(0, 140, 255, 0.32);
}

.server-ip button:hover::before {
  transform: translateX(120%);
}

.progress-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.progress-item {
  padding: 14px 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 18px;
  transition: var(--transition);
}

.progress-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 157, 255, 0.18);
  background: rgba(255,255,255,0.035);
}

.progress-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: #d6e0ea;
  font-size: 0.92rem;
  flex-wrap: wrap;
}

.progress-bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  position: relative;
}

.fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #00a2ff, #005dff);
  box-shadow: 0 0 18px rgba(0, 140, 255, 0.35);
  position: relative;
  overflow: hidden;
}

.fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255,255,255,0.28), transparent 75%);
  animation: moveShine 2.8s linear infinite;
}

@keyframes moveShine {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(140%); }
}

.fill2 { width: 81%; }
.fill3 { width: 96%; }

.server-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.server-bottom span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.05);
  color: #d2dbe5;
  font-size: 0.84rem;
  transition: var(--transition);
}

.server-bottom span:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 157, 255, 0.22);
  color: #fff;
}

section {
  padding: 90px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 54px;
}

.section-title span {
  display: inline-block;
  color: var(--blue-light);
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}

.section-title p {
  max-width: 760px;
  margin: auto;
  line-height: 1.9;
  color: var(--text-soft);
}

.about-grid,
.faction-grid,
.stats-grid {
  display: grid;
  gap: 22px;
}

.about-grid {
  grid-template-columns: repeat(4, 1fr);
}

.card,
.faction-card,
.stat-box,
.cta-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.03));
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.card::before,
.faction-card::before,
.stat-box::before,
.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, transparent 20%, rgba(0,157,255,0.06), transparent 72%);
  opacity: 0;
  transition: 0.35s ease;
}

.card:hover::before,
.faction-card:hover::before,
.stat-box:hover::before,
.cta-box:hover::before {
  opacity: 1;
}

.card {
  padding: 26px;
  transition: var(--transition);
}

.card:hover,
.faction-card:hover,
.stat-box:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 157, 255, 0.22);
  box-shadow: 0 0 28px rgba(0, 140, 255, 0.10);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-main), var(--blue-second));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 0 22px rgba(0, 140, 255, 0.24);
}

.card h3 {
  font-size: 1.14rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-soft);
  line-height: 1.85;
  font-size: 0.95rem;
}

.faction-grid {
  grid-template-columns: repeat(3, 1fr);
}

.faction-card {
  padding: 28px;
  transition: var(--transition);
}

.faction-card h3 {
  font-size: 1.16rem;
  margin-bottom: 14px;
}

.faction-card p {
  color: var(--text-soft);
  line-height: 1.85;
  margin-bottom: 18px;
}

.faction-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-light);
  font-weight: 600;
  position: relative;
  transition: var(--transition);
}

.faction-card a::after {
  content: "→";
  transition: 0.3s ease;
}

.faction-card a:hover {
  color: #fff;
}

.faction-card a:hover::after {
  transform: translateX(5px);
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.stat-box {
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
}

.stat-box h2 {
  font-size: 2.2rem;
  color: var(--blue-light);
  margin-bottom: 8px;
  text-shadow: 0 0 18px rgba(88,196,255,0.10);
}

.stat-box p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.cta-box {
  padding: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  transition: var(--transition);
}

.cta-box span {
  color: var(--blue-light);
  font-weight: 600;
}

.cta-box h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 10px 0 12px;
}

.cta-box p {
  color: var(--text-soft);
  line-height: 1.9;
  max-width: 720px;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.18);
  padding: 26px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.footer p,
.footer a {
  color: #93a0ab;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer a:hover {
  color: var(--blue-light);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 1150px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faction-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding: 80px 0 60px;
  }

  .about-grid,
  .faction-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .server-ip {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-left p,
  .section-title p,
  .cta-box p {
    line-height: 1.8;
  }
}

@media (max-width: 560px) {
  .container {
    width: 92%;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .btn {
    width: 100%;
  }

  .hero-mini-stats {
    flex-direction: column;
  }

  .mini-box {
    width: 100%;
  }

  .server-card,
  .card,
  .faction-card,
  .stat-box,
  .cta-box {
    border-radius: 20px;
  }
}