/* Базовые стили */
body {
    scroll-behavior: smooth;
}

/* Сетчатый фон */
.grid-pattern {
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Волнообразный разделитель */
.wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(0deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

/* Карточки особенностей */
.feature-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(109, 40, 217, 0.2);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(109, 40, 217, 0.5);
    box-shadow: 0 10px 25px -5px rgba(109, 40, 217, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 20%, rgba(109, 40, 217, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(10deg) scale(1.1);
}

/* Стили для карточек команды */
.team-card {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(109, 40, 217, 0.2);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(109, 40, 217, 0.5);
    box-shadow: 0 10px 25px -5px rgba(109, 40, 217, 0.1);
}

.team-card-image img {
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.team-card:hover .team-card-image img {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(109, 40, 217, 0.3);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .team-card {
        padding: 20px;
    }
    
    .team-card-image img {
        width: 120px;
        height: 120px;
    }
}

/* Карточки голосования */
.vote-card {
    display: flex;
    align-items: center;
    background: rgba(30, 41, 59, 0.7);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(109, 40, 217, 0.1);
}

.vote-card:hover {
    transform: translateY(-3px);
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(109, 40, 217, 0.3);
    box-shadow: 0 5px 15px -3px rgba(109, 40, 217, 0.1);
}

.vote-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(109, 40, 217, 0.2);
    color: #6d28d9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.vote-card:hover .vote-card-icon {
    background: rgba(109, 40, 217, 0.3);
    transform: scale(1.1);
}

.vote-card-body {
    flex-grow: 1;
    text-align: left;
}

.vote-card-arrow {
    color: rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.vote-card:hover .vote-card-arrow {
    color: #6d28d9;
    transform: translateX(3px);
}

/* Навигационные ссылки */
.nav-link {
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Анимации */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-3000 {
    animation-delay: 3s;
}

/* Адаптивность */
@media (max-width: 768px) {
    .feature-card, .team-card {
        padding: 20px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}