/* Сброс стилей браузера и базовые стили */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html, body {
    height: 100%;
}
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #181c23;
    color: #ebeff2;
    min-height: 100vh;
    line-height: 1.6;
    font-size: 17px;
}
/* Контейнер */
.container {
    width: 92%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 12px;
    box-sizing: border-box;
}
/* Header */
.main-header {
    background: #16191f;
    border-bottom: 2px solid #22272f;
    box-shadow: 0 2px 18px rgba(16,22,34,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo-img {
    height: 48px;
    width: auto;
    display: block;
}
/* Меню */
.main-nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
}
.main-nav .nav-link {
    color: #e5e9f2;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.04rem;
    letter-spacing: 0.04em;
    padding: 6px 14px;
    border-radius: 7px;
    transition: background .18s, color .16s;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    background: #22273a;
    color: #f6b849;
}
/* Кнопка меню для мобилок */
.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    position: relative;
    cursor: pointer;
}
.menu-toggle::before, .menu-toggle::after, .menu-toggle span {
    content: '';
    display: block;
    height: 4px;
    width: 26px;
    background: #e9e9e9;
    margin: 6px 0;
    border-radius: 2px;
    transition: .23s;
}
/* Адаптив */
@media (max-width: 950px) {
    .main-nav ul {
        gap: 20px;
    }
    .logo-img {
        height: 38px;
    }
}
@media (max-width: 700px) {
    .header-flex {
        flex-wrap: wrap;
        gap: 14px 0;
    }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #181c23;
        box-shadow: 0 4px 14px rgba(24,28,35,0.12);
        display: none;
    }
    .main-nav.open {
        display: block;
        animation: showNav .17s;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    .main-nav .nav-link {
        display: block;
        padding: 16px 22px;
        border-radius: 0;
        border-bottom: 1px solid #212431;
    }
    .menu-toggle {
        display: block;
    }
}
/* Анимация меню */
@keyframes showNav {
    from { opacity: 0; transform: translateY(-12px);}
    to { opacity: 1; transform: none;}
}
.main-footer {
    background: #171a22;
    border-top: 2px solid #22272f;
    padding: 36px 0 12px 0;
    margin-top: 64px;
    color: #dbe2ed;
    font-size: 1rem;
    position: relative;
    z-index: 10;
}
.footer-flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px 12px;
}
.footer-logo-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 200px;
}
.footer-logo-link {
    display: inline-block;
}
.footer-logo-img {
    width: 62px;
    height: auto;
}
.footer-desc {
    font-size: 15px;
    color: #b5b8c6;
    margin-top: 6px;
    letter-spacing: 0.01em;
}
.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
    list-style: none;
}
.footer-link {
    color: #dbe2ed;
    text-decoration: none;
    transition: color .19s;
    font-size: 1.06em;
}
.footer-link:hover {
    color: #f6b849;
}
.footer-socials {
    display: flex;
    gap: 12px;
    align-items: center;
}
.footer-social {
    display: inline-flex;
    background: #232732;
    border-radius: 50%;
    padding: 6px;
    transition: background .18s;
    line-height: 1;
}
.footer-social:hover {
    background: #f6b849;
}
.footer-social svg {
    width: 24px;
    height: 24px;
    display: block;
}
/* Копирайт */
.copyright {
    margin-top: 24px;
    color: #757c8a;
    text-align: center;
    font-size: 0.97em;
    letter-spacing: 0.01em;
}
/* Адаптив */
@media (max-width: 800px) {
    .footer-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px 0;
    }
    .footer-logo-img {
        width: 48px;
    }
}
@media (max-width: 540px) {
    .main-footer {
        padding: 24px 0 10px 0;
    }
    .footer-logo-img {
        width: 40px;
    }
    .footer-desc {
        font-size: 13px;
    }
    .copyright {
        font-size: 0.93em;
    }
}
/* --- Главный баннер --- */
.hero-block {
    background: linear-gradient(120deg, #191d26 74%, #23273c 100%);
    padding: 46px 0 32px 0;
}
.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
    flex-wrap: wrap;
}
.hero-info {
    max-width: 530px;
}
.hero-block h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #e7eaf6;
    margin-bottom: 14px;
    line-height: 1.2;
}
.hero-block .accent {
    color: #f6b849;
    text-shadow: 0 1px 8px #23273c55;
}
.hero-lead {
    font-size: 1.23rem;
    margin-bottom: 32px;
    color: #b7bbcb;
}
.hero-actions {
    display: flex;
    gap: 18px;
    margin-bottom: 0;
}
.hero-img {
    width: 370px;
    max-width: 90vw;
    border-radius: 22px;
    box-shadow: 0 8px 44px #181c23cc;
    border: 1.5px solid #232730;
}

/* --- Секции --- */
.block {
    padding: 54px 0 36px 0;
    border-bottom: 1.5px solid #222431;
}
.block:last-child {
    border-bottom: none;
}

/* --- Турниры --- */
.tournaments-list {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.tournament-card {
    background: #1d202a;
    border-radius: 16px;
    box-shadow: 0 2px 16px #191d266c;
    padding: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 310px;
    min-width: 260px;
    gap: 18px;
    transition: transform .17s, box-shadow .17s;
}
.tournament-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 6px 32px #f6b84944;
}
.tournament-img {
    width: 92px;
    height: 92px;
    border-radius: 12px;
    object-fit: cover;
    background: #282c3b;
    margin-bottom: 8px;
}

/* --- Новости --- */
.news-list {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.news-card {
    background: #1d202a;
    border-radius: 13px;
    box-shadow: 0 2px 12px #191d265c;
    padding: 17px 17px 19px 17px;
    width: 320px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform .15s, box-shadow .15s;
}
.news-card:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 4px 22px #f6b84944;
}
.news-img {
    width: 100%;
    height: 90px;
    border-radius: 7px;
    object-fit: cover;
    background: #282c3b;
}
.news-date {
    color: #b3bac5;
    font-size: 0.93em;
    margin-top: 5px;
}

/* --- Фишки и механики --- */
.features-list {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.feature-card {
    background: #21242f;
    border-radius: 12px;
    box-shadow: 0 1px 12px #191d265c;
    padding: 15px 15px 17px 15px;
    width: 298px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    transition: transform .14s, box-shadow .13s;
}
.feature-card:hover {
    transform: translateY(-2px) scale(1.015);
    box-shadow: 0 4px 16px #f6b84936;
}
.feature-img {
    width: 100%;
    height: 74px;
    border-radius: 6px;
    object-fit: cover;
    background: #282c3b;
}

/* --- Видео и стримы --- */
.block-video .video-list {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.video-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #1e2230;
    border-radius: 11px;
    box-shadow: 0 1px 10px #181c2378;
    padding: 13px 11px 8px 11px;
    width: 360px;
    min-width: 200px;
}
.video-card iframe {
    width: 320px;
    height: 180px;
    border-radius: 7px;
    background: #232732;
    border: none;
    margin-bottom: 6px;
}
.video-card span {
    font-size: 1em;
    color: #c5cbda;
    margin-top: 2px;
}

/* --- Советы новичкам --- */
.block-tips .tips-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding-left: 0;
}
.block-tips li {
    background: #1e2230;
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #e5eaff;
    box-shadow: 0 1px 8px #181c2333;
}

/* --- FAQ --- */
.faq-list {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.faq-list details {
    background: #1e2230;
    border-radius: 8px;
    padding: 13px 16px;
    font-size: 1.07em;
    color: #e8eefd;
    box-shadow: 0 1px 8px #181c2333;
    cursor: pointer;
    transition: background .16s;
}
.faq-list details[open] {
    background: #22263c;
}
.faq-list summary {
    font-weight: 600;
    color: #f6b849;
    cursor: pointer;
    outline: none;
    margin-bottom: 6px;
    font-size: 1.05em;
}
.faq-list details div {
    margin-top: 7px;
    color: #c6cad9;
}

/* --- Быстрые ссылки --- */
.shortcuts-list {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.shortcut-card {
    background: #202331;
    border-radius: 10px;
    padding: 23px 30px;
    color: #e5e9f2;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.17em;
    box-shadow: 0 1px 8px #181c236c;
    transition: background .14s, color .12s, transform .13s;
    border: 1.3px solid #282c3b;
    min-width: 180px;
    text-align: center;
}
.shortcut-card:hover {
    background: #f6b849;
    color: #1a1d22;
    transform: translateY(-3px) scale(1.03);
}

/* --- Кнопки --- */
.btn, .btn-small {
    display: inline-block;
    background: #232733;
    color: #f6b849;
    border: none;
    border-radius: 8px;
    padding: 13px 26px;
    font-weight: 700;
    font-size: 1.13em;
    text-decoration: none;
    cursor: pointer;
    transition: background .14s, color .13s, box-shadow .17s, transform .12s;
    box-shadow: 0 1px 10px #181c233c;
    margin-right: 11px;
}
.btn:hover, .btn-small:hover {
    background: #f6b849;
    color: #191d22;
    transform: scale(1.05);
}
.btn-small {
    font-size: 0.98em;
    padding: 9px 17px;
    margin-right: 0;
}
.block-btns {
    margin-top: 19px;
}

/* --- Акценты --- */
.accent {
    color: #f6b849 !important;
}

/* --- Заголовки секций --- */
.block h2 {
    font-size: 1.55em;
    font-weight: 700;
    color: #f6b849;
    margin-bottom: 23px;
    letter-spacing: 0.01em;
}

/* --- Адаптив --- */
@media (max-width: 1200px) {
    .tournaments-list, .news-list, .features-list, .video-list, .shortcuts-list {
        flex-wrap: wrap;
        gap: 22px;
    }
}
@media (max-width: 900px) {
    .hero-flex {
        flex-direction: column;
        gap: 32px;
    }
    .tournaments-list, .news-list, .features-list, .video-list, .shortcuts-list {
        flex-direction: column;
        gap: 21px;
    }
    .hero-img {
        width: 95vw;
        min-width: 0;
    }
}
@media (max-width: 600px) {
    .block {
        padding: 33px 0 21px 0;
    }
    .hero-block {
        padding: 27px 0 15px 0;
    }
    .hero-block h1 {
        font-size: 1.23em;
    }
    .hero-lead {
        font-size: 1em;
    }
    .btn, .btn-small {
        font-size: 1em;
        padding: 10px 14px;
    }
    .shortcuts-list {
        gap: 13px;
    }
    .shortcut-card {
        padding: 14px 7px;
        min-width: 110px;
        font-size: 1em;
    }
    .video-card iframe {
        width: 94vw;
        height: 44vw;
        min-height: 130px;
    }
}
/* --- Трансляции --- */
.block-streams .streams-list {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 17px;
}
.stream-card {
    background: #1e2230;
    border-radius: 11px;
    box-shadow: 0 1px 9px #181c2342;
    padding: 14px 15px 14px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 260px;
    width: 340px;
    transition: box-shadow .14s;
}
.stream-card:hover {
    box-shadow: 0 4px 22px #f6b84955;
}
.stream-img {
    width: 64px;
    height: 64px;
    border-radius: 7px;
    object-fit: cover;
    background: #282c3b;
}
.stream-card b {
    color: #f6b849;
}
.stream-info {
    color: #c3c8d6;
    font-size: 1.01em;
    margin-top: 5px;
    margin-bottom: 0;
    opacity: 0.98;
}

/* --- Ставки и аналитика --- */
.block-betting {
    background: linear-gradient(112deg, #191d26 80%, #22253a 100%);
    border-radius: 0 0 24px 24px;
    margin-bottom: 0;
}
.betting-flex {
    display: flex;
    gap: 38px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 12px;
}
.betting-info {
    flex: 1 1 320px;
    min-width: 260px;
}
.betting-img-wrap {
    flex: 0 0 230px;
    min-width: 170px;
    display: flex;
    align-items: center;
}
.betting-img {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    background: #282c3b;
    box-shadow: 0 2px 22px #191d266c;
}
.betting-list {
    margin-top: 14px;
    padding-left: 22px;
    color: #e0e7ef;
}
.betting-list li {
    margin-bottom: 7px;
    font-size: 1.03em;
}
@media (max-width: 950px) {
    .betting-flex {
        flex-direction: column;
        gap: 24px;
    }
    .betting-img {
        width: 96vw;
        height: 35vw;
        max-width: 260px;
        min-height: 130px;
    }
}

/* --- Hero для страницы киберспорта --- */
.block-cybersport-hero {
    background: linear-gradient(112deg, #191d26 74%, #23273c 100%);
    padding: 36px 0 25px 0;
    border-bottom: 1.5px solid #222431;
}
.block-cybersport-hero .hero-flex {
    gap: 38px;
}
/* --- Hero features --- */
.block-features-hero {
    background: linear-gradient(112deg, #191d26 74%, #23273c 100%);
    padding: 36px 0 25px 0;
    border-bottom: 1.5px solid #222431;
}
.block-features-hero .hero-flex {
    gap: 38px;
}

/* --- Список фишек (гайдов) --- */
.block-feature-list .features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-bottom: 12px;
}
.block-feature-list .feature-card {
    background: #21242f;
    border-radius: 12px;
    box-shadow: 0 1px 12px #191d265c;
    padding: 15px 15px 17px 15px;
    width: 298px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    transition: transform .14s, box-shadow .13s;
}
.block-feature-list .feature-card:hover {
    transform: translateY(-2px) scale(1.015);
    box-shadow: 0 4px 16px #f6b84936;
}
.block-feature-list .feature-img {
    width: 100%;
    height: 74px;
    border-radius: 6px;
    object-fit: cover;
    background: #282c3b;
}

/* --- Категории фишек --- */
.block-feature-types .feature-type-list {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-bottom: 10px;
}
.feature-type-card {
    background: #1e2230;
    border-radius: 12px;
    box-shadow: 0 1px 10px #181c2355;
    padding: 17px 16px 17px 16px;
    width: 260px;
    min-width: 170px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    transition: box-shadow .13s, transform .14s;
}
.feature-type-card:hover {
    box-shadow: 0 4px 22px #f6b84944;
    transform: translateY(-3px) scale(1.03);
}
.feature-type-card img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 7px;
    background: #282c3b;
}
.feature-type-card b {
    color: #f6b849;
    font-size: 1.09em;
}
.feature-type-card p {
    font-size: 1em;
    color: #dbe1ee;
    margin-top: 5px;
}

/* --- Совет --- */
.block-feature-tip .feature-tip {
    background: #20242d;
    color: #f6b849;
    font-size: 1.13em;
    padding: 21px 26px;
    border-radius: 10px;
    font-weight: 600;
    margin: 15px 0 0 0;
    box-shadow: 0 1px 10px #181c2333;
    text-align: center;
    letter-spacing: 0.01em;
}

/* --- Адаптив features --- */
@media (max-width: 1100px) {
    .block-feature-list .features-list,
    .block-feature-types .feature-type-list {
        flex-wrap: wrap;
        gap: 18px;
    }
    .block-feature-list .feature-card,
    .feature-type-card {
        width: 46vw;
        min-width: 170px;
    }
}
@media (max-width: 800px) {
    .block-feature-list .features-list,
    .block-feature-types .feature-type-list {
        flex-direction: column;
        gap: 12px;
    }
    .block-feature-list .feature-card,
    .feature-type-card {
        width: 98%;
    }
    .feature-type-card img {
        width: 48px;
        height: 48px;
    }
    .block-feature-tip .feature-tip {
        padding: 14px 10px;
        font-size: 1em;
    }
}
/* --- Hero about --- */
.block-about-hero {
    background: linear-gradient(112deg, #191d26 74%, #23273c 100%);
    padding: 36px 0 25px 0;
    border-bottom: 1.5px solid #222431;
}
.block-about-hero .hero-flex {
    gap: 38px;
}

/* --- История CS --- */
.block-history .about-history-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-bottom: 12px;
}
.about-history-card {
    background: #1e2230;
    border-radius: 12px;
    box-shadow: 0 1px 10px #181c2355;
    padding: 17px 16px 17px 16px;
    width: 260px;
    min-width: 170px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    transition: box-shadow .13s, transform .14s;
}
.about-history-card:hover {
    box-shadow: 0 4px 22px #f6b84944;
    transform: translateY(-3px) scale(1.03);
}
.about-history-card img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 7px;
    background: #282c3b;
}
.about-history-card b {
    color: #f6b849;
    font-size: 1.09em;
}
.about-history-card p {
    font-size: 1em;
    color: #dbe1ee;
    margin-top: 5px;
}

/* --- Факты --- */
.block-facts .about-facts-list {
    list-style: disc inside;
    color: #e5eaff;
    font-size: 1.08em;
    margin-top: 2px;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.block-facts .about-facts-list li {
    background: #1e2230;
    border-radius: 7px;
    padding: 13px 17px;
    box-shadow: 0 1px 8px #181c2333;
    margin-bottom: 0;
    color: #e5eaff;
}

/* --- Почему CS --- */
.block-whycs .whycs-flex {
    display: flex;
    gap: 23px;
    flex-wrap: wrap;
    margin-top: 15px;
}
.whycs-card {
    background: #20242d;
    border-radius: 10px;
    box-shadow: 0 1px 8px #181c2333;
    color: #f6b849;
    font-size: 1.09em;
    padding: 21px 22px;
    font-weight: 600;
    width: 300px;
    min-width: 170px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.whycs-card p {
    color: #e0e6f2;
    font-size: 1em;
    margin-top: 7px;
    font-weight: 400;
}

/* --- Адаптив about --- */
@media (max-width: 1100px) {
    .block-history .about-history-flex, .block-whycs .whycs-flex {
        gap: 13px;
    }
    .about-history-card, .whycs-card {
        width: 46vw;
        min-width: 170px;
    }
}
@media (max-width: 800px) {
    .block-history .about-history-flex, .block-whycs .whycs-flex {
        flex-direction: column;
        gap: 12px;
    }
    .about-history-card, .whycs-card {
        width: 98%;
    }
    .about-history-card img {
        width: 48px;
        height: 48px;
    }
    .whycs-card {
        padding: 14px 10px;
        font-size: 1em;
    }
}
