/* 🎨 DEXRabbit - Enhanced Sections Styles */
/* Modern animations and design improvements for sections from "About" to "Footer" */

/* ==================== */
/* SCROLL ANIMATIONS */
/* ==================== */

/* Основной класс для всех анимированных элементов */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Задержки для последовательного появления */
.animate-delay-1 {
  transition-delay: 0.1s;
}
.animate-delay-2 {
  transition-delay: 0.2s;
}
.animate-delay-3 {
  transition-delay: 0.3s;
}
.animate-delay-4 {
  transition-delay: 0.4s;
}
.animate-delay-5 {
  transition-delay: 0.5s;
}

/* Альтернативные анимации */
.animate-fade-in {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.animate-fade-in.animated {
  opacity: 1;
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-slide-left.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-slide-right.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-scale.animated {
  opacity: 1;
  transform: scale(1);
}

/* ==================== */
/* ABOUT SECTION IMPROVEMENTS */
/* ==================== */

#about {
  position: relative;
  overflow: hidden;
}

/* Анимированный фоновый градиент */
#about::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 20% 50%, rgba(124, 140, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(76, 201, 240, 0.12) 0%, transparent 50%);
  animation: gradientFloat 20s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes gradientFloat {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(5%, -5%) rotate(2deg);
  }
  66% {
    transform: translate(-5%, 5%) rotate(-2deg);
  }
}

#about .container {
  position: relative;
  z-index: 1;
}

/* Улучшенные карточки в About */
#about .card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#about .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: left 0.6s ease;
}

#about .card:hover::before {
  left: 100%;
}

#about .card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 60px rgba(124, 140, 255, 0.25),
    0 0 40px rgba(76, 201, 240, 0.15);
}

/* Иконки с эффектами */
#about .card > div > div:first-child {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#about .card:hover > div > div:first-child {
  transform: rotateY(360deg) scale(1.1);
}

/* ==================== */
/* GALLERY IMPROVEMENTS */
/* ==================== */

.gallery-section {
  position: relative;
  overflow: hidden;
}

/* Параллакс фон для галереи */
.gallery-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at top, rgba(124, 140, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(76, 201, 240, 0.06) 0%, transparent 50%);
  animation: parallaxPulse 15s ease-in-out infinite;
  z-index: 0;
}

@keyframes parallaxPulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.gallery-grid {
  position: relative;
  z-index: 1;
}

/* Улучшенные элементы галереи */
.gallery-item {
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(124, 140, 255, 0.3), rgba(76, 201, 240, 0.3));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow:
    0 25px 50px rgba(124, 140, 255, 0.3),
    0 0 30px rgba(76, 201, 240, 0.2);
  border-color: rgba(124, 140, 255, 0.6);
}

.gallery-item img {
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.15) rotate(2deg);
  filter: brightness(1.1) contrast(1.05);
}

/* Улучшенная подпись */
.gallery-caption {
  backdrop-filter: blur(10px);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7));
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ==================== */
/* TOKEN WIDGET IMPROVEMENTS */
/* ==================== */

.section#tokenization,
.section .section-alt:has(#geckoterminal-embed) {
  position: relative;
}

/* Светящийся эффект вокруг виджета */
[style*='geckoterminal'] {
  position: relative;
  animation: widgetGlow 3s ease-in-out infinite;
}

@keyframes widgetGlow {
  0%,
  100% {
    box-shadow:
      0 8px 32px rgba(124, 140, 255, 0.2),
      0 0 60px rgba(76, 201, 240, 0.1);
  }
  50% {
    box-shadow:
      0 12px 40px rgba(124, 140, 255, 0.3),
      0 0 80px rgba(76, 201, 240, 0.15);
  }
}

/* Кнопки копирования адреса */
.contract-address-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.contract-address-code {
  flex: 1;
  min-width: 200px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(124, 140, 255, 0.3);
  border-radius: 12px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.9rem;
  color: #4cc9f0;
  word-break: break-all;
  transition: all 0.3s ease;
}

.contract-address-code:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(124, 140, 255, 0.5);
  box-shadow: 0 0 20px rgba(124, 140, 255, 0.2);
}

.copy-contract-btn {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #7c8cff, #4cc9f0);
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.copy-contract-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(124, 140, 255, 0.4);
}

.copy-contract-btn:active {
  transform: translateY(0) scale(0.98);
}

.copy-contract-btn.copied {
  background: linear-gradient(135deg, #4ade80, #22c55e);
}

/* ==================== */
/* HOW IT WORKS IMPROVEMENTS */
/* ==================== */

#how-it-works .timeline-item {
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#how-it-works .timeline-item::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(124, 140, 255, 0.3), rgba(76, 201, 240, 0.3));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

#how-it-works .timeline-item:hover::after {
  opacity: 1;
}

#how-it-works .timeline-item:hover {
  transform: translateX(10px);
  background: rgba(15, 22, 38, 0.95);
  box-shadow: 0 15px 40px rgba(124, 140, 255, 0.25);
}

#how-it-works .timeline-item::before {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#how-it-works .timeline-item:hover::before {
  transform: scale(1.5);
  background: linear-gradient(135deg, #7c8cff, #4cc9f0);
  box-shadow: 0 0 20px rgba(124, 140, 255, 0.6);
}

/* Анимация значка */
#how-it-works .timeline-item .badge {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

#how-it-works .timeline-item .badge::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.4s ease,
    height 0.4s ease;
}

#how-it-works .timeline-item:hover .badge {
  transform: scale(1.1);
}

#how-it-works .timeline-item:hover .badge::before {
  width: 100%;
  height: 100%;
}

/* ==================== */
/* INVESTMENT MODEL IMPROVEMENTS */
/* ==================== */

.invest-steps {
  position: relative;
}

.invest-step {
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.invest-step::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(124, 140, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.invest-step:hover::before {
  opacity: 1;
  animation: shine 1.5s ease-in-out;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.invest-step:hover {
  transform: translateY(-8px) scale(1.03);
  background: rgba(16, 23, 38, 0.95);
  border-color: rgba(124, 140, 255, 0.4);
  box-shadow:
    0 20px 50px rgba(124, 140, 255, 0.3),
    0 0 30px rgba(76, 201, 240, 0.2);
}

/* Категории кроликов с улучшенными эффектами */
#investment .grid > div[style*='padding: 20px'] {
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

#investment .grid > div[style*='padding: 20px']::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

#investment .grid > div[style*='padding: 20px']:hover::after {
  opacity: 1;
  animation: slideGlow 2s ease-in-out infinite;
}

@keyframes slideGlow {
  0%,
  100% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
}

#investment .grid > div[style*='padding: 20px']:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ==================== */
/* PARTNERSHIP IMPROVEMENTS */
/* ==================== */

.partners-grid .partner-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.partners-grid .partner-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(124, 140, 255, 0.2), transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.5s ease,
    height 0.5s ease;
}

.partners-grid .partner-card:hover::before {
  width: 300%;
  height: 300%;
}

.partners-grid .partner-card:hover {
  transform: translateY(-6px);
  background: rgba(18, 25, 40, 0.95);
  border-color: rgba(124, 140, 255, 0.35);
  box-shadow: 0 15px 40px rgba(124, 140, 255, 0.25);
}

.partners-grid .partner-card .badge {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.partners-grid .partner-card:hover .badge {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 4px 12px rgba(124, 140, 255, 0.4);
}

/* ==================== */
/* GUARANTEES IMPROVEMENTS */
/* ==================== */

#guarantees .card {
  position: relative;
  overflow: hidden;
}

#guarantees .card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.08) 0%, transparent 70%);
  animation: pulseGuarantee 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulseGuarantee {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.6;
  }
}

#guarantees .checklist li {
  transition: all 0.3s ease;
}

#guarantees .checklist li:hover {
  transform: translateX(8px);
  color: #4ade80;
}

#guarantees .checklist li::before {
  transition: all 0.3s ease;
}

#guarantees .checklist li:hover::before {
  background: rgba(74, 222, 128, 0.3);
  color: #4ade80;
  transform: scale(1.2) rotate(360deg);
  box-shadow: 0 0 15px rgba(74, 222, 128, 0.5);
}

/* ==================== */
/* FEATURES IMPROVEMENTS */
/* ==================== */

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 140, 255, 0.05), rgba(76, 201, 240, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(124, 140, 255, 0.4);
  box-shadow:
    0 20px 50px rgba(124, 140, 255, 0.2),
    0 0 30px rgba(76, 201, 240, 0.1);
}

.feature-card h3 {
  transition: all 0.3s ease;
}

.feature-card:hover h3 {
  background: linear-gradient(135deg, #7c8cff, #4cc9f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateX(8px);
}

/* ==================== */
/* INVESTORS IMPROVEMENTS */
/* ==================== */

.investors-grid .investor-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
}

.investors-grid .investor-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #7c8cff, #4cc9f0, #facc15);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
  animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.investors-grid .investor-card:hover::after {
  opacity: 1;
}

.investors-grid .investor-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 25px 60px rgba(124, 140, 255, 0.3),
    0 0 40px rgba(76, 201, 240, 0.2);
}

/* Анимация аватара */
.investor-avatar {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.investor-card:hover .investor-avatar {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(124, 140, 255, 0.5);
}

/* Кнопки связаться */
.contact-button {
  position: relative;
  overflow: hidden;
}

.contact-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.4s ease,
    height 0.4s ease;
}

.contact-button:hover::before {
  width: 200%;
  height: 200%;
}

/* ==================== */
/* DEVELOPMENT PLANS IMPROVEMENTS */
/* ==================== */

.timeline-item {
  position: relative;
}

.timeline-item h3 {
  transition: all 0.3s ease;
}

.timeline-item:hover h3 {
  background: linear-gradient(135deg, #7c8cff, #4cc9f0, #facc15);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==================== */
/* CONTACTS IMPROVEMENTS */
/* ==================== */

#contacts .card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

#contacts .card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 140, 255, 0.05), rgba(76, 201, 240, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
}

#contacts .card:hover::before {
  opacity: 1;
}

#contacts .card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(124, 140, 255, 0.4);
  box-shadow:
    0 20px 50px rgba(124, 140, 255, 0.25),
    0 0 30px rgba(76, 201, 240, 0.15);
}

#contacts .card h3 {
  transition: all 0.3s ease;
}

#contacts .card:hover h3 {
  transform: scale(1.05);
  color: #7c8cff;
}

/* ==================== */
/* FOOTER IMPROVEMENTS */
/* ==================== */

.footer {
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 140, 255, 0.5), transparent);
  animation: borderFlow 3s linear infinite;
}

@keyframes borderFlow {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Улучшенная кнопка "Наверх" */
.scroll-top-btn {
  position: fixed !important;
  bottom: 2rem !important;
  right: 2rem !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, rgba(124, 140, 255, 0.9), rgba(76, 201, 240, 0.9));
  border: 2px solid rgba(124, 140, 255, 0.3);
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(124, 140, 255, 0.3);
  backdrop-filter: blur(15px);
  z-index: 999;
  overflow: hidden;
}

.scroll-top-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.scroll-top-btn:hover::before {
  left: 100%;
}

.scroll-top-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 35px rgba(124, 140, 255, 0.4);
  border-color: rgba(124, 140, 255, 0.5);
}

.scroll-top-btn:active {
  transform: translateY(-2px) scale(0.98);
}

/* Footer ссылки с улучшенными эффектами */
.footer-nav a {
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  background: rgba(124, 140, 255, 0.03);
  border: 1px solid rgba(124, 140, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(124, 140, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.footer-nav a:hover::before {
  left: 100%;
}

.footer-nav a:hover {
  transform: translateX(8px) translateY(-2px);
  background: linear-gradient(135deg, rgba(124, 140, 255, 0.1), rgba(76, 201, 240, 0.05));
  border-color: rgba(124, 140, 255, 0.3);
  box-shadow: 0 8px 20px rgba(124, 140, 255, 0.15);
}

/* Footer соцсети с улучшенными эффектами */
.footer-social a {
  background: linear-gradient(135deg, rgba(124, 140, 255, 0.08), rgba(76, 201, 240, 0.08));
  border: 1px solid rgba(124, 140, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.footer-social a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.footer-social a:hover::before {
  left: 100%;
}

.footer-social a:hover {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(135deg, rgba(124, 140, 255, 0.18), rgba(76, 201, 240, 0.18));
  border-color: rgba(124, 140, 255, 0.4);
  box-shadow: 0 12px 30px rgba(124, 140, 255, 0.25);
}

/* ==================== */
/* BUTTON IMPROVEMENTS */
/* ==================== */

.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.5s ease,
    height 0.5s ease;
}

.btn:hover::before {
  width: 300%;
  height: 300%;
}

.btn-outline,
.btn-ghost {
  position: relative;
  overflow: hidden;
}

.btn-outline::after,
.btn-ghost::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(124, 140, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-outline:hover::after,
.btn-ghost:hover::after {
  left: 100%;
}

/* ==================== */
/* TABLE IMPROVEMENTS */
/* ==================== */

.table tbody tr {
  transition: all 0.3s ease;
}

.table tbody tr:hover {
  background: rgba(124, 140, 255, 0.08);
  transform: translateX(4px);
}

.table tbody tr:hover td {
  color: var(--color-text-primary);
}

/* ==================== */
/* ALERT IMPROVEMENTS */
/* ==================== */

.alert {
  position: relative;
  overflow: hidden;
}

.alert::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #facc15, #f59e0b);
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.5);
}

/* ==================== */
/* RESPONSIVE IMPROVEMENTS */
/* ==================== */

@media (max-width: 768px) {
  .animate-on-scroll,
  .animate-slide-left,
  .animate-slide-right,
  .animate-scale {
    transform: none;
    opacity: 1;
  }

  /* Упрощаем анимации на мобильных */
  #about .card:hover,
  .gallery-item:hover,
  .invest-step:hover,
  .feature-card:hover {
    transform: none;
  }

  /* Сохраняем только основные hover эффекты */
  #about .card:hover,
  .gallery-item:hover,
  .invest-step:hover {
    border-color: rgba(124, 140, 255, 0.4);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==================== */
/* ACCESSIBILITY */
/* ==================== */

@media (prefers-contrast: high) {
  .card,
  .feature-card,
  .invest-step,
  .partner-card,
  .investor-card {
    border-color: rgba(255, 255, 255, 0.5);
  }
}

/* Focus states */
.btn:focus-visible,
.footer-nav a:focus-visible,
.footer-social a:focus-visible {
  outline: 2px solid #7c8cff;
  outline-offset: 4px;
}
