* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.container {
    text-align: center;
    padding: 2rem;
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 2;
}




.main-title {
    font-size: clamp(1.2rem, 4vw, 2.5rem);
    font-weight: 300;
    letter-spacing: -0.01em;
    line-height: 1;
    margin-bottom: 2rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.1em;
}

.static-text {
    opacity: 0.9;
    letter-spacing: 0.03em;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4), 
                 0 0 16px rgba(255, 255, 255, 0.2);
    align-self: center; /* Выравнивание по вертикали */
}

.animated-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 400;
    transition: all 0.8s ease;
    opacity: 1;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4),
                 0 0 16px rgba(255, 255, 255, 0.2);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-width: 1.2em; /* Минимальная ширина для центрирования */
    position: relative;
}

/* Анимация свечения */
@keyframes textGlow {
    0% {
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.4),
                     0 0 16px rgba(255, 255, 255, 0.2);
    }
    50% {
        text-shadow: 0 0 4px rgba(255, 255, 255, 0.2),
                     0 0 8px rgba(255, 255, 255, 0.1);
    }
    100% {
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.4),
                     0 0 16px rgba(255, 255, 255, 0.2);
    }
}

.animated-text.glow {
    animation: textGlow 2s ease-in-out;
}

























.footer {
    position: fixed;
    bottom: 2rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.telegram-link:hover {
    color: #0088cc;
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    text-shadow: 0 0 8px rgba(0, 136, 204, 0.4);
}

.telegram-link i {
    font-size: 1.1rem;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .main-title {
        margin-bottom: 1.5rem;
        font-size: clamp(2rem, 8vw, 3rem);
        white-space: normal;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .animated-text {
        margin: 0 -0.03em;
    }
    
    .footer {
        bottom: 1.5rem;
    }
    
    .telegram-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        width: 85%;
    }
    
    .animated-text {
        margin: 0 -0.02em;
    }
    
    .telegram-link span {
        display: none;
    }
    
    .telegram-link i {
        font-size: 1.5rem;
    }
}