@import url("https://fonts.googleapis.com/css2?family=Rubik+One&family=PT+Sans:wght@400;700&display=swap");

:root {
  color-scheme: light;
  --bg-blue: #2c3ad6;
  --bg-blue-dark: #222d9b;
  --bg-purple: #dcc1ff;
  --bg-purple-dark: #c9a4ff;
  --bg-top: #bfe0ff;
  --bg-top-dark: #99bfff;
  --ink: #f6f0ff;
  --ink-dark: #0c0c0c;
  --accent-yellow: #ffd84c;
  --accent-green: #5ef149;
  --accent-green-dark: #34c52b;
  --panel-dark: #1a1a1a;
  --stroke: #0b0b0b;
  --muted: rgba(255, 255, 255, 0.72);
  --text-outline: -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000,
    0 3px 0 rgba(0, 0, 0, 0.6);
  --text-outline-strong: -3px -3px 0 #000,
    3px -3px 0 #000,
    -3px 3px 0 #000,
    3px 3px 0 #000,
    0 6px 0 rgba(0, 0, 0, 0.75);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "PT Sans", "Trebuchet MS", "Tahoma", "Geneva", sans-serif;
  color: var(--ink);
  background-color: var(--bg-blue);
  background-image:
    radial-gradient(circle at 20px 24px, rgba(255, 255, 255, 0.14) 0 9px, transparent 10px),
    radial-gradient(circle at 70px 80px, rgba(0, 0, 0, 0.1) 0 9px, transparent 10px);
  background-size: 140px 140px;
  position: relative;
  overflow-x: hidden;
}


.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.1;
  background-image:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0, rgba(0, 0, 0, 0.08) 1px, transparent 1px, transparent 5px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.08) 0, rgba(0, 0, 0, 0.08) 1px, transparent 1px, transparent 5px);
  mix-blend-mode: multiply;
  z-index: 0;
}

.app {
  position: relative;
  z-index: 1;
  padding: 18px 16px 120px;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.shop-hero {
  position: relative;
  margin: 0 0 18px;
  padding: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.shop-hero-inner {
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.shop-hero > * {
  position: relative;
  z-index: 1;
}


#product-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.category {
  display: flex;
  flex-direction: column;
  gap: 12px;
  --bar-accent: #5ef149;
  position: relative;
  padding: 4px 0 8px;
}

.category[data-category="premium"] {
  --bar-accent: #ffd84c;
}

.category[data-category="brawlers"] {
  --bar-accent: #ff7a3c;
}

.category[data-category="skins"] {
  --bar-accent: #62d4ff;
}

.category[data-category="other"] {
  --bar-accent: #a7a7a7;
}

.category-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 56px;
  border-radius: 14px;
  background: #0b0b0b;
  border: 3px solid #000;
  box-shadow: 0 6px 0 #000;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 14px;
  font-weight: 900;
  font-family: "Rubik One", "Impact", "Arial Black", sans-serif;
}

.hidden {
  display: none;
}

.show-all {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0;
  padding: 8px 14px;
  border-radius: 10px;
  border: 2px solid #000;
  background: linear-gradient(180deg, #3a3a3a, #222);
  color: #fff;
  font-family: "Rubik One", "Impact", "Arial Black", sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 0 #000;
  cursor: pointer;
}

.show-all-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e8e8e8;
  color: #111;
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 #fff;
}

.product-card.is-hidden {
  display: none;
}

.admin-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.admin-controls.hidden {
  display: none;
}

.admin-toggle {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 10px;
  border: 2px solid #000;
  background: linear-gradient(180deg, #3a3a3a, #222);
  color: #fff;
  font-family: "Rubik One", "Impact", "Arial Black", sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 0 #000;
  cursor: pointer;
}

.admin-test {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 3px solid var(--stroke);
  background: rgba(10, 10, 10, 0.75);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.12em;
  box-shadow: 0 4px 0 #000;
}

.admin-test input {
  accent-color: var(--accent-yellow);
}

.admin-form {
  margin-top: 10px;
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 3px solid #000;
  background: rgba(0, 0, 0, 0.7);
  max-width: 420px;
}

.admin-form.hidden {
  display: none;
}

.admin-form select {
  padding: 10px 12px;
  border-radius: 12px;
  border: 3px solid var(--stroke);
  background: #fff;
  font-size: 14px;
  font-family: "Trebuchet MS", "Tahoma", "Geneva", sans-serif;
  color: #101010;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.2);
}

.category-bar::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translateY(-50%) rotate(-8deg);
  background: var(--bar-accent);
  border: 3px solid #000;
  border-radius: 10px;
  box-shadow: 0 4px 0 #000;
}

.category-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 900;
  color: #0b0b0b;
  text-shadow: none;
}

.category-title {
  position: relative;
  z-index: 1;
}

.category-grid {
  position: relative;
}

.hero {
  padding: 20px 22px;
  background: var(--panel-dark);
  border: 3px solid var(--stroke);
  border-radius: 18px;
  box-shadow: 0 10px 0 #000;
  font-family: "Rubik One", "Impact", "Arial Black", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  animation: rise 600ms ease;
}

.hero-top {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hero-badges {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 2px solid #000;
  background: rgba(10, 10, 10, 0.65);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Rubik One", "Impact", "Arial Black", sans-serif;
  box-shadow: 0 3px 0 #000;
}

.hero-online.is-clickable {
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease;
}

.hero-online.is-clickable:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.lang-toggle {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  background: rgba(10, 10, 10, 0.65);
  border: 2px solid #000;
  border-radius: 999px;
  padding: 4px;
  box-shadow: 0 3px 0 #000;
}

.lang-btn {
  border: 2px solid #000;
  border-radius: 999px;
  background: #1a1a1a;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  font-family: "Rubik One", "Impact", "Arial Black", sans-serif;
  letter-spacing: 0.12em;
  padding: 6px 10px;
  cursor: pointer;
}

.lang-btn.is-active {
  background: var(--accent-yellow);
  color: #111;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-yellow);
  color: var(--ink-dark);
  font-family: "Rubik One", "Impact", "Arial Black", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 900;
  box-shadow: 0 4px 0 #000;
  text-shadow: none;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-yellow);
  box-shadow: 0 0 12px rgba(255, 216, 76, 0.7);
  animation: pulse 2.6s ease-in-out infinite;
}

.hero h1 {
  margin: 12px 0 6px;
  font-size: clamp(26px, 4vw, 36px);
  text-shadow: var(--text-outline-strong);
}

.hero-copy {
  margin: 0;
  color: var(--muted);
  text-transform: none;
  font-size: 14px;
  font-family: "PT Sans", "Trebuchet MS", "Tahoma", "Geneva", sans-serif;
}

.status {
  padding: 10px 14px;
  border-radius: 14px;
  border: 3px solid var(--stroke);
  background: rgba(15, 15, 15, 0.7);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status.error {
  border-color: #7f1c1c;
  color: #ffe2e2;
  background: rgba(127, 28, 28, 0.8);
}

.status.hidden {
  display: none;
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.panel.hidden {
  display: none;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.shop-hero .panel-head {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.shop-hero .input-stack {
  min-width: 220px;
  align-items: flex-start;
}

.panel h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  font-family: "Rubik One", "Impact", "Arial Black", sans-serif;
  text-transform: uppercase;
  text-shadow: var(--text-outline-strong);
}

.muted {
  color: var(--muted);
  margin: 6px 0 0;
  text-transform: none;
  font-size: 13px;
}

.input-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-stack label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.input-stack input {
  padding: 10px 12px;
  border-radius: 12px;
  border: 3px solid var(--stroke);
  background: #fff;
  font-size: 15px;
  font-family: "Trebuchet MS", "Tahoma", "Geneva", sans-serif;
  color: #101010;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.2);
}

.input-stack input.has-error {
  border-color: #a72424;
  box-shadow: inset 0 -3px 0 rgba(126, 22, 22, 0.28);
}

.field-error {
  min-height: 16px;
  color: #ffd1d1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

.field-error.hidden {
  display: none;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.input-row select {
  padding: 10px 12px;
  border-radius: 12px;
  border: 3px solid var(--stroke);
  background: #fff;
  font-size: 14px;
  font-family: "Trebuchet MS", "Tahoma", "Geneva", sans-serif;
  color: #101010;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.2);
}

.pay-methods {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.shop-hero .pay-methods {
  margin-top: 2px;
}

.pay-pill {
  border: 3px solid var(--stroke);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.75);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  color: #fff;
  box-shadow: 0 4px 0 #000;
}

.pay-pill span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pay-pill input:checked + span {
  color: var(--accent-yellow);
}
.pay-pill input {
  accent-color: var(--accent-yellow);
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.product-card {
  position: relative !important;
  --rays-rotate: 0deg;
  --rays-alpha: 0.22;
  padding: 20px 18px 24px;
  border-radius: 12px;
  border: 3px solid var(--stroke);
  background: radial-gradient(
    circle at 50% 45%,
    var(--card-bg, var(--accent-green)) 0,
    var(--card-bg, #4fe23f) 45%,
    var(--card-bg-dark, var(--accent-green-dark)) 100%
  );
  box-shadow: 0 10px 0 #000, 0 16px 30px rgba(0, 0, 0, 0.35);
  color: #fff;
  text-align: center;
  text-shadow: 0 3px 0 #000;
  overflow: hidden;
  animation: pop 420ms ease both;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  aspect-ratio: 1 / 1;
  min-height: 300px;
  max-width: 340px;
  justify-self: center;
}

.category-grid .product-card:nth-child(4n + 1) {
  --rays-rotate: 9deg;
  --rays-alpha: 0.24;
}

.category-grid .product-card:nth-child(4n + 2) {
  --rays-rotate: 23deg;
  --rays-alpha: 0.20;
}

.category-grid .product-card:nth-child(4n + 3) {
  --rays-rotate: 41deg;
  --rays-alpha: 0.23;
}

.category-grid .product-card:nth-child(4n) {
  --rays-rotate: 57deg;
  --rays-alpha: 0.19;
}

.product-timer {
  position: absolute !important;
  top: 64px !important;
  left: 0px !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 10px 10px 10px 24px;
  border-radius: 0 10px 10px 0;
  border: 0;
  background: rgba(10, 10, 10, 0.94);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.7);
  max-width: 160px;
  z-index: 3;
  line-height: 1;
  font-family: "Rubik One", "Impact", "Arial Black", sans-serif;
}

.delete-offer {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 30px;
  height: 30px;
  border: 2px solid #000;
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 0 #000;
  cursor: pointer;
  z-index: 3;
  padding: 0;
}

.delete-offer img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.product-timer.expired {
  opacity: 0.65;
}

.timer-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  flex: 0 0 auto;
}

.timer-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.timer-text {
  font-size: 10px;
  display: inline-block;
  width: 52px;
  text-align: center;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    repeating-conic-gradient(
      from var(--rays-rotate),
      rgba(255, 255, 255, var(--rays-alpha)) 0 8deg,
      transparent 8deg 26deg
    ),
    repeating-conic-gradient(
      from calc(var(--rays-rotate) + 13deg),
      rgba(255, 255, 255, calc(var(--rays-alpha) * 0.55)) 0 3deg,
      transparent 3deg 18deg
    );
  opacity: 0.38;
  pointer-events: none;
}

.product-card > *:not(.product-timer):not(.delete-offer) {
  position: relative;
  z-index: 1;
}

.product-label {
  font-size: 20px;
  letter-spacing: 0.08em;
  font-family: "Rubik One", "Impact", "Arial Black", sans-serif;
  text-transform: uppercase;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000,
    0 3px 0 rgba(0, 0, 0, 0.6);
}

.product-label.is-hidden {
  display: none;
}

.product-value {
  font-size: 22px;
  font-family: "Rubik One", "Impact", "Arial Black", sans-serif;
  text-transform: uppercase;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000,
    0 3px 0 rgba(0, 0, 0, 0.6);
}

.product-art {
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
}

.product-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 0 rgba(0, 0, 0, 0.3));
}

.product-coin {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, #d9ff6e, #3cc329);
  border: 4px solid #1b6d1c;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.35);
}

.price-tag {
  position: absolute !important;
  right: 12px !important;
  bottom: 12px !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  border: 3px solid #0b0b0b;
  border-radius: 10px;
  background: #1b1b1b;
  color: #fff;
  padding: 10px 14px;
  font-family: "Rubik One", "Impact", "Arial Black", sans-serif;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 0 #000;
  cursor: pointer;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.modal.hidden {
  display: none;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 15, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 180ms ease;
}

.modal.is-open .modal-backdrop {
  opacity: 1;
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(520px, 94vw);
  max-height: 90vh;
  border-radius: 18px;
  border: 3px solid #000;
  background: #141414;
  box-shadow: 0 12px 0 #000;
  padding: 20px;
  display: grid;
  gap: 16px;
  overflow: auto;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: transform 200ms ease, opacity 200ms ease;
}

.online-modal {
  width: min(720px, 94vw);
}

.online-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  border: 2px solid #000;
  border-radius: 999px;
  background: #1a1a1a;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  font-family: "Rubik One", "Impact", "Arial Black", sans-serif;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 3px 0 #000;
}

.filter-btn.is-active {
  background: var(--accent-yellow);
  color: #111;
}

.online-chart {
  position: relative;
  width: 100%;
  border-radius: 14px;
  border: 3px solid #000;
  background: rgba(10, 10, 10, 0.75);
  padding: 10px;
  min-height: 240px;
}

#online-canvas {
  width: 100%;
  height: 240px;
  display: block;
}

#online-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  pointer-events: none;
}

#online-empty.hidden {
  display: none !important;
}

.online-tooltip {
  position: absolute;
  padding: 8px 10px;
  border-radius: 10px;
  border: 2px solid #000;
  background: rgba(12, 12, 12, 0.95);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 3px 0 #000;
  pointer-events: none;
  transform: translate(-50%, -100%);
  white-space: nowrap;
  z-index: 2;
}

.modal.is-open .modal-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 2px solid #000;
  background: #222;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 3px 0 #000;
}

.modal-body {
  display: grid;
  gap: 14px;
}

.modal-product {
  display: grid;
  gap: 10px;
  text-align: center;
}

.modal-title {
  font-family: "Rubik One", "Impact", "Arial Black", sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.modal-art {
  width: min(240px, 70vw);
  height: min(240px, 32vh);
  margin: 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.modal-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 0 rgba(0, 0, 0, 0.3));
}

.price-tag:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #000;
}

.cta {
  border: 3px solid #0b0b0b;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent-yellow);
  color: #151515;
  font-weight: 900;
  font-family: "Rubik One", "Impact", "Arial Black", sans-serif;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 160ms ease;
  box-shadow: 0 5px 0 #000;
}

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

.cta:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #000;
}

.cta.ghost {
  background: #fff;
  color: #151515;
}

.server-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.server-items.hidden {
  display: none;
}

.server-items-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.server-items-head .cta {
  padding: 6px 10px;
  font-size: 12px;
  box-shadow: 0 3px 0 #000;
}

.server-item-row {
  display: grid;
  grid-template-columns: 1fr 1fr 80px auto;
  gap: 8px;
  align-items: center;
}

.server-item-row select,
.server-item-row input {
  padding: 8px 10px;
  border-radius: 10px;
  border: 3px solid var(--stroke);
  background: #fff;
  font-size: 13px;
  font-family: "Trebuchet MS", "Tahoma", "Geneva", sans-serif;
  color: #101010;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.2);
}

.server-item-row .server-item-remove {
  border: 3px solid #0b0b0b;
  border-radius: 10px;
  background: #fff;
  color: #a72424;
  font-weight: 900;
  cursor: pointer;
  padding: 6px 10px;
}

.note {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.65);
  border: 2px dashed #000;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.profile-card {
  display: grid;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.65);
  border: 3px solid #000;
  min-width: 220px;
  font-family: "Rubik One", "Impact", "Arial Black", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.value {
  font-weight: 900;
  font-size: 16px;
}

.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  padding: 18px;
  border-radius: 18px;
  border: 3px solid var(--stroke);
  background: rgba(0, 0, 0, 0.72);
  box-shadow: 0 8px 0 #000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fadeUp 500ms ease both;
}

.card h3 {
  margin: 0;
  font-size: 18px;
  font-family: "Rubik One", "Impact", "Arial Black", sans-serif;
  text-transform: uppercase;
}

.code-output {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.2em;
  cursor: pointer;
}

.account-list {
  display: grid;
  gap: 10px;
}

.account-card {
  width: 100%;
  border: 3px solid #000;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  text-align: left;
  padding: 12px 14px;
  box-shadow: 0 6px 0 #000;
  cursor: pointer;
  display: grid;
  gap: 6px;
  font-family: "Rubik One", "Impact", "Arial Black", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.account-label {
  font-size: 11px;
  color: var(--muted);
}

.account-value {
  font-size: 16px;
  font-weight: 900;
}

.toggle-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.toggle-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toggle-title {
  font-size: 14px;
  font-weight: 700;
}

.toggle-subtitle {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.68);
}

.toggle-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-switch {
  position: relative;
  width: 54px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease;
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease;
}

.toggle-row input:checked + .toggle-switch {
  background: #5ef149;
}

.toggle-row input:checked + .toggle-switch::after {
  transform: translateX(24px);
}

.admin-preview {
  display: grid;
  gap: 12px;
}

.admin-preview-standalone {
  margin-top: 20px;
  padding: 12px;
  border-radius: 12px;
  border: 3px solid #000;
  background: rgba(0, 0, 0, 0.7);
  max-width: 420px;
}

.admin-preview-head {
  display: grid;
  gap: 4px;
}

#admin-preview-card {
  display: grid;
}

.admin-preview-card {
  cursor: default;
  min-height: 360px;
}

.admin-preview-card::before {
  opacity: 0.28;
}

.product-timer.is-preview {
  pointer-events: none;
}

.price-tag.is-static {
  cursor: default;
}

.small {
  font-size: 12px;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 10px 16px 18px;
  background: rgba(10, 10, 10, 0.86);
  border-top: 4px solid #000;
  backdrop-filter: blur(6px);
}

.nav-item {
  flex: 1;
  max-width: 220px;
  border: 3px solid #000;
  border-radius: 14px;
  background: #1a1a1a;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  font-family: "Rubik One", "Impact", "Arial Black", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 12px 10px;
  cursor: pointer;
  box-shadow: 0 6px 0 #000;
}

.nav-item.hidden {
  display: none;
}

.nav-item.is-active {
  background: var(--accent-yellow);
  color: #111;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

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

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

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

@media (max-width: 600px) {
  .hero {
    padding: 18px;
  }
  .panel-head {
    flex-direction: column;
  }
  .nav-item {
    font-size: 12px;
  }
}
