:root {
    --launcher-bg: #030b17;
    --launcher-bg-soft: rgba(4, 17, 31, 0.88);
    --launcher-card: linear-gradient(160deg, rgba(5, 18, 32, 0.96), rgba(8, 28, 50, 0.86));
    --launcher-card-soft: linear-gradient(180deg, rgba(7, 21, 37, 0.82), rgba(4, 14, 27, 0.94));
    --launcher-line: rgba(1, 153, 244, 0.24);
    --launcher-line-strong: rgba(1, 153, 244, 0.54);
    --launcher-text: #ebf7ff;
    --launcher-sub: #98bdd7;
    --launcher-primary: #0199f4;
    --launcher-primary-light: #35b5ff;
    --launcher-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
    --launcher-shadow-strong: 0 28px 64px rgba(0, 0, 0, 0.38);
}

html {
    scroll-behavior: smooth;
}

@keyframes surface-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    color: var(--launcher-text);
    background:
        radial-gradient(circle at 12% 0%, rgba(1, 153, 244, 0.16), transparent 32%),
        radial-gradient(circle at 100% 14%, rgba(1, 153, 244, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(5, 17, 31, 0.84), rgba(3, 11, 23, 0.98)),
        #030b17 url(../images/bg.png) no-repeat top center fixed;
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -1;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(54px);
    opacity: 0.46;
}

body::before {
    top: 70px;
    right: -140px;
    width: 320px;
    height: 320px;
    background: rgba(1, 153, 244, 0.18);
}

body::after {
    left: -100px;
    bottom: 0;
    width: 300px;
    height: 300px;
    background: rgba(53, 181, 255, 0.14);
}

main {
    position: relative;
    overflow: hidden;
}

header {
    padding-top: 12px;
}

header nav.navbar {
    padding: 0;
}

header nav.navbar .container {
    border: 1px solid var(--launcher-line);
    border-radius: 20px;
    background: rgba(3, 11, 23, 0.76);
    box-shadow: var(--launcher-shadow-strong);
    backdrop-filter: blur(14px);
    padding: 6px 18px;
}

header nav.navbar .logo {
    width: 160px;
    height: 88px;
    background-size: contain;
}

header nav.navbar .navbar-toggler {
    border: 1px solid var(--launcher-line);
    background: rgba(1, 153, 244, 0.1);
    border-radius: 14px;
    padding: 8px 10px;
}

header nav.navbar .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

header nav.navbar .navbar-toggler-icon {
    width: 22px;
    height: 16px;
    background-image:
        linear-gradient(var(--launcher-text), var(--launcher-text)),
        linear-gradient(var(--launcher-text), var(--launcher-text)),
        linear-gradient(var(--launcher-text), var(--launcher-text));
    background-repeat: no-repeat;
    background-size: 100% 2px, 100% 2px, 100% 2px;
    background-position: 0 0, 0 7px, 0 14px;
}

header nav.navbar ul.navbar-nav {
    align-items: center;
    gap: 4px;
    padding: 5px;
    border: 1px solid var(--launcher-line);
    border-radius: 999px;
    background: rgba(1, 153, 244, 0.08);
}

header nav.navbar ul.navbar-nav .nav-item.mx-4 {
    margin-left: 0.22rem !important;
    margin-right: 0.22rem !important;
}

header nav.navbar ul.navbar-nav li.nav-item a.nav-link {
    color: var(--launcher-sub);
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 500;
    font-size: 13px;
}

header nav.navbar ul.navbar-nav li.nav-item:after {
    background: var(--launcher-primary);
    height: 3px;
    border-radius: 999px;
}

header nav.navbar ul.navbar-nav li.nav-item.active a.nav-link,
header nav.navbar ul.navbar-nav li.nav-item:hover a.nav-link {
    color: var(--launcher-text);
    background: rgba(1, 153, 244, 0.16);
    border-color: rgba(1, 153, 244, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

main h2.section-title {
    position: relative;
    background: linear-gradient(135deg, rgba(1, 153, 244, 0.18), rgba(1, 153, 244, 0.05));
    border: 1px solid var(--launcher-line);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    padding: 10px 22px 10px 48px;
    font-size: 18px;
}

main h2.section-title::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    transform: translateY(-50%);
    background: linear-gradient(180deg, #6fd0ff, #0199f4);
    box-shadow: 0 0 18px rgba(1, 153, 244, 0.52);
}

main h2.section-title b,
main .promo h1 b,
main .promo p b,
main .mon .mon-block h4 b,
main .mon .mon-block p.online b,
main .howto .blocks .block h5 b {
    color: #78d3ff;
}

main .promo {
    margin-top: 94px;
    margin-bottom: 150px;
}

main .promo .col-lg-7,
main .promo .col-lg-8 {
    position: relative;
    overflow: hidden;
    padding: 52px 44px;
    border: 1px solid var(--launcher-line);
    border-radius: 34px;
    background: var(--launcher-card-soft);
    box-shadow: var(--launcher-shadow-strong);
    animation: surface-in 0.45s ease both;
}

main .promo .col-lg-7::before,
main .promo .col-lg-7::after,
main .promo .col-lg-8::before,
main .promo .col-lg-8::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

main .promo .col-lg-7::before,
main .promo .col-lg-8::before {
    inset: 0;
    background:
        linear-gradient(135deg, rgba(1, 153, 244, 0.14), transparent 36%),
        radial-gradient(circle at 100% 0, rgba(53, 181, 255, 0.14), transparent 24%);
}

main .promo .col-lg-7::after,
main .promo .col-lg-8::after {
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    border-radius: 48px;
    transform: rotate(16deg);
    border: 1px solid rgba(1, 153, 244, 0.16);
    background: linear-gradient(135deg, rgba(1, 153, 244, 0.16), rgba(1, 153, 244, 0.04));
}

main .promo .col-lg-7 > *,
main .promo .col-lg-8 > * {
    position: relative;
    z-index: 1;
}

main .promo h1 {
    font-size: 58px;
    line-height: 1.02;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.36);
}

main .promo p,
main .why .blocks .why-block p,
main .community .public .info span,
main .howto .blocks .block p,
main .mon .mon-block span.server-name,
main .terms-card ol,
main .terms-card p {
    color: var(--launcher-sub);
}

main .promo p {
    max-width: 610px;
    font-size: 16px;
    line-height: 1.8;
}

main .promo .promo-details {
    margin-top: 18px;
    max-width: 680px;
    font-size: 15px;
    line-height: 1.85;
}

main .promo .promo-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 22px 0 6px;
}

main .promo .promo-highlights span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--launcher-line);
    background: rgba(1, 153, 244, 0.12);
    color: var(--launcher-text);
    font-size: 13px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

main .promo a,
main .donate .block form button,
main .community .public .info a,
main .howto .blocks .block a,
main .terms-card .terms-actions a {
    background: linear-gradient(135deg, var(--launcher-primary), var(--launcher-primary-light));
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(1, 153, 244, 0.22);
    transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

main .promo a {
    min-width: 220px;
    padding: 16px 28px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

main .promo a:hover,
main .donate .block form button:hover,
main .community .public .info a:hover,
main .howto .blocks .block a:hover,
main .terms-card .terms-actions a:hover {
    background: linear-gradient(135deg, #0aa8ff, #5bc8ff);
    transform: translateY(-1px);
}

main .why .blocks .why-block,
main .howto .blocks .block,
main .mon .mon-block {
    filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.28));
}

main .why .blocks {
    margin-top: 90px;
}

main .why .blocks .why-block {
    border: 1px solid var(--launcher-line);
    border-radius: 30px;
    background-color: rgba(5, 18, 32, 0.46);
    box-shadow: var(--launcher-shadow);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    animation: surface-in 0.45s ease both;
}

main .why .blocks .why-block:hover {
    transform: translateY(-4px);
    border-color: rgba(1, 153, 244, 0.36);
    box-shadow: 0 24px 42px rgba(0, 0, 0, 0.34);
}

main .why .blocks .why-block h5 {
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.26);
    letter-spacing: 0.02em;
}

main .community .public {
    position: relative;
    overflow: hidden;
    align-items: center;
    max-width: 520px;
    padding: 24px;
    border: 1px solid var(--launcher-line);
    border-radius: 24px;
    background: var(--launcher-card);
    box-shadow: var(--launcher-shadow);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    animation: surface-in 0.45s ease both;
}

main .community .public::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 999px;
    background: rgba(1, 153, 244, 0.12);
    filter: blur(10px);
    pointer-events: none;
}

main .community .public:hover {
    transform: translateY(-4px);
    border-color: rgba(1, 153, 244, 0.36);
    box-shadow: 0 24px 42px rgba(0, 0, 0, 0.34);
}

main .community .public .avatar {
    width: 86px;
    height: 86px;
    flex-shrink: 0;
    border-radius: 22px;
    border: 1px solid var(--launcher-line);
    background:
        url(../images/logo.png) no-repeat center / 58%,
        linear-gradient(145deg, rgba(1, 153, 244, 0.2), rgba(1, 153, 244, 0.06));
}

main .community .public .info h5,
main .terms-card h2,
main .terms-card h3 {
    color: var(--launcher-text);
}

main .community .public .info {
    position: relative;
    z-index: 1;
}

main .community .public .info h5 {
    font-size: 19px;
    margin-bottom: 6px;
}

main .community .public .info a {
    margin-left: 0;
    width: auto;
    padding: 10px 18px;
}

main .donate {
    margin-top: 86px;
}

main .donate .block,
main .terms-card {
    position: relative;
    overflow: hidden;
    background: var(--launcher-card);
    border: 1px solid var(--launcher-line);
    border-radius: 28px;
    box-shadow: var(--launcher-shadow-strong);
    animation: surface-in 0.45s ease both;
}

main .donate .block::before,
main .terms-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(1, 153, 244, 0.12), transparent 34%),
        radial-gradient(circle at 100% 0, rgba(53, 181, 255, 0.12), transparent 20%);
}

main .donate .block .section-title {
    background-position-x: 18px;
}

main .donate .block > * ,
main .terms-card > * {
    position: relative;
    z-index: 1;
}

main .donate .block form {
    position: relative;
    z-index: 1;
}

main .donate .block form .alert-info {
    color: var(--launcher-text);
    background: rgba(1, 153, 244, 0.12);
    border: 1px solid rgba(1, 153, 244, 0.2);
    border-radius: 18px;
}

main .donate .block form .alert-info a {
    color: #91dcff;
}

main .donate .block form .input-group input,
main .donate .block form .input-group .nice-select {
    background: rgba(1, 153, 244, 0.08);
    color: var(--launcher-text);
}

main .donate .block form .input-group i {
    border-radius: 16px 0 0 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

main .donate .block form .input-group input::placeholder {
    color: var(--launcher-sub);
}

main .donate .block form .input-group input {
    border-radius: 0 16px 16px 0;
    border: 1px solid rgba(1, 153, 244, 0.18);
    border-left: 0;
}

main .donate .block form .input-group i {
    background-color: var(--launcher-primary);
}

main .donate .block form button {
    margin-top: 56px;
    min-width: 250px;
}

main .howto h3 {
    margin-bottom: 58px;
    letter-spacing: 0.04em;
}

main .howto .blocks .block {
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid var(--launcher-line);
    box-shadow: var(--launcher-shadow-strong);
    transition: transform 0.18s ease, border-color 0.18s ease;
    animation: surface-in 0.45s ease both;
}

main .howto .blocks .block::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 26px;
    border: 1px solid rgba(1, 153, 244, 0.12);
    background: linear-gradient(180deg, rgba(4, 18, 32, 0.44), rgba(3, 11, 23, 0.2));
    pointer-events: none;
}

main .howto .blocks .block:hover {
    transform: translateY(-4px);
    border-color: rgba(1, 153, 244, 0.34);
}

main .howto .blocks .block h5,
main .howto .blocks .block p,
main .howto .blocks .block a {
    z-index: 1;
}

main .howto .blocks .block a {
    background-image: none;
    min-width: 184px;
    border-radius: 16px;
}

main .howto .blocks .block.two h5,
main .howto .blocks .block.two p,
main .howto .blocks .block.two a {
    left: auto;
    right: 120px;
    text-align: left;
}

main .howto .blocks .block.two h5,
main .howto .blocks .block.two p {
    max-width: 420px;
}

main.terms-page {
    margin-top: 64px;
    margin-bottom: 100px;
}

main .terms-card {
    padding: 36px;
}

main .terms-card p {
    margin-bottom: 0;
}

main .terms-card h2 {
    margin-bottom: 14px;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
}

main .terms-card h3 {
    margin-top: 28px;
    margin-bottom: 14px;
    font-size: 24px;
    font-weight: 700;
}

main .terms-card ol {
    padding-left: 18px;
    line-height: 1.8;
}

main .terms-card li + li {
    margin-top: 10px;
}

main .terms-card .terms-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

main .terms-card .terms-actions a {
    display: inline-block;
    padding: 14px 24px;
    text-decoration: none;
}

footer {
    margin-top: 110px;
    background: linear-gradient(180deg, rgba(5, 17, 31, 0.86), rgba(2, 8, 18, 0.98));
    border-top: 1px solid var(--launcher-line);
}

footer > .container {
    padding: 30px 24px 20px;
    border: 1px solid var(--launcher-line);
    border-bottom: 0;
    border-radius: 30px 30px 0 0;
    background: var(--launcher-card-soft);
    box-shadow: var(--launcher-shadow-strong);
    animation: surface-in 0.45s ease both;
}

footer ul li a,
footer .copyright span {
    color: var(--launcher-sub);
}

footer ul li a:hover,
footer .copyright span a,
footer .copyright span a:hover {
    color: var(--launcher-text);
}

footer .social-links a {
    width: 50px;
    height: 50px;
    margin: 0 8px;
    border-radius: 16px;
    border: 1px solid var(--launcher-line);
    background-color: rgba(1, 153, 244, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

footer .social-links a:hover {
    transform: translateY(-2px);
    border-color: rgba(1, 153, 244, 0.36);
    background-color: rgba(1, 153, 244, 0.16);
}

footer .copyright {
    background: rgba(2, 8, 18, 0.92);
    border-top: 1px solid rgba(1, 153, 244, 0.16);
}

footer .copyright .container {
    padding-top: 18px;
    padding-bottom: 18px;
}

@media (max-width: 992px) {
    header nav.navbar .container {
        padding: 10px 14px;
    }

    header nav.navbar ul.navbar-nav {
        margin-top: 12px;
        border-radius: 24px;
        align-items: stretch;
    }

    header nav.navbar .logo {
        width: 136px;
        height: 74px;
    }

    header nav.navbar ul.navbar-nav li.nav-item a.nav-link {
        text-align: center;
    }

    main .community .public {
        text-align: center;
        padding: 20px;
    }

    main .promo .col-lg-7,
    main .promo .col-lg-8 {
        padding: 34px 22px;
        border-radius: 28px;
    }

    main .promo h1 {
        font-size: 42px;
    }

    main .promo .promo-highlights {
        gap: 8px;
    }

    main .promo .promo-highlights span {
        width: 100%;
    }

    main .community .public .info {
        margin-left: 0;
    }

    main .community .public .info a {
        margin: 24px auto 0;
    }

    main .donate .block,
    main .terms-card {
        padding: 24px;
    }

    main .howto .blocks .block::before {
        inset: 10px;
        border-radius: 20px;
    }

    footer {
        margin-top: 80px;
    }

    footer > .container {
        border-radius: 24px 24px 0 0;
        padding: 24px 18px 14px;
    }
}
