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

body {
    background-color: #1a1208;
    overflow: hidden;
    font-family: 'Microsoft YaHei', 'SimHei', sans-serif;
}

.container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#canvas {
    display: block;
    background: linear-gradient(to bottom, 
        #0d0804 0%, 
        #1a1208 30%, 
        #2a1f12 70%, 
        #1a1208 100%
    );
}

.title-overlay {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #c9a961;
    text-shadow: 0 0 10px rgba(201, 169, 97, 0.5),
                 0 0 20px rgba(201, 169, 97, 0.3);
    opacity: 0;
    animation: fadeIn 3s ease-in-out forwards;
    animation-delay: 2s;
    pointer-events: none;
}

.title-overlay h1 {
    font-size: 2.5rem;
    letter-spacing: 0.3em;
    margin-bottom: 10px;
}

.title-overlay p {
    font-size: 1.2rem;
    letter-spacing: 0.5em;
    color: #8b7355;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Loading animation */
.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #5f7a61;
    font-size: 1.2rem;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}
