/* Общие стили для всех страниц */

html, body {
  height: 100%;
  background: var(--bg);
  color: #e9e8ef;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

/* Subtle grain + vignette background effect */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 10, 20, 0.15), transparent 25%),
              radial-gradient(1200px 300px at 10% 10%, rgba(90, 60, 170, 0.06), transparent 20%);
  mix-blend-mode: screen;
}

/* Glass panels effect */
.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 30px rgba(8, 6, 16, 0.6);
  border-radius: 14px;
}

/* Accent gradient text */
.accent-grad {
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Accent button */
.btn-accent {
  background: linear-gradient(90deg, rgba(91, 70, 255, 0.12), rgba(106, 90, 255, 0.06));
  border: 1px solid rgba(91, 70, 255, 0.22);
  color: var(--accent1);
}

/* Glow effect */
.glow {
  box-shadow: 0 6px 30px rgba(91, 70, 255, 0.12), 0 0 30px rgba(91, 70, 255, 0.06) inset;
}

/* Soft muted text */
.soft-muted {
  color: rgba(255, 255, 255, 0.45);
}

/* Card component */
.card {
  padding: 26px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.02);
}

/* Typography */
h1, h2 {
  letter-spacing: -0.01em;
}

/* Prevent image selection drag */
img, svg {
  user-select: none;
}

/* Ripple effect for buttons */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

button, .btn-accent, a[class*="btn"] {
  position: relative;
  overflow: hidden;
}

