:root {
  --bg: #08090c;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-border: rgba(255, 255, 255, 0.09);
  --text: #f5f5f5;
  --muted: #a7aab2;
  --green: #63e58b;
}
* {
  box-sizing: border-box;
}
html,
body {
  min-height: 100%;
  margin: 0;
}
body {
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(
      circle at 28% 50%,
      rgba(255, 146, 58, 0.09),
      transparent 32%
    ),
    radial-gradient(
      circle at 78% 45%,
      rgba(255, 190, 80, 0.055),
      transparent 28%
    ),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 56px;
}
.hero {
  width: min(1180px, 100%);
  min-height: min(720px, calc(100vh - 112px));
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
}
.logo-wrap {
  display: grid;
  place-items: center;
  min-height: 520px;
}
.logo {
  width: min(520px, 82%);
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 22px 12px rgba(0, 0, 0, 0.48))
    drop-shadow(0 0 35px rgba(255, 143, 61, 0.08));
  animation: item-float 2.7s ease-in-out infinite;
}
@keyframes item-float {
  0%,
  100% {
    transform: translateY(-12px);
  }
  50% {
    transform: translateY(12px);
  }
}
.content {
  max-width: 540px;
}
.eyebrow,
.label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.eyebrow {
  margin: 0 0 12px;
}
h1 {
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-weight: 900;
  background: linear-gradient(180deg, #fff7df 0%, #ffc477 48%, #ff8d45 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.intro {
  max-width: 500px;
  margin: 28px 0 30px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.actions .button {
  justify-content: space-between;
  width: 100%;
}

.button,
.copy-button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 15px 20px 15px 22px;
  border-radius: 12px;
  text-decoration: none;
  color: #17110a;
  font-weight: 850;
  background: linear-gradient(135deg, #ffd27d, #ff9650);
  box-shadow: 0 12px 30px rgba(255, 145, 60, 0.14);
  transition: transform 0.18s ease, filter 0.18s ease;
}
.discord-button {
  background: linear-gradient(135deg, #8b9df5, #5865f2);
  color: #fff;
  box-shadow: 0 12px 30px rgba(88, 101, 242, 0.18);
}
.button span {
  font-size: 1.25rem;
}
.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}
.server-card {
  padding: 22px;
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  background: var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.server-card-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--panel-border);
}
.status-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
}
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #777;
}
.status-dot.online {
  background: var(--green);
  box-shadow: 0 0 14px rgba(99, 229, 139, 0.65);
}
.status-dot.offline {
  background: #ef6262;
  box-shadow: 0 0 14px rgba(239, 98, 98, 0.45);
}
.players {
  text-align: right;
}
.players strong {
  display: block;
  margin-top: 5px;
  font-size: 1.2rem;
}
.ip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
}
code {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: 0.98rem;
}
.copy-button {
  padding: 9px 13px;
  border: 1px solid var(--panel-border);
  border-radius: 9px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 750;
  transition: background 0.18s ease, transform 0.18s ease;
}
.copy-button:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-1px);
}
.copy-feedback {
  min-height: 18px;
  margin: 10px 0 -2px;
  color: var(--green);
  font-size: 0.78rem;
}
.footer-note {
  margin: 18px 0 0;
  color: #666a73;
  font-size: 0.78rem;
}
@media (max-width: 800px) {
  .page {
    padding: 30px 20px 44px;
  }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .logo-wrap {
    min-height: auto;
    padding: 18px 0 10px;
  }
  .logo {
    width: min(390px, 82vw);
  }
  .content {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }
  h1 {
    font-size: clamp(3.2rem, 17vw, 5rem);
  }
  .intro {
    margin-top: 20px;
  }
}
@media (max-width: 520px) {
  .actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
@media (max-width: 460px) {
  .page {
    padding: 18px 14px 30px;
  }
  .server-card {
    padding: 18px;
  }
  .server-card-top {
    align-items: flex-start;
  }
  .ip-row {
    align-items: stretch;
    flex-direction: column;
  }
  .copy-button {
    width: 100%;
  }
  .logo {
    width: min(340px, 86vw);
  }
}
@media (prefers-reduced-motion: reduce) {
  .logo {
    animation: none;
  }
}
