/* ROVL — tactical survival brand */
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap");

:root {
  --bg: #0b0d0a;
  --bg-elev: #131611;
  --bg-card: #181c15;
  --bg-panel: rgba(19, 22, 17, 0.92);
  --olive: #6e824c;
  --olive-bright: #9bb06e;
  --olive-deep: #3a4630;
  --forest: #242b1e;
  --sand: #c9b896;
  --sand-soft: #a89878;
  --text: #f2eee4;
  --text-muted: #9a9486;
  --border: rgba(201, 184, 150, 0.14);
  --border-strong: rgba(201, 184, 150, 0.28);
  --glow: rgba(155, 176, 110, 0.22);
  --danger: #b85c4a;
  --radius: 14px;
  --radius-sm: 10px;
  --nav-h: 72px;
  --max: 1240px;
  --font-display: "Oswald", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(110, 130, 76, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(58, 70, 48, 0.25), transparent 50%),
    linear-gradient(180deg, #0e110c 0%, var(--bg) 40%, #0a0c09 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(155, 176, 110, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 176, 110, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 75%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* ——— Nav ——— */
.nav {
  position: sticky;
  top: 16px;
  z-index: 100;
  width: min(100% - 24px, var(--max));
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  animation: navIn 0.7s var(--ease) both;
}

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

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav__logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 0 2px rgba(110, 130, 76, 0.2);
}

.nav__online {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand-soft);
  white-space: nowrap;
}

.nav__online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--olive-bright);
  box-shadow: 0 0 10px var(--olive-bright);
  animation: pulse 2.4s ease-in-out infinite;
}

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

.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 4px;
  flex-wrap: wrap;
}

.nav__links a {
  padding: 8px 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav__links a:hover {
  color: var(--text);
  background: rgba(155, 176, 110, 0.08);
}

.nav__links a.is-active {
  color: var(--olive-bright);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* display: on chips must not override the HTML hidden attribute */
[hidden] {
  display: none !important;
}

.balance-chip[hidden],
.user-chip[hidden] {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(180deg, #8fa66b 0%, #6e824c 100%);
  color: #0d100a;
  box-shadow: 0 8px 24px var(--glow);
}

.btn--primary:hover {
  box-shadow: 0 12px 32px rgba(155, 176, 110, 0.35);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--border-strong);
  background: rgba(155, 176, 110, 0.08);
}

.btn--sm {
  padding: 9px 14px;
  font-size: 0.78rem;
}

.btn--icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.lang {
  display: none;
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav__toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--sand);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: calc(100vh - 100px);
  display: grid;
  align-items: center;
  padding: 48px 0 72px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 7px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-bright);
  animation: fadeUp 0.8s var(--ease) 0.1s both;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeUp 0.8s var(--ease) 0.2s both;
}

.hero__title em {
  font-style: normal;
  color: var(--olive-bright);
  text-shadow: 0 0 40px var(--glow);
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  animation: fadeUp 0.8s var(--ease) 0.05s both;
}

.hero__brand img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 40px var(--glow);
}

.hero__brand span {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.28em;
  color: var(--sand);
}

.hero__lead {
  max-width: 42ch;
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-bottom: 28px;
  animation: fadeUp 0.8s var(--ease) 0.3s both;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
  animation: fadeUp 0.8s var(--ease) 0.4s both;
}

.online-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sand-soft);
}

.online-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7dba62;
  box-shadow: 0 0 10px #7dba62;
}

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

.hero__visual {
  position: relative;
  animation: fadeUp 0.9s var(--ease) 0.25s both;
}

.feature-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.feature-card__art {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 28%, rgba(201, 184, 150, 0.22), transparent 28%),
    radial-gradient(ellipse at 50% 80%, rgba(58, 70, 48, 0.7), transparent 55%),
    linear-gradient(160deg, #2a3522 0%, #12150f 45%, #1c2418 100%);
}

.feature-card__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 55%, rgba(10, 12, 8, 0.92) 100%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 12px,
      rgba(155, 176, 110, 0.03) 12px,
      rgba(155, 176, 110, 0.03) 13px
    );
}

.feature-card__tower {
  position: absolute;
  right: 18%;
  bottom: 28%;
  width: 18px;
  height: 42%;
  background: linear-gradient(180deg, #c9b896 0%, #6e824c 30%, #2a3522 100%);
  clip-path: polygon(35% 0, 65% 0, 100% 100%, 0 100%);
  opacity: 0.85;
  filter: drop-shadow(0 0 20px rgba(201, 184, 150, 0.25));
}

.feature-card__trees {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26%;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(15, 18, 12, 0.9)),
    repeating-linear-gradient(
      90deg,
      #1a2016 0 8px,
      #0f120d 8px 18px,
      #232a1c 18px 26px,
      #12150f 26px 40px
    );
  clip-path: polygon(
    0 100%,
    0 55%,
    6% 40%,
    12% 60%,
    18% 30%,
    24% 55%,
    30% 22%,
    38% 50%,
    45% 18%,
    52% 48%,
    60% 25%,
    68% 52%,
    76% 20%,
    84% 45%,
    92% 28%,
    100% 50%,
    100% 100%
  );
  opacity: 0.9;
}

.feature-card__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(58%, 240px);
  transform: translate(-50%, -58%);
  border-radius: 50%;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.55));
  animation: floatLogo 5s ease-in-out infinite;
}

@keyframes floatLogo {
  0%,
  100% {
    transform: translate(-50%, -58%);
  }
  50% {
    transform: translate(-50%, -62%);
  }
}

.feature-card__panel {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(12, 14, 10, 0.82);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.feature-card__panel h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.feature-card__panel p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.play-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #8fa66b, #6e824c);
  color: #0d100a;
  box-shadow: 0 8px 24px var(--glow);
  transition: transform 0.2s var(--ease);
}

.play-btn:hover {
  transform: scale(1.06);
}

.play-btn svg {
  margin-left: 2px;
}

/* ——— Page headers ——— */
.page-hero {
  padding: 56px 0 36px;
  text-align: center;
}

.page-hero--split {
  text-align: left;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 40px 28px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(36, 43, 30, 0.65), rgba(19, 22, 17, 0.9));
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive-bright);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 14px;
}

.page-title em {
  font-style: normal;
  color: var(--olive-bright);
}

.page-title--compact {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
}

.page-lead {
  max-width: 48ch;
  margin-inline: auto;
  color: var(--text-muted);
}

.page-hero--split .page-lead {
  margin-inline: 0;
}

.support-main {
  padding-top: 36px;
}

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

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6, 8, 5, 0.62);
  backdrop-filter: blur(4px);
}

.nav-backdrop[hidden] {
  display: none;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

/* ——— News grid ——— */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-bottom: 80px;
}

.news-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.news-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--forest);
  overflow: hidden;
}

.news-card__body h3 a {
  color: inherit;
}

.news-card__media-bg {
  position: absolute;
  inset: 0;
  opacity: 0.9;
}

.news-card__media-bg--1 {
  background: linear-gradient(145deg, #3a4630, #1a2016 60%),
    radial-gradient(circle at 30% 40%, rgba(201, 184, 150, 0.25), transparent 40%);
}

.news-card__media-bg--2 {
  background: linear-gradient(160deg, #2f3d24, #12150f 55%),
    radial-gradient(circle at 70% 30%, rgba(155, 176, 110, 0.2), transparent 35%);
}

.news-card__media-bg--3 {
  background: linear-gradient(180deg, #4a3f2e, #141812 70%);
}

.news-card__media-bg--4 {
  background: linear-gradient(135deg, #2a3522, #0f120d),
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(201, 184, 150, 0.04) 10px, rgba(201, 184, 150, 0.04) 11px);
}

.news-card__media-bg--5 {
  background: radial-gradient(circle at 40% 40%, #6e824c55, transparent 50%),
    linear-gradient(200deg, #1c2418, #0b0d0a);
}

.news-card__media-bg--6 {
  background: linear-gradient(120deg, #3d3428, #1a2016 50%, #0e110c);
}

.news-card__badge {
  position: absolute;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(12, 14, 10, 0.78);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--sand);
  backdrop-filter: blur(8px);
}

.news-card__badge--date {
  left: 12px;
}

.news-card__badge--views {
  right: 12px;
  color: var(--text-muted);
}

.news-card__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--olive-bright);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 18px;
  gap: 10px;
}

.news-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.news-card__body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sand);
}

.news-card__more span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  transition: background 0.2s, border-color 0.2s;
}

.news-card:hover .news-card__more span {
  background: rgba(155, 176, 110, 0.15);
  border-color: var(--olive);
}

/* ——— Shop ——— */
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
  margin-top: -2px;
  margin-bottom: 26px;
}

.shop-filters__cats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.shop-filters__cats .shop-chip,
.shop-chip.btn {
  margin: 0;
}

.shop-chip.is-active,
.shop-chip.btn.is-active {
  border-color: rgba(155, 176, 110, 0.7) !important;
  background: linear-gradient(180deg, rgba(155, 176, 110, 0.2), rgba(0, 0, 0, 0.12)) !important;
  color: var(--text) !important;
  box-shadow: 0 0 0 1px rgba(155, 176, 110, 0.15);
}

.shop-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 280px;
  max-width: 420px;
}

.shop-search__field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  transition: border-color 0.2s, background 0.2s;
}

.shop-search__field:hover {
  border-color: var(--border-strong);
  background: rgba(155, 176, 110, 0.08);
}

.shop-search__field:focus-within {
  border-color: var(--border-strong);
  background: rgba(155, 176, 110, 0.08);
  color: var(--olive-bright);
}

.shop-search__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.shop-search__field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--sand);
  font-family: var(--font-body);
  font-size: 0.92rem;
}

.shop-search__field input::placeholder {
  color: var(--text-muted);
}

.shop-search__field input:focus {
  outline: none;
}

.shop-search__field input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.shop-search__btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-bottom: 80px;
  transition: opacity 0.14s ease, transform 0.14s ease;
}

.shop-grid.is-switching {
  opacity: 0;
  transform: translateY(8px);
}

.shop-card--enter {
  animation: shopCardIn 0.38s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 35ms);
}

@keyframes shopCardIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.shop-skeleton {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(36, 43, 30, 0.35), rgba(19, 22, 17, 0.9));
}

.shop-skeleton__media,
.shop-skeleton__line,
.shop-skeleton__btn {
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(155, 176, 110, 0.12) 45%,
    rgba(255, 255, 255, 0.04) 100%
  );
  background-size: 200% 100%;
  animation: shopShimmer 1.15s linear infinite;
}

.shop-skeleton__media {
  aspect-ratio: 1.2;
  width: 100%;
  margin-bottom: 4px;
}

.shop-skeleton__line {
  height: 12px;
  width: 100%;
}

.shop-skeleton__line--sm {
  width: 36%;
  height: 10px;
}

.shop-skeleton__line--md {
  width: 72%;
}

.shop-skeleton__line--price {
  width: 88px;
  height: 18px;
}

.shop-skeleton__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.shop-skeleton__btn {
  width: 96px;
  height: 34px;
  border-radius: 999px;
}

@keyframes shopShimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.shop-card__cat {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive-bright);
}

.shop-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(36, 43, 30, 0.45), rgba(19, 22, 17, 0.95));
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

.shop-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.shop-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(155, 176, 110, 0.12);
  border: 1px solid var(--border);
  color: var(--olive-bright);
  font-size: 1.4rem;
}

.shop-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.shop-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
  flex: 1;
}

.shop-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.shop-card__price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--sand);
  letter-spacing: 0.04em;
}

.shop-hero-note {
  margin: 18px auto 0;
  max-width: 640px;
}

.shop-topup-wrap {
  margin: 0;
}

.buy-modal__layout {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 18px;
  align-items: start;
}

.buy-modal__media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  aspect-ratio: 1;
  min-height: 160px;
  transition: opacity 0.15s ease;
}

.buy-modal__media.is-fading {
  opacity: 0.35;
}

.buy-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.buy-modal__placeholder {
  width: 100%;
  height: 100%;
  min-height: 160px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  color: var(--text-muted);
  background:
    radial-gradient(circle at 30% 30%, rgba(155, 176, 110, 0.18), transparent 55%),
    rgba(0, 0, 0, 0.2);
}

.buy-modal__body h3 {
  margin-top: 0;
}

@media (max-width: 640px) {
  .buy-modal__layout {
    grid-template-columns: 1fr;
  }
}

.buy-form {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.buy-form__field {
  display: grid;
  gap: 8px;
  text-align: left;
  font-size: 0.9rem;
}

.buy-form__field span {
  color: var(--text-muted);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.picker-grid--chips {
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
}

.picker-chip {
  padding: 11px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--sand);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.picker-chip:hover {
  border-color: rgba(155, 176, 110, 0.55);
  background: rgba(155, 176, 110, 0.08);
  transform: translateY(-1px);
}

.picker-chip.is-active {
  border-color: rgba(155, 176, 110, 0.9);
  background: linear-gradient(180deg, rgba(155, 176, 110, 0.22), rgba(0, 0, 0, 0.12));
  box-shadow: 0 0 0 1px rgba(155, 176, 110, 0.2);
  color: #fff;
}

.picker-card {
  display: grid;
  gap: 8px;
  place-items: center;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--sand);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, background 0.2s, box-shadow 0.2s;
  font: inherit;
  text-align: center;
}

.picker-card strong {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.picker-card:hover {
  border-color: rgba(155, 176, 110, 0.55);
  background: rgba(155, 176, 110, 0.08);
  transform: translateY(-2px);
}

.picker-card.is-active {
  border-color: rgba(155, 176, 110, 0.85);
  background: linear-gradient(180deg, rgba(155, 176, 110, 0.18), rgba(0, 0, 0, 0.15));
  box-shadow: 0 0 0 1px rgba(155, 176, 110, 0.25), 0 10px 24px rgba(0, 0, 0, 0.25);
}

.picker-card--option {
  padding: 8px;
}

.picker-card--option img,
.picker-card__fallback {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.picker-card__fallback {
  display: grid;
  place-items: center;
  background: rgba(155, 176, 110, 0.15);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--olive-bright);
}

.modal__hint {
  margin: 0 0 4px;
  color: var(--olive-bright);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.modal__card--alert {
  text-align: center;
  overflow: hidden;
}

.alert-modal__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #0d100a;
  background: linear-gradient(180deg, #c4a86a, #8fa66b);
  box-shadow: 0 0 0 0 rgba(155, 176, 110, 0.45);
  animation: alert-pulse 1.4s ease-in-out infinite;
}

.modal--shake .modal__card--alert {
  animation: modal-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes alert-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(155, 176, 110, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(155, 176, 110, 0);
    transform: scale(1.04);
  }
}

@keyframes modal-pop {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.92);
  }
  60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.shop-note {
  margin: 0 auto;
  max-width: 720px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-strong);
  background: rgba(155, 176, 110, 0.06);
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
}

.shop-note strong {
  color: var(--sand);
  font-weight: 600;
}

/* ——— Support ——— */
.panel {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  padding: 22px 24px 28px;
  margin-bottom: 80px;
}

.panel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.panel__head h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.panel__count {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 4px;
}

.select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--sand-soft);
  font-size: 0.92rem;
}

.select select {
  appearance: none;
  background: transparent;
  color: inherit;
  outline: none;
  cursor: pointer;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  text-align: left;
  padding: 12px 10px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.empty-state {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 64px 20px 48px;
  gap: 10px;
}

.empty-state__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: rgba(155, 176, 110, 0.06);
  color: var(--sand-soft);
  font-size: 1.5rem;
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ——— Footer ——— */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  color: var(--sand);
}

.footer__brand img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

/* ——— Sections strip on home ——— */
.section {
  padding: 20px 0 80px;
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section__head a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive-bright);
}

.server-monitor {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.server-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 22px;
  text-align: left;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: linear-gradient(145deg, rgba(28, 34, 24, 0.95), rgba(16, 20, 14, 0.98));
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.server-card:hover {
  border-color: rgba(125, 186, 98, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.server-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.server-card__hint {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.server-card__online {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.server-card__online-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--sand);
}

.server-card__online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7dba62;
  box-shadow: 0 0 10px #7dba62;
}

.server-card__online-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.modal__card--wide {
  width: min(100%, 560px);
}

.server-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.server-modal__head h3 {
  margin-bottom: 0;
}

.server-modal__online {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(125, 186, 98, 0.08);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.server-modal__body {
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
  white-space: pre-wrap;
}

.server-modal__body:empty::before {
  content: "Описание пока не добавлено.";
  color: var(--text-muted);
  opacity: 0.75;
}

/* ——— Modal ——— */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 8, 5, 0.72);
  backdrop-filter: blur(6px);
}

.modal__card {
  width: min(100%, 420px);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.modal__card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.modal__card p {
  color: var(--text-muted);
  margin-bottom: 22px;
}

.modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.modal__card--wide {
  width: min(100%, 640px);
}

.balance-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(196, 168, 106, 0.45);
  background: rgba(196, 168, 106, 0.08);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sand);
  white-space: nowrap;
}

.balance-chip a {
  color: inherit;
  text-decoration: none;
}

.balance-chip a:hover {
  color: #fff;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 160px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
  color: var(--sand);
  cursor: pointer;
}

.user-chip img,
.user-chip__fallback {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.user-chip__fallback {
  display: grid;
  place-items: center;
  background: var(--forest);
  font-family: var(--font-display);
  font-size: 0.85rem;
}

.user-chip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 160px;
  color: inherit;
}

.user-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-form {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.ticket-form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--sand-soft);
}

.ticket-form input,
.ticket-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
  resize: vertical;
}

.ticket-form input:focus,
.ticket-form textarea:focus {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px rgba(155, 176, 110, 0.12);
}

.ticket-row {
  cursor: pointer;
}

.ticket-row:hover td {
  background: rgba(155, 176, 110, 0.06);
}

.table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.table td:first-child,
.table td:nth-child(3) {
  color: var(--text);
}

.status {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border);
}

.status--open {
  color: var(--olive-bright);
  background: rgba(155, 176, 110, 0.1);
}

.status--closed {
  color: var(--text-muted);
}

.thread-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.thread-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: min(48vh, 420px);
  overflow-y: auto;
  padding: 12px;
  margin-bottom: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.thread-msg {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.thread-msg--admin {
  border-color: rgba(155, 176, 110, 0.35);
  background: rgba(155, 176, 110, 0.08);
}

.thread-msg__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.thread-msg p {
  white-space: pre-wrap;
  color: var(--text);
  font-size: 0.95rem;
}

.profile-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(36, 43, 30, 0.55), rgba(19, 22, 17, 0.95));
  margin-bottom: 80px;
}

.profile-card__loading,
.profile-card__empty {
  color: var(--text-muted);
  text-align: center;
  padding: 40px 10px;
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.profile-head__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-strong);
  box-shadow: 0 0 30px var(--glow);
}

.profile-head__avatar--placeholder {
  display: grid;
  place-items: center;
  background: var(--forest);
  color: var(--sand);
  font-family: var(--font-display);
  font-size: 2rem;
}

.profile-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.profile-head p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.wallet-panel {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(196, 168, 106, 0.35);
  background: linear-gradient(135deg, rgba(196, 168, 106, 0.1), rgba(0, 0, 0, 0.2));
}

.wallet-panel__balance {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.wallet-panel__balance span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-display);
}

.wallet-panel__balance strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--sand);
}

.wallet-panel__form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.wallet-panel__form input {
  flex: 1 1 140px;
  min-width: 120px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--sand);
  font: inherit;
}

.wallet-panel__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.stat-box {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.stat-box span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-display);
  margin-bottom: 6px;
}

.stat-box strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--sand);
}

.profile-meta {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.profile-meta__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.profile-meta__row span {
  color: var(--text-muted);
}

.profile-meta__row code {
  color: var(--sand);
  font-size: 0.9rem;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

@media (max-width: 720px) {
  .profile-stats {
    grid-template-columns: 1fr 1fr;
  }
}

.wiki-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 48px;
}

.wiki-section-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.wiki-section-card:hover {
  border-color: rgba(155, 176, 110, 0.45);
  background: rgba(155, 176, 110, 0.06);
  transform: translateY(-2px);
}

.wiki-section-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0;
  color: var(--sand);
}

.wiki-section-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

.wiki-section-card__meta {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--olive-bright);
  font-family: var(--font-display);
}

@media (max-width: 720px) {
  .wiki-sections {
    grid-template-columns: 1fr;
  }
}

.article-main {
  padding: 36px 0 80px;
}

.article-back {
  display: inline-flex;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--olive-bright);
}

.article {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
}

.article__image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  background: var(--forest);
}

.article__body {
  padding: 28px 28px 36px;
}

.article__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: var(--sand-soft);
}

.article__date::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--olive-bright);
}

.article h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 18px;
  line-height: 1.15;
}

.article__content {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  white-space: pre-wrap;
}

.shop-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
  background: var(--forest);
}

.news-card__media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ——— Responsive ——— */
@media (max-width: 1100px) {
  .nav__links a {
    padding: 8px 8px;
    font-size: 0.72rem;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    top: 10px;
    width: min(100% - 16px, var(--max));
    margin-top: 10px;
    border-radius: 20px;
    padding: 10px 12px;
    gap: 10px;
  }

  .nav__links {
    display: none;
  }

  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 110;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(15, 18, 13, 0.97);
    border: 1px solid var(--border-strong);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  }

  .nav.is-open .nav__links a {
    padding: 14px 16px;
    font-size: 0.95rem;
    border-radius: 12px;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__toggle span {
    transition: transform 0.2s var(--ease), opacity 0.2s;
  }

  .nav.is-open .nav__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav.is-open .nav__toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav.is-open .nav__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav__actions .lang {
    display: none;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero__visual {
    order: -1;
    max-width: 420px;
    margin-inline: auto;
    width: 100%;
  }

  .news-grid,
  .shop-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section__head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .nav__online-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .nav__online {
    font-size: 0.72rem;
  }

  .nav__actions .btn--sm {
    padding: 9px 12px;
  }

  .hero {
    min-height: auto;
    padding: 20px 0 40px;
  }

  .hero__brand img {
    width: 56px;
    height: 56px;
  }

  .hero__brand span {
    font-size: 1.25rem;
    letter-spacing: 0.2em;
  }

  .hero__title {
    font-size: clamp(2.6rem, 12vw, 3.6rem);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta .btn,
  .online-chip {
    width: 100%;
    justify-content: center;
  }

  .feature-card {
    aspect-ratio: 4 / 5;
    border-radius: 18px;
  }

  .feature-card__panel {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px;
    gap: 10px;
  }

  .feature-card__panel h3 {
    font-size: 0.95rem;
  }

  .feature-card__panel p {
    font-size: 0.82rem;
  }

  .news-grid,
  .shop-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 56px;
  }

  .shop-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .shop-filters__cats {
    gap: 8px;
  }

  .shop-search {
    max-width: none;
  }

  .shop-search__btn {
    flex-shrink: 0;
  }

  .page-hero {
    padding: 36px 0 28px;
    text-align: left;
  }

  .page-lead {
    margin-inline: 0;
  }

  .page-hero--split {
    padding: 22px;
    gap: 18px;
  }

  .page-hero--split .btn {
    width: 100%;
  }

  .shop-footer-note {
    margin: 32px auto 48px;
    text-align: left;
  }

  .shop-note {
    margin: 0;
    text-align: left;
  }

  .shop-card__meta {
    flex-wrap: wrap;
  }

  .shop-card__meta .btn {
    flex: 1;
  }

  .support-main {
    padding-top: 24px;
  }

  .panel {
    padding: 18px 16px 24px;
    margin-bottom: 56px;
  }

  .panel__head {
    align-items: stretch;
    flex-direction: column;
  }

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

  .table {
    min-width: 560px;
  }

  .section {
    padding-bottom: 56px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .modal {
    align-items: flex-end;
    padding: 0;
  }

  .modal__card {
    width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 24px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .modal__actions {
    flex-direction: column-reverse;
  }

  .modal__actions .btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .nav__logo {
    width: 36px;
    height: 36px;
  }

  .hero__title {
    font-size: 2.35rem;
  }

  .btn {
    padding: 12px 16px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .nav__links a,
  .btn,
  .news-card__more,
  .play-btn {
    min-height: 44px;
  }

  .news-card:hover,
  .shop-card:hover {
    transform: none;
  }
}
