: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 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(4, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .tech-grid {
    grid-template-columns: repeat(8, 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;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: var(--muted);
}

@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-links {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .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-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);
}
