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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Logo */
.logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.logo {
    max-width: 600px;
    width: 100%;
    height: auto;
}

/* 3D Model Container */
.model-container {
    width: 100%;
    max-width: 800px;
    height: 500px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Loading Spinner */
.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 107, 107, 0.2);
    border-top: 4px solid #ff6b6b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

#canvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: grab;
    margin: 0 auto;
}

#canvas:active {
    cursor: grabbing;
}

/* Audio Player */
.audio-player {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 50%, #c44569 100%);
    color: white;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
    font-family: Arial, sans-serif;
    line-height: 1;
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.6);
}

.play-btn:active {
    transform: scale(0.95);
}

/* Signature */
.signature {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10;
}

.signature-img {
    max-width: 150px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.signature-img:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .logo {
        max-width: 400px;
    }

    .model-container {
        width: calc(100vw - 40px);
        max-width: 100%;
        height: 400px;
        margin: 0 auto;
    }

    .play-btn {
        width: 70px;
        height: 70px;
    }

    .signature {
        bottom: 20px;
        right: 20px;
    }

    .signature-img {
        max-width: 100px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
        gap: 20px;
    }

    .logo {
        max-width: 90%;
    }

    .model-container {
        width: calc(100vw - 40px);
        height: 300px;
        margin: 0 auto;
    }

    .audio-player {
        padding: 15px;
    }

    .play-btn {
        width: 60px;
        height: 60px;
    }

    .signature {
        bottom: 15px;
        right: 15px;
    }

    .signature-img {
        max-width: 80px;
    }
}
