/* Winter background and optional snowfall */
html,
body {
    background-color: #0b1725 !important;
    background-image:
        radial-gradient(ellipse 44% 48% at 92% 13%, rgba(29, 94, 113, 0.42), transparent 72%),
        radial-gradient(ellipse 42% 52% at 7% 91%, rgba(54, 48, 122, 0.5), transparent 72%),
        linear-gradient(135deg, #0d1a29 0%, #0c1a2a 52%, #0d1b29 100%) !important;
    background-attachment: fixed;
}

#app {
    position: relative;
    z-index: 2;
}

#wot-snow-canvas {
    position: fixed;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#wot-snow-toggle {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 10000;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid rgba(173, 207, 235, 0.2);
    border-radius: 999px;
    background: rgba(12, 27, 43, 0.86);
    color: #e8f5ff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    font: 500 13px/1 Montserrat, sans-serif;
    cursor: pointer;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

#wot-snow-toggle:hover {
    transform: translateY(-2px);
    border-color: rgba(173, 207, 235, 0.42);
    background: rgba(20, 42, 63, 0.94);
}

#wot-snow-toggle:focus-visible {
    outline: 2px solid #85d8ff;
    outline-offset: 3px;
}

#wot-snow-toggle .snow-icon {
    color: #9edfff;
    font-size: 17px;
}

#wot-snow-toggle[aria-pressed="false"] .snow-icon {
    opacity: 0.55;
}

@media (max-width: 600px) {
    #wot-snow-toggle {
        right: 12px;
        bottom: 12px;
        min-height: 40px;
        padding: 0 12px;
    }
}
