/*
MIT License

Copyright (c) 2026 [vinds](https://y.vinds.top)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #1e293b;
    line-height: 1.5;
    transition: background-color 0.3s, color 0.3s;
}

body.dark {
    background-color: #1a1a2e;
    color: #e0e0e0;
}

.h {
    background: #0080ff;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dark .h {
    background: #0060c0;
}

.b {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.l {
    display: flex;
    align-items: center;
    gap: 12px;
}

.t {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

.c {
    display: flex;
    align-items: center;
    gap: 15px;
}

#s {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

#s:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.k {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 24px 60px;
}

.m {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
}

@media (max-width: 860px) {
    .m {
        grid-template-columns: 1fr;
    }
}

.w {
    background: white;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s, box-shadow 0.3s;
    border: 1px solid #eef2f8;
}

.dark .w {
    background: #2d3047;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    border-color: #3a3d5c;
}

.w:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.1);
}

.dark .w:hover {
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
}

.x {
    display: inline-block;
    font-size: 28px;
    font-weight: 700;
    color: #0088ff;
    text-decoration: none;
    margin-bottom: 14px;
    transition: color 0.2s;
    letter-spacing: -0.2px;
}

.x:hover {
    color: #0066cc;
    text-decoration: underline;
}

.dark .x {
    color: #4da6ff;
}

.dark .x:hover {
    color: #80bfff;
}

@media (max-width: 680px) {
    .b {
        padding: 14px 20px;
    }
    .t {
        font-size: 22px;
    }
    .w {
        padding: 24px 22px;
    }
    .x {
        font-size: 24px;
    }
}