* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a1128; 
    background-image: radial-gradient(circle at center, #1a2a6c 0%, #0a1128 70%);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.logo-container {
    width: 70%; 
    max-width: 600px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-shadow-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    
    filter: drop-shadow(0px 15px 25px rgba(0, 0, 0, 0.9)) 
            drop-shadow(0px 0px 40px rgba(255, 255, 255, 0.15));
    -webkit-filter: drop-shadow(0px 15px 25px rgba(0, 0, 0, 0.9)) 
                    drop-shadow(0px 0px 40px rgba(255, 255, 255, 0.15));
    
    opacity: 0; 
    transform: scale(0.85) translateY(30px) translate3d(0,0,0); 
    -webkit-transform: scale(0.85) translateY(30px) translate3d(0,0,0); 
    
    transition: opacity 2.5s ease-in-out, 
                transform 2.5s ease-in-out;
    -webkit-transition: opacity 2.5s ease-in-out, 
                        -webkit-transform 2.5s ease-in-out;
    
    will-change: transform, opacity;
}

.logo {
    width: 100%; 
    height: auto;
    max-width: 500px; 
    
    filter: blur(8px);
    -webkit-filter: blur(8px);
    
    transition: filter 2.5s ease-in-out;
    -webkit-transition: -webkit-filter 2.5s ease-in-out;
    
    animation: float 6s ease-in-out infinite;
    -webkit-animation: float 6s ease-in-out infinite;
}

.logo-shadow-wrapper.show {
    opacity: 1; 
    transform: scale(1) translateY(0) translate3d(0,0,0); 
    -webkit-transform: scale(1) translateY(0) translate3d(0,0,0); 
}

.logo-shadow-wrapper.show .logo {
    filter: blur(0px);
    -webkit-filter: blur(0px);
}

@keyframes float {
    0% { transform: translateY(0px) translate3d(0,0,0); }
    50% { transform: translateY(-15px) translate3d(0,0,0); } 
    100% { transform: translateY(0px) translate3d(0,0,0); }
}

@-webkit-keyframes float {
    0% { -webkit-transform: translateY(0px) translate3d(0,0,0); }
    50% { -webkit-transform: translateY(-15px) translate3d(0,0,0); } 
    100% { -webkit-transform: translateY(0px) translate3d(0,0,0); }
}

/* --- Стили для нижних ссылок --- */

.bottom-links {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 2s ease-in-out, transform 2s ease-in-out;
}

.bottom-links.show {
    opacity: 1;
    transform: translateY(0);
}

.link-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    font-family: Arial, sans-serif;
    transition: color 0.3s ease, transform 0.3s ease;
}

.link-item:hover {
    color: #ffffff;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: filter 0.3s ease;
}

.link-item:hover .icon {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8)); 
}

.separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 16px;
}

/* --- Адаптация для мобильных устройств --- */
@media (max-width: 500px) {
    .bottom-links {
        flex-direction: column; /* На узких экранах ссылки встанут в столбик */
        gap: 10px;
        bottom: 20px;
    }
    
    .separator {
        display: none; /* Убираем разделители в столбике */
    }
    
    .logo-container {
        width: 85%; /* Логотип чуть больше на телефонах */
    }
}