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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #030b18;
    color: #ffffff;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    width: 500px;
    height: 500px;
    background: rgba(37, 99, 235, 0.18);
    filter: blur(130px);
    top: -120px;
    right: -120px;
    z-index: -1;
}

body::after {
    content: "";
    position: fixed;
    width: 450px;
    height: 450px;
    background: rgba(14, 165, 233, 0.12);
    filter: blur(120px);
    bottom: -130px;
    left: -130px;
    z-index: -1;
}

/* HEADER */

.header {
    width: 100%;
    min-height: 95px;
    padding: 14px 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(3, 10, 25, 0.78);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(96, 165, 250, 0.14);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(59, 130, 246, 0.35));
}

.nav {
    display: flex;
    gap: 14px;
}

.nav a {
    position: relative;
    color: #dbeafe;
    text-decoration: none;
    padding: 13px 21px;
    border-radius: 15px;
    transition: 0.25s;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.nav a:hover {
    background: rgba(59, 130, 246, 0.14);
    color: #60a5fa;
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.35);
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.18);
}

.nav a.active {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: white;
    box-shadow: 0 0 28px rgba(37, 99, 235, 0.45);
}

.menu-btn {
    display: none;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: white;
    border: none;
    font-size: 26px;
    padding: 10px 15px;
    border-radius: 13px;
    cursor: pointer;
}

/* MAIN */

.main {
    padding: 55px 70px;
}

/* HERO */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    background:
        linear-gradient(
            90deg,
            rgba(3,10,25,.55) 0%,
            rgba(3,10,25,.40) 45%,
            rgba(3,10,25,.20) 100%
        ),
        url('/assets/img/hero-pc.png');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 32px;
    padding: 50px;

    box-shadow: 0 25px 75px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(96, 165, 250, 0.14);
	animation: heroZoom 15s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from {
        background-size: 100%;
    }

    to {
        background-size: 110%;
    }
}

.hero::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    background: rgba(59, 130, 246, 0.16);
    border-radius: 50%;
    filter: blur(120px);
    right: -100px;
    top: -100px;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 10, 25, 0.1), rgba(3, 10, 25, 0.45));
    pointer-events: none;
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 690px;
}

.hero-label {
    display: inline-block;
    margin-bottom: 18px;
    padding: 9px 15px;
    border-radius: 999px;
    color: #7dd3fc;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(125, 211, 252, 0.18);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 13px;
}

.hero h1 {
    font-size: 76px;
    line-height: 1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 21px;
    line-height: 1.65;
    color: #dbeafe;
}

.hero-buttons {
    margin-top: 36px;
    display: flex;
    gap: 16px;
	margin-bottom: 0;
}

.btn {
    text-decoration: none;
    padding: 16px 26px;
    border-radius: 15px;
    font-weight: 800;
    transition: 0.25s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    transform: translateY(-3px);
}

.primary {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: white;
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.35);
}

.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* SECTIONS */

.servers {
    margin-top: 70px;
}

.servers h2 {
    font-size: 38px;
    margin-bottom: 28px;
}

.server-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}

/* SERVER CARD */

.server-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;

    background:
        linear-gradient(
            90deg,
            rgba(3,10,25,.92) 0%,
            rgba(3,10,25,.72) 55%,
            rgba(3,10,25,.38) 100%
        ),
        var(--server-bg-desktop);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(96, 165, 250, 0.16);
    transition: 0.28s;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.server-card::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    background: rgba(37, 99, 235, 0.12);
    border-radius: 50%;
    filter: blur(70px);
    right: -80px;
    top: -80px;
}

.server-card:hover {
    transform: translateY(-7px);
    border-color: rgba(96, 165, 250, 0.42);
    box-shadow: 0 20px 55px rgba(37, 99, 235, 0.18);
}

.server-card h3 {
    position: relative;
    z-index: 2;
    font-size: 27px;
    margin-bottom: 17px;
}

.server-desc {
    position: relative;
    z-index: 2;
    color: #dbeafe;
    line-height: 1.6;
    margin-bottom: 22px;
    max-width: 520px;
    font-size: 15px;
}

.online {
    position: relative;
    z-index: 2;
    color: #bfdbfe;
    margin-bottom: 22px;
    font-weight: 700;
}

.online span {
    color: #22c55e;
    font-weight: 900;
}

.online span::before {
    content: "● ";
}

.ip-box {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 11px;
}

.ip-box input {
    flex: 1;
    padding: 15px;
    border-radius: 14px;
    border: 1px solid rgba(96, 165, 250, 0.14);
    background: rgba(3, 10, 25, 0.68);
    color: white;
    font-size: 15px;
    outline: none;
}

.ip-box button {
    padding: 15px 19px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: white;
    font-weight: 800;
    cursor: pointer;
    transition: 0.25s;
}

.ip-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
}

/* FEATURES */

.features {
    margin-top: 70px;
}

.features h2 {
    font-size: 38px;
    margin-bottom: 28px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.feature-card {
    position: relative;
    overflow: hidden;

    min-height: 280px;

    padding: 34px;

    border-radius: 24px;

    background:
        linear-gradient(
            90deg,
            rgba(3,10,25,.92) 0%,
            rgba(3,10,25,.72) 55%,
            rgba(3,10,25,.35) 100%
        ),
        var(--feature-bg-desktop);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border: 1px solid rgba(96,165,250,.14);

    transition: .28s;

    box-shadow: 0 18px 50px rgba(0,0,0,.22);
}

.feature-card::before {
    content: "";

    position: absolute;

    width: 240px;
    height: 240px;

    border-radius: 50%;

    background: rgba(37,99,235,.10);

    filter: blur(80px);

    right: -90px;
    top: -90px;
}

.feature-card:hover {
    transform: translateY(-7px);

    border-color: rgba(96,165,250,.38);

    box-shadow: 0 22px 55px rgba(37,99,235,.18);
}

.feature-card h3 {
    position: relative;
    z-index: 2;

    font-size: 30px;

    margin-bottom: 18px;
}

.feature-card p {
    position: relative;
    z-index: 2;

    max-width: 520px;

    color: #dbeafe;

    line-height: 1.7;

    font-size: 15px;
}

.contacts {
    margin-top: 70px;
}

.contacts h2 {
    font-size: 38px;
    margin-bottom: 28px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.contact-card {
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    gap: 22px;

    text-decoration: none;
    color: white;

    padding: 32px;
    border-radius: 24px;

    background: rgba(11, 33, 61, 0.78);

    border: 1px solid rgba(96, 165, 250, 0.14);

    transition: .25s;
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(96,165,250,.35);
    box-shadow: 0 20px 50px rgba(37,99,235,.18);
}

.contact-icon {
    width: 70px;
    height: 70px;

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

    border-radius: 18px;

    background: rgba(255,255,255,.05);
}

.contact-icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.contact-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.contact-card p {
    color: #bfdbfe;
    line-height: 1.5;
}

.vk:hover {
    box-shadow: 0 20px 55px rgba(0,119,255,.22);
}

.tg:hover {
    box-shadow: 0 20px 55px rgba(0,170,255,.22);
}

/* FOOTER */

.footer {
    text-align: center;
    padding: 35px;
    color: #94a3b8;
}

/* MOBILE */

@media (max-width: 768px) {
    .header {
        padding: 14px 18px;
        min-height: 80px;
    }

    .logo img {
        width: 42px;
        height: 42px;
    }

    .menu-btn {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 95px;
        left: 18px;
        right: 18px;
        flex-direction: column;
        background: rgba(3, 10, 25, 0.95);
        backdrop-filter: blur(18px);
        padding: 18px;
        border-radius: 18px;
        border: 1px solid rgba(96, 165, 250, 0.16);
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        width: 100%;
    }

    .main {
        padding: 28px 18px;
    }

    .hero {
        background:
            linear-gradient(
                180deg,
                rgba(3,10,25,.55) 0%,
                rgba(3,10,25,.40) 55%,
                rgba(3,10,25,.20) 100%
            ),
            url('/assets/img/hero-mobile.png');

        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;

        min-height: 520px;
        padding: 35px 24px;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .server-card {
        min-height: 340px;

        background:
            linear-gradient(
                180deg,
                rgba(3,10,25,.92) 0%,
                rgba(3,10,25,.75) 55%,
                rgba(3,10,25,.50) 100%
            ),
            var(--server-bg-mobile);

        background-size: cover;
        background-position: center bottom;
        background-repeat: no-repeat;
    }
	
    .server-grid,
	.contacts-grid {
        grid-template-columns: 1fr;
    }

    .ip-box {
        flex-direction: column;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 320px;

        padding: 28px;

        background:
            linear-gradient(
                180deg,
                rgba(3,10,25,.92) 0%,
                rgba(3,10,25,.76) 55%,
                rgba(3,10,25,.48) 100%
            ),
            var(--feature-bg-mobile);

        background-size: cover;
		background-position: center center;
        background-repeat: no-repeat;
    }
}