/* Kamos Yosakoi Festival 3D Styles */
:root {
    --yosakoi-primary: #10b981;
    --yosakoi-secondary: #f0e6fa;
    --yosakoi-accent: #f59e0b;
    --yosakoi-dark: #060913;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #060913 !important;
    color: #f8fafc !important;
    font-family: 'Noto Sans JP', 'Outfit', sans-serif;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    background-color: #060913;
    outline: none;
    overflow: hidden;
}

#yosakoi-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    display: block !important;
    outline: none;
}

#loading-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #1e293b 0%, #060913 100%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

#loading-overlay.hidden-overlay {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Glassmorphic UI Panel */
.yosakoi-hud-panel {
    background: rgba(15, 23, 42, 0.88) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.yosakoi-btn {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    cursor: pointer;
}

.yosakoi-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.4);
    border-color: rgba(16, 185, 129, 0.6);
}

.yosakoi-btn.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border-color: #34d399 !important;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5) !important;
}

/* Pulse animation */
@keyframes pulse-glow {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.animate-pulse-glow {
    animation: pulse-glow 2s infinite ease-in-out;
}

/* Global Footer Integration */
#kamos-common-footer {
    position: relative;
    z-index: 20;
    background: rgba(6, 9, 19, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 4rem;
    padding-bottom: 2rem;
}

