/* Дополнения к Tailwind CDN: переменные и анимации в духе исходного лендинга */
:root {
  --mskt-navy: #071b33;
  --mskt-blue: #2563eb;
  --mskt-cyan: #06b6d4;
}

html {
  scroll-behavior: smooth;
}

.hero-grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.55) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 95%);
  pointer-events: none;
}

.scan-line {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(6, 182, 212, 0.18),
    transparent
  );
  animation: mskt-scan 5s linear infinite;
  pointer-events: none;
}

@keyframes mskt-scan {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

#nav-panel.is-open {
  display: flex !important;
}

.toast-fixed {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 200;
  max-width: 22rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.2);
  font-size: 0.875rem;
  font-weight: 600;
  animation: toast-in 0.25s ease-out;
}

.toast-fixed.ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.toast-fixed.err {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.star-btn.active {
  color: #facc15;
}

.star-btn:not(.active) {
  color: #cbd5e1;
}

.review-markdown ul {
  list-style: disc;
  margin-left: 1.25rem;
  margin-top: 0.5rem;
}

.review-markdown p {
  margin-top: 0.5rem;
}

.review-markdown p:first-child {
  margin-top: 0;
}
