html, body {
    margin: 0;
    padding: 0;
    font-family: 'Russo One', Arial, sans-serif;
    background: #373C46;
    color: #f0f0f0;
    min-height: 100%;
}
.visually-hidden {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
header {
    padding: 0 0 32px 0;
    background: #373C46;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.logo-area {
    padding: 32px 0 12px 0;
    text-align: center;
}
.logo-svg {
    display: inline-block;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 1px 8px #222a);
}
.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0 0 10px 0;
}
.main-nav a {
    font-size: 1.2rem;
    color: #ffcc22;
    text-decoration: none;
    font-family: 'Russo One', Arial, sans-serif;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
    color: #ff6633;
}
.search-form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 0 auto;
    padding-bottom: 18px;
    gap: 6px;
}
.search-form input[type="text"] {
    background: #262932;
    color: #fff;
    border: 1px solid #505360;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
    padding: 7px 13px;
    outline: none;
    width: 230px;
    transition: border 0.2s;
}
.search-form input[type="text"]:focus {
    border-color: #ffcc22;
}
.search-form button {
    background: #22252B;
    border: 1px solid #505360;
    border-left: none;
    border-radius: 0 4px 4px 0;
    padding: 7px 11px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-form button:hover,
.search-form button:focus {
    background: #36383E;
}
@media (max-width: 650px) {
    .main-nav ul { gap: 12px; }
    .logo-area { padding: 20px 0 7px 0; }
    .search-form input[type="text"] { width: 140px; }
}
footer {
    background: #2a2d36;
    color: #bbb;
    padding: 32px 0 0 0;
    font-size: 1rem;
    margin-top: 40px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px 0 32px;
    gap: 36px;
    flex-wrap: wrap;
}
.footer-info {
    flex: 2;
    min-width: 220px;
}
.footer-logo {
    margin-bottom: 8px;
}
.footer-desc {
    color: #f0c361;
    font-size: 1.08rem;
    line-height: 1.5;
}
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.footer-links a {
    color: #ffcc22;
    text-decoration: none;
    font-size: 1.08rem;
    transition: color 0.18s;
}
.footer-links a:hover,
.footer-links a:focus {
    color: #ff6633;
}
.footer-contacts {
    min-width: 170px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}
.footer-social {
    display: flex;
    gap: 14px;
}
.footer-social-link svg {
    border-radius: 6px;
    box-shadow: 0 1px 5px #1116;
    transition: transform 0.16s;
}
.footer-social-link:hover svg,
.footer-social-link:focus svg {
    transform: scale(1.08) rotate(-3deg);
}
.footer-email a {
    color: #fff;
    text-decoration: underline dotted;
    font-size: 1.05rem;
    word-break: break-all;
}
.footer-copy {
    background: #23252b;
    text-align: center;
    font-size: 0.98rem;
    color: #888;
    padding: 18px 5px 12px 5px;
    margin-top: 40px;
    letter-spacing: 0.05em;
}

@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 0 18px;
    }
    .footer-contacts {
        align-items: flex-start;
        margin-top: 12px;
    }
}
@media (max-width: 520px) {
    .footer-logo svg {
        width: 120px !important;
        height: 20px !important;
    }
    .footer-info,
    .footer-links,
    .footer-contacts {
        min-width: unset;
        width: 100%;
    }
    .footer-content {
        padding: 0 8px;
        gap: 12px;
    }
    .footer-copy {
        font-size: 0.9rem;
        padding: 10px 2px 10px 2px;
    }
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.servers-filter {
    margin: 24px 0 16px 0;
    text-align: right;
}
.servers-filter form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.servers-filter select,
.servers-filter button {
    background: #262932;
    color: #ffe7ad;
    border: 1px solid #454752;
    border-radius: 4px;
    padding: 7px 13px;
    font-size: 1.03rem;
    font-family: inherit;
    outline: none;
    transition: border 0.18s;
}
.servers-filter select:focus,
.servers-filter button:focus {
    border-color: #ffcc22;
}

.servers-table-wrap {
    overflow-x: auto;
}
.servers-table {
    width: 100%;
    border-collapse: collapse;
    background: #23252b;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 22px;
}
.servers-table th, .servers-table td {
    padding: 13px 10px;
    text-align: left;
}
.servers-table th {
    background: #2d303a;
    color: #ffcc22;
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: 2px solid #262932;
}
.servers-table td {
    border-bottom: 1px solid #23252b;
}
.server-name {
    font-size: 1.15em;
    color: #fff;
    letter-spacing: 1px;
}
.server-desc {
    color: #bbb07a;
    font-size: 0.96em;
    margin-top: 2px;
}
.status.soon {
    background: #ffcc22;
    color: #36383E;
    padding: 3px 10px;
    border-radius: 14px;
    font-size: 0.98em;
    font-weight: bold;
}
.forum-link {
    color: #ff6633;
    font-weight: 500;
    text-decoration: underline dotted;
}
.forum-link:hover,
.forum-link:focus {
    color: #ffcc22;
}

.discussions-preview {
    margin: 36px 0 28px 0;
}
.discussions-preview h2 {
    color: #ffcc22;
    font-size: 1.28em;
    margin-bottom: 10px;
}
.discussions-list article {
    background: #22242b;
    border-radius: 7px;
    padding: 10px 13px 7px 13px;
    margin-bottom: 9px;
    transition: background 0.17s;
    border-left: 4px solid #ffcc22;
}
.discussion-title {
    color: #ffe07a;
    font-size: 1.13em;
    font-weight: 500;
    text-decoration: none;
}
.discussion-meta {
    color: #aaa;
    font-size: 0.99em;
    margin-top: 2px;
}

.news-preview h2 {
    color: #ffcc22;
    font-size: 1.22em;
    margin-bottom: 9px;
}
.news-list article {
    background: #23252b;
    border-radius: 7px;
    padding: 7px 13px 6px 13px;
    margin-bottom: 7px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.news-date {
    color: #ffe07a;
    font-size: 0.98em;
    min-width: 90px;
    text-align: left;
}
.news-title {
    color: #fff;
    font-size: 1em;
    font-weight: 500;
}
.more-news {
    margin-top: 10px;
    text-align: right;
}
.more-news a {
    color: #ff6633;
    text-decoration: underline;
    font-weight: 500;
    font-size: 1.04em;
}
.more-news a:hover {
    color: #ffcc22;
}

@media (max-width: 820px) {
    .container {
        padding: 0 8px;
    }
    .servers-table th, .servers-table td {
        padding: 8px 5px;
        font-size: 0.98em;
    }
    .news-list article { flex-direction: column; gap: 3px; }
}
@media (max-width: 600px) {
    .servers-table th, .servers-table td {
        font-size: 0.95em;
    }
    .servers-filter form {
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
    }
    .servers-filter { text-align: left; }
    .news-list article { padding: 6px 8px 6px 8px; }
    .discussions-list article { padding: 8px 8px 5px 8px; }
}
.contacts-section {
    background: #262932;
    border-radius: 14px;
    box-shadow: 0 2px 12px #181a1c38;
    margin: 32px auto 28px auto;
    max-width: 540px;
    padding: 32px 24px 28px 24px;
}
.contacts-section h1 {
    font-size: 1.38em;
    color: #ffcc22;
    margin-bottom: 20px;
    text-align: center;
}
.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    align-items: center;
}
.contacts-email {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.06em;
    color: #ffe07a;
    margin-bottom: 3px;
}
.contacts-email-title {
    color: #fff;
    font-weight: 600;
    margin-left: 3px;
}
.contacts-email a {
    color: #ff6633;
    text-decoration: underline dotted;
    font-size: 1.02em;
    transition: color 0.18s;
}
.contacts-email a:hover { color: #ffcc22; }
.contacts-social {
    display: flex;
    gap: 13px;
}
.contacts-social-link svg {
    border-radius: 5px;
    box-shadow: 0 1px 4px #1116;
    transition: transform 0.13s;
}
.contacts-social-link:hover svg,
.contacts-social-link:focus svg {
    transform: scale(1.09) rotate(-2deg);
}

.contacts-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}
.form-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.contacts-form label {
    color: #ffcc22;
    font-weight: 500;
    font-size: 1.02em;
}
.contacts-form input,
.contacts-form textarea {
    background: #23252b;
    color: #ffe7ad;
    border: 1px solid #444652;
    border-radius: 5px;
    padding: 9px 12px;
    font-size: 1.05em;
    outline: none;
    transition: border 0.16s;
    font-family: inherit;
    resize: none;
}
.contacts-form input:focus,
.contacts-form textarea:focus {
    border-color: #ffcc22;
}
.contacts-form textarea {
    min-height: 90px;
    max-height: 220px;
    resize: vertical;
}
.form-submit {
    text-align: right;
}
.contacts-form button {
    background: #ffcc22;
    color: #23252b;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    padding: 11px 34px;
    font-size: 1.11em;
    cursor: pointer;
    transition: background 0.16s, color 0.16s;
}
.news-page h1 {
    font-size: 1.33em;
    color: #ffcc22;
    margin: 28px 0 10px 0;
    text-align: center;
}
.news-description {
    text-align: center;
    color: #ffe07a;
    font-size: 1.07em;
    margin-bottom: 30px;
}
.news-item {
    background: #23252b;
    border-radius: 12px;
    margin-bottom: 38px;
    padding: 28px 22px 18px 22px;
    box-shadow: 0 2px 12px #181a1c38;
    position: relative;
    overflow: hidden;
}
.news-item h2 {
    color: #ffcc22;
    font-size: 1.18em;
    margin-bottom: 11px;
}
.news-date {
    color: #ffe07a;
    font-size: 0.97em;
    margin-bottom: 3px;
}
.news-image {
    margin: 9px 0 16px 0;
    text-align: center;
}
.news-tip {
    background: #2a2d36;
    color: #c0f080;
    border-left: 4px solid #ffcc22;
    padding: 9px 14px;
    margin: 10px 0 12px 0;
    border-radius: 8px;
    font-size: 1.04em;
}
.news-table {
    width: 100%;
    border-collapse: collapse;
    margin: 17px 0 15px 0;
    background: #23252b;
    border-radius: 7px;
    overflow: hidden;
}
.news-table th,
.news-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #23252b;
    color: #ffe07a;
}
.news-table th {
    background: #2d303a;
    font-weight: 600;
}
.news-table td {
    color: #fff;
}
.news-faq {
    background: #25282f;
    border-radius: 7px;
    padding: 14px 18px;
    margin: 10px 0 12px 0;
}
.faq-q {
    color: #ffcc22;
    font-weight: 500;
    margin-bottom: 4px;
}
.faq-a {
    color: #fff;
    margin-bottom: 8px;
    margin-left: 10px;
}
@media (max-width: 700px) {
    .news-item { padding: 17px 6px 12px 6px; }
    .news-table th, .news-table td { padding: 6px 3px; }
    .news-faq { padding: 10px 7px; }
}
.forum-page h1 {
    color: #ffcc22;
    text-align: center;
    font-size: 1.32em;
    margin: 30px 0 12px 0;
}
.forum-description {
    text-align: center;
    color: #ffe07a;
    font-size: 1.09em;
    margin-bottom: 32px;
}
.forum-description a {
    color: #ff6633;
    font-weight: 600;
    text-decoration: underline;
    margin: 0 2px;
}
.forum-thread {
    background: #23252b;
    border-radius: 11px;
    box-shadow: 0 2px 10px #191a1d24;
    margin-bottom: 40px;
    padding-bottom: 12px;
    overflow: hidden;
}
.forum-thread-title {
    background: #2a2d36;
    color: #ffcc22;
    padding: 18px 23px 8px 23px;
    border-radius: 11px 11px 0 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.thread-title {
    font-size: 1.13em;
    font-weight: 700;
}
.thread-meta {
    color: #ffe07a;
    font-size: 0.98em;
    font-weight: 400;
}
.forum-posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 23px 10px 23px;
}
.forum-post {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #262932;
    border-radius: 8px;
    padding: 13px 16px;
    box-shadow: 0 1px 4px #1113;
}
.forum-avatar img {
    width: 41px;
    height: 41px;
    border-radius: 50%;
    border: 2px solid #ffcc22;
    background: #22242b;
    object-fit: cover;
}
.forum-post-body {
    flex: 1;
}
.forum-post-meta {
    color: #ffe07a;
    font-size: 1.03em;
    margin-bottom: 2px;
    font-weight: 500;
}
.forum-post-meta b {
    color: #ffcc22;
}
.forum-post-text {
    color: #fff;
    font-size: 1.09em;
    line-height: 1.55;
    word-break: break-word;
}
.forum-post-text a {
    color: #1e8bfa;
    text-decoration: underline dotted;
    font-weight: 500;
}
.forum-post-text a:hover { color: #ff6633; }
@media (max-width: 800px) {
    .forum-thread-title, .forum-posts { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 600px) {
    .forum-post { padding: 8px 5px; gap: 9px; }
    .forum-thread-title { padding: 10px 5px 6px 5px; }
    .forum-avatar img { width: 28px; height: 28px; }
    .forum-post-text { font-size: 1em; }
}

