:root {
  --bg: #05030b;
  --panel: rgba(19, 13, 32, 0.82);
  --panel-strong: rgba(29, 18, 48, 0.95);
  --border: rgba(184, 75, 255, 0.18);
  --text: #f7f3ff;
  --muted: #a99fbb;
  --violet: #a017ff;
  --pink: #ff36d6;
  --cyan: #6ee7ff;
  --anim-play: running;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(160, 23, 255, 0.55) rgba(10, 6, 20, 0.94);
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  color: var(--text);
  background:
    radial-gradient(circle at 76% 10%, rgba(160, 23, 255, 0.35), transparent 28%),
    radial-gradient(circle at 15% 12%, rgba(255, 54, 214, 0.16), transparent 22%),
    linear-gradient(135deg, #04020a 0%, #090511 52%, #020106 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html::-webkit-scrollbar-track {
  background: rgba(8, 5, 16, 0.95);
  border-radius: 999px;
}

html::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 2px solid rgba(5, 3, 11, 0.92);
  background: linear-gradient(
    180deg,
    rgba(180, 90, 255, 0.75) 0%,
    rgba(160, 23, 255, 0.55) 45%,
    rgba(255, 54, 214, 0.45) 100%
  );
  box-shadow: 0 0 12px rgba(160, 23, 255, 0.35);
}

html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(200, 120, 255, 0.9), rgba(255, 80, 200, 0.65));
}

html::-webkit-scrollbar-corner {
  background: rgba(5, 3, 11, 0.95);
}

a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  color: var(--pink);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0.85rem 0;
  background: rgba(5, 3, 11, 0.82);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px) saturate(1.1);
}

.navbar-brand {
  letter-spacing: -0.04em;
}

.navbar-brand span:last-child,
.brand-mark,
.cta-card h2 {
  color: var(--violet);
}

.brand-mark {
  margin-right: 0.5rem;
  text-shadow: 0 0 18px rgba(160, 23, 255, 0.75);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid rgba(184, 75, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.site-nav .navbar-brand {
  cursor: pointer;
}

.nav-menu .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  color: rgba(247, 243, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 650;
  cursor: pointer;
}

.nav-menu .nav-link i {
  color: var(--pink);
  font-size: 0.82rem;
  opacity: 0.9;
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
  color: #fff;
  background: rgba(160, 23, 255, 0.18);
}

.nav-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-left: 0.85rem;
}

@media (min-width: 992px) and (max-width: 1399.98px) {
  .nav-menu .nav-link {
    gap: 0.32rem;
    padding: 0.42rem 0.62rem;
    font-size: 0.84rem;
  }
}

/* Reusable language switcher (Bootstrap dropdown) */
.lang-switcher {
  position: relative;
}

.lang-switcher__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.42rem 0.75rem;
  min-height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(184, 75, 255, 0.28);
  background: linear-gradient(145deg, rgba(40, 26, 68, 0.85), rgba(12, 8, 26, 0.92));
  color: rgba(247, 243, 255, 0.95);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 24px rgba(0, 0, 0, 0.25);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease,
    background 0.18s ease;
  cursor: pointer;
}

.lang-switcher__btn:hover,
.lang-switcher__btn:focus-visible,
.lang-switcher__btn.show {
  color: #fff;
  border-color: rgba(255, 54, 214, 0.45);
  background: linear-gradient(145deg, rgba(72, 38, 112, 0.95), rgba(24, 14, 48, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(160, 23, 255, 0.22),
    0 10px 36px rgba(160, 23, 255, 0.18);
}

.lang-switcher__btn:focus-visible {
  outline: none;
}

.lang-switcher__flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.lang-switcher__flag-inner {
  display: block;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}

.lang-switcher__flag-inner--ru {
  width: 1.4rem;
  height: 0.933rem;
}

.lang-switcher__flag-inner--us {
  width: 1.4rem;
  height: 0.737rem;
}

.lang-switcher__flag-svg {
  display: block;
  width: 100%;
  height: 100%;
  vertical-align: top;
}

.lang-switcher__code {
  opacity: 0.92;
}

.lang-switcher__chev {
  font-size: 0.58rem;
  margin-left: 0.05rem;
  opacity: 0.75;
}

/* Reusable decorative dropdown panel (pair with Bootstrap .dropdown-menu) */
.ui-dropdown-menu {
  --ui-menu-bg: linear-gradient(165deg, rgba(32, 20, 52, 0.98), rgba(8, 5, 16, 0.98));
  margin-top: 0.5rem !important;
  padding: 0.4rem;
  min-width: 12.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(184, 75, 255, 0.28);
  background: var(--ui-menu-bg);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 48px rgba(160, 23, 255, 0.12);
  backdrop-filter: blur(14px) saturate(1.08);
}

.ui-dropdown-menu .dropdown-item {
  margin-top: 0.3rem;
  border-radius: 0.65rem;
}

.lang-switcher__item {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem !important;
  color: rgba(247, 243, 255, 0.9) !important;
  font-weight: 650;
  font-size: 0.92rem;
  transition:
    background 0.15s ease,
    color 0.15s ease;
  cursor: pointer;
}

.lang-switcher__item:hover,
.lang-switcher__item:focus {
  background: rgba(160, 23, 255, 0.2) !important;
  color: #fff !important;
}

.lang-switcher__item--active,
.lang-switcher__item--active:hover {
  background: rgba(160, 23, 255, 0.26) !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 54, 214, 0.22);
}

.lang-switcher__item .lang-switcher__flag-inner--ru {
  width: 1.45rem;
  height: 0.967rem;
}

.lang-switcher__item .lang-switcher__flag-inner--us {
  width: 1.45rem;
  height: 0.763rem;
}

.lang-switcher__label {
  flex: 1 1 auto;
  min-width: 0;
}

.lang-switcher__check {
  font-size: 0.75rem;
  color: var(--pink);
  opacity: 0.95;
}

.btn-glow {
  color: #fff;
  border: 1px solid rgba(255, 54, 214, 0.35);
  background: linear-gradient(135deg, var(--violet), #6f1dff);
  box-shadow: 0 0 28px rgba(160, 23, 255, 0.42);
  cursor: pointer;
}

.btn-glow:hover {
  color: #fff;
  background: linear-gradient(135deg, #b735ff, var(--pink));
}

.btn-cabinet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.48rem 0.9rem;
  color: rgba(247, 243, 255, 0.9);
  border: 1px solid rgba(184, 75, 255, 0.16);
  border-radius: 999px;
  background: rgba(160, 23, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-cabinet:hover {
  color: #fff;
  border-color: rgba(255, 54, 214, 0.28);
  background: rgba(160, 23, 255, 0.2);
}

.btn-cabinet i {
  color: var(--pink);
  font-size: 0.82rem;
}

.hero-section {
  position: relative;
  padding: 5.25rem 0 3.25rem;
  overflow: visible;
}

main {
  max-width: 100%;
  overflow-x: clip;
}

.hero-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -15% 0 -6% 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 55% at 92% 42%, rgba(160, 23, 255, 0.26), transparent 52%),
    radial-gradient(ellipse 45% 40% at 18% 28%, rgba(255, 54, 214, 0.11), transparent 48%),
    radial-gradient(circle at 68% 88%, rgba(110, 231, 255, 0.08), transparent 38%),
    radial-gradient(circle at 40% 70%, rgba(160, 23, 255, 0.06), transparent 42%);
  animation: hero-bg-breathe 18s ease-in-out infinite alternate;
  animation-play-state: var(--anim-play, running);
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-section .eyebrow {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(184, 75, 255, 0.2);
  background: linear-gradient(135deg, rgba(160, 23, 255, 0.12), rgba(255, 54, 214, 0.06));
  box-shadow:
    0 0 28px rgba(160, 23, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-section h1 {
  margin: 1rem 0;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  text-shadow:
    0 0 50px rgba(160, 23, 255, 0.22),
    0 0 90px rgba(255, 54, 214, 0.08);
}

.hero-section h1 span {
  background-image: linear-gradient(
    110deg,
    #e9d5ff 0%,
    var(--violet) 28%,
    var(--pink) 52%,
    #a78bfa 78%,
    var(--cyan) 100%
  );
  background-size: 200% 100%;
  background-position: 42% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-card,
.service-card,
.panel-card,
.auth-card,
.balance-card,
.cta-card,
.content-card,
.story-card,
.process-card {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(28, 18, 45, 0.82), rgba(6, 4, 12, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 20px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px) saturate(1.05);
}

.feature-card {
  display: flex;
  min-height: 120px;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1.2rem;
}

.feature-card i,
.service-card i,
.auth-icon,
.balance-card span {
  color: var(--pink);
  text-shadow: 0 0 24px rgba(255, 54, 214, 0.72);
}

.feature-card i,
.service-card i {
  font-size: 2rem;
}

@media (min-width: 992px) {
  .hero-section {
    padding-top: 4.65rem;
  }

  .hero-section .col-lg-7 {
    align-self: start;
    padding-bottom: 0.5rem;
  }

  .hero-section .col-lg-5 {
    display: flex;
    justify-content: center;
    overflow: visible;
  }
}

.hero-art {
  --hero-char-scale: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: clamp(380px, 54vw, 700px);
  padding: 1.25rem 0 0;
  overflow: visible;
}

@media (min-width: 992px) {
  .hero-art {
    --hero-char-scale: 1.12;
    min-height: clamp(440px, 58vw, 760px);
    margin-right: -1.25rem;
    padding-top: 1.75rem;
  }
}

.hero-art::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 2%;
  width: min(92%, 480px);
  height: 58%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse 78% 72% at 50% 55%,
    rgba(160, 23, 255, 0.38) 0%,
    rgba(255, 54, 214, 0.14) 48%,
    transparent 74%
  );
  filter: blur(28px);
  pointer-events: none;
  opacity: 0.88;
  animation: hero-aura-pulse 7s ease-in-out infinite alternate;
  animation-play-state: var(--anim-play, running);
}

.hero-art::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: -10%;
  right: -10%;
  bottom: -8%;
  height: min(52%, 400px);
  pointer-events: none;
}

.hero-deco {
  position: absolute;
  pointer-events: none;
}

.hero-deco-ring {
  z-index: 0;
  left: 50%;
  bottom: 6%;
  width: min(300px, 82%);
  height: min(440px, 72vh);
  translate: -50% 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  opacity: 0.42;
  box-shadow:
    0 0 36px rgba(160, 23, 255, 0.14),
    inset 0 0 26px rgba(255, 54, 214, 0.05);
}

.hero-deco-ring--b {
  width: min(210px, 58%);
  height: min(360px, 64vh);
  bottom: 10%;
  rotate: 22deg;
  opacity: 0.32;
}

.hero-deco-spark {
  z-index: 1;
  left: 14%;
  top: 26%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 12px rgba(255, 54, 214, 0.9),
    0 0 26px rgba(160, 23, 255, 0.55);
  opacity: 0.82;
}

.hero-deco-spark--b {
  left: auto;
  right: 12%;
  top: 18%;
}

.hero-deco-spark--c {
  left: 46%;
  top: auto;
  bottom: 40%;
}

.hero-character {
  position: relative;
  z-index: 2;
  display: block;
  width: auto;
  max-width: min(100%, 440px);
  height: auto;
  max-height: min(700px, 82vh);
  margin: 0 auto;
  object-fit: contain;
  object-position: center bottom;
  transform: scale(var(--hero-char-scale));
  transform-origin: center bottom;
  filter:
    drop-shadow(0 0 20px rgba(255, 54, 214, 0.28))
    drop-shadow(0 0 38px rgba(160, 23, 255, 0.38))
    drop-shadow(0 0 52px rgba(200, 150, 255, 0.12))
    drop-shadow(0 18px 30px rgba(0, 0, 0, 0.38));
  animation: hero-character-soft 11s ease-in-out infinite alternate;
  animation-play-state: var(--anim-play, running);
  animation-delay: 0.2s;
}

@media (min-width: 992px) {
  .hero-character {
    max-width: min(132%, 620px);
    max-height: min(860px, 90vh);
  }
}

@keyframes hero-aura-pulse {
  0% {
    opacity: 0.74;
  }

  100% {
    opacity: 0.94;
  }
}

@keyframes hero-bg-breathe {
  0% {
    opacity: 0.88;
  }

  100% {
    opacity: 1;
  }
}

@keyframes hero-character-soft {
  0% {
    opacity: 1;
  }

  40% {
    opacity: 0.93;
  }

  65% {
    opacity: 0.97;
  }

  100% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-section::before {
    animation: none;
    opacity: 0.95;
  }

  .hero-art::before {
    animation: none;
    opacity: 0.84;
  }

  .hero-deco-ring,
  .hero-deco-ring--b {
    opacity: 0.38;
  }

  .hero-deco-spark,
  .hero-deco-spark--b,
  .hero-deco-spark--c {
    opacity: 0.78;
  }

  .hero-character {
    animation: none;
    opacity: 1;
    transform: scale(var(--hero-char-scale));
  }
}

.section-space {
  padding: 4rem 0;
}

.section-space.section-tight-bottom {
  padding-bottom: 2rem;
}

.section-space.section-tech {
  padding-top: 1.25rem;
  padding-bottom: 2.75rem;
}

.section-title {
  margin-bottom: 2rem;
}

.section-title span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.82rem;
  font-weight: 700;
}

.section-title h1,
.section-title h2 {
  margin-top: 0.5rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 850;
  letter-spacing: -0.05em;
}

.service-card,
.panel-card,
.balance-card,
.process-card {
  height: 100%;
  padding: 1.5rem;
  border-radius: 1.25rem;
}

.service-card h3,
.panel-card h2,
.process-card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card p,
.balance-card p,
.auth-card p,
.cta-card p,
.story-card p,
.process-card p {
  color: var(--muted);
}

.story-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: 1.5rem;
}

.story-card h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.story-card p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.75;
}

.process-card span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--pink);
  font-weight: 900;
  box-shadow: 0 0 24px rgba(255, 54, 214, 0.22);
}

.tech-panel {
  max-width: 52rem;
  margin-inline: auto;
  padding: 1rem 0.85rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: linear-gradient(155deg, rgba(26, 17, 44, 0.75), rgba(6, 4, 14, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 18px 48px rgba(0, 0, 0, 0.2);
}

.tech-grid {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 520px) {
  .tech-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .tech-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.tech-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 4.35rem;
  padding: 0.5rem 0.35rem;
  border: 1px solid rgba(184, 75, 255, 0.14);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.tech-grid > div:hover {
  border-color: rgba(110, 231, 255, 0.32);
  background: rgba(160, 23, 255, 0.07);
}

.tech-grid > div span {
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.15;
  text-align: center;
  letter-spacing: 0.02em;
}

.tech-grid i {
  font-size: 1.55rem;
  color: var(--cyan);
}

.section-title--tech {
  text-align: center;
  margin-bottom: 1rem;
  max-width: 40rem;
  margin-inline: auto;
}

.section-title--tech span {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.8rem;
  font-weight: 700;
}

.section-title--tech h2 {
  margin-top: 0.35rem;
  margin-bottom: 0;
}

.cta-section {
  padding: 0 0 4rem;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border-radius: 1.5rem;
}

.cta-card h2 {
  margin: 0.5rem 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  text-transform: uppercase;
}

.cta-contacts {
  display: grid;
  gap: 1rem;
  font-size: 1.25rem;
}

.cta-contacts a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.cta-contacts i,
.footer-links i {
  color: var(--text);
  opacity: 0.9;
}

/* Home page motion — Animate.css for hero & scroll-in; lightweight keyframes only for hero sparks */
@keyframes home-spark-twinkle {
  0%,
  100% {
    opacity: 0.42;
  }

  50% {
    opacity: 0.95;
  }
}

/* Default stagger vars — :root in Animate has --animate-delay: 1s; reset for our usage */
.home-page .animate__animated {
  --animate-delay: 0s;
  -webkit-animation-delay: var(--animate-delay);
  animation-delay: var(--animate-delay);
}

.home-page .hero-deco-spark {
  animation: home-spark-twinkle 3.8s ease-in-out infinite;
  animation-play-state: var(--anim-play, running);
  animation-delay: 0.2s;
}

.home-page .hero-deco-spark--b {
  animation: home-spark-twinkle 4.2s ease-in-out infinite;
  animation-play-state: var(--anim-play, running);
  animation-delay: 0.7s;
}

.home-page .hero-deco-spark--c {
  animation: home-spark-twinkle 4.6s ease-in-out infinite;
  animation-play-state: var(--anim-play, running);
  animation-delay: 1.1s;
}

.home-page .hero-section .feature-card {
  cursor: pointer;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.home-page .hero-section .feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(110, 231, 255, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 48px rgba(110, 231, 255, 0.08);
}

.home-page .hero-actions .btn-outline-light {
  cursor: pointer;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.home-page .hero-actions .btn-outline-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.08);
}

.home-page #services .home-services-reveal,
.home-page #process .home-process-reveal,
.home-page #tech .home-tech-reveal {
  opacity: 0;
}

.home-page #services .home-services-reveal.is-visible,
.home-page #process .home-process-reveal.is-visible,
.home-page #tech .home-tech-reveal.is-visible {
  --animate-duration: 0.58s;
}

.home-page #services .section-title.home-services-reveal.is-visible {
  --animate-delay: 0.02s;
}

.home-page #services .row.g-4 > [class*="col-"]:nth-child(1) .home-services-reveal.is-visible {
  --animate-delay: 0.07s;
}

.home-page #services .row.g-4 > [class*="col-"]:nth-child(2) .home-services-reveal.is-visible {
  --animate-delay: 0.12s;
}

.home-page #services .row.g-4 > [class*="col-"]:nth-child(3) .home-services-reveal.is-visible {
  --animate-delay: 0.17s;
}

.home-page #services .row.g-4 > [class*="col-"]:nth-child(4) .home-services-reveal.is-visible {
  --animate-delay: 0.22s;
}

.home-page #services .row.g-4 > [class*="col-"]:nth-child(5) .home-services-reveal.is-visible {
  --animate-delay: 0.27s;
}

.home-page #services .row.g-4 > [class*="col-"]:nth-child(6) .home-services-reveal.is-visible {
  --animate-delay: 0.32s;
}

.home-page #process .row.g-4 > [class*="col-"]:nth-child(1) .home-process-reveal.is-visible {
  --animate-delay: 0.06s;
}

.home-page #process .row.g-4 > [class*="col-"]:nth-child(2) .home-process-reveal.is-visible {
  --animate-delay: 0.14s;
}

.home-page #process .row.g-4 > [class*="col-"]:nth-child(3) .home-process-reveal.is-visible {
  --animate-delay: 0.22s;
}

.home-page #services .service-card {
  cursor: pointer;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.home-page #services .service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 54, 214, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 22px 72px rgba(160, 23, 255, 0.14),
    0 0 36px rgba(255, 54, 214, 0.06);
}

.home-page #process .process-card {
  cursor: pointer;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.home-page #process .process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 54, 214, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 22px 72px rgba(160, 23, 255, 0.14),
    0 0 36px rgba(255, 54, 214, 0.06);
}

.home-page #tech .section-title.home-tech-reveal.is-visible {
  --animate-delay: 0.02s;
}

.home-page #tech .tech-grid > .home-tech-reveal:nth-child(1).is-visible {
  --animate-delay: 0.07s;
}

.home-page #tech .tech-grid > .home-tech-reveal:nth-child(2).is-visible {
  --animate-delay: 0.11s;
}

.home-page #tech .tech-grid > .home-tech-reveal:nth-child(3).is-visible {
  --animate-delay: 0.15s;
}

.home-page #tech .tech-grid > .home-tech-reveal:nth-child(4).is-visible {
  --animate-delay: 0.19s;
}

.home-page #tech .tech-grid > .home-tech-reveal:nth-child(5).is-visible {
  --animate-delay: 0.23s;
}

.home-page #tech .tech-grid > .home-tech-reveal:nth-child(6).is-visible {
  --animate-delay: 0.27s;
}

.home-page #tech .tech-grid > .home-tech-reveal:nth-child(7).is-visible {
  --animate-delay: 0.31s;
}

.home-page #tech .tech-grid > .home-tech-reveal:nth-child(8).is-visible {
  --animate-delay: 0.35s;
}

.home-page #tech .tech-grid > div {
  cursor: pointer;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.home-page #tech .tech-grid > div:hover {
  transform: translateY(-5px);
  border-color: rgba(110, 231, 255, 0.38);
  background: rgba(160, 23, 255, 0.1);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28), 0 0 32px rgba(110, 231, 255, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .home-page .home-hero-copy .eyebrow,
  .home-page .home-hero-copy h1,
  .home-page .home-hero-copy .hero-text,
  .home-page .home-hero-copy .hero-actions,
  .home-page .home-hero-copy .feature-card,
  .home-page .home-hero-art {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .home-page .hero-deco-spark,
  .home-page .hero-deco-spark--b,
  .home-page .hero-deco-spark--c {
    animation: none;
    opacity: 0.78;
  }

  .home-page .hero-section .feature-card:hover,
  .home-page .hero-actions .btn-outline-light:hover,
  .home-page #services .service-card:hover,
  .home-page #process .process-card:hover,
  .home-page #tech .tech-grid > div:hover {
    transform: none;
  }

  .home-page #services .home-services-reveal,
  .home-page #process .home-process-reveal,
  .home-page #tech .home-tech-reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

.auth-wrap,
.dashboard-wrap {
  min-height: calc(100vh - 160px);
  padding: 4rem 0;
}

.auth-wrap {
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(100% - 2rem, 480px);
  padding: 2rem;
  border-radius: 1.5rem;
  text-align: center;
}

.auth-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1.5rem;
}

.auth-card .form-control {
  text-align: center;
}

.auth-card h1,
.dashboard-head h1 {
  font-weight: 850;
  letter-spacing: -0.05em;
}

.dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cabinet-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2rem;
  padding: 0.35rem;
  border: 1px solid rgba(184, 75, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.cabinet-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  color: rgba(247, 243, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.cabinet-nav-link i {
  font-size: 0.85rem;
  opacity: 0.88;
}

.cabinet-nav-link:hover {
  color: #fff;
  background: rgba(160, 23, 255, 0.18);
}

.cabinet-nav-link--accent {
  color: #fff;
  background: linear-gradient(135deg, rgba(160, 23, 255, 0.35), rgba(255, 54, 214, 0.18));
  box-shadow: 0 0 20px rgba(160, 23, 255, 0.15);
}

.cabinet-nav-link--accent:hover {
  background: linear-gradient(135deg, rgba(180, 60, 255, 0.45), rgba(255, 80, 200, 0.25));
  color: #fff;
}

.cabinet-nav-link.is-active {
  color: #fff;
  background: rgba(160, 23, 255, 0.32);
  box-shadow: 0 0 0 1px rgba(184, 75, 255, 0.38);
}

.cabinet-nav-link--accent.is-active {
  background: linear-gradient(135deg, rgba(200, 100, 255, 0.58), rgba(255, 70, 200, 0.38));
  box-shadow:
    0 0 0 1px rgba(255, 54, 214, 0.35),
    0 0 26px rgba(160, 23, 255, 0.22);
}

.cabinet-welcome-balance {
  border-color: rgba(184, 75, 255, 0.22);
}

.cabinet-welcome-tile {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: inherit;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.cabinet-welcome-tile:hover {
  color: inherit;
  transform: translateY(-3px);
  border-color: rgba(184, 75, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(160, 23, 255, 0.12),
    0 18px 56px rgba(0, 0, 0, 0.35);
}

.cabinet-welcome-tile-icon {
  font-size: 1.65rem;
  color: var(--pink);
  text-shadow: 0 0 20px rgba(255, 54, 214, 0.55);
}

.cabinet-welcome-tile-title {
  margin: 0.35rem 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: rgba(247, 243, 255, 0.95);
}

.cabinet-welcome-tile-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

.cabinet-file-card {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
}

.cabinet-file-preview {
  flex: 0 0 auto;
  width: 7.75rem;
  height: 5.25rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(184, 75, 255, 0.25);
  background: rgba(0, 0, 0, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cabinet-file-preview-hitarea {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  border-radius: inherit;
}

.cabinet-file-preview-hitarea:focus-visible {
  outline: 2px solid rgba(255, 54, 214, 0.65);
  outline-offset: 2px;
}

.cabinet-file-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.cabinet-file-preview-hitarea:hover .cabinet-file-thumb {
  transform: scale(1.04);
  filter: brightness(1.06);
}

.cabinet-file-video {
  width: 100%;
  max-height: 10rem;
  vertical-align: middle;
  background: #000;
}

.cabinet-file-preview--video {
  width: min(100%, 15rem);
  height: auto;
  min-height: 5.25rem;
  padding: 0;
}

.cabinet-file-preview--video .cabinet-file-video {
  display: block;
  max-height: none;
  max-width: 100%;
}

.cabinet-file-preview-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(247, 243, 255, 0.45);
  font-size: 2rem;
}

.cabinet-file-modal .modal-content.cabinet-file-modal__content {
  background: linear-gradient(165deg, rgba(22, 14, 38, 0.97), rgba(6, 4, 14, 0.98));
  border: 1px solid rgba(184, 75, 255, 0.3);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.cabinet-file-modal__header {
  border-bottom: 1px solid rgba(184, 75, 255, 0.2);
}

.cabinet-file-modal__header .modal-title {
  color: rgba(247, 243, 255, 0.95);
  font-weight: 700;
}

.cabinet-file-modal__body {
  background: rgba(0, 0, 0, 0.35);
  padding: 0.75rem;
}

.cabinet-file-modal__img {
  display: block;
  max-width: 100%;
  max-height: min(85vh, 900px);
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 0.35rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

.cabinet-panel {
  min-height: 12rem;
}

.cabinet-section {
  scroll-margin-top: 5rem;
}

.cabinet-section--accent .panel-card {
  border-color: rgba(255, 54, 214, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(160, 23, 255, 0.08),
    0 12px 48px rgba(160, 23, 255, 0.08);
}

.cabinet-section-head {
  margin-bottom: 1.25rem;
}

.cabinet-section-head h2 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.cabinet-section-head h2 i {
  margin-right: 0.45rem;
  color: var(--pink);
  opacity: 0.95;
}

.cabinet-section-lead {
  margin: 0;
  max-width: 52rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.cabinet-code {
  padding: 0.1rem 0.45rem;
  border-radius: 0.35rem;
  border: 1px solid rgba(184, 75, 255, 0.22);
  background: rgba(160, 23, 255, 0.1);
  color: #e9d5ff;
  font-size: 0.88em;
}

.cabinet-subcard-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: rgba(247, 243, 255, 0.92);
}

.balance-card--solo {
  max-width: 32rem;
}

.list-row--stack-md {
  flex-wrap: wrap;
}

.list-row--stack-md .list-row-main {
  flex: 1 1 12rem;
  min-width: 0;
}

.list-row--stack-md .list-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.cabinet-url-snippet {
  display: block;
  margin-top: 0.45rem;
  padding: 0.35rem 0.45rem;
  max-width: 100%;
  overflow: hidden;
  border-radius: 0.35rem;
  background: rgba(0, 0, 0, 0.25);
  color: rgba(200, 190, 220, 0.95);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .list-row--stack-md .list-row-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .cabinet-nav {
    border-radius: 1rem;
  }

  .cabinet-nav-link {
    flex: 1 1 auto;
    justify-content: center;
  }
}

.balance-card strong {
  display: block;
  margin: 0.5rem 0 1rem;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.08em;
}

.form-control,
.form-control:focus {
  color: var(--text);
  border-color: var(--border);
  background-color: rgba(255, 255, 255, 0.08);
}

.form-control:focus {
  border-color: rgba(160, 23, 255, 0.82);
  box-shadow: 0 0 0 0.25rem rgba(160, 23, 255, 0.22);
}

.form-control::placeholder {
  color: rgba(247, 243, 255, 0.62);
  opacity: 1;
}

.form-control:disabled,
.form-control[readonly] {
  color: rgba(247, 243, 255, 0.7);
  background-color: rgba(255, 255, 255, 0.05);
}

select.form-control option {
  color: #f0e8ff;
  background-color: #1e142e;
}

select.form-control {
  color-scheme: dark;
}

select.form-control.ui-select,
select.form-control.ui-select:focus {
  appearance: none;
  cursor: pointer;
  padding-right: 2.35rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(184, 75, 255, 0.28);
  background-color: rgba(40, 26, 68, 0.85);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23e9d5ff' d='M1.4 0 6 4.6 10.6 0 12 1.4l-6 6-6-6L1.4 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 11px 7px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 18px rgba(0, 0, 0, 0.2);
}

select.form-control.ui-select:focus {
  border-color: rgba(255, 54, 214, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(160, 23, 255, 0.22),
    0 8px 28px rgba(160, 23, 255, 0.14);
}

select.form-control.ui-select option {
  color: #f0e8ff;
  background-color: #1e142e;
}

select.form-control.ui-select.ui-select--sm {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  font-size: 0.875rem;
  border-radius: 0.65rem;
}

/* Custom themed dropdown (cabinet / reviews) — native <select> list is OS-drawn on Windows */
.cabinet-dd {
  position: relative;
}

.cabinet-dd-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 2.35rem 0.55rem 0.85rem;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  appearance: none;
  border-radius: 0.85rem;
  border: 1px solid rgba(184, 75, 255, 0.28);
  background-color: rgba(40, 26, 68, 0.85);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23e9d5ff' d='M1.4 0 6 4.6 10.6 0 12 1.4l-6 6-6-6L1.4 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 11px 7px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 18px rgba(0, 0, 0, 0.2);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.cabinet-dd-trigger:hover {
  border-color: rgba(255, 54, 214, 0.35);
}

.cabinet-dd.is-open .cabinet-dd-trigger {
  border-color: rgba(255, 54, 214, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(160, 23, 255, 0.22),
    0 8px 28px rgba(160, 23, 255, 0.14);
}

.cabinet-dd-value {
  flex: 1;
  min-width: 0;
  line-height: 1.45;
}

.cabinet-dd-panel {
  position: absolute;
  z-index: 80;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  border-radius: 0.85rem;
  border: 1px solid rgba(184, 75, 255, 0.35);
  background: linear-gradient(165deg, rgba(34, 22, 56, 0.98), rgba(12, 8, 24, 0.99));
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 16px 48px rgba(0, 0, 0, 0.45),
    0 0 36px rgba(160, 23, 255, 0.12);
  backdrop-filter: blur(14px);
  max-height: 16rem;
  overflow-y: auto;
}

.cabinet-dd-panel [role='option'] {
  margin: 0;
  padding: 0.62rem 1rem;
  cursor: pointer;
  color: rgba(247, 243, 255, 0.92);
  font-size: 0.98rem;
  line-height: 1.4;
  transition: background 0.12s ease, color 0.12s ease;
}

.cabinet-dd-panel [role='option']:hover,
.cabinet-dd-panel [role='option']:focus-visible {
  background: rgba(160, 23, 255, 0.22);
  color: #fff;
  outline: none;
}

.admin-anchor-card {
  scroll-margin-top: 6.5rem;
}

.admin-quick-actions .btn {
  border-radius: 999px;
}

.form-control::file-selector-button {
  margin-right: 0.85rem;
  padding: 0.45rem 1rem;
  color: #fff;
  cursor: pointer;
  border: 1px solid rgba(255, 54, 214, 0.28);
  border-radius: 0.65rem;
  background: linear-gradient(145deg, rgba(40, 26, 68, 0.95), rgba(12, 8, 26, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 18px rgba(0, 0, 0, 0.22);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.form-control::file-selector-button:hover {
  border-color: rgba(255, 54, 214, 0.45);
  background: linear-gradient(145deg, rgba(72, 38, 112, 0.95), rgba(24, 14, 48, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(160, 23, 255, 0.22),
    0 10px 32px rgba(160, 23, 255, 0.15);
}

.upload-progress {
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.upload-progress .progress-bar {
  min-width: 0;
  font-size: 0.65rem;
  line-height: 0.55rem;
  color: #fff;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
  background: linear-gradient(90deg, var(--violet), var(--pink));
  transition: width 0.12s ease-out;
}

.cabinet-file-drag-grip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  margin-right: 0.35rem;
  color: rgba(247, 243, 255, 0.45);
  cursor: grab;
  user-select: none;
  border-radius: 0.5rem;
  align-self: flex-start;
  padding: 0.35rem 0;
}

.cabinet-file-drag-grip:active {
  cursor: grabbing;
  color: var(--pink);
}

.cabinet-file-card--dragging {
  opacity: 0.88;
  box-shadow: 0 0 0 1px rgba(255, 54, 214, 0.35);
}

.number-input-stepper {
  display: flex;
  flex: 1 1 12rem;
  align-items: stretch;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.number-input-stepper:focus-within {
  border-color: rgba(160, 23, 255, 0.75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 0.2rem rgba(160, 23, 255, 0.18);
}

.number-input-stepper .number-input-stepper-field {
  flex: 1 1 auto;
  min-width: 3.5rem;
  border: none;
  border-radius: 0;
  margin: 0 !important;
  padding-inline: 0.35rem;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: transparent;
  box-shadow: none !important;
  appearance: textfield;
  -moz-appearance: textfield;
}

.number-input-stepper .number-input-stepper-field:focus {
  border-color: transparent;
  box-shadow: none !important;
}

.number-input-stepper .number-input-stepper-field::-webkit-outer-spin-button,
.number-input-stepper .number-input-stepper-field::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.number-input-stepper-btn {
  display: inline-flex;
  flex: 0 0 2.6rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  background: linear-gradient(160deg, rgba(160, 23, 255, 0.45), rgba(255, 54, 214, 0.22));
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.number-input-stepper-btn:hover {
  color: #fff;
  background: linear-gradient(160deg, rgba(180, 60, 255, 0.6), rgba(255, 80, 210, 0.35));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.number-input-stepper-btn:active {
  background: linear-gradient(160deg, rgba(130, 0, 220, 0.5), rgba(200, 30, 170, 0.3));
}

.number-input-stepper-btn:focus-visible {
  outline: 2px solid rgba(160, 23, 255, 0.75);
  outline-offset: -2px;
  z-index: 1;
}

.number-input-stepper-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.balance-topup-form .balance-topup-submit {
  flex: 0 0 auto;
}

@media (max-width: 575.98px) {
  .balance-topup-form .balance-topup-submit {
    flex: 1 0 auto;
    width: 100%;
  }
}

.table-dark {
  --bs-table-bg: transparent;
}

.list-stack {
  display: grid;
  gap: 0.75rem;
}

.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
}

.list-row span,
.empty-state,
.upload-meta {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.list-row p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.review-admin-row,
.review-status-form {
  align-items: flex-start;
}

.review-status-form {
  display: grid;
  min-width: 150px;
  gap: 0.5rem;
}

.attachment-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.attachment-links a {
  display: inline-flex;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
}

.content-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.25rem;
}

.content-card > div {
  padding: 1.5rem;
}

.content-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.content-card h2 {
  margin: 0.75rem 0;
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.content-card p,
.review-card span,
.content-tags {
  color: var(--muted);
}

.content-tags {
  padding-top: 0.25rem;
  font-size: 0.95rem;
}

.section-title .section-lead {
  max-width: 42rem;
  margin-top: 0.75rem;
  font-size: 1.08rem;
  line-height: 1.65;
}

.programs-page .program-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.programs-page .program-card:hover {
  transform: translateY(-6px);
  border-color: rgba(110, 231, 255, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 22px 64px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(110, 231, 255, 0.1);
}

.programs-page .program-card > .program-card-visual {
  padding: 0;
}

.program-card-visual {
  display: flex;
  min-height: 11rem;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 120% at 50% -20%, rgba(160, 23, 255, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 100% at 100% 80%, rgba(110, 231, 255, 0.12), transparent 50%),
    linear-gradient(165deg, rgba(20, 12, 40, 0.95), rgba(6, 4, 14, 0.98));
}

.program-card-visual i {
  font-size: 3rem;
  color: var(--pink);
  opacity: 0.9;
  filter: drop-shadow(0 0 22px rgba(255, 54, 214, 0.45));
}

.program-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.program-badge--muted {
  opacity: 0.85;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--muted) !important;
}

.program-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.program-card-desc {
  flex-grow: 1;
  margin: 0;
  color: var(--muted);
}

.program-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (prefers-reduced-motion: reduce) {
  .programs-page .program-card:hover {
    transform: none;
  }
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  color: #ffd166;
}

.upload-form {
  display: grid;
  gap: 0.85rem;
}

.upload-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.progress {
  height: 1rem;
  background: rgba(255, 255, 255, 0.08);
}

.progress-bar {
  background: linear-gradient(90deg, var(--violet), var(--pink));
}

.site-footer {
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-docs,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-docs a.is-active,
.legal-nav a.is-active {
  color: var(--text);
}

.site-footer a {
  color: var(--muted);
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: -0.5rem 0 2rem;
}

.legal-nav a {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-nav a:hover,
.legal-nav a.is-active {
  border-color: rgba(184, 75, 255, 0.45);
  color: #fff;
}

.legal-block {
  margin-top: 2.5rem;
}

.legal-subtitle {
  margin-bottom: 1.25rem;
}

.legal-subtitle h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-card i {
  font-size: 1.45rem;
  color: var(--pink);
  text-shadow: 0 0 24px rgba(255, 54, 214, 0.72);
}

.contact-card h2 {
  margin: 0.35rem 0 0;
  font-size: 1.05rem;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.contact-card a,
.contact-card strong {
  margin-top: 0.35rem;
  color: var(--text);
  font-weight: 700;
}

.legal-muted {
  color: var(--muted);
}

.requisites-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 0;
}

.requisites-list > div {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.requisites-list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.requisites-list dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.requisites-list dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.price-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.price-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.price-card p {
  margin: 0;
}

.price-card strong {
  flex-shrink: 0;
  color: var(--cyan);
  font-size: 1.05rem;
  white-space: nowrap;
}

.legal-note {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.panel-card.legal-prose h2,
.legal-prose h2 {
  margin: 1.6rem 0 0.7rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: none;
}

.legal-prose h2:first-of-type {
  margin-top: 0;
}

.legal-prose p,
.legal-prose li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-prose ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal-updated {
  margin-top: 0;
  font-size: 0.9rem;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 1rem;
  }

  .site-nav .container {
    max-width: 100%;
    overflow-x: clip;
  }

  main {
    max-width: 100%;
    overflow-x: clip;
  }

  .hero-section::before {
    inset: -10% 0 -6% 0;
  }

  .hero-art::after {
    left: 0;
    right: 0;
  }

  .hero-section h1 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
    overflow-wrap: anywhere;
  }

  .hero-text {
    font-size: 1.1rem;
  }

  .nav-menu {
    width: 100%;
    align-items: stretch;
    border-radius: 1.2rem;
  }

  .nav-menu .nav-link {
    justify-content: center;
  }

  .nav-cta {
    justify-content: center;
    width: 100%;
    margin: 0.85rem 0 0;
  }

  .nav-cta .btn {
    width: min(100%, 260px);
  }

  .hero-section {
    padding-top: 3.25rem;
    overflow: hidden;
  }

  .hero-art {
    min-height: 300px;
    margin-top: 0;
    margin-right: 0;
    overflow: hidden;
  }

  .hero-section .col-lg-7 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-section .eyebrow {
    justify-content: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-section .col-lg-7 > .row {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-section .col-lg-7 > .row > [class*="col-"] {
    flex: 0 0 auto;
    width: 100%;
    max-width: 26rem;
  }

  .hero-section .feature-card {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .hero-section .feature-card i {
    margin: 0;
  }

  .hero-character {
    max-width: 100%;
    max-height: min(520px, 72vh);
    transform: scale(1);
  }

  .cta-card,
  .dashboard-head,
  .story-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .story-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .story-card {
    text-align: center;
  }

  .cta-card {
    align-items: center;
    text-align: center;
  }

  .cta-contacts,
  .cta-contacts a {
    justify-items: center;
    justify-content: center;
  }

  .footer-inner,
  .footer-docs,
  .footer-links {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .price-card {
    flex-direction: column;
  }

  .price-card strong {
    white-space: normal;
  }

  .footer-inner {
    flex-direction: column;
  }
}

.verify-wrap {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.verify-card {
  width: min(100% - 2rem, 640px);
  text-align: center;
}

.verify-card--success {
  text-align: center;
}

.verify-card--success .verify-access-block {
  text-align: center;
}

.verify-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(160, 23, 255, 0.35);
  background: rgba(160, 23, 255, 0.12);
  color: var(--cyan);
  font-size: 1.85rem;
  box-shadow: 0 0 28px rgba(160, 23, 255, 0.22);
}

.verify-icon--success {
  color: #7dffb2;
  border-color: rgba(125, 255, 178, 0.35);
  background: rgba(125, 255, 178, 0.08);
  box-shadow: 0 0 28px rgba(125, 255, 178, 0.15);
}

.verify-icon--error {
  color: #ff8a8a;
  border-color: rgba(255, 120, 120, 0.35);
  background: rgba(255, 80, 80, 0.08);
}

.verify-eyebrow {
  display: block;
  width: 100%;
  margin-bottom: 0.35rem;
  text-align: center;
}

.verify-card h1 {
  text-align: center;
  margin-bottom: 0.75rem;
}

.verify-lead {
  color: var(--muted);
  text-align: center;
  margin-bottom: 1.5rem;
}

.verify-access-block {
  margin-bottom: 1.5rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.verify-access-block h2 {
  font-size: 1rem;
  font-weight: 750;
  margin-bottom: 0.35rem;
  text-align: center;
}

.verify-access-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
  text-align: center;
}

.verify-chat-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  max-width: 520px;
  text-align: left;
}

.verify-chat-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(5, 3, 11, 0.45);
  border: 1px solid rgba(184, 75, 255, 0.12);
}

.verify-chat-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 0.65rem;
  background: rgba(160, 23, 255, 0.16);
  color: var(--pink);
}

.verify-chat-icon--ok {
  background: rgba(125, 255, 178, 0.12);
  color: #7dffb2;
}

.verify-chat-item strong {
  display: block;
  margin-bottom: 0.15rem;
}

.verify-chat-item span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.verify-chat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--cyan);
}

.verify-chat-link:hover {
  color: var(--pink);
}

.verify-chat-pending {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: rgba(247, 243, 255, 0.55);
}

.verify-empty-chats {
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.92rem;
}

.verify-form {
  margin-top: 0.5rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.verify-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(184, 75, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  user-select: none;
  text-align: left;
}

.verify-check input {
  margin-top: 0.2rem;
  accent-color: var(--violet);
}

.verify-check span {
  color: rgba(247, 243, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.45;
}

.verify-footnote {
  margin-top: 1rem;
  margin-bottom: 0;
  text-align: center;
  color: rgba(247, 243, 255, 0.45);
  font-size: 0.82rem;
}

.verify-site-nav {
  border-bottom: 1px solid var(--border);
}

.verify-site-nav .container {
  display: flex;
  justify-content: center;
}

.utility-card {
  color: inherit;
  height: 100%;
}

.utility-card:hover {
  color: inherit;
}

.utilities-services {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.utilities-services .section-title {
  margin-bottom: 1.5rem;
}

.utilities-services .section-title h2 {
  margin-bottom: 0.4rem;
}

.utilities-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.utilities-back:hover {
  color: #fff;
}

.utility-tool-panel {
  padding: 1.5rem;
  border-radius: 1.35rem;
}

.utility-form {
  display: grid;
  gap: 1.25rem;
}

.utility-dropzone {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 2.1rem 1.4rem;
  border: 1px dashed rgba(184, 75, 255, 0.38);
  border-radius: 1.15rem;
  background:
    radial-gradient(ellipse 80% 90% at 50% 0%, rgba(160, 23, 255, 0.16), transparent 55%),
    rgba(255, 255, 255, 0.025);
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.utility-dropzone:hover,
.utility-dropzone.is-dragover,
.utility-dropzone:focus-visible {
  border-color: rgba(255, 54, 214, 0.55);
  background:
    radial-gradient(ellipse 80% 90% at 50% 0%, rgba(160, 23, 255, 0.24), transparent 55%),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 0 1px rgba(160, 23, 255, 0.18);
  outline: none;
}

.utility-dropzone-icon {
  font-size: 1.8rem;
  color: var(--pink);
  filter: drop-shadow(0 0 16px rgba(255, 54, 214, 0.4));
}

.utility-dropzone-title {
  font-size: 1.05rem;
  font-weight: 750;
}

.utility-dropzone-hint {
  color: var(--muted);
  font-size: 0.92rem;
}

.utility-preview-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .utility-preview-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.utility-preview-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(8, 5, 16, 0.55);
}

.utility-preview-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%) 0 0 / 20px 20px,
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.04) 75%) 0 0 / 20px 20px,
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.04) 75%) 10px 10px / 20px 20px,
    linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%) 10px 10px / 20px 20px,
    #120a1c;
}

.utility-preview-card figcaption {
  padding: 0.7rem 0.9rem;
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--border);
}

.utility-file-chip {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(8, 5, 16, 0.55);
  color: rgba(247, 243, 255, 0.92);
  font-weight: 700;
  word-break: break-all;
}

.utility-file-chip i {
  color: var(--cyan);
}

.utility-form[data-kind="map"] .utility-preview-grid {
  display: none;
}

.utility-stats {
  margin: 0.85rem 0 0;
  color: var(--cyan);
  font-weight: 700;
}

.utility-status,
.utility-error {
  margin: 0;
  font-size: 0.95rem;
}

.utility-error {
  color: #ff8aa8;
}

.utility-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.utility-formats {
  margin: 0;
  padding: 0;
  border: 0;
}

.utility-formats legend {
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.utility-format-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.utility-format-chip {
  display: inline-flex;
  cursor: pointer;
}

.utility-format-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.utility-format-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.28rem 0.85rem;
  border: 1px solid rgba(184, 75, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(247, 243, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.utility-format-chip:hover span,
.utility-format-chip input:focus-visible + span {
  border-color: rgba(255, 54, 214, 0.45);
  color: #fff;
}

.utility-format-chip input:checked + span {
  border-color: rgba(160, 23, 255, 0.7);
  background: linear-gradient(135deg, rgba(160, 23, 255, 0.35), rgba(255, 54, 214, 0.22));
  color: #fff;
  box-shadow: 0 0 18px rgba(160, 23, 255, 0.22);
}

.posts-page .section-title h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
}

.posts-page .section-lead {
  max-width: 40rem;
}

.posts-layout {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .posts-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.7fr);
    align-items: start;
  }
}

.posts-main {
  height: auto;
}

.posts-form {
  display: grid;
  gap: 1rem;
}

.posts-field {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.posts-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.posts-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 3.35rem;
  padding: 0.28rem 0.28rem 0.28rem 0.15rem;
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  background:
    radial-gradient(ellipse 70% 120% at 0% 50%, rgba(160, 23, 255, 0.12), transparent 55%),
    rgba(8, 5, 16, 0.55);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.posts-search:focus-within {
  border-color: rgba(160, 23, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(160, 23, 255, 0.16);
}

.posts-search-icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  color: rgba(184, 75, 255, 0.9);
}

.posts-input {
  width: 100%;
  min-width: 0;
  padding: 0.7rem 0.55rem 0.7rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  box-shadow: none;
}

.posts-input:focus {
  outline: none;
  border: 0;
  box-shadow: none;
}

.posts-input::placeholder {
  color: rgba(247, 243, 255, 0.38);
}

.posts-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.7rem;
  padding: 0.55rem 1.15rem;
  border-radius: 0.9rem;
  white-space: nowrap;
  font-weight: 800;
}

.posts-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.posts-platforms span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(247, 243, 255, 0.82);
  font-size: 0.84rem;
  font-weight: 700;
}

.posts-platforms .is-vk i {
  color: #7eb8ff;
}

.posts-platforms .is-tg i {
  color: #6ee7ff;
}

.posts-platforms .is-max i {
  color: #e2b6ff;
}

.posts-pay-note {
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.84rem;
}

.posts-pay-note i {
  margin-right: 0.35rem;
  color: rgba(110, 231, 255, 0.8);
}

.posts-search-btn:disabled {
  opacity: 0.62;
  box-shadow: none;
}

.posts-form [data-remove]:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  box-shadow: none;
}

.posts-form .utility-actions:not(:has([data-remove]:not([hidden]))) {
  display: none;
}

@media (max-width: 640px) {
  .posts-search {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0.2rem 0.2rem 0.2rem 0.05rem;
  }

  .posts-search-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

.posts-results {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.posts-found[hidden],
.posts-results[hidden] {
  display: none !important;
}

.posts-found {
  display: grid;
  gap: 0.55rem;
}

.posts-found-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--cyan);
}

.posts-found ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.posts-found-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: rgba(8, 5, 16, 0.35);
  font-size: 0.92rem;
}

.posts-found-item > i {
  width: 1.15rem;
  text-align: center;
  color: #9fd6ff;
}

.posts-found-body {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.posts-found-body strong {
  font-size: 0.94rem;
}

.posts-found-url {
  color: #9fd6ff;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.posts-found-meta {
  color: var(--muted);
  font-size: 0.8rem;
}

.posts-found-open {
  color: #9fd6ff;
  font-weight: 800;
  font-size: 0.82rem;
  white-space: nowrap;
}

.posts-found-item.is-missing {
  opacity: 0.72;
}

.posts-found-item.is-missing > i,
.posts-found-item.is-missing strong {
  color: var(--muted);
}

@media (max-width: 575px) {
  .posts-found-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .posts-found-open {
    grid-column: 2;
    justify-self: start;
  }
}

.posts-results li {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: rgba(8, 5, 16, 0.45);
  font-weight: 700;
}

.posts-results li.is-ok {
  color: #9ff2c2;
}

.posts-results .is-wait {
  color: var(--muted);
}

.posts-aside {
  height: auto;
}

.posts-aside h2 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.posts-cities {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.posts-cities li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.posts-cities li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.posts-cities span {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.posts-cities a {
  color: var(--muted);
}

.posts-cities strong a {
  color: inherit;
  font-weight: 800;
}

.posts-cities a:hover {
  color: #9fd6ff;
}

/* Сетевая проверка (/utilities/network) */

.net-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.net-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.3rem;
  padding: 0.3rem 0.95rem;
  border: 1px solid rgba(184, 75, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(247, 243, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 750;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.net-tab:hover {
  border-color: rgba(255, 54, 214, 0.45);
  color: #fff;
}

.net-tab.is-active {
  border-color: rgba(160, 23, 255, 0.7);
  background: linear-gradient(135deg, rgba(160, 23, 255, 0.35), rgba(255, 54, 214, 0.22));
  color: #fff;
  box-shadow: 0 0 18px rgba(160, 23, 255, 0.22);
}

.net-form:not(:has(input[name="compare"][value="1"]:checked)) .net-compare-only,
.net-form:has(input[name="compare"][value="1"]:checked) .net-resolver-pick {
  display: none;
}

.net-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: rgba(8, 5, 16, 0.55);
  color: var(--text);
}

.net-input:focus {
  outline: none;
  border-color: rgba(160, 23, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(160, 23, 255, 0.16);
}

.net-hint,
.net-muted {
  color: var(--muted);
  font-size: 0.86rem;
}

.net-muted.is-warn {
  color: #ffd27a;
}

.net-result {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.net-result > p {
  margin: 0;
}

.net-result .net-result-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0;
  font-size: 1.2rem;
  text-transform: none;
  overflow-wrap: anywhere;
}

.net-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.net-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.net-table th,
.net-table td {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
  text-align: left;
}

.net-table thead th {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.net-table tbody th {
  width: 1%;
  color: var(--cyan);
  white-space: nowrap;
}

.net-table td:last-child {
  width: 1%;
  white-space: nowrap;
}

.net-banner {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: rgba(8, 5, 16, 0.45);
  font-weight: 700;
}

.net-banner.is-ok,
.net-badge.is-ok {
  color: #9ff2c2;
}

.net-banner.is-warn,
.net-badge.is-warn {
  color: #ffd27a;
}

.net-banner.is-bad,
.net-badge.is-bad {
  color: #ff8aa8;
}

.net-badge {
  display: inline-flex;
  padding: 0.12rem 0.55rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 750;
  white-space: nowrap;
}

.net-mail-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .net-mail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.net-card {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  min-width: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(8, 5, 16, 0.35);
}

.net-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.net-list,
.net-warnings,
.net-chips {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.net-warnings li {
  padding-left: 1.2rem;
  color: #ffd27a;
  font-size: 0.86rem;
  position: relative;
}

.net-warnings li::before {
  content: "!";
  position: absolute;
  left: 0.35rem;
  font-weight: 800;
}

.net-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.net-chips a {
  display: inline-flex;
  padding: 0.2rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #9fd6ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
}

.net-pre {
  margin: 0;
  padding: 0.65rem 0.8rem;
  max-height: 24rem;
  overflow: auto;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(247, 243, 255, 0.88);
  font-size: 0.8rem;
  white-space: pre-wrap;
  word-break: break-all;
}

.net-dl {
  display: grid;
  grid-template-columns: minmax(8rem, max-content) minmax(0, 1fr);
  gap: 0.5rem 1rem;
  margin: 0;
}

.net-dl dt {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.net-dl dd {
  margin: 0;
  min-width: 0;
}

@media (max-width: 575px) {
  .net-table th,
  .net-table td {
    padding: 0.5rem 0.45rem;
  }

  .net-table tbody th {
    white-space: normal;
  }

  .net-dl {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .net-dl dd {
    margin-bottom: 0.5rem;
  }
}

.net-raw summary {
  color: #9fd6ff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.net-raw[open] summary {
  margin-bottom: 0.5rem;
}

.net-myip {
  margin: 0 0 0.35rem;
  color: var(--cyan);
  font-size: 1.15rem;
  font-weight: 750;
}

.net-help {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.net-help li span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.net-help li strong {
  color: var(--text);
}

.program-landing .program-hero {
  display: grid;
  gap: 1.75rem;
  padding: 1.75rem;
}

@media (min-width: 992px) {
  .program-landing .program-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    padding: 2rem;
  }
}

.program-hero-title {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 850;
  letter-spacing: -0.05em;
}

.program-hero-tagline {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  color: var(--cyan);
}

.program-hero-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.program-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.program-hero-visual {
  overflow: hidden;
  border-radius: 1.1rem;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

.program-hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.program-hero-fallback {
  min-height: 16rem;
  border-bottom: 0;
}

.program-block {
  margin-top: 2.5rem;
}

.program-block h2 {
  margin: 0 0 1.1rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.program-shots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.program-shot {
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
}

.program-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.program-shot:hover img {
  transform: scale(1.04);
}

.program-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.program-features li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(16, 10, 28, 0.72);
}

.program-features i {
  margin-top: 0.2rem;
  color: var(--cyan);
}

.program-about p {
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  white-space: pre-wrap;
}

.program-requirements {
  white-space: pre-wrap;
  color: var(--muted);
  line-height: 1.65;
}

.studio-form .form-label {
  margin-bottom: 0.35rem;
}

.studio-cover-preview {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

.studio-shots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.studio-shot {
  margin: 0;
}

.studio-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.8rem;
  border: 1px solid var(--border);
  margin-bottom: 0.45rem;
}

.studio-maps-table-wrap {
  overflow-x: auto;
}

.studio-maps-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.studio-maps-table th,
.studio-maps-table td {
  padding: 0.7rem 0.65rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.studio-maps-table th {
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.studio-maps-table code {
  color: var(--cyan);
}

.studio-maps-muted {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
  word-break: break-word;
}

.studio-maps-actions {
  white-space: nowrap;
}

.studio-maps-actions .btn {
  margin: 0.15rem 0.15rem 0.15rem 0;
}

@media (prefers-reduced-motion: reduce) {
  .program-shot:hover img {
    transform: none;
  }
}

/* ---- Просмотр скриншотов (lightbox) ---- */
.program-shot { cursor: zoom-in; }
.tl-lb-lock, .tl-lb-lock body { overflow: hidden; }
.tl-lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; grid-template-columns: 4.5rem 1fr 4.5rem; grid-template-rows: 1fr auto;
  align-items: center;
  background: rgba(5, 3, 11, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity 0.22s ease, visibility 0.22s ease;
}
.tl-lightbox.is-open { opacity: 1; visibility: visible; }
.tl-lb-stage { grid-column: 2; grid-row: 1; margin: 0; height: 100%; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem 0 0.5rem; }
.tl-lb-stage img {
  max-width: 100%; max-height: calc(100vh - 9.5rem); object-fit: contain;
  border-radius: 0.9rem; border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(160, 23, 255, 0.18);
  cursor: pointer; transform: scale(0.97); transition: transform 0.25s ease, opacity 0.2s ease;
}
.tl-lightbox.is-open .tl-lb-stage img { transform: scale(1); }
.tl-lightbox.is-loading .tl-lb-stage img { opacity: 0.4; }
.tl-lb-stage figcaption { margin-top: 0.6rem; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.04em; }
.tl-lb-nav, .tl-lb-close {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(19, 13, 32, 0.75); color: var(--text);
  font-size: 1.1rem; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.tl-lb-nav:hover, .tl-lb-close:hover { background: rgba(160, 23, 255, 0.35); border-color: rgba(160, 23, 255, 0.7); transform: scale(1.06); }
.tl-lb-prev { grid-column: 1; grid-row: 1; justify-self: center; }
.tl-lb-next { grid-column: 3; grid-row: 1; justify-self: center; }
.tl-lb-close { position: absolute; top: 1rem; right: 1rem; z-index: 2; }
.tl-lb-thumbs { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 0.5rem; justify-content: center; overflow-x: auto; padding: 0.5rem 1rem 1.1rem; scrollbar-width: thin; }
.tl-lb-thumb { flex: 0 0 auto; width: 5.5rem; height: 3.4rem; padding: 0; border-radius: 0.45rem; overflow: hidden; border: 2px solid transparent; background: none; opacity: 0.5; cursor: pointer; transition: opacity 0.2s ease, border-color 0.2s ease; }
.tl-lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tl-lb-thumb:hover { opacity: 0.85; }
.tl-lb-thumb.is-active { opacity: 1; border-color: var(--violet); }
@media (max-width: 640px) {
  .tl-lightbox { grid-template-columns: 0 1fr 0; }
  .tl-lb-nav { display: none; }
  .tl-lb-stage { padding: 3.5rem 0.75rem 0.5rem; }
  .tl-lb-thumb { width: 4rem; height: 2.6rem; }
}

/* ---- Покупка лицензии ---- */
.program-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.program-plan { position: relative; cursor: pointer; margin: 0; }
.program-plan input { position: absolute; opacity: 0; pointer-events: none; }
.program-plan-body {
  display: flex; flex-direction: column; gap: 0.2rem; height: 100%;
  padding: 1.1rem 1.25rem; border-radius: 1rem; border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25); transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.program-plan:hover .program-plan-body { border-color: rgba(160, 23, 255, 0.45); }
.program-plan input:checked + .program-plan-body {
  border-color: var(--violet); background: rgba(160, 23, 255, 0.12);
  box-shadow: 0 0 0 1px var(--violet), 0 12px 40px rgba(160, 23, 255, 0.22);
}
.program-plan input:focus-visible + .program-plan-body { outline: 2px solid var(--cyan); outline-offset: 2px; }
.program-plan-title { color: var(--muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; }
.program-plan-price { font-size: 2rem; font-weight: 700; color: var(--text); line-height: 1.1; }
.program-plan-note { align-self: flex-start; margin-top: 0.3rem; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.78rem; background: linear-gradient(90deg, var(--violet), var(--pink)); color: #fff; }
.program-renew summary, .program-terms summary { cursor: pointer; color: var(--muted); }
.program-renew summary:hover, .program-terms summary:hover { color: var(--text); }
.program-agree { display: flex; gap: 0.6rem; align-items: center; color: var(--muted); cursor: pointer; }
.program-agree input { width: 1.1rem; height: 1.1rem; accent-color: var(--violet); }
.program-license-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0.75rem 1.25rem; margin: 1.25rem 0; color: var(--muted); font-size: 0.92rem; }
.program-license-facts > div { display: flex; gap: 0.6rem; align-items: flex-start; }
.program-license-facts i { color: var(--violet); margin-top: 0.2rem; width: 1.1rem; text-align: center; }
.program-terms { padding: 1rem 1.25rem; }
.program-terms ol { padding-left: 1.2rem; color: var(--muted); }
.program-terms li + li { margin-top: 0.35rem; }

/* ---- Страница заказа лицензии ---- */
.license-card { max-width: 820px; }
.license-title { font-size: 1.6rem; margin-bottom: 0.6rem; }
.license-title .fa-circle-check { color: #3ddc97; }
.license-title .fa-circle-xmark, .license-title .fa-ban { color: var(--pink); }
.license-key-box { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; padding: 0.9rem 1rem; border-radius: 0.9rem; border: 1px dashed rgba(160, 23, 255, 0.6); background: rgba(160, 23, 255, 0.08); }
.license-key-box code { font-size: clamp(1rem, 3.4vw, 1.35rem); letter-spacing: 0.06em; color: var(--text); user-select: all; word-break: break-all; }
.license-steps { color: var(--muted); padding-left: 1.2rem; }
.license-steps li + li { margin-top: 0.4rem; }
.studio-license { padding: 0.9rem 0; border-top: 1px solid var(--border); }
.studio-license:first-of-type { border-top: 0; }
.studio-license.is-revoked { opacity: 0.55; }
.studio-license-head { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-bottom: 0.25rem; }
.studio-license-head code { font-size: 1rem; color: var(--text); }

/* ---- Админка v2: боковое меню + разделы ---- */
.admin-v2 { padding-top: 1.5rem; }
.admin-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 1.75rem; max-width: 1480px; margin: 0 auto; padding: 0 1.5rem; }
.admin-side {
  position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 110px); overflow-y: auto;
  display: flex; flex-direction: column; gap: 0.35rem; padding: 1.1rem 0.85rem;
  border: 1px solid var(--border); border-radius: 1.25rem; background: var(--panel); backdrop-filter: blur(14px);
}
.admin-side-head { display: flex; align-items: center; gap: 0.75rem; padding: 0.2rem 0.45rem 0.9rem; border-bottom: 1px solid var(--border); margin-bottom: 0.5rem; }
.admin-side-logo { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 0.75rem; background: linear-gradient(135deg, var(--violet), var(--pink)); color: #fff; }
.admin-side-title { font-weight: 700; color: var(--text); line-height: 1.1; }
.admin-side-sub { font-size: 0.8rem; color: var(--muted); }
.admin-nav { display: flex; flex-direction: column; gap: 0.15rem; }
.admin-nav-link {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0.7rem; border-radius: 0.7rem;
  color: var(--muted); text-decoration: none; font-size: 0.95rem; transition: background 0.15s ease, color 0.15s ease;
}
.admin-nav-link > i:first-child { width: 1.1rem; text-align: center; color: rgba(184, 75, 255, 0.75); }
.admin-nav-link span { flex: 1; min-width: 0; }
.admin-nav-link em { font-style: normal; font-size: 0.78rem; color: var(--muted); opacity: 0.7; }
.admin-nav-link:hover { background: rgba(160, 23, 255, 0.1); color: var(--text); }
.admin-nav-link.is-active { background: linear-gradient(90deg, rgba(160, 23, 255, 0.28), rgba(160, 23, 255, 0.08)); color: var(--text); box-shadow: inset 2px 0 0 var(--violet); }
.admin-nav-link.is-active > i:first-child { color: var(--text); }
.admin-nav-badge { min-width: 1.35rem; padding: 0.05rem 0.4rem; border-radius: 999px; background: var(--pink); color: #fff; font-size: 0.72rem; text-align: center; }
.admin-nav-badge.is-muted { background: rgba(255, 255, 255, 0.12); color: var(--muted); }
.admin-ext { font-size: 0.7rem; opacity: 0.45; }
.admin-nav-group { margin: 0.9rem 0.7rem 0.25rem; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); opacity: 0.7; }
.admin-logout { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--border); }
.admin-main { min-width: 0; padding-bottom: 3rem; }
.admin-flash { border-radius: 0.9rem; }
.admin-v2.is-tabbed .admin-section { display: none; }
.admin-v2.is-tabbed .admin-section.is-active { display: block; animation: adminIn 0.25s ease; }
.admin-v2:not(.is-tabbed) .admin-section + .admin-section { margin-top: 3rem; }
@keyframes adminIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.admin-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.admin-section-head h1 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 0 0 0.25rem; }
.admin-card-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1rem; }
.admin-card-head h2 { margin: 0; font-size: 1.1rem; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.admin-stats--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.admin-stat {
  display: flex; flex-direction: column; gap: 0.3rem; padding: 1.1rem 1.2rem; border-radius: 1.1rem;
  border: 1px solid var(--border); background: var(--panel); color: var(--text); text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
a.admin-stat:hover { border-color: rgba(160, 23, 255, 0.55); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(160, 23, 255, 0.16); color: var(--text); }
.admin-stat-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.admin-stat-value { font-size: 1.9rem; font-weight: 700; line-height: 1.1; }
.admin-stat-value small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.admin-stat-sub { font-size: 0.85rem; color: var(--muted); }
.admin-stat-sub.is-warn { color: #ffc861; }
.admin-list { display: flex; flex-direction: column; }
.admin-list-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-top: 1px solid var(--border); }
.admin-list-row:first-child { border-top: 0; padding-top: 0; }
.admin-list-row strong { display: block; color: var(--text); }
.admin-list-row span { display: block; font-size: 0.85rem; color: var(--muted); }
.admin-empty { padding: 1.4rem; border-radius: 0.9rem; border: 1px dashed var(--border); color: var(--muted); text-align: center; }
.admin-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
.admin-actions a {
  display: flex; align-items: center; gap: 0.65rem; padding: 0.8rem 0.9rem; border-radius: 0.85rem;
  border: 1px solid var(--border); background: rgba(0, 0, 0, 0.22); color: var(--text); text-decoration: none; font-size: 0.92rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.admin-actions a i { color: var(--violet); width: 1.1rem; text-align: center; }
.admin-actions a:hover { border-color: rgba(160, 23, 255, 0.55); background: rgba(160, 23, 255, 0.1); color: var(--text); }
.admin-programs { display: flex; flex-direction: column; gap: 0.75rem; }
.admin-program { display: flex; align-items: center; gap: 1rem; padding: 0.75rem; border-radius: 1rem; border: 1px solid var(--border); background: rgba(0, 0, 0, 0.2); }
.admin-program img, .admin-program-ph { flex: 0 0 auto; width: 120px; height: 68px; border-radius: 0.6rem; object-fit: cover; border: 1px solid var(--border); }
.admin-program-ph { display: grid; place-items: center; color: var(--violet); font-size: 1.4rem; background: rgba(160, 23, 255, 0.08); }
.admin-program-body { flex: 1; min-width: 0; }
.admin-program-body strong { display: block; font-size: 1.05rem; color: var(--text); }
.admin-program-body > span { display: block; font-size: 0.85rem; color: var(--muted); }
.admin-program-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: flex-end; }
.admin-dot { display: inline-block; width: 0.5rem; height: 0.5rem; margin-right: 0.35rem; border-radius: 50%; background: rgba(255, 255, 255, 0.25); vertical-align: 0.05em; }
.admin-dot.is-on { background: #3ddc97; box-shadow: 0 0 8px rgba(61, 220, 151, 0.6); }
.admin-fold > summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 0.6rem; }
.admin-fold > summary::-webkit-details-marker { display: none; }
.admin-fold > summary i { color: var(--violet); }
.admin-fold > summary::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-left: auto; font-size: 0.8rem; color: var(--muted); transition: transform 0.2s ease; }
.admin-fold[open] > summary::after { transform: rotate(180deg); }
.admin-fold[open] > summary { margin-bottom: 0.4rem; }
.admin-table th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 600; }
.admin-review { display: flex; gap: 1.25rem; justify-content: space-between; padding: 1rem 0; border-top: 1px solid var(--border); }
.admin-review:first-child { border-top: 0; padding-top: 0; }
.admin-review.is-pending { position: relative; }
.admin-review.is-pending::before { content: ""; position: absolute; left: -1.5rem; top: 1rem; bottom: 1rem; width: 3px; border-radius: 3px; background: #ffc861; }
.admin-review:first-child.is-pending::before { top: 0; }
.admin-review-body { flex: 1; min-width: 0; }
.admin-review-body p { margin: 0.5rem 0 0; color: var(--text); white-space: pre-line; }
.admin-review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.admin-stars { color: #ffc861; font-size: 0.8rem; letter-spacing: 0.05em; }
.admin-review-actions { display: flex; flex-direction: column; align-items: stretch; gap: 0.4rem; min-width: 10rem; }
.admin-toggles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0.75rem; }
.admin-toggle { position: relative; display: flex; align-items: center; gap: 0.85rem; padding: 0.9rem 1rem; border-radius: 0.9rem; border: 1px solid var(--border); background: rgba(0, 0, 0, 0.2); cursor: pointer; margin: 0; }
.admin-toggle input[type=checkbox] { position: absolute; opacity: 0; pointer-events: none; }
.admin-switch { position: relative; flex: 0 0 auto; width: 2.6rem; height: 1.45rem; border-radius: 999px; background: rgba(255, 255, 255, 0.15); transition: background 0.2s ease; }
.admin-switch::after { content: ""; position: absolute; top: 0.18rem; left: 0.2rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #fff; transition: transform 0.2s ease; }
.admin-toggle input:checked + .admin-switch { background: linear-gradient(90deg, var(--violet), var(--pink)); }
.admin-toggle input:checked + .admin-switch::after { transform: translateX(1.1rem); }
.admin-toggle input:focus-visible + .admin-switch { outline: 2px solid var(--cyan); outline-offset: 2px; }
.admin-toggle-text strong { display: block; color: var(--text); }
.admin-toggle-text a { font-size: 0.82rem; color: var(--muted); }
@media (max-width: 991px) {
  .admin-shell { grid-template-columns: 1fr; padding: 0 1rem; }
  .admin-side { position: static; max-height: none; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; }
  .admin-nav-link { flex: 1 1 calc(50% - 0.2rem); }
  .admin-review { flex-direction: column; }
  .admin-review-actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .admin-review.is-pending::before { left: -1rem; }
}
@media (max-width: 575px) {
  .admin-actions { grid-template-columns: 1fr; }
  .admin-program { flex-wrap: wrap; }
  .admin-program img, .admin-program-ph { width: 100%; height: 140px; }
}

/* ---- Статус сервисов (публичная /status и админка) ---- */
.status-card { padding: 1.5rem; }
.status-overall { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-radius: 1rem; margin-bottom: 1.5rem; border: 1px solid var(--border); background: rgba(0, 0, 0, 0.25); }
.status-overall > i { font-size: 1.8rem; }
.status-overall strong { display: block; font-size: 1.15rem; color: var(--text); }
.status-overall span { font-size: 0.85rem; color: var(--muted); }
.status-overall.is-ok { border-color: rgba(61, 220, 151, 0.4); background: rgba(61, 220, 151, 0.08); }
.status-overall.is-ok > i { color: #3ddc97; }
.status-overall.is-degraded { border-color: rgba(255, 200, 97, 0.45); background: rgba(255, 200, 97, 0.08); }
.status-overall.is-degraded > i { color: #ffc861; }
.status-overall.is-down { border-color: rgba(255, 92, 122, 0.5); background: rgba(255, 92, 122, 0.1); }
.status-overall.is-down > i { color: #ff5c7a; }
.status-overall.is-unknown > i { color: var(--muted); }
.status-group + .status-group { margin-top: 1.5rem; }
.status-group h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 0.6rem; }
.status-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 1rem; background: rgba(0, 0, 0, 0.18); }
.status-row + .status-row { border-top: 1px solid var(--border); }
.status-row-main { display: flex; align-items: center; gap: 0.9rem; min-width: 0; }
.status-name strong { display: block; color: var(--text); }
.status-name span { display: block; font-size: 0.8rem; color: var(--muted); }
.status-err { color: #ff8fa3; font-weight: 500; }
.status-badge { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.35rem; min-width: 8.5rem; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; border: 1px solid transparent; }
.status-badge.is-ok { color: #3ddc97; background: rgba(61, 220, 151, 0.1); border-color: rgba(61, 220, 151, 0.3); }
.status-badge.is-degraded { color: #ffc861; background: rgba(255, 200, 97, 0.1); border-color: rgba(255, 200, 97, 0.3); }
.status-badge.is-down { color: #ff5c7a; background: rgba(255, 92, 122, 0.12); border-color: rgba(255, 92, 122, 0.35); }
.status-badge.is-disabled, .status-badge.is-unknown { color: var(--muted); background: rgba(255, 255, 255, 0.05); border-color: var(--border); }
.status-row-side { display: flex; align-items: center; gap: 1rem; flex: 0 0 auto; }
.status-hours { display: flex; gap: 2px; }
.status-hours i, .status-legend i { display: inline-block; width: 7px; height: 22px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); }
.status-legend i { width: 9px; height: 9px; vertical-align: -1px; margin: 0 0.25rem 0 0.6rem; }
.status-hours i.is-ok, .status-legend i.is-ok { background: #3ddc97; }
.status-hours i.is-partial, .status-legend i.is-partial { background: #ffc861; }
.status-hours i.is-fail, .status-legend i.is-fail { background: #ff5c7a; }
.status-uptime { display: flex; flex-direction: column; align-items: flex-end; font-size: 0.85rem; color: var(--text); min-width: 4.8rem; }
.status-uptime small { color: var(--muted); }
.status-legend { margin: 1rem 0 0; }
@media (max-width: 767px) {
  .status-row { flex-direction: column; align-items: stretch; }
  .status-row-side { justify-content: space-between; }
  .status-hours i { width: 5px; }
  .status-badge { min-width: 0; }
}

/* ---- Статистика в админке ---- */
.admin-period { display: inline-flex; padding: 0.2rem; border-radius: 999px; border: 1px solid var(--border); background: rgba(0, 0, 0, 0.25); }
.admin-period a { padding: 0.35rem 0.9rem; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 0.88rem; }
.admin-period a.is-active { background: var(--violet); color: #fff; }
.admin-chart { position: relative; }
.admin-chart svg { display: block; width: 100%; height: 220px; overflow: visible; }
.admin-chart-grid { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.admin-chart-axis { fill: var(--muted); font-size: 11px; }
.admin-chart-bar { fill: #b84bff; transition: opacity 0.15s ease; }
.admin-chart-hit { fill: transparent; }
.admin-chart-col.is-hover .admin-chart-hit { fill: rgba(255, 255, 255, 0.04); }
.admin-chart-col.is-hover .admin-chart-bar { fill: #cf7dff; }
.admin-chart-tip {
  position: absolute; top: -0.5rem; transform: translate(-50%, -100%); pointer-events: none; z-index: 2;
  display: flex; flex-direction: column; gap: 0.1rem; padding: 0.5rem 0.7rem; border-radius: 0.6rem;
  background: rgba(19, 13, 32, 0.96); border: 1px solid var(--border); font-size: 0.8rem; color: var(--muted); white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.admin-chart-tip b { color: var(--text); }
.admin-bars { display: flex; flex-direction: column; gap: 0.45rem; }
.admin-bar-row { display: grid; grid-template-columns: minmax(0, 11rem) 1fr 3.5rem; align-items: center; gap: 0.75rem; font-size: 0.88rem; }
.admin-bar-row a { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-bar-row b { text-align: right; color: var(--text); }
.admin-bar-track { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.admin-bar-track i { display: block; height: 100%; border-radius: 4px; background: #b84bff; }

/* ---- Главная: цифры, проекты, программы, утилиты ---- */
.home-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; margin-top: 2rem; max-width: 640px; }
.home-proof a {
  display: flex; flex-direction: column; gap: 0.15rem; padding: 1rem 1.15rem; border-radius: 1.1rem;
  border: 1px solid var(--border); background: rgba(10, 6, 20, 0.55); backdrop-filter: blur(10px);
  color: var(--text); text-decoration: none; transition: border-color 0.2s ease, transform 0.2s ease;
}
.home-proof a:hover { border-color: rgba(160, 23, 255, 0.6); transform: translateY(-2px); color: var(--text); }
.home-proof b { font-size: 2.1rem; line-height: 1; font-weight: 800; background: linear-gradient(90deg, #c46bff, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-proof span { font-size: 0.85rem; color: var(--muted); line-height: 1.25; }

.home-project {
  display: flex; flex-direction: column; gap: 0.75rem; height: 100%; padding: 1.5rem; border-radius: 1.25rem;
  border: 1px solid var(--border); background: var(--panel); color: var(--text); text-decoration: none; position: relative; overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.home-project::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--violet), var(--pink)); opacity: 0.55; }
a.home-project:hover { border-color: rgba(160, 23, 255, 0.6); transform: translateY(-3px); box-shadow: 0 18px 50px rgba(160, 23, 255, 0.18); color: var(--text); }
.home-project-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.home-project h3 { margin: 0; font-size: 1.45rem; }
.home-project p { margin: 0; color: var(--muted); flex: 1; }
.home-project-status { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.2rem 0.65rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; border: 1px solid var(--border); white-space: nowrap; }
.home-project-status i { width: 0.5rem; height: 0.5rem; border-radius: 50%; }
.home-project-status.is-live { color: #3ddc97; border-color: rgba(61, 220, 151, 0.35); background: rgba(61, 220, 151, 0.08); }
.home-project-status.is-live i { background: #3ddc97; box-shadow: 0 0 8px rgba(61, 220, 151, 0.8); animation: homePulse 2s ease-in-out infinite; }
.home-project-status.is-dev { color: #ffc861; border-color: rgba(255, 200, 97, 0.35); background: rgba(255, 200, 97, 0.08); }
.home-project-status.is-dev i { background: #ffc861; }
@keyframes homePulse { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .home-project-status.is-live i { animation: none; } }
.home-project-stack { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.home-project-stack span { padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.78rem; color: var(--text); background: rgba(160, 23, 255, 0.12); border: 1px solid rgba(160, 23, 255, 0.25); }
.home-project-link { font-size: 0.88rem; color: #c98bff; }

.home-program {
  display: flex; flex-direction: column; height: 100%; border-radius: 1.25rem; overflow: hidden;
  border: 1px solid var(--border); background: var(--panel); color: var(--text); text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.home-program:hover { border-color: rgba(160, 23, 255, 0.6); transform: translateY(-3px); box-shadow: 0 18px 50px rgba(160, 23, 255, 0.18); color: var(--text); }
.home-program img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--border); }
.home-program-body { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.25rem 1.4rem 1.4rem; flex: 1; }
.home-program-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.home-program h3 { margin: 0; font-size: 1.35rem; }
.home-program p { margin: 0; color: var(--muted); flex: 1; }
.home-program-price { flex: 0 0 auto; padding: 0.25rem 0.75rem; border-radius: 999px; font-weight: 700; font-size: 0.9rem; color: #fff; background: linear-gradient(90deg, var(--violet), var(--pink)); }
.home-program-price.is-free { background: rgba(61, 220, 151, 0.15); color: #3ddc97; border: 1px solid rgba(61, 220, 151, 0.35); }
.home-program-more { font-size: 0.88rem; color: #c98bff; }

.home-utils { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.home-util {
  display: flex; flex-direction: column; gap: 0.4rem; padding: 1.2rem; border-radius: 1.1rem;
  border: 1px solid var(--border); background: var(--panel); color: var(--text); text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.home-util:hover { border-color: rgba(160, 23, 255, 0.6); transform: translateY(-2px); color: var(--text); }
.home-util i { font-size: 1.4rem; color: var(--violet); margin-bottom: 0.3rem; }
.home-util strong { font-size: 1.02rem; }
.home-util span { font-size: 0.85rem; color: var(--muted); line-height: 1.35; }

.home-projects-reveal, .home-programs-reveal, .home-utilities-reveal { opacity: 0; }
.home-projects-reveal.is-visible, .home-programs-reveal.is-visible, .home-utilities-reveal.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .home-projects-reveal, .home-programs-reveal, .home-utilities-reveal { opacity: 1; } }
.cta-contacts--buttons { display: flex; flex-direction: column; gap: 0.75rem; align-items: stretch; min-width: 260px; }
@media (max-width: 575px) {
  .home-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
  .home-proof a { padding: 0.75rem; }
  .home-proof b { font-size: 1.6rem; }
  .home-proof span { font-size: 0.75rem; }
  .home-project-top { flex-direction: column; }
  .cta-contacts--buttons { min-width: 0; width: 100%; }
}
.home-proof > div { display: flex; flex-direction: column; gap: 0.15rem; padding: 1rem 1.15rem; border-radius: 1.1rem; border: 1px solid var(--border); background: rgba(10, 6, 20, 0.55); backdrop-filter: blur(10px); color: var(--text); }
@media (max-width: 575px) { .home-proof > div { padding: 0.75rem; } }

/* ---- Страница «Проекты» ---- */
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
.pj-card {
  display: flex; flex-direction: column; border-radius: 1.4rem; overflow: hidden;
  border: 1px solid var(--border); background: var(--panel); transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.pj-card:hover { border-color: rgba(160, 23, 255, 0.55); box-shadow: 0 22px 60px rgba(160, 23, 255, 0.16); transform: translateY(-3px); }
.pj-card.is-featured { grid-column: 1 / -1; flex-direction: row; }
.pj-card.is-featured .pj-shot { flex: 0 0 58%; }
.pj-card.is-featured .pj-body { padding: 2rem 2.2rem; justify-content: center; }
.pj-card.is-featured h2 { font-size: 2rem; }
.pj-shot { position: relative; display: block; background: #07040e; border-bottom: 1px solid var(--border); overflow: hidden; }
.pj-card.is-featured .pj-shot { border-bottom: 0; border-right: 1px solid var(--border); }
.pj-browser { display: flex; align-items: center; gap: 0.35rem; padding: 0.55rem 0.8rem; background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid var(--border); }
.pj-browser i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.pj-browser i:nth-child(1) { background: #ff5f57; } .pj-browser i:nth-child(2) { background: #febc2e; } .pj-browser i:nth-child(3) { background: #28c840; }
.pj-browser em { margin-left: 0.6rem; padding: 0.1rem 0.75rem; border-radius: 999px; background: rgba(0, 0, 0, 0.35); color: var(--muted); font-style: normal; font-size: 0.75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; transition: transform 0.6s ease; }
.pj-card.is-featured .pj-shot img { height: calc(100% - 2rem); aspect-ratio: auto; min-height: 340px; }
a.pj-shot:hover img { transform: scale(1.03); }
.pj-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; aspect-ratio: 16 / 10; background: radial-gradient(circle at 30% 20%, rgba(160, 23, 255, 0.35), transparent 60%), radial-gradient(circle at 80% 90%, rgba(255, 54, 214, 0.25), transparent 55%), #0b0616; color: var(--text); }
.pj-placeholder i { font-size: 2.6rem; color: #c98bff; }
.pj-placeholder b { font-size: 1.5rem; }
.pj-placeholder small { color: #ffc861; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; }
.pj-body { display: flex; flex-direction: column; gap: 0.85rem; padding: 1.5rem 1.6rem 1.7rem; flex: 1; }
.pj-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.pj-top h2 { margin: 0; font-size: 1.55rem; }
.pj-body > p { margin: 0; color: var(--muted); flex: 1; }
.pj-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 0.3rem; }
.pj-store {
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.4rem 0.9rem 0.4rem 0.75rem; border-radius: 0.7rem;
  background: #000; border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; text-decoration: none; line-height: 1.05;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.pj-store:hover { border-color: #fff; transform: translateY(-1px); color: #fff; }
.pj-store i, .pj-store svg { font-size: 1.35rem; width: 1.35rem; height: 1.35rem; }
.pj-store span { display: flex; flex-direction: column; font-weight: 600; font-size: 0.95rem; }
.pj-store small { font-size: 0.62rem; font-weight: 400; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.04em; }
.pj-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; margin-top: 2.5rem; padding: 1.75rem 2rem; }
.pj-cta h2 { margin: 0 0 0.3rem; font-size: 1.5rem; }
.admin-project-thumb { width: 72px; height: 45px; border-radius: 0.45rem; object-fit: cover; object-position: top; border: 1px solid var(--border); flex: 0 0 auto; display: grid; place-items: center; }
.admin-project-row + .admin-project-row { border-top: 1px solid var(--border); margin-top: 0.4rem; padding-top: 0.4rem; }
.admin-project-row .admin-list-row { border-top: 0; }
.admin-project-edit { padding: 0 0 0.6rem; }
.admin-project-edit > summary { font-weight: 500; font-size: 0.88rem; color: var(--muted); }
@media (max-width: 991px) {
  .projects-grid { grid-template-columns: 1fr; }
  .pj-card.is-featured { flex-direction: column; }
  .pj-card.is-featured .pj-shot { flex: none; border-right: 0; border-bottom: 1px solid var(--border); }
  .pj-card.is-featured .pj-shot img { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .pj-card.is-featured .pj-body { padding: 1.5rem 1.6rem 1.7rem; }
  .pj-card.is-featured h2 { font-size: 1.55rem; }
}
@media (max-width: 575px) { .pj-top { flex-direction: column; } .pj-cta { padding: 1.25rem; } }

/* ---- Главная: строка «Мои проекты» под кнопками ---- */
.home-showcase { margin-top: 2.2rem; max-width: 640px; }
.home-showcase-label { display: block; margin-bottom: 0.7rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.home-showcase-list { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.home-chip {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.95rem; border-radius: 999px;
  border: 1px solid rgba(184, 75, 255, 0.3); background: rgba(12, 7, 24, 0.55); backdrop-filter: blur(10px);
  color: var(--text); font-weight: 600; font-size: 0.92rem; text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
a.home-chip:hover { border-color: rgba(255, 54, 214, 0.7); background: rgba(160, 23, 255, 0.18); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(160, 23, 255, 0.25); color: var(--text); }
.home-chip > i:first-child { width: 0.5rem; height: 0.5rem; border-radius: 50%; flex: 0 0 auto; }
.home-chip > i.is-live { background: #3ddc97; box-shadow: 0 0 10px rgba(61, 220, 151, 0.9); animation: homePulse 2s ease-in-out infinite; }
.home-chip > i.is-dev { background: #ffc861; }
.home-chip small { padding: 0.05rem 0.45rem; border-radius: 999px; font-size: 0.68rem; font-weight: 600; color: #ffc861; background: rgba(255, 200, 97, 0.12); }
.home-chip--more { border-style: dashed; color: #d9a8ff; font-weight: 500; }
.home-chip--more i { font-size: 0.75rem; }
@media (prefers-reduced-motion: reduce) { .home-chip > i.is-live { animation: none; } }
@media (max-width: 575px) { .home-chip { font-size: 0.85rem; padding: 0.42rem 0.8rem; } }

/* последняя карточка без пары — на всю ширину, как первая */
@media (min-width: 992px) {
  .pj-card:last-child:nth-child(even) { grid-column: 1 / -1; flex-direction: row; }
  .pj-card:last-child:nth-child(even) .pj-shot { flex: 0 0 58%; border-bottom: 0; border-right: 1px solid var(--border); }
  .pj-card:last-child:nth-child(even) .pj-body { padding: 2rem 2.2rem; justify-content: center; }
  .pj-card:last-child:nth-child(even) .pj-placeholder { height: calc(100% - 2rem); min-height: 300px; aspect-ratio: auto; }
}
