/* Общий стиль сайтов-спутников. Цвет акцента задаётся в <html style="--accent:..."> каждого сайта. */
:root {
    --bg: #0d0b14;
    --card: rgba(255, 255, 255, .04);
    --card-2: rgba(255, 255, 255, .07);
    --line: rgba(255, 255, 255, .08);
    --text: #f4f2fa;
    --muted: #a9a3c4;
    --accent: #8b5cf6;
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 15px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.wrap {
    width: min(1120px, 100% - 32px);
    margin: 0 auto;
}

/* шапка */
.top {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: rgba(13, 11, 20, .75);
    border-bottom: 1px solid var(--line);
}

.top .wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
}

.brand i {
    width: 12px;
    height: 12px;
    border-radius: 4px;
    background: var(--accent);
    box-shadow: 0 0 14px var(--accent);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, border-color .2s, transform .2s;
}

.btn:hover {
    border-color: var(--accent);
    background: var(--card-2);
}

.btn--main {
    border-color: transparent;
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 30px -10px var(--accent);
}

.btn--main:hover {
    background: var(--accent);
    transform: translateY(-1px);
}

.btn--sm {
    padding: 8px 14px;
    font-size: 13px;
}

/* первый экран */
.hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 70px;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hero) center / cover no-repeat;
    opacity: .22;
    filter: saturate(1.2);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 70% at 50% 30%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%),
        linear-gradient(to bottom, transparent 40%, var(--bg));
}

.hero .wrap {
    position: relative;
    z-index: 1;
}

.hero__live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 18px;
    border-radius: 99px;
    background: rgba(34, 197, 94, .12);
    color: #4ade80;
    font-size: 13px;
    font-weight: 700;
}

.hero__live::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 10px currentColor;
}

.hero h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 5vw, 54px);
    line-height: 1.1;
    text-transform: uppercase;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    max-width: 640px;
    margin: 0 auto 28px;
    color: var(--muted);
    font-size: 17px;
}

.hero__btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* секции */
section {
    padding: 48px 0;
}

h2 {
    margin: 0 0 18px;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.2;
}

h3 {
    margin: 0 0 6px;
    font-size: 17px;
}

.muted {
    color: var(--muted);
}

.text p,
.text li {
    color: var(--muted);
}

.text ol,
.text ul {
    padding-left: 22px;
}

.text li {
    margin-bottom: 6px;
}

/* сервера */
.servers__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.servers__head h2 {
    margin: 0;
}

.proxy {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--card);
    color: var(--muted);
    font-size: 13px;
    cursor: pointer;
    user-select: none;
}

.proxy input {
    display: none;
}

.proxy b {
    position: relative;
    width: 38px;
    height: 22px;
    border-radius: 11px;
    background: var(--card-2);
    transition: background .2s;
}

.proxy b::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: transform .2s;
}

.proxy input:checked + b {
    background: var(--accent);
}

.proxy input:checked + b::after {
    transform: translateX(16px);
}

.group-title {
    margin: 26px 0 12px;
    font-size: 18px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.srv {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
}

.srv__img {
    position: relative;
    aspect-ratio: 16 / 8;
    background: #1a1726 center / cover no-repeat;
}

.srv__online {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 3px 10px;
    border-radius: 99px;
    background: rgba(0, 0, 0, .65);
    font-size: 12px;
    font-weight: 700;
}

.srv__tech {
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 3px 10px;
    border-radius: 99px;
    background: rgba(245, 158, 11, .9);
    color: #1a1200;
    font-size: 11px;
    font-weight: 800;
}

.srv__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
}

.srv__name {
    overflow: hidden;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.srv__map {
    color: var(--muted);
    font-size: 13px;
}

.srv__bar {
    height: 4px;
    border-radius: 2px;
    background: var(--card-2);
}

.srv__bar i {
    display: block;
    height: 100%;
    border-radius: 2px;
    background: var(--accent);
}

.srv__actions {
    display: flex;
    gap: 8px;
}

.srv__actions .btn {
    flex: 1;
}

.srv__ip {
    color: var(--muted);
    font: 12px/1.4 Consolas, monospace;
    text-align: center;
}

.empty {
    padding: 30px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    color: var(--muted);
    text-align: center;
}

/* преимущества */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 14px;
}

.feature {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
}

.feature__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--accent) 18%, transparent);
    font-size: 20px;
}

.feature p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* шаги подключения */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 20px 20px 20px 64px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
}

.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 18px;
    top: 18px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--accent);
    font-weight: 800;
}

.step p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.step code {
    padding: 1px 6px;
    border-radius: 6px;
    background: var(--card-2);
    color: var(--text);
}

/* блок скинченджера */
.promo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 28px;
    border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
    border-radius: var(--radius);
    background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 16%, transparent), var(--card));
}

.promo h2 {
    margin-bottom: 6px;
}

.promo p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
}

/* режимы-ссылки */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chips a {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--card);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.chips a:hover {
    border-color: var(--accent);
}

/* вопросы */
.faq details {
    margin-bottom: 8px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
}

.faq summary {
    font-weight: 700;
    cursor: pointer;
}

.faq p {
    margin: 10px 0 0;
    color: var(--muted);
}

/* подвал */
.foot {
    padding: 30px 0 40px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.foot .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
}

.foot nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 640px) {
    .top .btn:not(.btn--main) {
        display: none;
    }

    .hero {
        padding: 60px 0 40px;
    }

    section {
        padding: 34px 0;
    }
}
