:root {
  --bg: #080d0f;
  --panel: #11191d;
  --line: rgba(204, 224, 228, 0.18);
  --text: #eef6f6;
  --muted: #abb7bb;
  --teal: #41d7df;
  --amber: #ffb72b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(65, 215, 223, 0.14), transparent 35%),
    linear-gradient(135deg, #050809, #0d1417 52%, #070a0b);
}

a,
button {
  font: inherit;
}

.page-shell {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0;
}

.topbar,
.hero,
.steps,
.server-status,
.activity-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(14, 21, 24, 0.88);
  box-shadow: var(--shadow);
}

.topbar {
  min-height: 72px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--amber);
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 2px solid var(--amber);
  border-radius: 8px;
  font-size: 16px;
}

.topbar-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-nav-link,
.topbar-link,
.primary-button,
.secondary-button {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
}

.topbar-nav-link {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.topbar-nav-link.is-active {
  color: var(--amber);
  border: 1px solid rgba(255, 183, 43, 0.45);
  background: rgba(255, 183, 43, 0.08);
}

.topbar-link,
.secondary-button {
  border: 1px solid rgba(65, 215, 223, 0.5);
  color: var(--teal);
  background: rgba(65, 215, 223, 0.055);
}

.primary-button {
  color: #141102;
  background: linear-gradient(180deg, #ffc75b, var(--amber));
}

.hero {
  margin-top: 16px;
  padding: clamp(28px, 6vw, 62px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  color: var(--amber);
  font-size: clamp(38px, 7vw, 70px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 720px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.visit-note {
  width: fit-content;
  margin-top: 28px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 183, 43, 0.5);
  border-radius: 8px;
  color: var(--amber);
  background:
    linear-gradient(90deg, rgba(255, 183, 43, 0.13), rgba(65, 215, 223, 0.08));
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.activities-hero h1 {
  font-size: clamp(48px, 8vw, 82px);
}

.stats-hero h1 {
  font-size: clamp(48px, 8vw, 82px);
}

.status-legend {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.status-pill {
  min-height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-live {
  color: #06130a;
  background: #5ee081;
}

.status-soon {
  color: #141102;
  background: var(--amber);
}

.server-status {
  margin-top: 16px;
  padding: 18px;
  box-shadow: none;
}

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

.metric-grid-wide {
  grid-template-columns: repeat(6, 1fr);
}

.metric-card {
  min-height: 116px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 10, 12, 0.42);
}

.metric-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-value {
  color: var(--teal);
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1;
}

.metric-value small {
  color: var(--muted);
  font-size: 20px;
}

.metric-value-small {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
}

.online-strip {
  min-height: 48px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.online-player,
.online-empty,
.inline-level,
.inline-live {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 850;
}

.online-player {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(65, 215, 223, 0.45);
  color: var(--text);
  background: rgba(65, 215, 223, 0.08);
}

.online-empty {
  min-height: 34px;
  padding: 0 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.inline-level {
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid rgba(255, 184, 37, 0.45);
  color: var(--amber);
  background: rgba(255, 184, 37, 0.08);
  font-size: 12px;
}

.inline-live {
  min-height: 22px;
  padding: 0 8px;
  color: #06130a;
  background: #5ee081;
  font-size: 12px;
}

.activity-section {
  margin-top: 16px;
  padding: 18px;
  box-shadow: none;
}

.section-heading {
  padding: 4px 4px 16px;
}

.section-heading h2 {
  margin-top: 0;
  color: var(--amber);
  font-size: clamp(26px, 4vw, 34px);
}

.section-heading p {
  max-width: 760px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.activity-grid,
.activity-list {
  display: grid;
  gap: 14px;
}

.activity-grid {
  grid-template-columns: repeat(3, 1fr);
}

.activity-list {
  grid-template-columns: repeat(2, 1fr);
}

.activity-card,
.activity-list article {
  min-height: 158px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 10, 12, 0.42);
}

.activity-card h3,
.activity-list h3 {
  margin: 14px 0 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.2;
}

.activity-card p,
.activity-list p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

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

.stats-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  color: var(--text);
  font-size: 15px;
}

.stats-table th,
.stats-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.stats-table thead th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats-table tbody th {
  color: var(--amber);
}

.steps {
  margin-top: 16px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  box-shadow: none;
}

.steps article {
  min-height: 160px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 10, 12, 0.42);
}

.steps span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #111405;
  background: var(--amber);
  font-weight: 900;
}

h2 {
  margin-top: 14px;
  font-size: 22px;
  line-height: 1.2;
}

.steps p,
footer {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.step-shot-button {
  width: 100%;
  margin-top: 16px;
  padding: 0;
  display: block;
  border: 0;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
}

.step-shot-button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.step-shot {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #070c0e;
}

.image-lightbox {
  width: min(1180px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 1px solid rgba(204, 224, 228, 0.22);
  border-radius: 8px;
  color: var(--text);
  background: #050809;
  box-shadow: var(--shadow);
}

.image-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.78);
}

.lightbox-frame {
  position: relative;
  padding: 44px 16px 16px;
}

.lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(65, 215, 223, 0.5);
  border-radius: 6px;
  color: var(--teal);
  background: rgba(8, 13, 15, 0.92);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.lightbox-close:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 92px);
  margin: 0 auto;
  display: block;
  object-fit: contain;
  border-radius: 6px;
}

footer {
  margin-bottom: 0;
  padding: 18px 4px 0;
}

@media (max-width: 820px) {
  .hero,
  .steps,
  .metric-grid,
  .metric-grid-wide,
  .activity-grid,
  .activity-list {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
  }

  .topbar-link {
    width: 100%;
  }

  .topbar-nav {
    width: 100%;
  }

  .topbar-nav-link {
    flex: 1 1 130px;
  }

}
