/* custom.css – Premium UI enhancements */

/* ---------- Color Palette & Typography ---------- */
/* Removed overriding :root variables to preserve the strict matte-black Fey Terminal theme from index.html */

body {
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------- Glassmorphism Card ---------- */
/* Removed transparent glassmorphism to keep the solid, dark Bloomberg aesthetic */

/* ---------- Button Enhancements ---------- */
/* .btn-buy styles are defined in index.html for theme-based styling */
.btn-card {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-card:hover {
  background: #ff6b6b;
  transform: translateY(-4px) scale(1.02);
}

/* ---------- Theme Toggle Icon Transition ---------- */
.theme-toggle svg {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

body.light-theme .theme-toggle .sun-icon { opacity: 1; transform: rotate(0deg) scale(1); }
body.light-theme .theme-toggle .moon-icon { opacity: 0; transform: rotate(90deg) scale(0); }

/* ---------- Scroll Top Button ---------- */
.scroll-top {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: background 0.3s, transform 0.2s, opacity 0.3s;
}
.scroll-top:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

/* ---------- Hero Section Parallax Overlay ---------- */
.hero {
  background: radial-gradient(circle at 50% 30%, var(--bg-secondary) 0%, var(--bg-primary) 80%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 40%, rgba(255,255,255,0.02) 0%, transparent 70%),
    radial-gradient(circle at 80% 60%, rgba(255,255,255,0.02) 0%, transparent 70%);
  pointer-events: none;
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 768px) {
  .card {
    width: 100% !important;
    max-width: 340px;
  }
  .hero h1 { font-size: 4rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 3rem; }
  .btn-card { padding: 0.8rem 2rem; font-size: 0.8rem; }
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Footer Styling ---------- */
footer {
  color: var(--text-secondary);
  background: transparent;
  padding: 2rem 0;
}

/* Body background and text color use CSS variables */
body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

/* Canvas background */
#bg {
  background: var(--bg-primary);
}

/* Navigation bar colors - убрали background чтобы не перезаписывать полупрозрачность */
nav {
  color: var(--text-primary);
}

/* Hero section text contrast */
.hero h1,
.hero-label,
.hero-badge {
  color: var(--text-primary);
}
