/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Основное тело страницы */
body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Чёрно-серый градиентный фон */
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
}

/* Контейнер для 3D сцены */
#scene-container {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Загрузочный экран */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    transition: opacity 0.5s ease;
}

#loading.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Текст загрузки */
.loading-text {
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    animation: pulse 2s ease-in-out infinite;
}

/* Анимация пульсации текста */
@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Адаптив для маленьких экранов */
@media (max-width: 480px) {
    .loading-text {
        font-size: 18px;
    }
}