* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #060607;
  color: #f3f3f4;
  font-family: Arial, sans-serif;
}

/* TOP BAR */

.topbar {
  height: 76px;
  background: #0d0d0f;
  border-bottom: 1px solid #252529;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 2px;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
}

.menu-btn {
  background: #17171a;
  border: 1px solid #303035;
  color: white;
  border-radius: 8px;
  font-size: 22px;
  padding: 8px 12px;
}

/* LAYOUT */

.layout {
  min-height: calc(100vh - 76px);
}

/* MENU */

.menu {
  position: fixed;
  left: 0;
  top: 76px;
  width: 450px;
  max-width: 90vw;
  height: calc(100vh - 76px);
  background: #08090a;
  border-right: 1px solid #202124;
  z-index: 90;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
}

.menu.open {
  transform: translateX(0);
}

.play-now {
  height: 105px;
  margin: 18px;
  border: 2px solid #555;
  border-left: 5px solid white;
  display: flex;
  align-items: center;
  padding: 0 25px;
  gap: 14px;
  font-size: 25px;
  letter-spacing: 5px;
}

.play-now span {
  color: white;
  font-weight: 900;
}

.play-now button {
  margin-left: auto;
  background: none;
  border: 0;
  color: white;
  font-size: 30px;
}

/* MENU ITEMS */

.menu nav {
  display: block;
}

.menu-item {
  min-height: 100px;
  width: 100%;
  padding: 0 45px;
  display: flex;
  align-items: center;
  gap: 28px;
  color: #aaa;
  text-decoration: none;
  border-top: 1px solid #151619;
  font-size: 18px;
  letter-spacing: 3px;
}

.menu-item:hover {
  background: #121214;
  color: white;
}

.menu-item > span:first-child {
  width: 28px;
  flex-shrink: 0;
  font-size: 20px;
}

.menu-item > span:last-child {
  margin-left: auto;
}

/* STEAM */

#steamProfile {
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto;
  height: auto;
}

#steamAvatar {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}

#steamLoginText {
  display: block;
  color: #aaa;
  font-size: 18px;
  letter-spacing: 3px;
}

/* CONTENT */

.content {
  max-width: 1300px;
  margin: auto;
  padding: 0 22px 50px;
}

/* HERO */

.hero {
  min-height: 430px;
  padding: 70px 8%;
  display: flex;
  align-items: center;
  background:
    radial-gradient(
      circle at 75% 45%,
      #3d0010,
      #100407 35%,
      #060607 70%
    );
}

.eyebrow {
  color: #e50013;
  letter-spacing: 4px;
  font-size: 13px;
  font-weight: 800;
}

.hero h1 {
  font-size: 68px;
  line-height: 0.95;
  margin: 16px 0;
}

.hero h1 b {
  color: #ed0016;
}

.hero p {
  max-width: 530px;
  color: #999;
  font-size: 17px;
  line-height: 1.6;
}

.red-btn {
  display: inline-block;
  margin-top: 15px;
  background: #d9000d;
  color: white;
  text-decoration: none;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 800;
}

/* SECTIONS */

section {
  padding-top: 50px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 22px;
}

.section-title h2 {
  font-size: 30px;
  margin: 0;
}

.section-title p {
  color: #777;
  margin: 7px 0;
}

.section-title > strong {
  font-size: 27px;
  color: #ed0016;
}

/* SERVERS */

.server-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.server {
  background: #151517;
  border: 1px solid #29292d;
  border-radius: 16px;
  overflow: hidden;
}

.map {
  height: 155px;
  padding: 15px;
  display: flex;
  align-items: end;
  font-size: 26px;
  font-weight: 900;
  background: linear-gradient(135deg, #6b5227, #19272e);
}

.map.anubis {
  background: linear-gradient(135deg, #58472f, #26353b);
}

.map.nuke {
  background: linear-gradient(135deg, #334c58, #172025);
}

.server-body {
  padding: 16px;
}

.server-body small {
  color: #777;
}

.server-row {
  display: flex;
  justify-content: space-between;
  color: #aaa;
  margin-top: 15px;
}

.join {
  width: 100%;
  margin-top: 14px;
  border: 0;
  background: #d9000d;
  color: white;
  padding: 11px;
  border-radius: 8px;
  font-weight: 800;
}

/* SKINS */

.filters {
  display: flex;
  gap: 8px;
  margin-bottom: 17px;
  flex-wrap: wrap;
}

.filter {
  background: #171719;
  color: #aaa;
  border: 1px solid #2b2b30;
  border-radius: 9px;
  padding: 9px 15px;
}

.filter.active {
  background: #d9000d;
  color: white;
}

.skin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.skin {
  background: #151517;
  border: 1px solid #29292d;
  border-radius: 15px;
  padding: 12px;
}

.skin-img {
  height: 145px;
  border-radius: 10px;
  background: radial-gradient(circle, #45454c, #0e0e10);
  display: grid;
  place-items: center;
  font-size: 68px;
}

.skin h3 {
  font-size: 15px;
  margin: 12px 0 5px;
}

.skin p {
  color: #777;
  font-size: 12px;
  margin: 0;
}

.equip {
  width: 100%;
  margin-top: 11px;
  background: #242428;
  color: white;
  border: 1px solid #3a3a40;
  border-radius: 8px;
  padding: 9px;
}

/* PLAYERS */

.players {
  margin-top: 35px;
}

.leaderboard {
  background: #151517;
  border: 1px solid #29292d;
  border-radius: 15px;
  overflow: hidden;
}

.leaderboard div {
  display: grid;
  grid-template-columns: 70px 1fr 160px;
  padding: 16px;
  border-bottom: 1px solid #29292d;
  color: #aaa;
}

.leaderboard b {
  color: white;
}

.leaderboard span {
  text-align: right;
}

/* EXTRA */

.extra-section {
  padding: 70px 0;
  border-top: 1px solid #202024;
}

/* FOOTER */

footer {
  text-align: center;
  padding: 35px;
  color: #666;
  border-top: 1px solid #202024;
}

/* MOBILE */

@media (max-width: 850px) {

  .server-grid {
    grid-template-columns: 1fr 1fr;
  }

  .skin-grid {
    grid-template-columns: 1fr 1fr;
  }

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

}

@media (max-width: 560px) {

  .brand span {
    display: none;
  }

  .content {
    padding: 0 15px 40px;
  }

  .hero {
    min-height: 500px;
    padding: 50px 20px;
    text-align: center;
  }

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

  .server-grid,
  .skin-grid {
    grid-template-columns: 1fr;
  }

  .menu {
    width: 100%;
    max-width: 100%;
  }

  .menu-item {
    padding: 0 35px;
  }

  .leaderboard div {
    grid-template-columns: 45px 1fr 120px;
    font-size: 13px;
  }

}
