:root {
  --bg: #04070d;
  --bg-soft: #0d1420;
  --panel: rgba(10, 19, 31, 0.78);
  --panel-strong: rgba(9, 16, 25, 0.92);
  --line: rgba(93, 141, 197, 0.28);
  --text: #ecf5ff;
  --muted: #9fb6d0;
  --accent: #3ab6ff;
  --accent-soft: #72d7ff;
  --ember: #9b6543;
  --ember-soft: #c39071;
  --success: #78f2b8;
  --shadow-blue: 0 0 70px rgba(58, 182, 255, 0.18);
  --shadow-ember: 0 0 60px rgba(155, 101, 67, 0.16);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Google Sans", medium;
  color: var(--text);
  background:
    radial-gradient(circle at 70% 22%, rgba(37, 124, 201, 0.22), transparent 24%),
    radial-gradient(circle at 18% 78%, rgba(127, 73, 42, 0.18), transparent 20%),
    linear-gradient(180deg, #02050a 0%, #07101a 42%, #04070d 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
}

.page-shell {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 24px 20px 72px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-bottom: 36px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 12, 19, 0.62);
  backdrop-filter: blur(18px);
}

.topbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.eyebrow,
h1,
h2,
h3,
.copy-button,
.address-card strong,
#player-count,
#status-text {
  font-family: "Google Sans", bold;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(114, 215, 255, 0.26);
  border-radius: 999px;
  background: rgba(58, 182, 255, 0.12);
  color: var(--text);
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}

.topbar__link:hover,
.topbar__link:focus-visible {
  border-color: rgba(114, 215, 255, 0.55);
  background: rgba(58, 182, 255, 0.22);
}

.topbar__link:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}

.hero {
  padding-top: 12px;
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 44px;
  align-items: flex;
}

.hero__copy {
  animation: slide-up 650ms ease both;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 0.72rem;
  color: var(--accent-soft);
  letter-spacing: 0.08em;
}

h1 {
  margin: 0;
  max-width: 100%;
  font-size: 5rem;
  line-height: 0.95;
  text-shadow: 0 0 22px rgba(58, 182, 255, 0.24);
  overflow-wrap: anywhere;
}

.hero__lead {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: clamp(1.12rem, 2vw, 1.3rem);
  line-height: 1.75;
  color: var(--muted);
}

.address-card,
.panel,
.feature-card,
.status-card,
.logo-frame {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(16px);
}

.address-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-blue);
}

.address-card__label,
.metric-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 1rem;
}

.address-card strong {
  font-size: clamp(1.5rem, 1.8vw, 1.16rem);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.copy-button {
  border: 0;
  cursor: pointer;
  color: #03111c;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  border-radius: 14px;
  padding: 15px 18px;
  min-width: 184px;
  font-weight: bold;
  font-size: 1.02rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
  box-shadow: 0 14px 32px rgba(58, 182, 255, 0.24);
}

.copy-button:hover,
.copy-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(58, 182, 255, 0.3);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero__meta span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(13, 24, 39, 0.74);
  border: 1px solid rgba(114, 215, 255, 0.18);
  color: var(--muted);
}

.hero__visual {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  animation: fade-in 900ms ease 120ms both;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
}

.hero__orb--blue {
  width: 330px;
  height: 330px;
  background: rgba(41, 147, 233, 0.3);
}

.hero__orb--amber {
  width: 250px;
  height: 250px;
  left: 16%;
  bottom: 8%;
  background: rgba(140, 84, 54, 0.26);
}

.logo-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 13, 21, 0.88), rgba(6, 10, 17, 0.96)),
    linear-gradient(135deg, rgba(58, 182, 255, 0.12), rgba(155, 101, 67, 0.1));
  box-shadow:
    var(--shadow-blue),
    var(--shadow-ember);
}

.logo-frame__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.panel {
  margin-top: 52px;
  padding: 28px;
  border-radius: var(--radius-xl);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.5rem, 3vw, 2.1rem);
  line-height: 1.4;
}

.feature-grid {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.status-grid {
  display: grid;
  gap: 22px;
  margin-top: 24px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}


.status-card,
.feature-card {
  border-radius: var(--radius-lg);
}

.status-card {
  padding: 24px;
  background: var(--panel-strong);
}

.status-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.status-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #6f8199;
  box-shadow: 0 0 0 0 rgba(111, 129, 153, 0.34);
  animation: pulse 2s infinite;
}

.status-indicator.is-online {
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(120, 242, 184, 0.28);
}

.status-indicator.is-offline {
  background: #ff8c8c;
  box-shadow: 0 0 0 0 rgba(255, 140, 140, 0.2);
}

.status-card__metrics {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#player-count,
.status-card__metrics strong {
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.status-card__note {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.status-card--players {
  min-height: 100%;
}

.player-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.player-list li {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(114, 215, 255, 0.16);
  border-radius: 12px;
  background: rgba(13, 24, 39, 0.58);
  color: var(--text);
  overflow-wrap: anywhere;
}

.player-list__empty {
  color: var(--muted);
}

.status-card--widget {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.status-widget {
  display: block;
  width: 100%;
  margin-top: 14px;
  border-radius: 16px;
}

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

.feature-card {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(10, 17, 27, 0.92), rgba(8, 14, 23, 0.96)),
    linear-gradient(135deg, rgba(58, 182, 255, 0.1), rgba(155, 101, 67, 0.1));
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(114, 215, 255, 0.32);
}

.feature-card h3 {
  margin: 0 0 14px;
  font-size: 2rem;
  line-height: 1.6;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 14px transparent;
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 transparent;
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: scale(0.985);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 980px) {
  .hero__content,
  .status-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: auto;
  }

  h1 {
    font-size: 4rem;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 16px 14px 56px;
  }

  .topbar {
    margin-bottom: 24px;
    padding: 14px 16px;
    border-radius: var(--radius-lg);
  }

  .topbar__actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .topbar__link {
    font-size: 0.94rem;
  }

  .topbar__link:first-child {
    grid-column: 1 / -1;
  }

  h1 {
    font-size: 3rem;
    line-height: 1.15;
  }

  .address-card,
  .status-card__metrics {
    grid-template-columns: 1fr;
  }

  .address-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .copy-button {
    width: 100%;
    min-width: 0;
  }

  .panel,
  .status-card,
  .feature-card {
    padding: 20px;
  }
}
