:root {
  --bg: #07100d;
  --panel: #101917;
  --panel-border: rgba(214, 229, 218, 0.18);
  --text: #f4f7f2;
  --muted: #b9c5bd;
  --green: #44d07d;
  --red: #e85d4f;
  --blue: #65a7ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  background: #07100d;
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-content: space-between;
  overflow: hidden;
  background-image: url("assets/hero.png");
  background-size: cover;
  background-position: center;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 8, 6, 0.92), rgba(3, 8, 6, 0.58) 44%, rgba(3, 8, 6, 0.2)),
    linear-gradient(0deg, #07100d 0%, rgba(7, 16, 13, 0) 26%);
}

.nav,
.hero__content,
.content {
  position: relative;
  z-index: 1;
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.brand__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(11, 24, 18, 0.76);
  color: var(--green);
}

.nav__link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.hero__content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 110px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 20px;
  font-weight: 700;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 16px;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: clamp(56px, 9vw, 118px);
  line-height: 0.9;
  font-weight: 700;
}

.lead {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 800;
}

.button--primary {
  background: var(--green);
  color: #06110b;
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: #dce8df;
  font-weight: 700;
}

.status__dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(68, 208, 125, 0.9);
}

.scoreboard {
  width: min(520px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(6, 16, 12, 0.68);
}

.scoreboard div {
  min-height: 86px;
  padding: 16px;
  display: grid;
  align-content: center;
  gap: 2px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.scoreboard div:last-child {
  border-right: 0;
}

.scoreboard strong {
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 38px;
  line-height: 1;
}

.scoreboard span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.content {
  width: min(1120px, calc(100% - 32px));
  margin: -52px auto 0;
  padding: 0 0 46px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.panel {
  min-height: 178px;
  padding: 22px;
  border: 1px solid var(--panel-border);
  background: color-mix(in srgb, var(--panel) 92%, black);
}

.panel h2 {
  margin-bottom: 10px;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 30px;
}

.panel p {
  margin-bottom: 14px;
  color: var(--muted);
  line-height: 1.55;
}

code {
  display: block;
  overflow-wrap: anywhere;
  padding: 12px;
  border-left: 3px solid var(--blue);
  background: rgba(255, 255, 255, 0.06);
  color: #e9f1eb;
}

.tables {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
}

.table-column {
  display: grid;
  align-content: start;
  gap: 16px;
}

.table-block,
.mini-board {
  border: 1px solid var(--panel-border);
  background: #101917;
}

.section-title,
.mini-board h2 {
  padding: 20px 22px 0;
}

.section-title h2,
.mini-board h2 {
  margin-bottom: 6px;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 30px;
}

.section-title p {
  margin-bottom: 16px;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  padding: 13px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

th {
  color: var(--green);
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 18px;
}

td {
  color: #e8eee9;
}

.side-block {
  display: grid;
  align-content: start;
  gap: 16px;
}

.mini-board ul {
  margin: 0;
  padding: 8px 22px 22px;
  list-style: none;
}

.mini-board li {
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.mini-board strong {
  display: block;
  color: var(--text);
}

.player-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ping {
  flex: 0 0 auto;
  min-width: 72px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.ping--good {
  color: var(--green);
}

.ping--ok {
  color: #ffd166;
}

.ping--bad {
  color: var(--red);
}

@media (max-width: 760px) {
  .hero {
    min-height: 76vh;
  }

  .nav {
    padding: 16px 0;
  }

  .brand {
    font-size: 20px;
  }

  .nav__link {
    padding: 0 12px;
  }

  .hero__content {
    padding: 54px 0 92px;
  }

  .lead {
    font-size: 17px;
  }

  .content {
    margin-top: -36px;
    grid-template-columns: 1fr;
  }

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

  .scoreboard div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .scoreboard div:last-child {
    border-bottom: 0;
  }

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