/* ===== Reset и базовая типографика ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    font-size: 16px;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #333430;
    color: #f2f2f2;
    min-height: 100%;
}
body {
    background: #333430;
    color: #f2f2f2;
    min-height: 100vh;
}

/* ===== HEADER ===== */
.header {
    background: #353633;
    border-bottom: 4px solid #222;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header__container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 74px;
    justify-content: space-between;
    position: relative;
}
.header__logo img {
    height: 60px;
    width: auto;
    display: block;
}
.header__nav {
    display: flex;
    gap: 32px;
}
.header__nav-link {
    color: #f2f2f2;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.08rem;
    position: relative;
    padding: 5px 0;
    transition: color .15s;
}
.header__nav-link:hover,
.header__nav-link:focus {
    color: #e5b74d;
}
.header__burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 18px;
    padding: 7px;
}
.header__burger svg rect {
    fill: #f2f2f2;
    transition: fill .2s;
}

/* ===== Mobile Nav ===== */
.header__mobile-nav {
    display: none;
    flex-direction: column;
    background: #252521;
    position: absolute;
    width: 100%;
    left: 0;
    top: 74px;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    z-index: 999;
}
.header__mobile-nav.open {
    display: flex;
}
.header__mobile-nav .header__nav-link {
    padding: 18px 28px;
    border-bottom: 1px solid #42423e;
    font-size: 1.13rem;
}
@media (max-width: 900px) {
    .header__container {
        height: 62px;
    }
    .header__logo img {
        height: 44px;
    }
    .header__nav {
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .header__nav {
        display: none;
    }
    .header__burger {
        display: block;
    }
    .header__mobile-nav {
        top: 62px;
    }
}

/* ===== Адаптив для мобилы ===== */
@media (max-width: 540px) {
    .header__container {
        padding: 0 8px;
    }
    .header__mobile-nav .header__nav-link {
        padding: 15px 10px;
    }
}
.footer {
    background: #292a27;
    border-top: 4px solid #222;
    padding-top: 32px;
    margin-top: 48px;
}
.footer__container {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px 16px 24px;
    flex-wrap: wrap;
    gap: 18px;
}
.footer__logo img {
    height: 42px;
    width: auto;
    display: block;
    margin-bottom: 8px;
}
.footer__nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.footer__nav-link {
    color: #f2f2f2;
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.82;
    transition: opacity .18s, color .18s;
}
.footer__nav-link:hover,
.footer__nav-link:focus {
    color: #e5b74d;
    opacity: 1;
}
.footer__socials {
    display: flex;
    gap: 18px;
    align-items: center;
}
.footer__social svg {
    vertical-align: middle;
    transition: transform .18s;
}
.footer__social:hover svg {
    transform: scale(1.15) rotate(-6deg);
}
.footer__bottom {
    background: #22231f;
    padding: 18px 0 8px 0;
    text-align: center;
    font-size: .95rem;
    color: #bbb;
    border-top: 1px solid #353633;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    flex-wrap: wrap;
    gap: 8px;
}
.footer__policy-link {
    color: #bbb;
    opacity: 0.8;
    text-decoration: underline dotted;
    font-size: .95rem;
    transition: color .16s;
}
.footer__policy-link:hover,
.footer__policy-link:focus {
    color: #e5b74d;
    opacity: 1;
}
@media (max-width: 900px) {
    .footer__container, .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 10px;
        padding-right: 10px;
        gap: 8px;
    }
}
@media (max-width: 540px) {
    .footer__container, .footer__bottom {
        font-size: .93rem;
        gap: 6px;
    }
    .footer__nav {
        gap: 12px;
    }
    .footer__socials {
        gap: 10px;
    }
}
.hero {
    background: linear-gradient(120deg, #292a27 60%, #333430 100%);
    position: relative;
    min-height: 58vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background: url('/img/hero-bg.webp') center/cover no-repeat;
    opacity: .14;
    z-index: 1;
}
.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
    padding: 54px 0 44px 0;
}
.hero__content h1 {
    font-size: 2.5rem;
    color: #fff;
    letter-spacing: 1px;
}
.hero__content .l2 { color: #e5b74d; }
.hero__content p {
    color: #bbb;
    margin: 20px 0 30px 0;
    font-size: 1.2rem;
}
.hero__search {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 18px;
}
.hero__search input {
    font-size: 1.12rem;
    padding: 11px 16px;
    border: none;
    border-radius: 4px 0 0 4px;
    background: #232320;
    color: #eee;
    outline: none;
    width: 280px;
}
.hero__search button {
    font-size: 1.12rem;
    padding: 11px 22px;
    border: none;
    border-radius: 0 4px 4px 0;
    background: #e5b74d;
    color: #232320;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
}
.hero__search button:hover { background: #ad9b59; }
.hero__badges {
    margin-top: 20px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.badge {
    background: #444;
    color: #e5b74d;
    border-radius: 14px;
    padding: 5px 14px;
    font-size: .98rem;
    font-weight: 500;
}
.badge--green { background: #49a360; color: #fff; }
.badge--gold { background: #e5b74d; color: #232320; }

.features {
    background: #333430;
    padding: 58px 0 38px 0;
}
.features h2 { text-align: center; margin-bottom: 34px; font-size: 2.1rem; }
.features__list {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}
.feature-card {
    background: #252521;
    border-radius: 14px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.04);
    padding: 30px 26px 26px 26px;
    max-width: 320px;
    min-width: 240px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex: 1 1 220px;
}
.feature-card__icon {
    min-width: 36px;
    margin-top: 3px;
}
.feature-card h3 {
    font-size: 1.22rem;
    color: #e5b74d;
    margin-bottom: 6px;
}

.top-servers {
    padding: 62px 0 38px 0;
}
.top-servers h2 { text-align: center; margin-bottom: 32px; font-size: 2rem; }
.servers-list {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}
.server-card {
    background: #242420;
    border-radius: 13px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.09);
    overflow: hidden;
    width: 295px;
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}
.server-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    background: #222;
}
.server-card__content { padding: 18px 18px 12px 18px; }
.server-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
}
.server-card__title { font-size: 1.09rem; font-weight: 600; color: #e5b74d; }
.server-card__rate {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 1.09rem;
    font-weight: 700;
}
.server-card__desc { color: #bbb; font-size: .96rem; margin-bottom: 8px; }
.server-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.btn {
    background: #e5b74d;
    color: #232320;
    padding: 7px 20px;
    border-radius: 7px;
    font-weight: 700;
    text-decoration: none;
    transition: background .14s;
}
.btn--sm { font-size: .97rem; padding: 6px 13px; }
.btn:hover { background: #ad9b59; color: #fff; }
.server-card__online { color: #49a360; font-size: .95rem; font-weight: 500; }

.announces {
    background: #32322e;
    padding: 48px 0 30px 0;
}
.announces h2 { text-align: center; margin-bottom: 32px; }
.announces__list {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
}
.announce-card {
    background: #252521;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    padding: 18px;
    max-width: 340px;
    display: flex;
    gap: 18px;
    align-items: center;
}
.announce-card img {
    width: 64px;
    height: 64px;
    border-radius: 7px;
    background: #232320;
    object-fit: cover;
}

.rating {
    padding: 54px 0 28px 0;
}
.rating h2 { text-align: center; margin-bottom: 24px; }
.rating__table {
    background: #232320;
    border-radius: 10px;
    max-width: 680px;
    margin: 0 auto;
    overflow: hidden;
    font-size: 1rem;
}
.rating__row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 12px 18px;
    border-bottom: 1px solid #363632;
    align-items: center;
}
.rating__head {
    background: #22231f;
    color: #e5b74d;
    font-weight: 600;
    font-size: 1.04rem;
}
.rating__row:last-child { border-bottom: none; }
.rating__row a { color: #e5b74d; text-decoration: none; }
.rating__row a:hover { text-decoration: underline; }

.reviews {
    background: #2e2e2b;
    padding: 54px 0 30px 0;
}
.reviews h2 { text-align: center; margin-bottom: 30px; }
.reviews__list {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}
.review-card {
    background: #252521;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 16px 18px;
    display: flex;
    gap: 12px;
    max-width: 330px;
    min-width: 200px;
    align-items: flex-start;
}
.review-card img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}
.review-card__name {
    font-weight: 700;
    color: #e5b74d;
    margin-bottom: 3px;
}
.review-card__text {
    color: #eee;
    font-size: .97rem;
}

.faq-block {
    padding: 54px 0 42px 0;
}
.faq-block h2 { text-align: center; margin-bottom: 32px; }
.faq-list {
    max-width: 680px;
    margin: 0 auto;
}
.faq-list details {
    background: #252521;
    border-radius: 8px;
    margin-bottom: 14px;
    padding: 12px 18px;
    font-size: 1.05rem;
    color: #e5b74d;
    cursor: pointer;
}
.faq-list details[open] summary { color: #e5b74d; }
.faq-list summary { cursor: pointer; outline: none; }
.faq-answer { color: #eee; margin-top: 8px; font-size: .98rem; }

@media (max-width: 1100px) {
    .features__list,
    .servers-list,
    .announces__list,
    .reviews__list {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
    .top-servers, .features, .announces, .reviews { padding-left: 0; padding-right: 0; }
}
@media (max-width: 768px) {
    .hero__content h1 { font-size: 1.45rem; }
    .hero__content { padding: 34px 0 22px 0; }
    .features h2, .top-servers h2, .announces h2, .reviews h2, .faq-block h2, .rating h2 { font-size: 1.15rem; }
    .servers-list, .features__list { gap: 12px; }
    .feature-card, .server-card, .announce-card, .review-card { min-width: 0; max-width: 95vw; }
    .rating__table, .faq-list { max-width: 99vw; }
}
.about-hero {
    background: linear-gradient(120deg, #292a27 60%, #333430 100%);
    padding: 60px 0 30px 0;
    text-align: center;
}
.about-hero__content h1 {
    font-size: 2.1rem;
    color: #e5b74d;
}
.about-hero__content .l2 { color: #e5b74d; }
.about-hero__content p {
    color: #eee;
    margin: 18px 0 0 0;
    font-size: 1.17rem;
}

.about-mission {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto 44px auto;
    padding: 34px 0 0 0;
    flex-wrap: wrap;
}
.about-mission__text {
    flex: 2 1 340px;
    min-width: 280px;
}
.about-mission__text h2 {
    font-size: 1.25rem;
    color: #e5b74d;
    margin-bottom: 13px;
}
.about-mission__text p {
    font-size: 1.09rem;
    color: #f2f2f2;
}
.about-mission__icons {
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: center;
    min-width: 130px;
    flex: 1 1 130px;
}
.about-mission__icon-block {
    background: #252521;
    border-radius: 10px;
    padding: 18px 14px 9px 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    min-width: 110px;
}
.about-mission__icon-block span:last-child {
    color: #e5b74d;
    font-size: .99rem;
    margin-top: 5px;
}

.about-team {
    background: #32322e;
    padding: 40px 0 26px 0;
    text-align: center;
}
.about-team h2 {
    color: #e5b74d;
    margin-bottom: 16px;
}
.about-team p {
    color: #eee;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.about-cta {
    background: #49a360;
    padding: 44px 0 40px 0;
    text-align: center;
}
.about-cta__inner h2 {
    color: #fff;
    margin-bottom: 14px;
    font-size: 1.3rem;
}
.about-cta__inner p {
    color: #fff;
    margin-bottom: 18px;
    font-size: 1.05rem;
}
.about-cta__inner .btn {
    background: #e5b74d;
    color: #232320;
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.06rem;
    transition: background .14s;
}
.about-cta__inner .btn:hover { background: #ad9b59; color: #fff; }

@media (max-width: 900px) {
    .about-mission { flex-direction: column; align-items: center; gap: 24px; }
    .about-mission__icons { flex-direction: row; gap: 18px; }
}
@media (max-width: 600px) {
    .about-hero__content h1 { font-size: 1.22rem; }
    .about-team, .about-cta { padding: 28px 0 22px 0; }
    .about-mission { padding-top: 16px; }
    .about-mission__icons { flex-wrap: wrap; }
    .about-mission__icon-block { min-width: 90px; }
}
.community-hero {
    background: linear-gradient(120deg, #292a27 60%, #333430 100%);
    padding: 48px 0 26px 0;
    text-align: center;
}
.community-hero__content h1 {
    color: #e5b74d;
    font-size: 2.0rem;
    margin-bottom: 11px;
}
.community-hero__content p {
    color: #f2f2f2;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.community-options {
    padding: 38px 0 22px 0;
}
.community-options h2 {
    text-align: center;
    color: #e5b74d;
    margin-bottom: 24px;
}
.community-options__list {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
}
.community-option {
    background: #252521;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 22px 18px;
    max-width: 320px;
    display: flex;
    gap: 18px;
    min-width: 220px;
    align-items: flex-start;
    flex: 1 1 210px;
}
.community-option__icon { min-width: 36px; margin-top: 3px; }
.community-option h3 { font-size: 1.09rem; color: #e5b74d; margin-bottom: 4px; }
.community-option p { font-size: .99rem; color: #eee; }

.community-social {
    background: #32322e;
    padding: 38px 0 28px 0;
}
.community-social__inner { max-width: 700px; margin: 0 auto; text-align: center; }
.community-social h2 { color: #e5b74d; margin-bottom: 18px; }
.community-social__links {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-bottom: 18px;
}
.community-social__link {
    color: #fff;
    font-weight: 500;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    transition: color .15s;
}
.community-social__link:hover { color: #e5b74d; }
.community-social__desc {
    color: #eee;
    margin: 0 auto;
    font-size: .99rem;
    margin-top: 10px;
    max-width: 550px;
    line-height: 1.55;
}

.community-feedback {
    background: #49a360;
    padding: 44px 0 38px 0;
    text-align: center;
}
.community-feedback h2 { color: #fff; margin-bottom: 18px; }
.community-feedback__form {
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.community-feedback__form input,
.community-feedback__form textarea {
    border: none;
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 1rem;
    background: #fff;
    color: #222;
    resize: none;
}
.community-feedback__form button {
    background: #e5b74d;
    color: #232320;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    padding: 10px 0;
    font-size: 1.06rem;
    cursor: pointer;
    transition: background .14s;
}
.community-feedback__form button:hover { background: #ad9b59; color: #fff; }

@media (max-width: 900px) {
    .community-options__list { flex-direction: column; gap: 18px; }
    .community-option { max-width: 95vw; min-width: 0; }
}
.faq-hero {
    background: linear-gradient(120deg, #292a27 60%, #333430 100%);
    padding: 50px 0 24px 0;
    text-align: center;
}
.faq-hero h1 {
    color: #e5b74d;
    font-size: 2.0rem;
    margin-bottom: 12px;
}
.faq-hero p {
    color: #f2f2f2;
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.09rem;
}

.faq-list-section {
    padding: 34px 0 16px 0;
    background: #333430;
}
.faq-list {
    max-width: 680px;
    margin: 0 auto;
}
.faq-list details {
    background: #252521;
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 13px 20px;
    font-size: 1.09rem;
    color: #e5b74d;
    cursor: pointer;
    transition: box-shadow .15s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
}
.faq-qicon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
}
.faq-list summary {
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    font-size: 1.09rem;
}
.faq-list details[open] summary { color: #e5b74d; }
.faq-answer {
    color: #eee;
    margin-top: 8px;
    font-size: .98rem;
    padding-left: 32px;
}

.faq-support {
    background: #49a360;
    text-align: center;
    padding: 42px 0 40px 0;
}
.faq-support__content h2 {
    color: #fff;
    margin-bottom: 14px;
    font-size: 1.3rem;
}
.faq-support__content p {
    color: #fff;
    font-size: 1.04rem;
}

@media (max-width: 700px) {
    .faq-list { max-width: 97vw; }
}
