/* Winter preview for index2.php only. */
:root {
    color-scheme: light;
    --ink: #303e48;
    --muted: #6b7b85;
    --shadow: 0 16px 38px rgba(37, 61, 77, .12);
}
body {
    color: #303e48;
    background:
        radial-gradient(ellipse at 50% 0, rgba(255,255,255,.92), transparent 65%),
        radial-gradient(ellipse at 0 45%, rgba(166,192,209,.28), transparent 45%),
        #dce5eb;
}
.page { color: #303e48; }
.header-wrap {
    border-bottom-color: #b7c8d2;
    background: linear-gradient(180deg, #536977, #354b5a);
    box-shadow: 0 6px 24px rgba(25,49,65,.2);
}
.menu a { color: #e2ebef; }
.menu a:hover { color: #fff; background: rgba(235,247,255,.1); }
.menu .register {
    border-color: #d3c5a5;
    color: #55452d;
    background: linear-gradient(#f4ecd8, #d6c39b);
}
.online { color: #d2e0e8; }
.online strong { color: #fff1cd; }
.online::before { background: #bad1b2; box-shadow: 0 0 0 4px rgba(186,209,178,.1), 0 0 12px rgba(186,209,178,.35); }
.hero {
    border-color: #b0c2cf;
    background-color: #5a7385;
    background-image: url('/i/main/hero-arena-winter-2026.webp');
    box-shadow: 0 18px 45px rgba(37,61,77,.2), inset 0 2px 0 rgba(255,255,255,.8), inset 0 0 0 4px rgba(238,247,253,.12);
}
.hero::before {
    background: linear-gradient(90deg,rgba(16,34,48,.67),rgba(22,41,57,.08) 57%,rgba(27,44,58,.12)),
        linear-gradient(0deg,rgba(20,36,49,.46),transparent 65%);
}
.hero::after {
    position: absolute;
    z-index: 3;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 2px 1px rgba(255,255,255,.85), inset 0 0 18px rgba(213,236,250,.16);
    pointer-events: none;
    content: '';
}
.hero-copy, .login { position: relative; z-index: 1; }
.hero-copy { color: #fffdf7; }
.hero h1 { text-shadow: 0 3px 18px rgba(9,24,37,.6); }
.hero-kicker { color: #e8d1a2; }
.hero-copy p { color: #e4edf3; text-shadow: 0 2px 8px rgba(9,24,37,.65); }
.hero-tags span { border-color: rgba(211,229,240,.42); color: #edf5f9; background: rgba(29,48,62,.42); }
.login {
    border-color: rgba(197,218,231,.7);
    color: #eef4f7;
    background: linear-gradient(145deg,rgba(75,99,116,.95),rgba(37,58,74,.97));
    box-shadow: 0 18px 38px rgba(14,32,46,.3), inset 0 1px rgba(255,255,255,.22);
}
.field input { border-color: #b9c9d4; color: #303e48; background: #f0f4f6; box-shadow: inset 0 2px 5px rgba(37,61,77,.08); }
.field input::placeholder { color: #7d8c96; }
.field input:focus { border-color: #e3c991; box-shadow: 0 0 0 3px rgba(227,201,145,.18); }
.login-button { border-color: #c5aa70; color: #493a25; background: linear-gradient(#f5e5bb,#cfb178); box-shadow: inset 0 1px rgba(255,255,255,.65),0 3px 8px rgba(14,32,46,.16); }
.create { border-color: rgba(213,229,240,.32); color: #e3ecf2; }
.create:hover { color: #fff1cd; background: rgba(213,229,240,.08); }
.stats { border-color: #b9cbd6; background: linear-gradient(#f8fbfd,#dfe9ef); box-shadow: var(--shadow),inset 0 2px #fff; }
.stat + .stat::before { background: #bccdd7; }
.stat strong { color: #405e73; }
.stat span { color: #6e8290; }
.pulse { background-image: linear-gradient(90deg,#bdcfda,#f8fcff,#bdcfda); }
.card { border-color: #b8cad5; background: linear-gradient(145deg,#f6f9fb,#e3ebf0); box-shadow: var(--shadow); }
.card-head { border-bottom-color: #738d9f; color: #f5f8fa; background: linear-gradient(#627f92,#456175); box-shadow: inset 0 1px rgba(255,255,255,.45); }
.card-head span { color: #d1e0e8; }
.event { border-left-color: #8ca9ba; background: rgba(255,255,255,.65); }
.event-time { color: #677f90; }
.event-title { color: #3d5261; }
.news-item { border-color: #c6d5df; background: rgba(255,255,255,.58); }
.news-meta { color: #7b909f; }
.new { color: #fff; background: #526f84; }
.news-title { color: #3d5d75; }
.news-title:hover { color: #1d405c; }
.news-text { color: #657883; }
.news-text.collapsed::after { background: linear-gradient(transparent,#edf3f7); }
.more { color: #536f82; border-color: #b9cbd7; background: rgba(255,255,255,.5); }
.more:hover { background: #fff; }
.empty { border-color: #c1d0da; color: #748a98; }
.events { scrollbar-color: #92aabb #e3ecf2; }
.news::-webkit-scrollbar-track,.events::-webkit-scrollbar-track { background: #e3ecf2; }
.news::-webkit-scrollbar-thumb,.events::-webkit-scrollbar-thumb { border-color: #e3ecf2; background: #92aabb; }
.footer { border-top-color: #b9cbd7; color: #607989; }
.footer .footer-legal,.footer .footer-copy { color: #526b7b; }
.footer a { color: #4b6679; }
.footer a:hover { color: #28485f; }
.winter-snow { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.winter-snow i {
    position: absolute;
    top: -12px;
    left: var(--x);
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    opacity: 0;
    background: #edf7ff;
    animation: winter-fall var(--speed) var(--delay) linear infinite;
}
@keyframes winter-fall {
    0% { opacity: 0; transform: translate3d(0,0,0); }
    12%,80% { opacity: var(--opacity); }
    100% { opacity: 0; transform: translate3d(45px,440px,0); }
}
@media (max-width:680px) {
    .stat:nth-child(n+3) { border-top-color: #c3d3de; }
    .winter-snow i:nth-child(2n) { display:none; }
}
@media (prefers-reduced-motion:reduce) {
    .winter-snow { display:none; }
    .pulse { animation:none; }
}

/* Small controls and route notice follow the winter palette too. */
.menu .register {
    border-color: #c5d7e3;
    color: #304c60;
    background: linear-gradient(#f4f9fc, #c4d6e3);
    box-shadow: inset 0 1px rgba(255,255,255,.9), 0 2px 6px rgba(18,39,54,.12);
}
.menu .register:hover { color: #213e54; background: linear-gradient(#fff, #d2e3ed); }
.online strong { color: #edf7ff; }
.online::before { background: #bad8e9; box-shadow: 0 0 0 4px rgba(186,216,233,.1),0 0 12px rgba(186,216,233,.35); }
.route-notice {
    border-color: #b6cbd9;
    color: #344c5e;
    background: linear-gradient(145deg,#f3f8fc,#dbe6ee);
    box-shadow: 0 18px 48px rgba(31,56,75,.22),inset 0 1px rgba(255,255,255,.85);
}
.route-notice-icon {
    border-color: #8daabd;
    color: #f7fbff;
    background: linear-gradient(#6f8da2,#456175);
}
.route-notice strong { color: #355368; }
.route-notice p { color: #667e8e; }
.route-notice-button {
    border-color: #b0c5d3;
    color: #3d5a6e;
    background: linear-gradient(#f5f9fc,#d0dfe9);
}
.route-notice-button.is-primary { border-color: #48697f; color: #f4f9fc; background: linear-gradient(#69899e,#456175); }

.login-button { border-color: #9db8cb; color: #2e4b60; background: linear-gradient(#f3f9fd, #b9d1e1); box-shadow: inset 0 1px rgba(255,255,255,.9),0 3px 8px rgba(14,32,46,.16); }
.login-button:hover { background: linear-gradient(#ffffff, #cce2f0); filter: none; }
.login-button:active { background: linear-gradient(#b3cddd, #e4f0f8); box-shadow: inset 0 2px 4px rgba(39,70,91,.18); }
