:root {
  --bg-1: #0a1f1c;
  --bg-2: #164a41;
  --bg-3: #f5f1e8;
  --text: #f9f8f4;
  --muted: #c6d5cf;
  --card: rgba(255, 255, 255, 0.08);
  --accent: #ff9f1c;
  --ok: #2ec4b6;
  --danger: #e71d36;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  font-family: "Avenir Next", "Gill Sans", "Segoe UI", sans-serif;
  color: var(--text);
}

body {
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 159, 28, 0.28), transparent 35%),
    radial-gradient(circle at 85% 85%, rgba(46, 196, 182, 0.32), transparent 40%),
    linear-gradient(125deg, var(--bg-1), var(--bg-2) 50%, #081714 100%);
}

.screen {
  width: 100%;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
}

.badge {
  align-self: flex-start;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
}

.title {
  margin: 0;
  line-height: 1;
  font-weight: 800;
  text-wrap: balance;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 2rem);
  text-wrap: balance;
}

.ticker {
  margin-top: auto;
  font-size: clamp(1rem, 1.8vw, 1.6rem);
  padding: 0.8rem 1rem;
  border-left: 4px solid var(--accent);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 0.5rem;
  min-height: 3rem;
}

.status-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.35rem;
}

.status-online {
  background: var(--ok);
}

.status-offline {
  background: var(--danger);
}

.theme-a .title {
  font-size: clamp(2.4rem, 7vw, 8rem);
}

.theme-b {
  background:
    radial-gradient(circle at 20% 0%, rgba(231, 29, 54, 0.35), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(255, 159, 28, 0.4), transparent 45%),
    linear-gradient(145deg, #1a0e1e, #3d1029 55%, #14020f);
}

.theme-b .title {
  font-size: clamp(2.1rem, 7vw, 7rem);
  color: #ffe8a3;
}

.theme-c {
  background:
    radial-gradient(circle at 85% 15%, rgba(46, 196, 182, 0.35), transparent 35%),
    linear-gradient(125deg, #031524, #044a59 45%, #032126);
}

.theme-c .title {
  font-size: clamp(2.2rem, 6.8vw, 7rem);
  color: #d9f5f1;
}

.panel {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.2rem;
  background: var(--card);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
}

.controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

label {
  font-size: 0.9rem;
  color: var(--muted);
}

input,
textarea,
select,
button {
  width: 100%;
  border: 0;
  border-radius: 0.65rem;
  padding: 0.8rem 0.9rem;
  font-size: 1rem;
  font-family: inherit;
}

input,
textarea,
select {
  background: rgba(8, 20, 18, 0.72);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

button {
  background: var(--accent);
  color: #1f1300;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  filter: brightness(1.05);
}

.client-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 0.6rem;
}

.client-stats div {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.7rem;
  padding: 0.7rem;
  text-align: center;
}

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

  .client-stats {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
}
