
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #070d18;
    color: #eaf4ff;
    font-family: Arial, sans-serif;
}

/* Шапка */

.header {
    min-height: 75px;
    padding: 15px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: #0b1424;
    border-bottom: 1px solid #183858;
}

.logo {
    color: #8bd5ff;
    font-size: 21px;
    font-weight: bold;
    letter-spacing: 1px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

button {
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    border: none;
    border-radius: 7px;
    padding: 11px 17px;
    transition: 0.2s;
}

.login-btn {
    background: #168de0;
    color: white;
}

.login-btn:hover {
    background: #36aaff;
    transform: translateY(-2px);
}

.register-btn {
    background: #eaf4ff;
    color: #10243b;
}

.register-btn:hover {
    background: #b9e3ff;
    transform: translateY(-2px);
}

.lang-btn {
    background: #172a42;
    color: #8bd5ff;
    border: 1px solid #315578;
}

.lang-btn:hover {
    background: #23476b;
}

/* Навигация */

.nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;
    padding: 19px;
    background: #0a1220;
}

.nav a {
    color: #b9cce0;
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s;
}

.nav a:hover {
    color: #65c5ff;
}

/* Главный экран */

.hero {
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background:
        radial-gradient(ellipse at center, #153d60 0%, #0a192b 45%, #070d18 100%);
}

.snow {
    color: #8bd5ff;
    font-size: 55px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(30px, 6vw, 58px);
    color: #d8efff;
    letter-spacing: 4px;
    text-shadow: 0 0 25px #168de0;
}

.hero p {
    color: #a9c5df;
    font-size: 18px;
    margin: 20px 0 30px;
}

.main-btn {
    display: inline-block;
    background: #168de0;
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 7px;
    font-weight: bold;
    transition: 0.2s;
}

.main-btn:hover {
    background: #36aaff;
    transform: translateY(-3px);
}

/* Секции */

.section {
    max-width: 1100px;
    margin: auto;
    padding: 65px 25px;
    text-align: center;
}

.section h2 {
    color: #8bd5ff;
    font-size: 30px;
    margin-bottom: 35px;
}

/* Карточка сервера */

.server-card {
    max-width: 550px;
    margin: auto;
    padding: 30px;
    background: linear-gradient(145deg, #12243a, #0c1728);
    border: 1px solid #24496b;
    border-radius: 13px;
    box-shadow: 0 0 25px #061c30;
}

.server-card h3 {
    color: #8bd5ff;
    font-size: 25px;
    margin-bottom: 12px;
}

.server-card p {
    color: #b5cce2;
    margin: 12px 0;
}

.status {
    display: inline-block;
    color: #ffd477;
    background: #42351b;
    padding: 8px 13px;
    border-radius: 6px;
    margin: 15px 0;
}

/* Привилегии */

.plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.plan {
    padding: 28px 18px;
    background: linear-gradient(145deg, #142a43, #0b1728);
    border: 1px solid #285274;
    border-radius: 12px;
    transition: 0.25s;
}

.plan:hover {
    transform: translateY(-6px);
    border-color: #65c5ff;
    box-shadow: 0 0 20px #123c5c;
}

.plan h3 {
    color: #8bd5ff;
    font-size: 23px;
    margin-bottom: 20px;
}

.plan p {
    color: #b9cce0;
    margin: 12px 0;
}

.plan strong {
    display: block;
    color: #ffffff;
    font-size: 18px;
    margin-top: 22px;
}

/* Подвал */

footer {
    text-align: center;
    padding: 25px;
    background: #0b1424;
    border-top: 1px solid #183858;
    color: #7895b2;
}

/* Телефоны */

@media (max-width: 700px) {
    .header {
        flex-direction: column;
    }

    .logo {
        font-size: 18px;
    }

    .header-actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav {
        gap: 18px;
    }

    .plans {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        letter-spacing: 2px;
    }
}
