/* Кнопка перемикання снігу */
.snow-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10001;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.snow-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.snow-toggle.active {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    animation: snowflake-spin 3s linear infinite;
}

@keyframes snowflake-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.snow-toggle svg {
    width: 28px;
    height: 28px;
}

/* Canvas для снігу */
#snow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Canvas для накопичення снігу */
#snow-pile-canvas {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    pointer-events: none;
    z-index: 9998;
}

/* Індикатор підказки */
.snow-hint {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    z-index: 10002;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.snow-hint.show {
    opacity: 1;
}
