:root {
  --bg: #07080c;
  --bg-elev: #10131a;
  --ink: #f2f4f8;
  --muted: #9aa3b2;
  --ice: #3aa7ff;
  --fire: #ff5a2a;
  --steel: #c8d0dc;
  --line: rgba(200, 208, 220, 0.14);
  --ok: #3dd68c;
  --bad: #ff5c6a;
  --font-display: "Teko", Impact, Haettenschweiler, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 80% 50% at 15% 10%, rgba(58, 167, 255, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 45% at 90% 15%, rgba(255, 90, 42, 0.14), transparent 50%),
    linear-gradient(180deg, #05060a 0%, var(--bg) 40%, #0a0c12 100%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 2.5rem 1.25rem 3rem;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(58, 167, 255, 0.08), transparent 42%, transparent 58%, rgba(255, 90, 42, 0.08)),
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.04), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  text-align: center;
}

.hero-logo {
  width: min(820px, 100%);
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
  animation: logo-in 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--steel);
  animation: rise 0.8s ease 0.15s both;
}

.hero-lead {
  margin: 0.75rem auto 0;
  max-width: 34rem;
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--muted);
  animation: rise 0.8s ease 0.25s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
  animation: rise 0.8s ease 0.35s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(120deg, #d62828 0%, var(--fire) 100%);
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(120deg, #ef3333 0%, #ff6a3a 100%);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(58, 167, 255, 0.55);
  color: #dcecff;
}

.btn-ghost:hover {
  border-color: var(--ice);
  background: rgba(58, 167, 255, 0.12);
}

.btn-steam {
  background: #1b2838;
  border-color: rgba(102, 192, 244, 0.35);
  color: #c7d5e0;
}

.btn-steam:hover {
  background: #2a475e;
  color: #fff;
}

.section {
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.5rem 0 1rem;
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

.section-head p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.gt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.gt-loading {
  margin: 0;
  color: var(--muted);
}

.gt-widget {
  background: #2a2a2a;
  border: 1px solid #1a1a1a;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  overflow: hidden;
}

.gt-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.55rem;
  background: #1f1f1f;
  border-bottom: 1px solid #111;
}

.gt-flag {
  width: 1.15rem;
  height: 0.78rem;
  background:
    linear-gradient(#009c3b 0 33%, #ffdf00 33% 66%, #002776 66%);
  flex-shrink: 0;
}

.gt-bar-title {
  flex: 1;
  color: #c8c8c8;
  font-size: 0.82rem;
}

.gt-bar-ico {
  width: 0.9rem;
  height: 0.9rem;
  background: #888;
  mask: radial-gradient(circle at 50% 35%, #000 35%, transparent 36%) top / 100% 55% no-repeat,
    linear-gradient(#000, #000) bottom / 70% 40% no-repeat;
  -webkit-mask:
    radial-gradient(circle at 50% 40%, #000 28%, transparent 29%),
    linear-gradient(#000, #000);
  -webkit-mask-composite: source-over;
  opacity: 0.7;
}

.gt-body {
  padding: 0.65rem 0.7rem 0.85rem;
  background: #333;
}

.gt-hostname {
  margin: 0 0 0.45rem;
  color: #ff9a2e;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
}

.gt-line {
  margin: 0.12rem 0;
  color: #eee;
}

.gt-lab {
  color: #fff;
  margin-right: 0.25rem;
}

.gt-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  margin-right: 0.35rem;
  vertical-align: middle;
  background: #666;
}

.gt-dot.on {
  background: #22ff55;
  box-shadow: 0 0 6px rgba(34, 255, 85, 0.55);
}

.gt-dot.off {
  background: #ff4455;
}

.gt-ip {
  color: #22ff55;
  font-weight: 700;
}

.gt-map {
  color: #ff9a2e;
  font-weight: 700;
}

.gt-mapimg {
  margin: 0.65rem 0 0.35rem;
  background: #1a1a1a;
  text-align: center;
}

.gt-mapimg img {
  width: 160px;
  height: 120px;
  object-fit: cover;
  margin: 0 auto;
}

.gt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.65rem 0 0.75rem;
}

.gt-actions .btn {
  min-height: 2.2rem;
  padding: 0.4rem 0.8rem;
  font-size: 1rem;
}

.gt-online-title {
  margin: 0.35rem 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.gt-plist {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 220px;
  overflow: auto;
}

.gt-plist li {
  display: grid;
  grid-template-columns: 1.4rem 1fr auto;
  gap: 0.35rem;
  padding: 0.18rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gt-num {
  color: #ddd;
}

.gt-pname {
  color: #ff9a2e;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gt-score {
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.gt-empty {
  color: #999;
  grid-column: 1 / -1;
}

.community-section {
  padding-bottom: 4rem;
}

.community-copy {
  max-width: 40rem;
}

.community-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 1.05rem;
}

.community-copy strong {
  color: var(--ink);
  font-weight: 700;
}

.community-copy .btn {
  margin-top: 0.5rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 1.5rem;
  }
}
