* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica', sans-serif;
    overflow: hidden;
    background: #000000; /* changed from #ffffff to #000000 */
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

/* Fallback for when video doesn't load */
.video-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: -2;
}

/* Scene Container */
.scene-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: grab;
    z-index: 1;
}

.scene-container:active {
    cursor: grabbing;
}

#three-canvas {
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
}

/* Configurator */
.configurator {
    position: fixed;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    top: 50%;
    left: 75px;
    right: auto;
    transform: translateY(-50%);
    max-width: 300px;
}

.configurator h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
    text-align: center;
}

.color-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.color-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.color-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.color-btn.active {
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.8), 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Mobile Layout */
@media (max-width: 690px) {
    .configurator {
        position: fixed;
        bottom: 75px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        max-width: 300px;
        padding: 15px;
        top: auto;
    }
    
    .configurator h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .color-buttons {
        flex-direction: row;
        gap: 8px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .color-btn {
        width: 35px;
        height: 35px;
    }
}

/* Loading State */
.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color:#000000;
    font-size: 18px;
    z-index: 10;
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .scene-container {
        cursor: default;
    }
} 

.top-left-text {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.85);
    padding: 24px 32px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    z-index: 10;
    max-width: 350px;
}
.top-left-text p {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: #222;
}
.top-left-text p strong {
    font-size: 1.2rem;
    color: #1a237e;
}
.styled-btn {
    background: linear-gradient(90deg, #8264ff 0%, #00bfd3 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    margin-right: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(130,100,255,0.08);
    transition: background 0.2s, transform 0.2s;
}
.styled-btn:hover {
    background: linear-gradient(90deg, #00bfd3 0%, #8264ff 100%);
    transform: translateY(-2px) scale(1.04);
}
@media (max-width: 690px) {
    .top-left-text {
        padding: 33px;
    }
} 