/**
 * Скелетон сферы - современный минималистичный дизайн
 * 
 * Показывается пока сфера не загрузилась
 * Использует плавную пульсацию вместо вращения
 */

/* Скелетон сферы - контейнер */
.sphere-skeleton {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15; /* Ниже реальной сферы, но выше фона */
    pointer-events: none;
}

/* Основной круг скелетона - градиентный с плавной пульсацией (серые оттенки как у сферы) */
.sphere-skeleton-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 40%, transparent 70%);
    position: relative;
    animation: sphereSkeletonGlow 2s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.05), inset 0 0 20px rgba(255, 255, 255, 0.02);
}

/* Внешнее свечение (серые оттенки) */
.sphere-skeleton-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    animation: sphereSkeletonOuterGlow 2.5s ease-in-out infinite;
}

/* Анимация основного свечения (серые оттенки) */
@keyframes sphereSkeletonGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

/* Анимация внешнего свечения (серые оттенки) */
@keyframes sphereSkeletonOuterGlow {
    0%, 100% {
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1.08);
    }
}

/* Скрытие скелетона когда сфера готова */
.sphere-skeleton-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

/* Показ скелетона */
.sphere-skeleton-visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-in;
}

/* Адаптивность для мобильных */
@media (max-width: 800px) {
    .sphere-skeleton {
        width: 100%;
        height: 100%;
        max-width: 500px;
        max-height: 500px;
    }
    
    .sphere-skeleton-circle {
        width: 140px;
        height: 140px;
    }
    
    .sphere-skeleton-circle::after {
        width: 180px;
        height: 180px;
    }
}
