@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Rajdhani:wght@400;600;700&display=swap');

:root {
  --bg: #101827;
  --surface: #1a2534;
  --surface-alt: #152032;
  --text: #ecf6ff;
  --muted: #8ea7bf;
  --accent: #7ef77a;
  --accent-2: #ffd866;
  --success: #7ef77a;
  --danger: #ff6a67;
  --outline: #0b1118;
  --font: 'Rajdhani', 'Trebuchet MS', sans-serif;
  --font-pixel: 'Press Start 2P', 'Courier New', monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(circle at 10% 12%, rgba(96, 175, 255, 0.16), transparent 30%),
    radial-gradient(circle at 90% -4%, rgba(126, 247, 122, 0.12), transparent 32%),
    linear-gradient(180deg, #111b2a 0%, #0f1724 56%, #0d1520 100%);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.4rem;
}

.card {
  background:
    linear-gradient(180deg, rgba(25, 36, 50, 0.96), rgba(17, 27, 40, 0.96));
  border: 2px solid var(--outline);
  box-shadow:
    0 0 0 2px rgba(71, 99, 130, 0.34),
    0 14px 24px rgba(0, 0, 0, 0.35);
  border-radius: 0;
  padding: 1.15rem;
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  font-family: var(--font-pixel);
  letter-spacing: 0.04em;
  line-height: 1.25;
}

h1 { font-size: 1.36rem; }
h2 { font-size: 1.02rem; }
h3 { font-size: 0.88rem; }

.brand-row {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo {
  width: 76px;
  height: 76px;
  border: 2px solid var(--outline);
  box-shadow: 0 0 0 2px rgba(71, 99, 130, 0.34);
  image-rendering: pixelated;
  object-fit: cover;
}

.brand-logo-small {
  width: 48px;
  height: 48px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.6rem;
  border: 2px solid var(--outline);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-online {
  background: linear-gradient(180deg, #8dff9a, #4bcc58);
  color: #113018;
}

.badge-offline {
  background: linear-gradient(180deg, #ff8f89, #dc4f4f);
  color: #3a1110;
}

.btn {
  display: inline-block;
  padding: 0.52rem 0.95rem;
  border-radius: 0;
  border: 2px solid #111923;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(180deg, #82ff80, #57c656);
  color: #102212;
}

.btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.06);
}

.btn-danger {
  background: linear-gradient(180deg, #ff8d88, #dc5652);
  color: #351110;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 340px;
  padding: 0.56rem;
  border: 2px solid #31455e;
  border-radius: 0;
  background: #0f1723;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(126, 247, 122, 0.7);
  box-shadow: 0 0 0 2px rgba(126, 247, 122, 0.16);
}

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

.hidden {
  display: none !important;
}

@media (max-width: 720px) {
  .container {
    padding: 1rem;
  }

  h1 { font-size: 1.12rem; }
  h2 { font-size: 0.9rem; }
  h3 { font-size: 0.8rem; }
  .brand-logo { width: 64px; height: 64px; }
  .brand-logo-small { width: 40px; height: 40px; }
}
