/* Сброс */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    min-height: 100vh;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #18181c url('/img/bg.webp') repeat top center fixed;
    color: #f5f5f5;
    line-height: 1.65;
    position: relative;
}

/* Затемнённый overlay для эффекта */
.background-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: rgba(20, 18, 28, 0.82);
    pointer-events: none;
}

/* Контейнеры */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex {
    display: flex;
}
.align-center {
    align-items: center;
}
.space-between {
    justify-content: space-between;
}

/* HEADER */
.main-header {
    position: relative;
    z-index: 1;
    background: rgba(22, 19, 28, 0.93);
    box-shadow: 0 4px 16px 0 rgba(0,0,0,0.18);
    border-bottom: 2px solid #ff9600;
    padding: 10px 0;
}
.logo img {
    height: 48px;
    width: auto;
    display: block;
}

/* NAVIGATION */
.main-nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

.main-nav a {
    color: #ff9600;
    font-weight: 600;
    font-size: 1.08rem;
    text-decoration: none;
    letter-spacing: 0.04em;
    text-shadow: 1px 1px 0 #39240b;
    transition: color 0.15s;
    position: relative;
}

.main-nav a:hover,
.main-nav a:focus {
    color: #fff;
}

.main-nav a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff9600 0%, #ffb400 100%);
    transition: width 0.2s;
    margin-top: 4px;
}

.main-nav a:hover::after,
.main-nav a:focus::after {
    width: 100%;
}

/* MAIN CONTENT */
.main-content {
    position: relative;
    z-index: 1;
    min-height: 70vh;
    padding-top: 24px;
}

/* Адаптивность */
@media (max-width: 900px) {
    .container {
        max-width: 100%;
        padding: 0 8px;
    }
    .main-nav ul {
        gap: 18px;
    }
    .logo img {
        height: 36px;
    }
}
@media (max-width: 650px) {
    .flex {
        flex-direction: column;
        align-items: flex-start;
    }
    .main-header {
        padding: 12px 0 8px 0;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 8px;
        margin-top: 8px;
    }
    .logo {
        margin-bottom: 8px;
    }
}
.main-footer {
    position: relative;
    z-index: 1;
    background: rgba(20, 18, 26, 0.97);
    border-top: 2px solid #ff9600;
    margin-top: 38px;
    box-shadow: 0 -4px 18px 0 rgba(0,0,0,0.20);
    color: #ccc;
    padding: 32px 0 0 0;
    font-size: 1rem;
}
.flex-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 38px;
    flex-wrap: wrap;
}
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 130px;
    margin-bottom: 14px;
}
.footer-logo img {
    display: block;
    height: 34px;
    width: auto;
}
.footer-tagline {
    color: #ff9600;
    font-size: 1.05em;
    font-weight: 600;
    text-shadow: 0 1px 4px #221300;
}
.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-nav a {
    color: #ff9600;
    text-decoration: none;
    transition: color 0.18s;
    font-weight: 500;
    font-size: 1.02em;
    letter-spacing: 0.01em;
}
.footer-nav a:hover,
.footer-nav a:focus {
    color: #fff;
}
.footer-desc {
    max-width: 320px;
    font-size: 0.98em;
    color: #f1e2d0;
    line-height: 1.5;
    margin-top: 8px;
}
.footer-copy {
    margin-top: 22px;
    text-align: center;
    font-size: 0.96em;
    color: #c6a97b;
    padding: 10px 0 14px 0;
    border-top: 1px solid #3a280f;
    background: transparent;
}

@media (max-width: 850px) {
    .flex-footer {
        flex-direction: column;
        gap: 22px;
        align-items: flex-start;
    }
    .footer-desc {
        max-width: 100%;
        margin-top: 10px;
    }
}
.hero-block {
    background: linear-gradient(90deg, #18181c 70%, #2a1808 100%);
    padding: 48px 0 38px 0;
    border-bottom: 2px solid #ff9600;
}
.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 42px;
}
.hero-text {
    flex: 1 1 380px;
}
.hero-text h1 {
    color: #ff9600;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: 0.04em;
    text-shadow: 2px 2px 0 #271900;
}
.hero-text p {
    font-size: 1.18rem;
    color: #ffe6b2;
    margin-bottom: 26px;
    max-width: 500px;
}
.hero-btn {
    background: linear-gradient(90deg, #ff9600 60%, #ffb400 100%);
    color: #18181c;
    font-weight: bold;
    font-size: 1.07rem;
    border: none;
    border-radius: 5px;
    padding: 12px 36px;
    box-shadow: 0 2px 8px #21140170;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.18s;
}
.hero-btn:hover {
    background: #ffe6b2;
    color: #d25600;
}
.hero-img img {
    width: 440px;
    max-width: 90vw;
    border-radius: 11px;
    box-shadow: 0 6px 22px #190c02d0;
}

@media (max-width: 950px) {
    .hero-content { flex-direction: column; align-items: flex-start; }
    .hero-img img { width: 96vw; max-width: 420px; margin-top: 22px;}
}

.main-news {
    padding: 38px 0 26px 0;
}
.main-news h2 { color: #ff9600; margin-bottom: 22px;}
.news-list {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.news-item {
    display: flex;
    gap: 16px;
    background: rgba(34,29,19,0.96);
    border-radius: 10px;
    padding: 18px 18px 14px 10px;
    box-shadow: 0 3px 14px #0f060270;
    min-width: 300px;
    flex: 1 1 320px;
    align-items: flex-start;
}
.news-item img {
    width: 100px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
}
.news-item h3 { margin-bottom: 5px; font-size: 1.14em;}
.news-item a { color: #ff9600; text-decoration: none;}
.news-item a:hover { text-decoration: underline; color: #ffe6b2;}

@media (max-width: 900px) {
    .news-list { flex-direction: column; gap: 18px;}
}

.feature-blocks {
    background: rgba(35, 23, 9, 0.83);
    padding: 36px 0 28px 0;
}
.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: space-between;
}
.feature-card {
    background: #20140b;
    border: 1.5px solid #ff9600;
    border-radius: 12px;
    padding: 22px 20px 20px 18px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    flex: 1 1 260px;
    min-width: 230px;
    max-width: 330px;
    text-decoration: none;
    color: #fff3c9;
    box-shadow: 0 2px 12px #1509007c;
    transition: border 0.14s, box-shadow 0.16s;
}
.feature-card:hover {
    border-color: #ffe6b2;
    box-shadow: 0 2px 18px #ffa60052;
}
.feature-card img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 8px;
}
.feature-card h4 {
    color: #ff9600;
    font-size: 1.08em;
    margin-bottom: 7px;
}
.feature-card p { color: #ffe6b2; font-size: 0.99em; }

@media (max-width: 900px) {
    .feature-list { flex-direction: column; gap: 20px;}
}

.quote-section {
    background: linear-gradient(90deg, #26190a 70%, #18181c 100%);
    padding: 44px 0 32px 0;
    text-align: center;
}
.quote-wrap {
    max-width: 680px;
    margin: 0 auto;
}
blockquote {
    font-size: 1.26rem;
    font-style: italic;
    color: #ffe6b2;
    line-height: 1.4;
    margin-bottom: 14px;
    border-left: 5px solid #ff9600;
    padding-left: 22px;
}
.quote-author {
    color: #ff9600;
    font-weight: 600;
    font-size: 1.07em;
    text-shadow: 1px 1px 0 #332100;
}

.history-block {
    padding: 38px 0 22px 0;
    background: rgba(18,17,28,0.88);
}
.history-content h2 {
    color: #ff9600;
    margin-bottom: 16px;
}
.history-flex {
    display: flex;
    gap: 34px;
    align-items: center;
    flex-wrap: wrap;
}
.history-text {
    flex: 1 1 320px;
    min-width: 230px;
}
.history-text ul {
    margin: 14px 0 16px 20px;
    color: #ffe6b2;
    font-size: 1.01em;
}
.history-btn {
    background: #ff9600;
    color: #18181c;
    border-radius: 5px;
    padding: 8px 24px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    margin-top: 12px;
    display: inline-block;
    transition: background 0.15s, color 0.15s;
}
.history-btn:hover { background: #ffe6b2; color: #d25600; }
.history-img img {
    border-radius: 10px;
    width: 320px;
    max-width: 92vw;
    box-shadow: 0 5px 22px #150900aa;
}

@media (max-width: 900px) {
    .history-flex { flex-direction: column; gap: 18px; align-items: flex-start;}
    .history-img img { width: 96vw; max-width: 360px;}
}

.table-section {
    background: #1c1818e0;
    padding: 36px 0 32px 0;
}
.table-section h2 { color: #ff9600; margin-bottom: 16px;}
.table-wrap { overflow-x: auto; }
table {
    width: 100%;
    border-collapse: collapse;
    background: #23190c;
    color: #ffe6b2;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 3px 18px #22130099;
}
th, td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #a97c00;
}
th {
    background: #ff9600;
    color: #23190c;
    font-weight: 800;
    font-size: 1.06em;
}
tr:last-child td { border-bottom: none; }

.faq-section {
    padding: 34px 0 38px 0;
    background: rgba(25, 15, 9, 0.90);
}
.faq-section h2 { color: #ff9600; margin-bottom: 18px;}
.faq-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
}
.faq-item {
    background: #221909;
    color: #ffe6b2;
    border-radius: 9px;
    box-shadow: 0 1px 8px #26190a88;
    padding: 14px 16px 10px 16px;
    flex: 1 1 280px;
    min-width: 230px;
    max-width: 400px;
}
.faq-item h4 {
    color: #ff9600;
    margin-bottom: 7px;
    font-size: 1.09em;
}
.faq-item a { color: #ffb400; text-decoration: underline;}
.faq-item a:hover { color: #ff9600; }

@media (max-width: 850px) {
    .faq-list { flex-direction: column; gap: 14px;}
}
.mmorpg-hero {
    background: linear-gradient(90deg, #18181c 65%, #2a1808 100%);
    padding: 40px 0 28px 0;
}
.mmorpg-hero-flex {
    display: flex;
    gap: 44px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.mmorpg-hero-text {
    flex: 1 1 380px;
}
.mmorpg-hero-text h1 {
    color: #ff9600;
    font-size: 2.0rem;
    font-weight: 800;
    margin-bottom: 13px;
    letter-spacing: 0.04em;
    text-shadow: 1px 1px 0 #271900;
}
.mmorpg-hero-text p {
    color: #ffe6b2;
    font-size: 1.11rem;
    max-width: 540px;
}
.mmorpg-hero-img img {
    border-radius: 11px;
    width: 350px;
    max-width: 94vw;
    box-shadow: 0 3px 16px #150900d0;
}

@media (max-width: 900px) {
    .mmorpg-hero-flex { flex-direction: column; gap: 20px;}
    .mmorpg-hero-img img { width: 94vw; }
}

.mmorpg-recommend {
    background: #1a1514ed;
    padding: 34px 0 22px 0;
}
.mmorpg-recommend h2 {
    color: #ff9600;
    margin-bottom: 18px;
}
.recommend-cards {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.recommend-card {
    background: #23180b;
    border: 1.5px solid #ff9600;
    border-radius: 10px;
    box-shadow: 0 2px 10px #1409007a;
    padding: 18px 14px 16px 14px;
    min-width: 220px;
    max-width: 290px;
    flex: 1 1 220px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.recommend-card img {
    width: 78px;
    height: 78px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 10px;
}
.recommend-card h3 {
    color: #ff9600;
    margin-bottom: 8px;
    font-size: 1.1em;
}
.rec-link {
    display: inline-block;
    margin-top: 10px;
    background: #ff9600;
    color: #18181c;
    font-weight: 700;
    border-radius: 6px;
    padding: 6px 20px;
    text-decoration: none;
    transition: background 0.16s, color 0.15s;
}
.rec-link:hover {
    background: #ffe6b2;
    color: #d25600;
}

@media (max-width: 850px) {
    .recommend-cards { flex-direction: column; gap: 14px;}
    .recommend-card { max-width: 100%;}
}

.mmorpg-table-block {
    background: #1c1818e6;
    padding: 28px 0 20px 0;
}
.mmorpg-table-block h2 { color: #ff9600; margin-bottom: 13px;}
/* таблица — уже стилизована выше */

.mmorpg-facts {
    background: linear-gradient(90deg, #221900 80%, #18181c 100%);
    padding: 20px 0 16px 0;
}
.facts-flex {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.fact-block {
    background: #221909;
    color: #ffe6b2;
    border-radius: 9px;
    box-shadow: 0 1px 7px #2319097a;
    padding: 14px 18px 12px 16px;
    min-width: 170px;
    flex: 1 1 190px;
    max-width: 340px;
}
.fact-block h4 {
    color: #ff9600;
    margin-bottom: 7px;
    font-size: 1.01em;
    font-weight: 700;
}

@media (max-width: 800px) {
    .facts-flex { flex-direction: column; gap: 10px;}
}

.mmorpg-faq {
    background: rgba(25, 15, 9, 0.92);
    padding: 24px 0 36px 0;
}
.mmorpg-faq h2 { color: #ff9600; margin-bottom: 14px;}
/* faq-list и faq-item — уже стилизованы выше */

.cyber-hero {
    background: linear-gradient(90deg, #191921 65%, #2a1808 100%);
    padding: 38px 0 24px 0;
}
.cyber-hero-flex {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.cyber-hero-text {
    flex: 1 1 380px;
}
.cyber-hero-text h1 {
    color: #ff9600;
    font-size: 2.0rem;
    font-weight: 800;
    margin-bottom: 11px;
    letter-spacing: 0.04em;
    text-shadow: 1px 1px 0 #271900;
}
.cyber-hero-text p {
    color: #ffe6b2;
    font-size: 1.08rem;
    max-width: 530px;
}
.cyber-hero-img img {
    border-radius: 10px;
    width: 330px;
    max-width: 90vw;
    box-shadow: 0 3px 14px #150900d0;
}

@media (max-width: 900px) {
    .cyber-hero-flex { flex-direction: column; gap: 16px;}
    .cyber-hero-img img { width: 94vw; }
}

.cyber-news {
    background: #1a1514f2;
    padding: 32px 0 14px 0;
}
.cyber-news h2 {
    color: #ff9600;
    margin-bottom: 18px;
}
.cyber-news-list {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.cyber-news-item {
    display: flex;
    gap: 13px;
    background: #22190b;
    border-radius: 9px;
    padding: 16px 12px 13px 10px;
    box-shadow: 0 2px 10px #0f060270;
    min-width: 280px;
    flex: 1 1 320px;
    align-items: flex-start;
}
.cyber-news-item img {
    width: 78px;
    height: 60px;
    object-fit: cover;
    border-radius: 7px;
    flex-shrink: 0;
}
.cyber-news-item h3 {
    margin-bottom: 5px;
    font-size: 1.1em;
}
.cyber-news-item a {
    color: #ff9600;
    text-decoration: none;
}
.cyber-news-item a:hover {
    text-decoration: underline;
    color: #ffe6b2;
}

@media (max-width: 800px) {
    .cyber-news-list { flex-direction: column; gap: 14px;}
}

.cyber-analitics {
    background: linear-gradient(90deg, #221900 80%, #18181c 100%);
    padding: 18px 0 12px 0;
}
.cyber-analitics-flex {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.analitics-block {
    background: #221909;
    color: #ffe6b2;
    border-radius: 8px;
    box-shadow: 0 1px 7px #2319097a;
    padding: 12px 18px 10px 16px;
    min-width: 160px;
    flex: 1 1 190px;
    max-width: 340px;
}
.analitics-block h4 {
    color: #ff9600;
    margin-bottom: 5px;
    font-size: 1em;
    font-weight: 700;
}

@media (max-width: 800px) {
    .cyber-analitics-flex { flex-direction: column; gap: 10px;}
}

.cyber-faq {
    background: rgba(25, 15, 9, 0.91);
    padding: 22px 0 34px 0;
}
.cyber-faq h2 { color: #ff9600; margin-bottom: 12px;}
/* faq-list и faq-item — используются общие стили */
.l2-hero {
    background: linear-gradient(90deg, #18181c 65%, #231c0d 100%);
    padding: 40px 0 28px 0;
}
.l2-hero-flex {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.l2-hero-text {
    flex: 1 1 380px;
}
.l2-hero-text h1 {
    color: #ff9600;
    font-size: 2.0rem;
    font-weight: 800;
    margin-bottom: 11px;
    letter-spacing: 0.04em;
    text-shadow: 1px 1px 0 #271900;
}
.l2-hero-text p {
    color: #ffe6b2;
    font-size: 1.09rem;
    max-width: 540px;
}
.l2-hero-img img {
    border-radius: 10px;
    width: 330px;
    max-width: 92vw;
    box-shadow: 0 3px 14px #150900d0;
}

@media (max-width: 900px) {
    .l2-hero-flex { flex-direction: column; gap: 16px;}
    .l2-hero-img img { width: 94vw; }
}

.l2-timeline {
    background: #1c1818e6;
    padding: 30px 0 22px 0;
}
.l2-timeline h2 {
    color: #ff9600;
    margin-bottom: 18px;
}
.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 900px;
    margin: 0 auto;
}
.timeline-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #23190c;
    border-radius: 9px;
    padding: 16px 14px 13px 18px;
    box-shadow: 0 2px 10px #1409007a;
}
.timeline-year {
    min-width: 72px;
    color: #ff9600;
    font-weight: 900;
    font-size: 1.25em;
    letter-spacing: 0.03em;
    margin-top: 2px;
}

.l2-facts {
    background: linear-gradient(90deg, #221900 80%, #18181c 100%);
    padding: 18px 0 12px 0;
}
.l2-facts-flex {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.l2-fact {
    background: #221909;
    color: #ffe6b2;
    border-radius: 8px;
    box-shadow: 0 1px 7px #2319097a;
    padding: 12px 18px 10px 16px;
    min-width: 160px;
    flex: 1 1 190px;
    max-width: 340px;
}
.l2-fact h4 {
    color: #ff9600;
    margin-bottom: 5px;
    font-size: 1em;
    font-weight: 700;
}

@media (max-width: 800px) {
    .l2-facts-flex { flex-direction: column; gap: 10px;}
}

.l2-guides {
    background: #1a1514ed;
    padding: 32px 0 22px 0;
}
.l2-guides h2 {
    color: #ff9600;
    margin-bottom: 18px;
}
.l2-guides-list {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.l2-guide-card {
    background: #23180b;
    border: 1.5px solid #ff9600;
    border-radius: 10px;
    box-shadow: 0 2px 10px #1409007a;
    padding: 18px 14px 16px 14px;
    min-width: 210px;
    max-width: 320px;
    flex: 1 1 210px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.l2-guide-card img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    border-radius: 8px;
    margin-top: 2px;
}
.l2-guide-card h3 {
    color: #ff9600;
    margin-bottom: 7px;
    font-size: 1.08em;
}

@media (max-width: 850px) {
    .l2-guides-list { flex-direction: column; gap: 13px;}
    .l2-guide-card { max-width: 100%;}
}

.l2-community {
    background: linear-gradient(90deg, #221900 80%, #18181c 100%);
    padding: 16px 0 14px 0;
}
.l2-community-flex {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.community-block {
    background: #221909;
    color: #ffe6b2;
    border-radius: 8px;
    box-shadow: 0 1px 7px #2319097a;
    padding: 12px 18px 10px 16px;
    min-width: 180px;
    flex: 1 1 250px;
    max-width: 440px;
}
.community-block h4 {
    color: #ff9600;
    margin-bottom: 5px;
    font-size: 1em;
    font-weight: 700;
}

@media (max-width: 900px) {
    .l2-community-flex { flex-direction: column; gap: 10px;}
}

/* faq-list и faq-item — используются общие стили */
.l2-faq {
    background: rgba(25, 15, 9, 0.92);
    padding: 22px 0 36px 0;
}
.l2-faq h2 { color: #ff9600; margin-bottom: 14px;}
