* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #05070d;
  color: #fff;
}

/* HEADER */
header {
  width: 100%;
  height: 76px;
  background: rgba(5, 7, 13, 0.96);
  border-bottom: 1px solid #202638;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  position: sticky;
  top: 0;
  z-index: 99;
}

.logo {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
}

.logo span {
  color: #ffcc00;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  margin-left: 26px;
  transition: 0.2s;
}

nav a:hover {
  color: #ffcc00;
}

.panel {
  background: #ffcc00;
  color: #000 !important;
  padding: 12px 18px;
  border-radius: 8px;
}

/* HERO */
.hero {
  min-height: 390px;
  background:
    radial-gradient(circle at center, rgba(255, 204, 0, 0.12), transparent 35%),
    linear-gradient(180deg, #070a12 0%, #05070d 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%;
}

.hero h1 {
  font-size: 62px;
  color: #ffcc00;
  text-shadow: 0 0 25px rgba(255, 204, 0, 0.45);
}

.hero p {
  font-size: 23px;
  margin-top: 10px;
  color: #fff;
}

/* SECTIONS */
.section {
  padding: 70px 8%;
}

.section h2 {
  text-align: center;
  color: #ffcc00;
  font-size: 38px;
  margin-bottom: 42px;
}

/* SERVERS */
.servers-grid {
  max-width: 1330px;
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 26px;
}

.server-card {
  background: linear-gradient(180deg, #101726, #0b101c);
  border: 1px solid #26334d;
  border-radius: 14px;
  padding: 25px;
  min-height: 275px;
  transition: 0.25s ease;
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.35);
}

.server-card:hover {
  transform: translateY(-5px);
  border-color: #ffcc00;
  box-shadow: 0 0 28px rgba(255, 204, 0, 0.18);
}

.status {
  display: inline-block;
  padding: 7px 13px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 15px;
}

.online {
  background: #18c65c;
  color: #fff;
}

.offline {
  background: #e03131;
  color: #fff;
}

.server-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: #fff;
}

.server-card p {
  font-size: 16px;
  margin: 8px 0;
  color: #e7e7e7;
}

.server-ip {
  color: #ffcc00 !important;
  font-weight: 900;
}

.btn {
  margin-top: 18px;
  display: inline-block;
  background: #ffcc00;
  color: #000 !important;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
  transition: 0.2s;
}

.btn:hover {
  background: #ffd633;
  transform: scale(1.04);
}

/* NEWS */
.news {
  background: #0b101c;
}

.news-grid {
  max-width: 1330px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.news-card {
  background: #101726;
  border-left: 4px solid #ffcc00;
  border-radius: 12px;
  padding: 24px;
}

.news-card h3 {
  color: #ffcc00;
  margin-bottom: 12px;
}

.news-card p {
  color: #ddd;
  line-height: 1.5;
}

/* FOOTER */
footer {
  background: #070a12;
  border-top: 1px solid #202638;
  text-align: center;
  padding: 25px;
  color: #aaa;
}

/* RESPONSIVE */
@media (max-width: 1050px) {
  .servers-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .hero h1 {
    font-size: 46px;
  }
}

@media (max-width: 720px) {
  header {
    height: auto;
    flex-direction: column;
    padding: 18px;
  }

  nav {
    margin-top: 14px;
    text-align: center;
  }

  nav a {
    display: inline-block;
    margin: 7px;
  }

  .servers-grid,
  .news-grid {
    grid-template-columns: 1fr !important;
  }

  .hero {
    min-height: 300px;
    text-align: center;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }
}
