/* SMP Core — тема сайта Minecraft SMP */
:root {
  --bg-deep: #070a0d;
  --bg-elevated: #0e1419;
  --bg-card: rgba(18, 26, 34, 0.72);
  --stroke: rgba(120, 200, 255, 0.12);
  --stroke-strong: rgba(94, 234, 168, 0.35);

  --text: #e8f1f7;
  --muted: #94a3b8;
  --faint: #64748b;

  --accent: #5eead4;
  --accent-dim: #2dd4bf;
  --accent-2: #7dd3fc;
  --gold: #fbbf24;
  --danger: #fb7185;

  --tier-bomj: #94a3b8;
  --tier-legenda: #cbd5e1;
  --tier-premium: #fcd34d;
  --tier-titan: #38bdf8;
  --tier-minister: #f472b6;
  --tier-divine: #fde047;
  --tier-god: #f43f5e;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-glow: 0 0 0 1px rgba(94, 234, 212, 0.08), 0 24px 80px rgba(0, 0, 0, 0.55);
  --font-sans: "Outfit", system-ui, -apple-system, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;

  --nav-h: 76px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(94, 234, 212, 0.12), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(125, 211, 252, 0.1), transparent 50%),
    radial-gradient(700px 400px at 50% 100%, rgba(251, 191, 36, 0.06), transparent 45%),
    linear-gradient(180deg, #070a0d 0%, #0a1016 40%, #070a0d 100%);
  pointer-events: none;
}

/* Сетка «блоков» */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, black 20%, transparent 75%);
  pointer-events: none;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

/* ---------- Навигация ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--stroke);
  background: rgba(7, 10, 13, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(94, 234, 212, 0.35), rgba(125, 211, 252, 0.12));
  border: 1px solid rgba(94, 234, 212, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  position: relative;
  flex-shrink: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 6px;
  background: linear-gradient(180deg, #34d399 0%, #0f766e 100%);
  opacity: 0.9;
}

.brand-text h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42vw;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.35rem;
}

.nav-menu a {
  display: block;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  border: 1px solid transparent;
  transition: color var(--transition), background var(--transition), border-color var(--transition),
    box-shadow var(--transition);
}

.nav-menu a:hover {
  color: var(--text);
  background: rgba(148, 163, 184, 0.08);
}

.nav-menu a.active {
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 36px rgba(45, 212, 191, 0.25);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn-ghost {
  display: none;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition);
}

.btn-ghost:hover {
  border-color: rgba(94, 234, 212, 0.45);
  background: rgba(94, 234, 212, 0.08);
}

@media (min-width: 900px) {
  .btn-ghost {
    display: inline-flex;
  }
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 0.35rem;
}

.burger span {
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---------- Герой ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

/* Пассивный фон: мягкие блобы, еле заметное движение */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.5;
  will-change: transform;
}

.hero::before {
  width: min(440px, 70vw);
  height: min(440px, 70vw);
  top: -12%;
  left: -18%;
  background: radial-gradient(circle at 35% 35%, rgba(94, 234, 212, 0.26), transparent 68%);
  animation: heroDriftA 36s ease-in-out infinite;
}

.hero::after {
  width: min(380px, 60vw);
  height: min(380px, 60vw);
  right: -8%;
  bottom: -5%;
  background: radial-gradient(circle at 55% 45%, rgba(125, 211, 252, 0.2), rgba(167, 139, 250, 0.08) 55%, transparent 70%);
  animation: heroDriftB 44s ease-in-out infinite;
}

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

@keyframes heroDriftA {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  30% {
    transform: translate(6%, 8%) scale(1.05);
  }
  65% {
    transform: translate(3%, -4%) scale(0.97);
  }
}

@keyframes heroDriftB {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  35% {
    transform: translate(-7%, 5%) scale(1.04);
  }
  70% {
    transform: translate(-4%, -6%) scale(0.96);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.hero-kicker .dot.offline {
  background: var(--faint);
  box-shadow: none;
}

.hero-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-title span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.38s cubic-bezier(0.34, 1.45, 0.64, 1),
    box-shadow 0.38s ease,
    filter 0.38s ease;
}

/* Простая кнопка, если где-то появится без модификатора */
.btn-primary:not(.btn-primary--hero) {
  color: #042f2e;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  box-shadow: 0 16px 40px rgba(45, 212, 191, 0.28);
}

.btn-primary:not(.btn-primary--hero):hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* Герой: «Смотреть привилегии» — градиент, свечение, лёгкий глинт */
.btn-primary--hero {
  z-index: 0;
  padding: 0.95rem 1.75rem;
  border-radius: 14px;
  color: #012a24;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(
    125deg,
    #5eead4 0%,
    #2dd4bf 28%,
    #22d3ee 55%,
    #34d399 85%,
    #5eead4 100%
  );
  background-size: 240% 240%;
  animation: btnHeroGradient 12s ease infinite;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(45, 212, 191, 0.45),
    0 2px 4px rgba(0, 0, 0, 0.12),
    0 18px 42px rgba(45, 212, 191, 0.32),
    0 0 72px rgba(94, 234, 212, 0.14);
}

.btn-primary--hero::before {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -2;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.55), rgba(56, 189, 248, 0.35), rgba(251, 191, 36, 0.2));
  filter: blur(16px);
  opacity: 0.55;
  animation: btnHeroGlow 4.5s ease-in-out infinite alternate;
  pointer-events: none;
}

.btn-primary__text {
  position: relative;
  z-index: 2;
}

.btn-primary--hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.38) 45%, transparent 90%);
  transform: skewX(-16deg);
  animation: btnHeroGlint 6.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.btn-primary--hero:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.07) saturate(1.08);
  box-shadow:
    0 0 0 1px rgba(94, 234, 212, 0.55),
    0 6px 12px rgba(0, 0, 0, 0.14),
    0 24px 52px rgba(45, 212, 191, 0.42),
    0 0 96px rgba(94, 234, 212, 0.22);
}

.btn-primary--hero:active {
  transform: translateY(-1px) scale(0.99);
  transition-duration: 0.12s;
}

.btn-primary--hero:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
}

@keyframes btnHeroGradient {
  0%,
  100% {
    background-position: 0% 40%;
  }
  50% {
    background-position: 100% 60%;
  }
}

@keyframes btnHeroGlow {
  0% {
    opacity: 0.4;
    transform: scale(0.96);
  }
  100% {
    opacity: 0.65;
    transform: scale(1.02);
  }
}

@keyframes btnHeroGlint {
  0%,
  12% {
    left: -120%;
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  35% {
    left: 130%;
    opacity: 0;
  }
  100% {
    left: 130%;
    opacity: 0;
  }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.btn-secondary:hover {
  border-color: rgba(125, 211, 252, 0.35);
  background: rgba(125, 211, 252, 0.08);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

.pill strong {
  color: var(--text);
  font-weight: 700;
}

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

/* Блок справа в герое — Twitch */
.hero-twitch {
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.75);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.32);
  padding: 1rem 1rem 1.05rem;
  min-width: 0;
}

.hero-twitch-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
}

.hero-twitch-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-twitch-out {
  font-size: 0.82rem;
  font-weight: 700;
  color: #a78bfa;
  text-decoration: none;
}

.hero-twitch-out:hover {
  text-decoration: underline;
}

.hero-twitch-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: #0e0e10;
}

.hero-twitch-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-twitch-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Плашка поверх плеера (без API): верх остаётся кликабельным для видео при эфире */
.hero-twitch-offline {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  pointer-events: none;
}

.hero-twitch-offline-inner {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 2rem 1.25rem 1.15rem;
  text-align: center;
  background: linear-gradient(
    to top,
    rgba(14, 14, 16, 0.97) 0%,
    rgba(14, 14, 16, 0.72) 52%,
    transparent 100%
  );
}

.hero-twitch-offline-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #94a3b8;
}

.hero-twitch-offline-text {
  margin: 0;
  max-width: 30ch;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.hero-twitch-offline-btn {
  margin-top: 0.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.1rem;
  border-radius: 10px;
  border: 1px solid rgba(167, 139, 250, 0.45);
  background: rgba(139, 92, 246, 0.12);
  color: #e9d5ff;
  font-weight: 700;
  font-size: 0.88rem;
  font-family: inherit;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-twitch-offline-btn:hover {
  background: rgba(139, 92, 246, 0.22);
  border-color: rgba(167, 139, 250, 0.65);
}

/* ---------- Секции ---------- */
.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-desc {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 234, 212, 0.28);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--accent);
  background: linear-gradient(145deg, rgba(94, 234, 212, 0.2), rgba(125, 211, 252, 0.08));
  border: 1px solid rgba(94, 234, 212, 0.25);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Магазин привилегий ---------- */
.donations {
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02), transparent);
}

.donation-shop-container {
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .donation-shop-container {
    grid-template-columns: 1fr;
  }
}

.shop-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.shop-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.shop-item:hover {
  border-color: rgba(125, 211, 252, 0.35);
  transform: translateX(4px);
}

.shop-item.active {
  border-color: rgba(94, 234, 212, 0.55);
  background: linear-gradient(90deg, rgba(94, 234, 212, 0.12), rgba(255, 255, 255, 0.02));
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.shop-item-name {
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

.shop-item-price {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.item_info {
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: var(--bg-card);
  box-shadow: var(--shadow-glow);
  display: flex;
  flex-direction: column;
  min-height: 420px;
  backdrop-filter: blur(12px);
}

.box_light {
}

.method {
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
}

.method .title {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.select {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

@media (max-width: 520px) {
  .select {
    grid-template-columns: 1fr;
  }
}

.select p {
  margin: 0;
  padding: 0.75rem 0.5rem;
  text-align: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
  background: rgba(0, 0, 0, 0.2);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.select p:hover {
  border-color: rgba(125, 211, 252, 0.35);
  color: var(--text);
}

.select p.active {
  border-color: rgba(94, 234, 212, 0.55);
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.info_content {
  flex: 1;
  padding: 1.35rem 1.5rem;
  overflow-y: auto;
  max-height: 320px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}

.info_content span {
  color: var(--accent-2);
  font-weight: 700;
}

.item_action {
  padding: 1.15rem 1.35rem;
  border-top: 1px solid var(--stroke);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.2);
}

.item_action .price {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.item_action .price span {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--gold);
  margin-left: 0.35rem;
}

.item_action button {
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.95rem;
  font-family: inherit;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #042f2e;
  background: linear-gradient(135deg, var(--gold), #f59e0b);
  box-shadow: 0 14px 36px rgba(245, 158, 11, 0.25);
  transition: transform var(--transition), filter var(--transition);
}

.item_action button:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.item_action button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.3);
}

/* ---------- Акции ---------- */
.promotions-section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.promotion-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.promotion-card:hover {
  transform: translateY(-6px);
  border-color: rgba(94, 234, 212, 0.3);
  box-shadow: var(--shadow-glow);
}

.promo-hot {
  border-color: rgba(251, 191, 36, 0.35);
}

.promo-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold), #f59e0b);
  color: #1a1003;
}

.promo-stock {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 0.85rem;
}

.promo-title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.promo-content h4 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
}

.promo-items {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.promo-items li {
  padding: 0.35rem 0;
  color: var(--muted);
  border-bottom: 1px dashed rgba(148, 163, 184, 0.15);
  font-size: 0.95rem;
}

.promo-footer {
  border-top: 1px solid var(--stroke);
  padding-top: 1.15rem;
}

.promo-price {
  text-align: center;
  margin-bottom: 1rem;
}

.promo-price .price-label {
  display: block;
  font-size: 0.85rem;
  color: var(--faint);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.promo-price .price-value {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--gold);
}

/* Акции v2: лот гемов + пакеты */
.promo-panel-label {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.promo-gem-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(94, 234, 212, 0.35);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(6, 78, 59, 0.35));
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.promo-gem-hero-main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1 1 220px;
  min-width: 0;
}

.promo-gem-svg {
  flex-shrink: 0;
  filter: drop-shadow(0 0 14px rgba(45, 212, 191, 0.35));
}

.promo-gem-line {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.promo-gem-num {
  color: var(--accent);
  font-weight: 900;
}

.promo-gem-sub {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 36ch;
}

.promo-gem-hero-aside {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.85rem;
  flex: 0 0 auto;
  min-width: 160px;
}

.promo-gem-cost {
  margin: 0;
  text-align: center;
}

.promo-gem-rub {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 900;
  color: var(--gold);
}

.promo-gem-currency {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold);
  margin-left: 0.15rem;
}

.buy-button-gem {
  box-shadow: 0 10px 28px rgba(45, 212, 191, 0.35);
}

.buy-button-outline {
  background: rgba(15, 23, 42, 0.55);
  color: #e0fdfa;
  border: 1px solid rgba(45, 212, 191, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

/* Базовый .buy-button:hover даёт filter + lift — на outline это «мутит» кнопку */
.buy-button.buy-button-outline:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: none;
  background: linear-gradient(145deg, rgba(45, 212, 191, 0.22), rgba(13, 148, 136, 0.14));
  border-color: rgba(94, 234, 212, 0.9);
  color: #f0fdfa;
  box-shadow:
    0 10px 32px rgba(45, 212, 191, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.buy-button.buy-button-outline:active:not(:disabled) {
  transform: translateY(0);
  background: rgba(45, 212, 191, 0.16);
}

.promo-combo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.promo-combo-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform var(--transition), border-color var(--transition);
}

.promo-combo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(148, 163, 184, 0.35);
}

.promo-combo-card--deal {
  position: relative;
  border-color: rgba(251, 191, 36, 0.28);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(251, 191, 36, 0.04));
}

.promo-combo-top {
  margin-bottom: 1rem;
}

.promo-combo-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.35rem;
}

.promo-combo-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.promo-combo-lead-rank {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}

.promo-gems-pop {
  margin: 0 0 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  text-align: center;
  background: radial-gradient(ellipse 120% 100% at 50% 0%, rgba(94, 234, 212, 0.22), transparent 55%),
    linear-gradient(145deg, rgba(30, 58, 138, 0.35), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(129, 140, 248, 0.35);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.promo-gems-pop-inner {
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(105deg, #f0fdfa 0%, #5eead4 35%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 14px rgba(45, 212, 191, 0.35));
}

.promo-gems-plus {
  font-size: 1.15em;
  margin-right: 0.05em;
  opacity: 0.95;
}

.promo-gems-word {
  font-weight: 800;
  margin-left: 0.12em;
}

.promo-kit-label {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.promo-combo-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  flex: 1;
}

.promo-combo-list li {
  padding: 0.4rem 0;
  font-size: 0.92rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.promo-combo-list-em {
  border-bottom: none !important;
  padding-top: 0.35rem !important;
  color: var(--accent-2) !important;
  font-weight: 700;
  font-size: 0.88rem !important;
}

.promo-combo-priceblock {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0.35rem 0 0.85rem;
}

.promo-combo-was {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--faint);
  text-decoration: line-through;
  text-decoration-color: rgba(148, 163, 184, 0.55);
}

.promo-combo-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 1rem;
}

.promo-combo-price {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
}

.promo-combo-save-big {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #bbf7d0;
  padding: 0.2rem 0.55rem;
  border-radius: 10px;
  background: rgba(22, 163, 74, 0.35);
  border: 1px solid rgba(74, 222, 128, 0.45);
}

.promo-combo-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  justify-content: stretch;
  margin-top: auto;
  padding-top: 0.35rem;
}

.promo-combo-bottom .buy-button {
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 1rem;
  padding-right: 1rem;
}

.promo-footnote {
  margin: 0;
  font-size: 0.85rem;
  color: var(--faint);
  line-height: 1.5;
}

.promo-footnote a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.buy-button {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.95rem;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #042f2e;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  box-shadow: 0 14px 36px rgba(45, 212, 191, 0.22);
  transition: transform var(--transition), filter var(--transition);
  position: relative;
  overflow: hidden;
}

.buy-button:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.buy-button.disabled,
.buy-button:disabled {
  background: rgba(148, 163, 184, 0.2);
  color: var(--muted);
  cursor: not-allowed;
  box-shadow: none;
}

/* ---------- Правила ---------- */
.rules-section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.rules-container {
  max-width: 820px;
  margin: 0 auto;
}

.rule-block {
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.rule-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  transition: background var(--transition);
}

.rule-header:hover {
  background: rgba(94, 234, 212, 0.06);
}

.rule-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.expand-btn {
  flex-shrink: 0;
  border: 1px solid var(--stroke);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.expand-btn:hover {
  border-color: rgba(94, 234, 212, 0.45);
  background: rgba(94, 234, 212, 0.1);
}

.rule-content {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding 0.35s ease;
}

.rule-block.active .rule-content {
  padding: 0 1.25rem 1.25rem;
  max-height: 1200px;
}

.rule-content p {
  margin: 0.65rem 0;
  color: var(--muted);
}

.rules-notice {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(251, 113, 133, 0.35);
  background: rgba(251, 113, 133, 0.06);
  text-align: center;
}

.rules-notice p {
  margin: 0.35rem 0;
  color: var(--muted);
}

.rules-notice strong {
  color: var(--danger);
}

/* ---------- Юридические страницы ---------- */
.legal-section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.legal-doc {
  max-width: 820px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.98rem;
}

.legal-doc h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}

.legal-doc p {
  margin: 0.65rem 0;
}

.legal-doc ul {
  margin: 0.5rem 0 0.75rem 1.25rem;
  padding: 0;
}

.legal-doc li {
  margin: 0.35rem 0;
}

.legal-doc a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-lead {
  font-size: 0.95rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 1.5rem;
}

.legal-doc-meta {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--stroke);
  font-size: 0.92rem;
}

.legal-doc-accept {
  margin-top: 2rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(94, 234, 212, 0.25);
  background: rgba(94, 234, 212, 0.06);
  color: var(--text);
}

.support-official {
  margin: 2rem auto 2.5rem;
  max-width: 52rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background:
    linear-gradient(155deg, rgba(94, 234, 212, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.72));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 24px 48px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  text-align: left;
}

.support-official-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem 1.5rem 1.15rem;
  border-bottom: 1px solid var(--stroke);
  background: rgba(0, 0, 0, 0.2);
}

.support-official-head-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(94, 234, 212, 0.12);
  border: 1px solid rgba(94, 234, 212, 0.28);
  color: var(--accent);
}

.support-official-head-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.support-official-head-text h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.support-official-head-text p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--muted);
}

.support-official-head-text a {
  color: var(--accent-2);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.support-official-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.support-channel {
  display: flex;
  align-items: center;
  gap: 0.9rem 1rem;
  padding: 1rem 1.35rem;
  border-bottom: 1px solid var(--stroke);
  text-decoration: none;
  color: inherit;
  transition: background 0.18s ease;
}

.support-channel:last-child {
  border-bottom: none;
}

.support-channel:not(.support-channel--static):hover {
  background: rgba(94, 234, 212, 0.06);
}

.support-channel--static {
  cursor: default;
}

.support-channel-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
}

.support-channel-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.support-channel-icon--mail {
  color: #93c5fd;
  border-color: rgba(147, 197, 253, 0.25);
  background: rgba(147, 197, 253, 0.08);
}

.support-channel-icon--tg {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.1);
}

.support-channel-icon--dc {
  color: #a78bfa;
  border-color: rgba(167, 139, 250, 0.28);
  background: rgba(167, 139, 250, 0.08);
}

.support-channel-icon--dc svg {
  width: 1.35rem;
  height: auto;
}

.support-channel-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.support-channel-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--faint);
}

.support-channel-action {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
}

.support-channel-note {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}

.support-channel-chevron {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: rgba(148, 163, 184, 0.55);
  transition: transform 0.18s ease, color 0.18s ease;
}

.support-channel:hover .support-channel-chevron {
  color: var(--accent);
  transform: translateX(3px);
}

.support-channel-highlight {
  background: rgba(94, 234, 212, 0.07);
  border-left: 3px solid rgba(94, 234, 212, 0.55);
  padding-left: calc(1.35rem - 3px);
}

.support-channel-icon--site {
  color: var(--accent);
  border-color: rgba(94, 234, 212, 0.35);
  background: rgba(94, 234, 212, 0.12);
}

@media (max-width: 520px) {
  .support-official-head {
    flex-direction: column;
    align-items: stretch;
  }

  .support-channel {
    flex-wrap: wrap;
  }

  .support-channel-chevron {
    margin-left: auto;
  }
}

/* ---------- Контакты ---------- */
.contacts-section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.contacts-intro {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.discord-card {
  border-color: rgba(88, 101, 242, 0.45);
}

.telegram-card {
  border-color: rgba(34, 158, 217, 0.5);
}

.email-card {
  border-color: rgba(94, 234, 212, 0.35);
}

.contact-icon svg {
  width: 56px;
  height: auto;
  color: var(--accent-2);
}

.discord-card .contact-icon svg {
  color: #5865f2;
}

.telegram-card .contact-icon svg {
  color: #229ed9;
}

.contact-card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.contact-card p {
  margin: 0.35rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-button {
  display: inline-flex;
  margin-top: 1.25rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  color: #042f2e;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  box-shadow: 0 12px 32px rgba(45, 212, 191, 0.22);
  transition: transform var(--transition), filter var(--transition);
}

.contact-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.discord-card .contact-button {
  background: linear-gradient(135deg, #5865f2, #4752c4);
  color: #fff;
}

.telegram-card .contact-button {
  background: linear-gradient(135deg, #2aabee, #229ed9);
  color: #fff;
}

.additional-contacts {
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  text-align: center;
}

.additional-contacts h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
}

.additional-contacts p {
  margin: 0.35rem 0;
  color: var(--muted);
}

/* ---------- Подвал ---------- */
.footer {
  margin-top: 3rem;
  border-top: 1px solid var(--stroke);
  padding: 2.5rem 0 2rem;
  background: rgba(0, 0, 0, 0.25);
}

.footer-content {
  text-align: center;
}

.footer-info p {
  margin: 0.3rem 0;
  font-size: 0.88rem;
  color: var(--faint);
}

.footer-info a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 1.25rem 0;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.footer-links a:hover {
  color: var(--accent-2);
  border-color: rgba(125, 211, 252, 0.45);
}

.footer-copyright {
  padding-top: 1.25rem;
  border-top: 1px solid var(--stroke);
}

.footer-copyright p {
  margin: 0.2rem 0;
  font-size: 0.82rem;
  color: var(--faint);
}

/* Плашка эквайера — в подвале под копирайтом */
.footer-freekassa {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.2);
  opacity: 0.5;
  filter: grayscale(0.4);
  transition: opacity var(--transition), filter var(--transition);
}

.footer-freekassa:hover {
  opacity: 0.85;
  filter: grayscale(0);
}

.footer-freekassa a {
  display: inline-block;
  line-height: 0;
}

.footer-freekassa img {
  max-width: min(100%, 280px);
  height: auto;
  vertical-align: middle;
}

/* ---------- Адаптив: меню ---------- */
@media (max-width: 880px) {
  .tagline {
    display: none;
  }

  .burger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--nav-h);
    flex-direction: column;
    padding: 1rem;
    gap: 0.35rem;
    background: rgba(7, 10, 13, 0.96);
    border-bottom: 1px solid var(--stroke);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .burger.active span:nth-child(2) {
    opacity: 0;
  }

  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* ---------- Форма тикета (support.html) ---------- */
.support-ticket-section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.support-form-card {
  max-width: 36rem;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.support-form-hint {
  margin: -0.25rem 0 1rem;
  font-size: 0.85rem;
  color: var(--faint);
}

.support-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.25rem;
}

.support-form-submit {
  border: none;
  cursor: pointer;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  font-family: inherit;
  color: #042f2e;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  box-shadow: 0 12px 32px rgba(45, 212, 191, 0.22);
  transition: transform var(--transition), filter var(--transition);
}

.support-form-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.support-form-back {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-form-back:hover {
  color: var(--accent);
}

.support-form-error {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(251, 113, 133, 0.45);
  background: rgba(251, 113, 133, 0.08);
  color: #fecaca;
  font-size: 0.9rem;
}

.support-form-done {
  text-align: center;
  padding: 1rem 0 0.5rem;
}

.support-form-done-title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}

.support-form-done-id {
  margin: 0.5rem 0;
  font-size: 1.05rem;
  color: var(--muted);
}

.support-form-done-id strong {
  color: var(--accent);
  word-break: break-all;
}

.support-form-done-text {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.support-form-done .contact-button {
  margin-top: 0;
}

/* Скрытые legacy-блоки (если останутся в разметке) */
.donations-layout,
.donation-grid {
  display: none !important;
}
