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

body {
    overflow: hidden;
    background-color: #000;
    font-family: 'Georgia', serif;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#christmas-title {
    position: fixed;
    top: 30px;
    width: 100%;
    text-align: center;
    font-size: 48px;
    font-weight: 300;
    color: #ffd700;
    text-shadow:
        0 0 10px #ffeb3b,
        0 0 20px #ffd700,
        0 0 30px #ffaa00,
        0 0 40px #ff8800,
        0 0 60px #ff8800;
    letter-spacing: 12px;
    z-index: 10;
    pointer-events: none;
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {

    0%,
    100% {
        text-shadow:
            0 0 10px #ffeb3b,
            0 0 20px #ffd700,
            0 0 30px #ffaa00,
            0 0 40px #ff8800,
            0 0 60px #ff8800;
    }

    50% {
        text-shadow:
            0 0 15px #ffeb3b,
            0 0 30px #ffd700,
            0 0 45px #ffaa00,
            0 0 60px #ff8800,
            0 0 90px #ff8800,
            0 0 100px #ff6600;
    }
}

/* Debug Panel */
#debug-panel {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 25px 15px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.debug-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #ffd700;
    background: linear-gradient(135deg, rgba(255, 180, 50, 0.2), rgba(255, 120, 50, 0.2));
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.5));
}

.debug-btn:hover {
    background: linear-gradient(135deg, rgba(255, 180, 50, 0.4), rgba(255, 120, 50, 0.4));
    box-shadow: 0 0 20px rgba(255, 180, 50, 0.5);
    transform: translateY(-2px);
}

.debug-btn:active {
    transform: translateY(0);
}

.debug-btn.active {
    background: linear-gradient(135deg, rgba(255, 180, 50, 0.6), rgba(255, 120, 50, 0.6));
    box-shadow: 0 0 25px rgba(255, 180, 50, 0.7);
}

/* Gesture Debug Indicator */
/* Gesture Debug Indicator */
#gesture-debug {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 100;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, border-color 0.3s ease;
}

#skeleton-canvas {
    width: 160px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

#gesture-debug.visible {
    opacity: 1;
}

#gesture-debug.active {
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.8);
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
    transform: scale(1.05);
}

/* Mute Button */
.mute-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 100;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.3);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    color: #ffd700;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mute-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    transform: scale(1.1);
}

.mute-btn.muted {
    color: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.photo-viewer {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 90;
    width: 100%;
    height: 180px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    border-top: 2px solid #ffd700;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
    padding: 20px;
    transition: all 0.6s ease;
    transform-origin: bottom center;
}

.photo-viewer.hidden {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}

.photo-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.3);
    background: rgba(0, 0, 0, 0.6);
    color: #ffd700;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-close:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: scale(1.1);
}

.photo-container {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.photo-info {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
}

#photo-name {
    color: #ffd700;
    font-size: 14px;
    font-weight: 600;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#photo-counter {
    color: rgba(255, 215, 0, 0.7);
    font-size: 13px;
    background: rgba(255, 215, 0, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
}

.flying-photo {
    position: fixed;
    z-index: 1000;
    pointer-events: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}