/* Анимации и ключевые кадры */
@keyframes float {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.7), 0 0 30px rgba(255, 165, 0, 0.5);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    }
}

@keyframes hexFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Анимации элементов */
.header-content {
    animation: fadeInDown 1s ease-out;
}

.hero h1 {
    animation: glow 2s infinite alternate;
}

.hero p {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.telegram-btn {
    animation: pulse 2s infinite;
}

.hexagon {
    animation: hexFloat 6s infinite ease-in-out;
}

.hexagon:nth-child(2n) {
    animation-delay: 1s;
}

.hexagon:nth-child(3n) {
    animation-delay: 2s;
}

.hexagon:nth-child(4n) {
    animation-delay: 3s;
}