
    /* =========================================================
       VARIABLES
       ========================================================= */

    :root {
        --bg-color: #0d1117;
        --card-bg: #161b22;

        --accent-color: #2f81f7;
        --accent-green: #2ea043;

        --text-main: #c9d1d9;
        --text-muted: #8b949e;

        --border-color: #30363d;
        --green-border: #2ea043;

        --green-light: #56d364;
    }


    /* =========================================================
       RESET
       ========================================================= */

    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }


    /* =========================================================
       BODY
       ========================================================= */

    body {
        font-family:
            -apple-system,
            BlinkMacSystemFont,
            "Segoe UI",
            Roboto,
            Helvetica,
            Arial,
            sans-serif;

        background-color: var(--bg-color);

        color: var(--text-main);

        line-height: 1.6;

        display: flex;
        flex-direction: column;

        min-height: 100vh;

        justify-content: center;
        align-items: center;

        padding: 10px 20px;
    }


    /* =========================================================
       MAIN CONTAINER
       ========================================================= */

    .container {
        max-width: 984px;
        width: 100%;

        background: var(--card-bg);

        border:
            1px solid var(--border-color);

        border-radius: 16px;

        padding:
            10px 45px 25px;

        text-align: center;

        box-shadow:
            0 8px 24px rgba(0, 0, 0, 0.5);
    }


    /* =========================================================
       SERVER STATISTICS LINK
       ========================================================= */

    .server-statistics {
        display: block;

        width: fit-content;

        margin-left: auto;
        margin-bottom: 8px;

        padding: 6px 12px;

        color: var(--text-muted);

        border:
            1px solid var(--border-color);

        border-radius: 7px;

        font-size: 0.85rem;

        font-weight: 500;

        text-decoration: none;

        transition:
            color 0.2s ease,
            border-color 0.2s ease,
            background-color 0.2s ease;
    }


    .server-statistics:hover {
        color: var(--green-light);

        border-color:
            rgba(46, 160, 67, 0.65);

        background:
            rgba(46, 160, 67, 0.08);

        text-decoration: none;
    }


    /* =========================================================
       LOGO
       ========================================================= */

    .logo {
        font-size: 3rem;

        font-weight: 800;

        background:
            linear-gradient(
                45deg,
                #58a6ff,
                #2ea043
            );

        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;

        margin-bottom: 6px;

        letter-spacing: -1px;
    }


    /* =========================================================
       STATUS BADGE
       ========================================================= */

    .badge {
        display: inline-flex;

        align-items: center;
        justify-content: center;

        gap: 8px;

        background:
            rgba(46, 160, 67, 0.15);

        color: var(--green-light);

        border:
            1px solid rgba(46, 160, 67, 0.4);

        padding: 4px 12px;

        border-radius: 20px;

        font-size: 0.85rem;

        font-weight: 600;

        margin-bottom: 18px;

        text-transform: uppercase;
    }


    .status-dot {
        width: 8px;
        height: 8px;

        border-radius: 50%;

        background: #2ea043;

        box-shadow:
            0 0 7px rgba(46, 160, 67, 0.8);

        flex-shrink: 0;
    }


    /* =========================================================
       HEADINGS
       ========================================================= */

    h2 {
        font-size: 1.6rem;

        font-weight: 600;

        margin-bottom: 10px;

        color: #fff;
    }


    p.subtitle {
        color: var(--text-muted);

        font-size: 1.1rem;

        margin-bottom: 25px;
    }


    /* =========================================================
       FEATURES
       ========================================================= */

    .features {
        display: grid;

        grid-template-columns:
            1fr 1fr;

        gap: 15px;

        margin-bottom: 30px;

        text-align: left;
    }


    .feature-item {
        background:
            rgba(255, 255, 255, 0.03);

        border:
            1px solid var(--border-color);

        padding: 15px;

        border-radius: 10px;

        font-size: 0.95rem;
    }


    .feature-item strong {
        color: #fff;

        display: block;

        margin-bottom: 3px;
    }


    /* =========================================================
       DNS TABLE
       ========================================================= */

    .dns-table-wrap {
        margin:
            25px 0 15px;

        overflow-x: auto;

        -webkit-overflow-scrolling: touch;
    }


    .dns-table {
        width: 100%;

        border-collapse: collapse;

        font-size: 0.95rem;

        text-align: left;

        min-width: 600px;
    }


    .dns-table th {
        background:
            rgba(46, 160, 67, 0.05);

        color: var(--text-muted);

        font-weight: 600;

        font-size: 0.75rem;

        text-transform: uppercase;

        letter-spacing: 0.5px;

        padding: 12px 16px;

        border-bottom:
            1px solid var(--green-border);
    }


    .dns-table td {
        padding: 12px 16px;

        border-bottom:
            1px solid rgba(46, 160, 67, 0.12);

        vertical-align: middle;
    }


    .dns-table tr:last-child td {
        border-bottom: none;
    }


    .dns-table tr:hover {
        background:
            rgba(46, 160, 67, 0.04);
    }


    .dns-table .type {
        font-weight: 600;

        font-size: 0.85rem;

        color: var(--text-main);

        white-space: nowrap;

        border-right:
            1px solid rgba(46, 160, 67, 0.12);
    }


    .dns-table .type .dot {
        display: inline-block;

        width: 8px;
        height: 8px;

        border-radius: 50%;

        background:
            var(--green-border);

        margin-right: 10px;
    }


    .dns-table .value {
        font-family:
            "SFMono-Regular",
            Consolas,
            "Liberation Mono",
            Menlo,
            monospace;

        font-size: 0.9rem;

        color: #fff;

        word-break: break-all;

        border-right:
            1px solid rgba(46, 160, 67, 0.12);
    }


    .dns-table .desc {
        color: var(--text-muted);

        font-size: 0.9rem;

        border-right:
            1px solid rgba(46, 160, 67, 0.12);
    }


    .dns-table .desc strong {
        color: var(--text-main);
    }


    /* =========================================================
       COPY BUTTON
       ========================================================= */

    .dns-table .copy-btn {
        background: transparent;

        color: var(--text-muted);

        border:
            1px solid rgba(46, 160, 67, 0.3);

        padding:
            4px 14px;

        border-radius: 6px;

        font-size: 0.75rem;

        font-weight: 500;

        cursor: pointer;

        transition:
            all 0.2s ease;

        white-space: nowrap;
    }


    .dns-table .copy-btn:hover {
        background:
            var(--accent-green);

        color: #fff;

        border-color:
            var(--accent-green);
    }


    .dns-table .copy-btn.copied {
        background:
            var(--accent-green);

        color: #fff;

        border-color:
            var(--accent-green);
    }


    /* =========================================================
       ABOUT SUPER-DNS
       ========================================================= */

    .about-section {
        margin-top: 35px;

        padding: 20px;

        text-align: left;

        background:
            rgba(255, 255, 255, 0.025);

        border:
            1px solid var(--border-color);

        border-radius: 10px;

        transition:
            border-color 0.2s ease,
            box-shadow 0.2s ease;
    }


    .about-section:hover {
        border-color:
            rgba(46, 160, 67, 0.65);

        box-shadow:
            0 0 0 1px rgba(46, 160, 67, 0.12);
    }


    .about-section p {
        color: var(--text-muted);

        font-size: 0.95rem;

        line-height: 1.7;

        margin-bottom: 18px;
    }


    .about-section p strong {
        color: #fff;
    }


    .benefits-list {
        list-style: none;

        display: flex;
        flex-direction: column;

        gap: 12px;
    }


    .benefits-list li {
        position: relative;

        padding-left: 28px;

        color: var(--text-muted);

        font-size: 0.92rem;

        line-height: 1.6;
    }


    .benefits-list li::before {
        content: "✔";

        position: absolute;

        left: 0;

        top: 1px;

        color: var(--green-light);

        font-weight: 700;
    }


    .benefits-list strong {
        color: var(--text-main);
    }


    /* =========================================================
       FILTERS SECTION
       ========================================================= */

    .filters-section {
        margin-top: 45px;

        text-align: left;
    }


    .section-title {
        color: #fff;

        font-size: 1.35rem;

        font-weight: 600;

        margin-bottom: 8px;

        text-align: center;
    }


    .section-subtitle {
        color: var(--text-muted);

        font-size: 0.95rem;

        text-align: center;

        margin-bottom: 22px;
    }


    .filters-list {
        display: grid;

        grid-template-columns:
            1fr 1fr;

        gap: 12px;
    }


    .filter-item {
        background:
            rgba(255, 255, 255, 0.025);

        border:
            1px solid var(--border-color);

        border-radius: 10px;

        padding:
            14px 16px;

        transition:
            border-color 0.2s ease,
            box-shadow 0.2s ease;
    }


    .filter-item:hover {
        border-color:
            rgba(46, 160, 67, 0.65);

        box-shadow:
            0 0 0 1px rgba(46, 160, 67, 0.12);
    }


    .filter-name {
        display: inline-block;

        color: #fff;

        font-weight: 600;

        font-size: 0.95rem;

        padding-bottom: 3px;

        border-bottom:
            1px solid rgba(46, 160, 67, 0.65);

        margin-bottom: 7px;
    }


    .filter-description {
        color: var(--text-muted);

        font-size: 0.85rem;

        line-height: 1.5;
    }


    /* =========================================================
       REGIONAL FILTERS
       ========================================================= */

    .regional-filters {
        grid-column: 1 / -1;

        background:
            rgba(255, 255, 255, 0.025);

        border:
            1px solid var(--border-color);

        border-radius: 10px;

        padding:
            14px 16px;

        transition:
            border-color 0.2s ease,
            box-shadow 0.2s ease;
    }


    .regional-filters:hover {
        border-color:
            rgba(46, 160, 67, 0.65);

        box-shadow:
            0 0 0 1px rgba(46, 160, 67, 0.12);
    }


    .regional-title {
        color: #fff;

        font-weight: 600;

        font-size: 0.95rem;

        margin-bottom: 12px;

        padding-bottom: 3px;

        display: inline-block;

        border-bottom:
            1px solid rgba(46, 160, 67, 0.65);
    }


    .regional-grid {
        display: grid;

        grid-template-columns:
            1fr 1fr;

        gap:
            10px 18px;
    }


    .regional-item {
        padding:
            5px 0;
    }


    .regional-item .filter-name {
        margin-bottom: 5px;
    }


    .regional-item .filter-description {
        font-size: 0.82rem;
    }


    /* =========================================================
       FAQ
       ========================================================= */

    .faq-section {
        margin-top: 45px;

        text-align: left;
    }


    .faq {
        display: flex;

        flex-direction: column;

        gap: 10px;
    }


    .faq-item {
        background:
            rgba(255, 255, 255, 0.025);

        border:
            1px solid var(--border-color);

        border-radius: 10px;

        overflow: hidden;
    }


    .faq-item summary {
        cursor: pointer;

        padding:
            15px 18px;

        color: #fff;

        font-weight: 600;

        list-style: none;

        position: relative;

        padding-right: 45px;
    }


    .faq-item summary::-webkit-details-marker {
        display: none;
    }


    .faq-item summary::after {
        content: "+";

        position: absolute;

        right: 18px;

        top: 50%;

        transform:
            translateY(-50%);

        color: var(--green-light);

        font-size: 1.3rem;

        font-weight: 400;
    }


    .faq-item[open] summary::after {
        content: "−";
    }


    .faq-answer {
        padding:
            0 18px 16px;

        color: var(--text-muted);

        font-size: 0.9rem;

        line-height: 1.6;
    }


    /* =========================================================
       FOOTER
       ========================================================= */

    footer {
        margin-top: 20px;

        font-size: 0.85rem;

        color: var(--text-muted);

        text-align: center;
    }


    /* =========================================================
       LINKS
       ========================================================= */

    a {
        color: var(--text-muted);

        text-decoration: none;

        transition:
            color 0.2s ease;
    }


    a:hover {
        color: var(--green-light);

        text-decoration: underline;
    }


    /* =========================================================
       MOBILE
       ========================================================= */

    @media (max-width: 700px) {

        body {
            padding: 5px 10px;

            justify-content: flex-start;
        }


        .container {
            padding:
                10px 12px 20px;

            border-radius: 12px;
        }


        .server-statistics {
            font-size: 0.78rem;

            padding:
                5px 10px;

            margin-bottom: 6px;
        }


        .logo {
            font-size: 2.2rem;
        }


        h2 {
            font-size: 1.2rem;
        }


        p.subtitle {
            font-size: 0.95rem;

            margin-bottom: 20px;
        }


        .features {
            grid-template-columns: 1fr;

            gap: 10px;

            margin-bottom: 25px;
        }


        .feature-item {
            padding: 12px;

            font-size: 0.85rem;
        }


        /* ABOUT MOBILE */

        .about-section {
            margin-top: 30px;

            padding:
                15px 14px;
        }


        .about-section p {
            font-size: 0.88rem;

            margin-bottom: 15px;

            line-height: 1.65;
        }


        .benefits-list {
            gap: 10px;
        }


        .benefits-list li {
            padding-left: 25px;

            font-size: 0.84rem;
        }


        /* -------------------------
           TABLE MOBILE
           ------------------------- */

        .dns-table {
            min-width: auto;

            display: block;
        }


        .dns-table thead {
            display: none;
        }


        .dns-table tbody {
            display: block;
        }


        .dns-table tr {
            display: block;

            border-bottom:
                1px solid var(--green-border);

            padding:
                13px 4px;
        }


        .dns-table tr:last-child {
            border-bottom: none;
        }


        .dns-table td {
            display: flex;

            align-items: flex-start;

            padding:
                4px 0;

            border: none;

            width: 100%;
        }


        .dns-table .type {
            border: none;

            font-size: 0.8rem;

            font-weight: 700;

            color: var(--text-muted);

            min-width: 75px;

            flex-shrink: 0;
        }


        .dns-table .type .dot {
            display: none;
        }


        .dns-table .value {
            border: none;

            font-size: 0.82rem;

            flex: 1;

            word-break: break-all;

            color: #fff;
        }


        .dns-table .desc {
            border: none;

            display: block;

            width: 100%;

            padding-left: 75px;

            font-size: 0.8rem;

            color: var(--text-muted);

            line-height: 1.5;
        }


        .dns-table td:last-child {
            justify-content: flex-end;

            padding-top: 9px;

            padding-bottom: 2px;
        }


        .dns-table .copy-btn {
            font-size: 0.7rem;

            padding:
                6px 14px;

            margin-left: 0;

            flex-shrink: 0;
        }


        .dns-table tr:hover {
            background: transparent;
        }


        /* -------------------------
           FILTERS MOBILE
           ------------------------- */

        .filters-section {
            margin-top: 35px;
        }


        .filters-list {
            grid-template-columns: 1fr;

            gap: 10px;
        }


        .filter-item {
            padding:
                13px 14px;
        }


        .filter-name {
            font-size: 0.9rem;
        }


        .filter-description {
            font-size: 0.82rem;
        }


        /* -------------------------
           REGIONAL FILTERS MOBILE
           ------------------------- */

        .regional-filters {
            padding:
                13px 14px;
        }


        .regional-grid {
            grid-template-columns: 1fr;

            gap: 8px;
        }


        .regional-item {
            padding:
                4px 0;
        }


        /* -------------------------
           FAQ MOBILE
           ------------------------- */

        .faq-section {
            margin-top: 35px;
        }


        .section-title {
            font-size: 1.2rem;
        }


        .section-subtitle {
            font-size: 0.85rem;
        }


        .faq-item summary {
            font-size: 0.9rem;

            padding:
                14px 16px;

            padding-right: 40px;
        }


        .faq-answer {
            padding:
                0 16px 14px;

            font-size: 0.84rem;
        }


        footer {
            font-size: 0.75rem;

            margin-top: 18px;
        }

    }


    /* =========================================================
       VERY SMALL DEVICES
       ========================================================= */

    @media (max-width: 400px) {

        .container {
            padding:
                8px 8px 16px;
        }


        .dns-table tr {
            padding:
                11px 4px;
        }


        .dns-table td {
            font-size: 0.75rem;

            padding:
                3px 0;
        }


        .dns-table .type {
            min-width: 65px;

            font-size: 0.7rem;
        }


        .dns-table .value {
            font-size: 0.75rem;
        }


        .dns-table .desc {
            padding-left: 65px;

            font-size: 0.75rem;
        }


        .dns-table .copy-btn {
            font-size: 0.65rem;

            padding:
                5px 11px;
        }

    }


/* =========================================================
   STATISTICS BLOCK (страница статистики и подобные)
   ========================================================= */

.stats {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;

    margin-bottom: 25px;
}


.stat-card {
    background:
        rgba(255, 255, 255, 0.025);

    border:
        1px solid var(--border-color);

    border-radius: 12px;

    padding: 25px 20px;

    text-align: center;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;

    min-width: 0;
}


.stat-card:hover {
    border-color:
        rgba(46, 160, 67, 0.65);

    box-shadow:
        0 0 0 1px rgba(46, 160, 67, 0.12);
}


.stat-label {
    color: var(--text-muted);

    font-size: 0.85rem;

    margin-bottom: 10px;

    line-height: 1.4;

    min-height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;
}


.stat-value {
    color: #fff;

    font-size: 2.1rem;

    font-weight: 700;

    line-height: 1.2;

    word-break: break-word;
}


.stat-value.green {
    color: var(--green-light);
}


.stat-value.blue {
    color: #58a6ff;
}


.stat-value.time {
    color: #fff;
}


.updated {
    text-align: center;

    color: var(--text-muted);

    font-size: 0.8rem;

    margin-top: 5px;
}


.loading {
    opacity: 0.55;
}


.error {
    color: #f85149;
}


.back {
    text-align: center;

    margin-top: 30px;
}


.back a {
    display: inline-block;

    color: var(--text-muted);

    text-decoration: none;

    border:
        1px solid var(--border-color);

    border-radius: 8px;

    padding: 9px 18px;

    font-size: 0.9rem;

    transition:
        all 0.2s ease;
}


.back a:hover {
    color: #fff;

    border-color:
        var(--accent-green);

    background:
        rgba(46, 160, 67, 0.1);
}


@media (max-width: 850px) {

    .stats {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 700px) {

    .stats {
        grid-template-columns: 1fr;

        gap: 10px;
    }


    .stat-card {
        padding: 20px 15px;
    }


    .stat-label {
        min-height: auto;
    }


    .stat-value {
        font-size: 1.8rem;
    }

}
