/* UNDEAD MC — shop.undeadmc.uz */

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1a1a1a;
  --border: #262626;
  --red: #e01b1b;
  --red-hover: #ff2e2e;
  --red-text: #ff4040;
  --silver: #d4d4d4;
  --muted: #9ca3af;
  --gold: #ffd84a;
  --white: #ffffff;

  --font-pixel: "Press Start 2P", ui-monospace, monospace;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --nav-h: 64px;
  --tabs-h: 64px;
  --gutter: 16px;
  --radius: 4px;
  --px: 4px; /* "pixel" size for borders/notches */
  --crack: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='120' fill='none' stroke='%23fff' stroke-width='1.2' stroke-linecap='square'%3E%3Cpath d='M160 14 138 22 126 14 104 30 92 26 76 44 62 42 48 60M126 14 122 0M104 30 108 46 98 58M76 44 80 62 72 74M138 22 146 40 160 44'/%3E%3C/svg%3E");
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--silver);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--red-text); text-decoration: none; }
a:hover { color: var(--red-hover); }

button { font: inherit; color: inherit; }

h1, h2, h3, p, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }

code { font-family: var(--font-mono); }

:focus-visible {
  outline: 3px solid var(--red-hover);
  outline-offset: 3px;
  border-radius: 2px;
}
[tabindex="-1"]:focus { outline: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
}
.skip-link:focus { top: 8px; color: var(--white); }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.icon { display: inline-flex; flex: none; width: 1.15em; height: 1.15em; }
.icon svg { width: 100%; height: 100%; }

/* ---------- Background: drifting blurred blocks ---------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(224, 27, 27, 0.13), transparent 70%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(224, 27, 27, 0.06), transparent 70%),
    var(--bg);
}

.bg span {
  --s: 90px;
  position: absolute;
  width: var(--s);
  height: var(--s);
  background:
    repeating-conic-gradient(#1a1a1a 0 25%, #121212 0 50%) 0 0 / 25% 25%;
  border: 1px solid #222;
  box-shadow: 0 0 60px rgba(224, 27, 27, 0.14);
  filter: blur(3px);
  opacity: 0.55;
  will-change: transform;
  animation: drift 38s ease-in-out infinite alternate;
}

.bg span:nth-child(1)  { --s: 120px; left: 4%;  top: 12%; animation-duration: 42s; filter: blur(5px); }
.bg span:nth-child(2)  { --s: 64px;  left: 82%; top: 8%;  animation-duration: 34s; animation-delay: -8s; }
.bg span:nth-child(3)  { --s: 150px; left: 70%; top: 44%; animation-duration: 50s; animation-delay: -20s; filter: blur(7px); opacity: 0.4; }
.bg span:nth-child(4)  { --s: 48px;  left: 18%; top: 58%; animation-duration: 30s; animation-delay: -4s; }
.bg span:nth-child(5)  { --s: 96px;  left: 40%; top: 82%; animation-duration: 46s; animation-delay: -12s; filter: blur(4px); }
.bg span:nth-child(6)  { --s: 72px;  left: 90%; top: 76%; animation-duration: 36s; animation-delay: -16s; }
.bg span:nth-child(7)  { --s: 40px;  left: 55%; top: 22%; animation-duration: 28s; animation-delay: -6s; filter: blur(2px); }
.bg span:nth-child(8)  { --s: 110px; left: -3%; top: 86%; animation-duration: 44s; animation-delay: -24s; filter: blur(6px); }
.bg span:nth-child(9)  { --s: 56px;  left: 30%; top: 32%; animation-duration: 40s; animation-delay: -30s; opacity: 0.35; }
.bg span:nth-child(10) { --s: 84px;  left: 62%; top: 64%; animation-duration: 32s; animation-delay: -10s; opacity: 0.4; }

@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%  { transform: translate3d(28px, -36px, 0) rotate(8deg); }
  100% { transform: translate3d(-22px, 30px, 0) rotate(-6deg); }
}

/* ---------- Pixel badge ---------- */

.badge {
  display: inline-block;
  padding: 4px 6px 3px;
  font-family: var(--font-pixel);
  font-size: 7px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--bg);
  background: var(--gold);
  box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  vertical-align: middle;
}
.badge[hidden] { display: none; }

/* ---------- Buttons (Minecraft-like bevel) ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.08s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(2px); }

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow:
    inset 3px 3px 0 rgba(255, 255, 255, 0.18),
    inset -3px -3px 0 rgba(0, 0, 0, 0.35),
    0 4px 0 #6d0b0b;
}
.btn-primary:hover { background: var(--red-hover); color: var(--white); }
.btn-primary:active { box-shadow: inset 3px 3px 0 rgba(0, 0, 0, 0.3), 0 2px 0 #6d0b0b; }

.btn-ghost {
  background: var(--surface-2);
  color: var(--silver);
  box-shadow:
    inset 0 0 0 2px var(--border),
    inset 3px 3px 0 2px rgba(255, 255, 255, 0.03),
    0 4px 0 #050505;
}
.btn-ghost:hover { color: var(--white); box-shadow: inset 0 0 0 2px var(--red), 0 4px 0 #050505; }

.btn-lg { min-height: 52px; padding: 14px 22px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-copy { min-width: 10.5em; }
.btn-copy.is-copied { background: #1f8a3a; }
.btn-copy.is-copied:hover { background: #24a144; }

/* ---------- Navbar ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.88);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.nav-logo { display: block; flex: none; padding: 4px 0; }
.nav-logo img { width: 128px; }

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -8px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.burger-box { position: relative; width: 24px; height: 18px; }
.burger-box span {
  position: absolute;
  left: 0;
  width: 24px;
  height: 4px;
  background: var(--silver);
  transition: transform 0.2s, opacity 0.2s, top 0.2s;
}
.burger-box span:nth-child(1) { top: 0; }
.burger-box span:nth-child(2) { top: 7px; }
.burger-box span:nth-child(3) { top: 14px; }
.burger[aria-expanded="true"] .burger-box span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-box span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger-box span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

.nav-menu {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  background: #0d0d0d;
  border-bottom: 2px solid var(--red);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}
.nav-menu.is-open { display: block; }

.nav-menu ul { padding: 8px var(--gutter) 16px; }
.nav-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 4px;
  color: var(--silver);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.nav-menu li:last-child a { border-bottom: 0; }
.nav-menu a:hover { color: var(--white); }

@media (min-width: 960px) {
  .burger { display: none; }
  .nav-logo img { width: 140px; }
  .nav-menu {
    display: block;
    position: static;
    max-height: none;
    overflow: visible;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .nav-menu ul { display: flex; align-items: center; gap: 4px; padding: 0; }
  .nav-menu a {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 0.92rem;
    border: 0;
    gap: 8px;
  }
  .nav-menu a:hover { background: var(--surface-2); }
  .nav-social { color: var(--muted) !important; }
  .nav-social:hover { color: var(--white) !important; }
}

/* ---------- Hero ---------- */

.hero { padding: 40px 0 48px; text-align: center; }

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  position: relative;
  width: 100%;
  max-width: 680px;
}
.hero-logo::before {
  content: "";
  position: absolute;
  inset: 10% 8%;
  z-index: -1;
  background: radial-gradient(ellipse at 70% 50%, rgba(224, 27, 27, 0.28), transparent 65%);
  filter: blur(24px);
}
.hero-logo img { width: 100%; }

.hero-subtitle {
  margin-top: 14px;
  font-family: var(--font-pixel);
  font-size: clamp(0.62rem, 2.9vw, 0.95rem);
  line-height: 1.6;
  color: var(--silver);
  text-shadow: 2px 2px 0 #000;
}

.ip-box {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin: 30px auto 0;
  padding: 12px 12px 12px 18px;
  max-width: 100%;
  background: rgba(20, 20, 20, 0.92);
  /* pixel border with notched corners */
  box-shadow:
    0 calc(var(--px) * -1) 0 var(--red),
    0 var(--px) 0 var(--red),
    calc(var(--px) * -1) 0 0 var(--red),
    var(--px) 0 0 var(--red),
    0 0 40px rgba(224, 27, 27, 0.25);
}
.ip-label {
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  color: var(--muted);
}
.ip-value {
  font-family: var(--font-pixel);
  font-size: clamp(0.85rem, 4vw, 1.1rem);
  color: var(--white);
  text-shadow: 2px 2px 0 #000;
  letter-spacing: 0.02em;
  user-select: all;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}
.hero-version,
.hero-online { display: inline-flex; align-items: center; gap: 8px; }
.hero-online[hidden] { display: none; }
.hero-online { color: var(--silver); font-weight: 600; }
.dot {
  width: 10px;
  height: 10px;
  background: #4ade5a;
  box-shadow: 0 0 10px #4ade5a;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.45; } }

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 420px;
  margin-top: 28px;
}

@media (min-width: 560px) {
  .hero { padding: 56px 0 64px; }
  .hero-actions { flex-direction: row; justify-content: center; max-width: none; }
}

/* ---------- Prices / tabs ---------- */

.prices { padding-bottom: 24px; }

.mode-anchor {
  display: block;
  height: 0;
  scroll-margin-top: var(--nav-h);
}

.tabs-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 30;
  padding: 10px 0;
  background: rgba(10, 10, 10, 0.9);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
}

.tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 6px;
  border: 0;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  line-height: 1.3;
  cursor: pointer;
  box-shadow: inset 0 0 0 2px var(--border), 0 3px 0 #050505;
  transition: color 0.15s, background-color 0.15s;
}
.tab:hover { color: var(--white); box-shadow: inset 0 0 0 2px #3a3a3a, 0 3px 0 #050505; }
.tab[aria-selected="true"] {
  background: var(--red);
  color: var(--white);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
  box-shadow:
    inset 3px 3px 0 rgba(255, 255, 255, 0.18),
    inset -3px -3px 0 rgba(0, 0, 0, 0.3),
    0 3px 0 #6d0b0b;
}
.tab .badge {
  position: absolute;
  top: -7px;
  right: -4px;
  font-size: 6px;
  padding: 3px 4px 2px;
}

@media (min-width: 560px) {
  .tab { font-size: 0.7rem; padding: 12px 10px; }
  .tab .badge { position: static; font-size: 7px; padding: 4px 5px 3px; }
}

.mode-panel { padding-top: 24px; }
.mode-panel:focus-visible { outline-offset: 8px; }

.mode-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px 14px;
  color: var(--silver);
  font-size: 0.92rem;
  background: rgba(255, 216, 74, 0.06);
  border-left: 4px solid var(--gold);
}
.mode-notice[hidden] { display: none; }

.price-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 900px) {
  .price-grid { grid-template-columns: 1.25fr 1fr; align-items: start; gap: 24px; }
}

/* ---------- Surface / block ---------- */

.block,
.surface {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 6px 0 #050505;
}
.block::after,
.surface::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 120px;
  background: var(--crack) no-repeat top right;
  opacity: 0.05;
  pointer-events: none;
}

.block { scroll-margin-top: calc(var(--nav-h) + var(--tabs-h) + 12px); }

.block-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--border);
}
.block-icon { display: inline-flex; width: 26px; height: 26px; color: var(--gold); }
.block-icon svg { width: 100%; height: 100%; }
.block-title,
.section-title,
.card-title {
  font-family: var(--font-pixel);
  font-weight: 400;
  color: var(--silver);
  text-shadow: 3px 3px 0 #000;
  line-height: 1.4;
}
.block-title { font-size: clamp(0.8rem, 3.6vw, 1rem); }

.block-body { padding: 4px 0 8px; }

.block-note {
  margin: 4px 16px 10px;
  padding: 10px 12px;
  font-size: 0.9rem;
  color: var(--silver);
  background: var(--surface-2);
  border-left: 4px solid var(--red);
}

/* ---------- Price tables ---------- */

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.price-table th,
.price-table td {
  padding: 12px 10px;
  text-align: left;
  vertical-align: middle;
}
.price-table th:first-child,
.price-table td:first-child { padding-left: 16px; }
.price-table th:last-child,
.price-table td:last-child { padding-right: 16px; }

.price-table thead th {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.price-table thead th.col-lifetime { color: var(--gold); }
.price-table thead th.col-monthly { color: var(--white); }

.price-table .num { text-align: right; }

.price-table tbody tr {
  border-bottom: 1px solid #1d1d1d;
  transition: background-color 0.15s;
}
.price-table tbody tr:last-child { border-bottom: 0; }
.price-table tbody tr:hover {
  background: linear-gradient(90deg, color-mix(in srgb, var(--c, #fff) 12%, transparent), transparent 70%);
}

.item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c, var(--silver));
}
.item-icon { display: inline-flex; flex: none; width: 20px; height: 20px; }
.item-icon svg { width: 100%; height: 100%; }
.item-name {
  font-family: var(--font-pixel);
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-shadow: 2px 2px 0 #000;
}

.amount {
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}
.cur {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}
.price-monthly .amount { color: var(--white); }
.price-lifetime .amount { color: var(--gold); text-shadow: 0 0 12px rgba(255, 216, 74, 0.25); }
.price-case .amount { color: var(--white); }

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--red-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

@media (min-width: 420px) {
  .item-name { font-size: 0.7rem; }
  .cur { display: inline; margin-left: 4px; font-size: 0.85rem; }
  .price-table th, .price-table td { padding: 13px 12px; }
}
@media (min-width: 900px) {
  .item-name { font-size: 0.72rem; }
  .amount { font-size: 1.05rem; }
}

.soon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 12px 16px 8px;
  padding: 32px 16px;
  text-align: center;
  color: var(--muted);
  background: repeating-linear-gradient(-45deg, transparent 0 12px, rgba(255, 255, 255, 0.015) 12px 24px);
  border: 2px dashed var(--border);
}
.soon-title {
  font-family: var(--font-pixel);
  font-size: 0.85rem;
  color: var(--gold);
  text-shadow: 2px 2px 0 #000;
}

/* ---------- How to buy ---------- */

.buy {
  padding: 56px 0 72px;
  scroll-margin-top: var(--nav-h);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(0.82rem, 3.8vw, 1.35rem);
}
.section-title .icon { width: 1.5em; height: 1.5em; }

.section-title::after {
  content: "";
  flex: 1;
  height: 4px;
  margin-left: 8px;
  background: repeating-linear-gradient(90deg, var(--red) 0 8px, transparent 8px 14px);
  opacity: 0.6;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  counter-reset: step;
}
.steps li {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 4px 0 #050505;
  font-size: 1rem;
  color: var(--silver);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-pixel);
  font-size: 0.9rem;
  color: var(--white);
  background: var(--red);
  box-shadow: inset 3px 3px 0 rgba(255, 255, 255, 0.18), inset -3px -3px 0 rgba(0, 0, 0, 0.35);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { flex-direction: column; }
}

.pay-grid {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}
@media (min-width: 860px) { .pay-grid { grid-template-columns: 1fr 1fr; align-items: stretch; } }

.card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
}
.card-title { font-size: 0.8rem; }

.bank-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  min-height: 170px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(224, 27, 27, 0.22), transparent 45%),
    linear-gradient(160deg, #1f1f1f, #0e0e0e);
  border: 1px solid #2e2e2e;
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.bank-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--crack) no-repeat 100% 100% / 240px auto;
  opacity: 0.06;
  pointer-events: none;
}
.bank-card-top { display: flex; align-items: center; justify-content: space-between; }
.chip { display: inline-flex; width: 44px; height: 34px; }
.chip svg { width: 100%; height: 100%; }
.bank-card-logo { width: 96px; opacity: 0.9; }

.card-number {
  font-family: var(--font-mono);
  font-size: clamp(1.05rem, 5.6vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  text-shadow: 0 2px 0 #000;
  white-space: nowrap;
  user-select: all;
}
.card-holder {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.card-holder[hidden] { display: none; }

.admin { display: flex; align-items: center; gap: 14px; }
.admin-icon { display: inline-flex; flex: none; width: 44px; height: 48px; }
.admin-icon svg { width: 100%; height: 100%; }
.admin-line { font-size: 1.05rem; font-weight: 500; line-height: 1.4; color: var(--muted); }
.admin-name { display: block; font-size: 1.3rem; font-weight: 800; color: var(--white); }

.admin-links { display: grid; gap: 14px; margin-top: auto; }
.admin-links .btn { justify-content: flex-start; padding-left: 18px; }
.admin-links .btn .tg-user { font-weight: 800; }

.warning {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 16px;
  font-weight: 600;
  color: var(--white);
  background: rgba(224, 27, 27, 0.08);
  border: 1px solid rgba(224, 27, 27, 0.45);
  border-left-width: 4px;
}
.warning .icon { width: 1.4em; height: 1.4em; margin-top: 1px; }

/* ---------- Footer ---------- */

.footer {
  padding: 40px 0 32px;
  background: #070707;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
}
.footer-inner { display: grid; gap: 28px; }
.footer-brand img { width: 130px; margin-bottom: 12px; }
.footer-brand p { color: var(--silver); }
.footer-muted { margin-top: 4px; color: var(--muted) !important; font-size: 0.85rem; }
.footer-title {
  margin-bottom: 12px;
  font-family: var(--font-pixel);
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--muted);
  text-shadow: 2px 2px 0 #000;
}
.footer-col li { padding: 4px 0; color: var(--silver); }
.footer-col a { color: var(--silver); display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.footer-col a:hover { color: var(--red-hover); }
.footer-col code { color: var(--white); }

@media (min-width: 640px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  .bg span { animation: none; }
  .dot { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
