/* ==========================================================================
   1. ГЛОБАЛЬНЫЕ СБРОСЫ И БАЗОВЫЕ СТИЛИ
   ========================================================================== */
* {
    box-sizing: border-box;
}

body {
    text-align: center;
    background: url("../images/logo1.png") no-repeat 50% 66px,
                url("../images/logo2.png") no-repeat 50% 0,
                url("../images/logo3.png") no-repeat 50% 100%,
                #492c1f url('../images/bg1.png') repeat;
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: #f1e4d3;
}

a {
    color: #ff9f1c;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #ffb03a;
}

.xdebug-var-dump {
    display: block;
    background-color: black;
    color: white;
    text-align: left;
}

#bg_top {
    display: inline-block;
    text-align: left;
    width: 1010px;
    margin: 0 auto;
}

/* ==========================================================================
   2. МЕНЮ НАВИГАЦИИ (РОВНЫЙ ХЕДЕР)
   ========================================================================== */
#menu_p {
    background-color: rgba(26, 15, 10, 0.95);
    border-bottom: 3px solid #ff9f1c;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    padding: 0;
    height: 60px; /* Строго фиксированная высота для соосности элементов */
    width: 100%;
}

#nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}

#nav > li {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
}

#nav > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    padding: 0 16px;
    color: #e5d4c0;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.3;
    transition: all 0.25s ease;
}

#nav > li > a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ff9f1c;
}

/* Активный пункт меню "ГЛАВНАЯ" */
#nav > li.active > a {
    background-color: #ff9f1c;
    color: #1a0f0a;
}

/* Отключение старых фонов со скосами */
#nav > li.active > a::before, 
#nav > li.active > a::after,
#nav > li.gold > a::before,
#nav > li.gold > a::after {
    display: none !important;
}

/* Кнопка регистрации */
#nav > li.register {
    margin-left: auto !important; /* Автоматический сдвиг в правый край */
    padding-right: 15px;
}

#nav > li.register > a {
    background: linear-gradient(135deg, #ff9f1c, #ff4e00);
    color: #fff;
    height: 40px;
    border-radius: 4px;
    padding: 0 20px;
    box-shadow: 0 4px 10px rgba(255, 78, 0, 0.3);
    margin: auto 0;
}

#nav > li.register > a:hover {
    background: linear-gradient(135deg, #ffb03a, #ff621e);
    box-shadow: 0 6px 15px rgba(255, 78, 0, 0.5);
    color: #fff;
}

/* Выпадающие списки */
.subDropMenu {
    position: relative;
}

.subDropMenu ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(30, 18, 12, 0.95);
    border: 1px solid rgba(255, 159, 28, 0.3);
    padding: 10px 0;
    list-style: none;
    min-width: 220px;
    z-index: 999;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}

.subDropMenu ul li {
    display: block;
}

.subDropMenu ul li a {
    padding: 10px 20px;
    font-size: 13px;
    text-transform: none;
}

.subDropMenu:hover ul {
    display: block;
}

/* ==========================================================================
   3. ПАНЕЛЬ АВТОРИЗАЦИИ И ПРОФИЛЬ
   ========================================================================== */
#panel {
    float: right;
    margin-top: 38px;
    width: 220px;
}

/* Форма гостей */
#panel form {
    background: rgba(30, 18, 12, 0.9);
    border: 1px solid rgba(255, 159, 28, 0.3);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    padding: 20px;
    height: auto;
    box-sizing: border-box;
    text-align: left;
    color: #fff;
}

#panel form input[type="text"], 
#panel form input[type="password"] {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 159, 28, 0.3);
    border-radius: 4px;
    color: #fff;
    padding: 10px;
    margin-top: 8px;
    margin-bottom: 12px;
    box-sizing: border-box;
    font-size: 13px;
    transition: all 0.3s ease;
}

#panel form input[type="text"]:focus, 
#panel form input[type="password"]:focus {
    border-color: #ff9f1c;
    box-shadow: 0 0 8px rgba(255, 159, 28, 0.4);
    outline: none;
}

#panel form input[type='submit'] {
    width: 100%;
    height: 42px;
    background: linear-gradient(135deg, #a2cf00, #6ca600);
    border: none;
    border-radius: 4px;
    color: #fff !important;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(108, 166, 0, 0.3);
    transition: all 0.3s ease;
    margin-top: 5px;
}

#panel form input[type='submit']:hover {
    background: linear-gradient(135deg, #b5e600, #7cb200);
    box-shadow: 0 6px 15px rgba(108, 166, 0, 0.5);
}

.forgot-pass {
    display: inline-block;
    margin-top: 5px;
    font-size: 11px;
    color: #aaa;
}

.forgot-pass:hover {
    color: #ff9f1c;
}

/* Карточка авторизованного пользователя */
#center {
    background: rgba(30, 18, 12, 0.95);
    border: 1px solid rgba(255, 159, 28, 0.3);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    padding: 20px;
    width: 100% !important;
    box-sizing: border-box;
    text-align: center;
}

/* Аватар по центру */
.ava_air {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.ava_air img {
    width: 96px;
    height: 96px;
    border: 2px solid rgba(255, 159, 28, 0.4);
    border-radius: 6px;
    object-fit: cover;
}

/* Меню профиля */
.user-menu {
    display: flex;
    flex-direction: column;
}

.user-menu a {
    color: #e5d4c0;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    display: block;
    text-align: center;
}

.user-menu a:last-child {
    border-bottom: none;
}

.user-menu a:hover {
    color: #ff9f1c;
    padding-left: 5px;
}

/* Кнопка-переключатель панели снизу */
.slide {
    display: block;
    text-align: right;
    margin-top: 10px;
}

.btn-slide {
    display: inline-block;
    background-color: rgba(30, 18, 12, 0.9);
    border: 1px solid rgba(255, 159, 28, 0.3);
    border-radius: 4px;
    color: #ff9f1c;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-slide:hover {
    background-color: #ff9f1c;
    border-color: #ff9f1c;
    color: #1e120c;
}

/* ==========================================================================
   4. ДЕКОРАТИВНЫЕ ЭЛЕМЕНТЫ ШАПКИ И ИГРОВЫЕ КНОПКИ
   ========================================================================== */
#header {
    height: 430px;
    position: relative;
}

.siteLogo {
    position: absolute;
    z-index: 10;
}

.siteLogo a {
    display: block;
    width: 236px;
    height: 147px;
    position: relative;
    top: 30px;
    left: 30px;
}

#upd_button {
    position: absolute;
}

#upd_button a {
    background: rgba(0, 0, 0, 0) url("../images/launcher.png") repeat scroll 0 0;
    display: block;
    height: 50px;
    left: 850px;
    position: relative;
    top: 300px;
    width: 110px;
}

#play_button {
    position: absolute;
}

#play_button a {
    display: block;
    background: url('../images/playButton.png') no-repeat center;
    background-size: contain;
    width: 160px;
    height: 50px;
    position: relative;
    top: 300px;
    left: 430px;
}

#totalOnline {
    position: absolute;
}

#totalOnline > div {
    background-color: rgba(30, 18, 12, 0.85);
    border: 1px solid rgba(255, 159, 28, 0.3);
    border-radius: 6px;
    padding: 15px;
    position: relative;
    top: 210px;
    left: 45px;
}

#totalOnline > div > div {
    color: #fff;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
}

#totalOnline > div > div > div {
    margin-top: 10px;
    width: 150px;
    height: 50px;
    background: url('../images/onlineCounter.png') no-repeat;
    background-size: 100%;
}

#totalOnline > div > div > div > div {
    letter-spacing: 15px;
    font-size: 29px;
    font-family: Tahoma, sans-serif;
    padding: 5px 0 0 10px;
    text-shadow: 0px 0px 3px white;
}

/* ==========================================================================
   5. СТРУКТУРА ОСНОВНОГО ТЕЛА И КОЛОНОК (ВЫРАВНЕННЫЙ СЕРЫЙ СТИЛЬ)
   ========================================================================== */
#wrapper {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 12px;
}

#content {
    background-color: #e5e5e3; /* Новый чистый сероватый фон */
    border-radius: 8px;
    overflow: hidden; /* Скругляет углы темной шапки по углам контейнера */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

#content_bottom {
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Выравнивает левый и правый блоки строго по верхней линии */
    padding: 25px; /* Одинаковый отступ со всех сторон внутри контейнера */
    gap: 20px; /* Расстояние между колонками */
}

.pageTitle {
    background-color: rgba(26, 15, 10, 0.95); /* Глубокий темный фон в тон верхнего меню */
    border-bottom: 3px solid #ff9f1c; /* Четкая оранжевая разделительная линия */
    color: #ff9f1c;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    height: auto; /* Сброс фиксированной высоты */
}

/* Иконка в заголовке */
.pageTitle img {
    margin: 0;
    position: static; /* Сброс старого абсолютного позиционирования */
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: sepia(100%) hue-rotate(10deg) saturate(200%); /* Приведение иконки к теплому тону */
}

#right_block {
    width: 250px;
    padding: 0; /* Сброс отступа для точного выравнивания */
    margin: 0;
}

#left_block {
    width: 690px; /* Отрегулировано под ширину контента */
    padding: 0; /* Сброс отступа для точного выравнивания */
    margin: 0;
}

#left_block > div {
    background: none !important; /* Полное удаление пиксельной полосы bg4.png */
    padding-right: 0 !important; /* Сброс старого отступа справа */
    display: inline-block;
    vertical-align: top;
    width: 100%;
}

/* Контентные новости */
.cnt {
    background-color: #fcf5e8;
    width: 100%;
    margin-top: 25px;
    padding: 25px;
    border-radius: 6px;
    color: #3d2919;
}

.cnt .news_title a {
    color: #3d2919;
    font-size: 24px;
    text-decoration: none;
    font-weight: bold;
}

.cnt .news_img {
    margin: 8px;
    display: inline-block;
}

.cnt .news_img img {
    width: 215px;
    height: 210px;
    object-fit: cover;
    border-radius: 4px;
}

.cnt .news_block {
    display: inline-block;
    width: 357px;
    vertical-align: top;
    margin-left: 20px;
}

.cnt .newsinfo div:nth-child(1) a {
    background: #ff9f1c;
    color: white;
    display: block;
    font-size: 15px;
    font-weight: bold;
    height: 40px;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    width: 110px;
}

.cnt .short {
    height: 110px;
    overflow: hidden;
    line-height: 1.4;
}

/* ==========================================================================
   6. ПРАВАЯ КОЛОНКА, ВИДЖЕТЫ И ГОЛОСОВАНИЕ
   ========================================================================== */
#right_block > div {
    background: rgba(30, 18, 12, 0.9);
    border: 1px solid rgba(255, 159, 28, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    box-sizing: border-box;
    width: 100%;
}

#right_block .title {
    background: none;
    color: #ff9f1c;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 159, 28, 0.3);
    padding-bottom: 10px;
    margin-bottom: 15px;
    text-align: center;
    height: auto;
    line-height: normal;
}

#right_block .body {
    background: none;
    min-height: auto;
}

#right_block .bottom {
    display: none;
}

/* Голосование */
.top-vote {
    text-align: center;
    padding: 10px;
    margin: 0 auto;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.2);
}

.top-vote table {
    border-collapse: collapse;
    width: 100%;
}

.top-vote table tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.05);
}

.top-vote table td, .top-vote table th {
    border: 1px solid rgba(255, 159, 28, 0.2);
    padding: 8px;
    color: #e5d4c0;
    font-size: 13px;
}

.top-vote table th {
    color: #ff9f1c;
    font-weight: bold;
}

/* ==========================================================================
   7. ПОДВАЛ (FOOTER) И СЕО-ПЛЕЙСХОЛДЕРЫ
   ========================================================================== */
#body_bottom {
    height: auto;
    padding: 40px 0;
    text-align: center;
    color: white;
    background-color: rgba(15, 9, 6, 0.95);
    border-top: 3px solid #ff9f1c;
}

#copyright h1 {
    font-size: 100%;
    margin: 5px 0 0 0;
}

#footerLogo4, #footerLogo5 {
    display: none; /* Скрытие мешающих декораций в пользу ровного футера */
}

.seoText1 {
    display: none;
}

/* ==========================================================================
   8. СТРАНИЦА ПРОФИЛЯ ПОЛЬЗОВАТЕЛЯ И РЕДАКТИРОВАНИЯ
   ========================================================================== */
.profile-container {
    display: flex;
    gap: 25px;
    padding: 20px;
    background: rgba(30, 18, 12, 0.7);
    border: 1px solid rgba(255, 159, 28, 0.2);
    border-radius: 8px;
    box-sizing: border-box;
}

/* Левая колонка профиля */
.profile-avatar-block {
    flex: 0 0 160px;
    text-align: center;
}

.profile-avatar {
    max-width: 140px;
    width: 100%;
    border-radius: 8px;
    border: 2px solid rgba(255, 159, 28, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
}

.rateui {
    margin-top: 10px;
    font-weight: bold;
    font-size: 16px;
    color: #ff9f1c;
    text-shadow: 0 0 5px rgba(255, 159, 28, 0.3);
}

.profile-action-links {
    margin: 15px 0 0 0;
    list-style: none;
    padding: 0;
}

.profile-action-links li {
    font-size: 12px;
    margin-bottom: 8px;
}

.profile-action-links a {
    color: #ff4e00;
}

.profile-action-links a:hover {
    color: #ff9f1c;
}

/* Правая колонка профиля */
.profile-info-block {
    flex: 1;
}

.profile-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-info-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
    color: #f1e4d3;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.profile-info-list li:last-child {
    border-bottom: none;
}

.profile-info-list .grey {
    color: #bcae9e;
    font-weight: 500;
    display: inline-block;
    width: 180px;
    flex-shrink: 0;
}

.profile-about-text {
    color: #e5d4c0;
    line-height: 1.4;
}

.rss-ico, .status-ico {
    vertical-align: middle;
    margin-left: 6px;
}

.profile-edit-trigger {
    margin-top: 20px;
    text-align: left;
}

.btn-edit-profile {
    background: linear-gradient(135deg, #ff9f1c, #ff4e00) !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(255, 78, 0, 0.3);
}

.btn-edit-profile:hover {
    background: linear-gradient(135deg, #ffb03a, #ff621e) !important;
    box-shadow: 0 6px 15px rgba(255, 78, 0, 0.5) !important;
}

/* Форма редактирования */
.profile-options-form {
    margin-top: 30px;
}

.form-wrapper {
    background: rgba(30, 18, 12, 0.7);
    border: 1px solid rgba(255, 159, 28, 0.2);
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
}

.tableform {
    width: 100%;
    border-collapse: collapse;
}

.tableform td {
    padding: 12px 10px;
    vertical-align: middle;
    color: #e5d4c0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tableform tr:last-child td {
    border-bottom: none;
}

.tableform td:first-child {
    width: 180px;
    font-weight: 500;
    color: #ff9f1c;
}

/* Стилизация текстовых полей, селекторов и textarea */
.f_input, .f_textarea, .tableform select {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 159, 28, 0.3);
    border-radius: 4px;
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
    font-size: 13px;
    transition: all 0.3s ease;
}

.f_input:focus, .f_textarea:focus, .tableform select:focus {
    border-color: #ff9f1c;
    box-shadow: 0 0 8px rgba(255, 159, 28, 0.4);
    outline: none;
}

.file_input {
    padding: 6px;
    background-color: transparent;
    border-style: dashed;
}

.gravatar-input {
    width: 250px !important;
}

.avatar-upload-group, .avatar-gravatar-group {
    margin-bottom: 12px;
}

.avatar-upload-group span, .avatar-gravatar-group span {
    display: inline-block;
    width: 180px;
    font-weight: 500;
    color: #bcae9e;
}

.f_textarea {
    resize: vertical;
}

/* Предупреждения и описания */
.ip-info {
    color: #ff4e00;
    display: block;
    margin-top: 5px;
}

.ip-warning {
    color: #e71d36;
    font-size: 11px;
    margin-top: 8px;
    line-height: 1.5;
}

/* Кнопка отправки */
.fieldsubmit {
    text-align: center;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.fbutton {
    background: linear-gradient(135deg, #a2cf00, #6ca600);
    border: none;
    border-radius: 4px;
    color: #fff !important;
    font-size: 14px;
    font-weight: bold;
    padding: 12px 30px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(108, 166, 0, 0.3);
    transition: all 0.3s ease;
}

.fbutton:hover {
    background: linear-gradient(135deg, #b5e600, #7cb200);
    box-shadow: 0 6px 15px rgba(108, 166, 0, 0.5);
}

/* ==========================================================================
   9. СВЕТЛЫЙ СТИЛЬ ДЛЯ КАРТОЧЕК НОВОСТЕЙ
   ========================================================================== */
.cnt {
    background-color: #fbf9f5; /* Светлый кремовый фон */
    border: 1px solid #e5dcce;
    border-radius: 8px;
    padding: 25px;
    margin-top: 0; /* Обнулено для соосности с сайдбаром */
    margin-bottom: 25px; /* Задает отступ для разделения идущих друг за другом новостей */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #3d2919; /* Темный контрастный текст */
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    box-sizing: border-box;
    width: 100% !important;
}

/* Заголовки новостей */
.cnt .news_title {
    width: 100%;
}

.cnt .news_title a {
    color: #b85c00; /* Теплый коричнево-оранжевый оттенок */
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.cnt .news_title a:hover {
    color: #e57200;
}

/* Текст новости */
.cnt .news_text {
    display: block !important;
    font-size: 14.5px;
    line-height: 1.6;
    color: #4e3a27;
}

/* Выравнивание картинок внутри текста новостей */
.cnt .news_text img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #e5dcce;
    margin: 12px 0;
    display: block;
}

/* Нижняя панель новости */
.infof {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e5dcce;
    padding-top: 15px;
    margin-top: 5px;
}

/* Кнопка "Подробнее" (Зеленый травяной градиент в стиле Minecraft) */
.fulllink {
    display: inline-block;
}

.fulllink a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #a2cf00, #6ca600);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 22px;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(108, 166, 0, 0.2);
    transition: all 0.2s ease;
}

/* Автоматическая генерация текста кнопки, если ссылка пустая */
.fulllink a::before {
    content: "Подробнее";
}

.fulllink a:hover {
    background: linear-gradient(135deg, #b5e600, #7cb200);
    box-shadow: 0 6px 15px rgba(108, 166, 0, 0.35);
    transform: translateY(-1px);
}

/* Блок информации (Дата и просмотры) */
.newsinfo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #8a7663;
}

.newsinfo span {
    font-weight: bold;
    color: #3d2919;
}

/* Тонкий разделитель */
.newsinfo .hr {
    width: 1px;
    height: 14px;
    background-color: #e5dcce;
    display: block;
}

/* ==========================================================================
   10. СТИЛИ ДЛЯ ПОЛНОЙ СТАТЬИ (FULLSTORY)
   ========================================================================== */
/* Специфичные настройки для контейнера полной статьи */
.full-news {
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 0px !important;
}

.full-news .news_title {
    font-size: 24px;
    border-bottom: 1px solid #e5dcce;
    padding-bottom: 12px;
    margin-bottom: 15px;
}

/* Форматирование контента внутри полной новости */
.full-news .news_text {
    display: block !important;
    font-size: 15px;
    line-height: 1.7;
    color: #4e3a27;
}

/* Оформление цитат в тексте */
.full-news .news_text blockquote {
    background-color: #f3ede2;
    border-left: 4px solid #ff9f1c;
    padding: 12px 18px;
    margin: 15px 0;
    font-style: italic;
    color: #5c4531;
    border-radius: 0 4px 4px 0;
}

/* Выравнивание списков в тексте */
.full-news .news_text ul, 
.full-news .news_text ol {
    padding-left: 20px;
    margin: 10px 0;
}

.full-news .news_text li {
    margin-bottom: 6px;
}

/* Картинки в полной новости */
.full-news .news_text img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #e5dcce;
    margin: 15px auto;
    display: block;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Блок метаданных под полной статьей */
.full-news-meta {
    background-color: #f7f3ec;
    border: 1px solid #e5dcce;
    border-top: none; /* Слияние с верхним блоком новости */
    border-radius: 0 0 8px 8px;
    padding: 15px 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.full-news-meta .newsinfo {
    justify-content: flex-start;
}

/* Разделительная линия между новостью и комментариями */
.nhr {
    height: 1px;
    background-color: rgba(255, 159, 28, 0.2);
    margin: 35px 0;
    width: 100%;
    border: none;
}

.profile-options-form {
    display: none; /* Форма по умолчанию скрыта */
    margin-top: 30px;
}

/* ==========================================================================
   11. ОФОРМЛЕНИЕ СТРАНИЦЫ РЕГИСТРАЦИИ И КАРТОЧЕК ФОРМ
   ========================================================================== */
/* Специфическое скругление шапки формы */
.baseform-header {
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.baseform {
    background-color: #fbf9f5; /* Единый светлый фон, аналогичный новостям */
    border: 1px solid #e5dcce;
    border-top: none; /* Плавное слияние с шапкой .pageTitle */
    border-radius: 0 0 8px 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #3d2919;
    box-sizing: border-box;
    width: 100%;
}

.form-intro-text {
    line-height: 1.6;
    color: #4e3a27;
    font-size: 13.5px;
    padding-bottom: 20px !important;
    border-bottom: 1px dashed #e5dcce;
}

.form-intro-text a {
    color: #b85c00;
    font-weight: 500;
}

.form-intro-text a:hover {
    color: #e57200;
    text-decoration: underline;
}

/* Символы обязательных полей */
.impot {
    color: #e71d36;
    margin-left: 4px;
    font-weight: bold;
}

/* Группа ввода логина и кнопки проверки */
.username-field-group {
    display: flex;
    gap: 10px;
    align-items: center;
    max-width: 420px;
}

.name-input {
    flex: 1;
}

/* Кнопка проверки имени */
.check-login-btn {
    background: #f3ede2;
    border: 1px solid rgba(255, 159, 28, 0.4);
    color: #b85c00;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.check-login-btn:hover {
    background: #ff9f1c;
    border-color: #ff9f1c;
    color: #1a0f0a;
}

/* Результат AJAX-проверки логина */
#result-registration {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 500;
}

/* Контрольный вопрос */
.question-box {
    font-weight: bold;
    color: #3d2919;
    background-color: #f3ede2;
    padding: 8px 12px;
    border-radius: 4px;
    display: inline-block;
}

/* Защитный код (Капча) */
.captcha-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 160px;
}

.captcha-img img {
    border-radius: 4px;
    border: 1px solid #e5dcce;
}

.captcha-input {
    text-align: center;
    font-weight: bold;
    letter-spacing: 2px;
}

/* Блок ReCaptcha */
.recaptcha-wrapper {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    border-radius: 4px;
}

/* ==========================================================================
   12. СВЕТЛЫЕ ПОЛЯ ВВОДА ДЛЯ ФОРМ (РЕГИСТРАЦИЯ И РЕДАКТИРОВАНИЕ ПРОФИЛЯ)
   ========================================================================== */
/* Принудительные светлые стили для инпутов внутри светлых форм */
.baseform .f_input,
.baseform .f_textarea,
.form-wrapper .f_input,
.form-wrapper .f_textarea,
.profile-options-form .f_input,
.profile-options-form .f_textarea {
    background-color: #ffffff !important; /* Белый фон вместо темного */
    border: 1px solid #c9bfae !important; /* Четкая светлая граница */
    color: #3d2919 !important; /* Темный, легко читаемый текст */
    font-size: 13.5px !important;
    font-family: 'Roboto', sans-serif !important;
}

/* Свечение при фокусе (клике) на поле */
.baseform .f_input:focus,
.baseform .f_textarea:focus,
.form-wrapper .f_input:focus,
.form-wrapper .f_textarea:focus {
    border-color: #ff9f1c !important;
    box-shadow: 0 0 8px rgba(255, 159, 28, 0.3) !important;
    outline: none !important;
}

/* Читаемый серый цвет для плейсхолдеров (подсказок) */
.baseform .f_input::placeholder,
.baseform .f_textarea::placeholder,
.form-wrapper .f_input::placeholder,
.form-wrapper .f_textarea::placeholder {
    color: #8c7a6b !important;
    opacity: 1 !important; /* Коррекция для Firefox */
}

/* Перекрытие стандартного светло-голубого цвета автозаполнения браузеров Chrome/Opera/Yandex */
.baseform input:-webkit-autofill,
.form-wrapper input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
    -webkit-text-fill-color: #3d2919 !important;
    border: 1px solid #c9bfae !important;
}

.baseform input:-webkit-autofill:focus,
.form-wrapper input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 30px #ffffff inset, 0 0 8px rgba(255, 159, 28, 0.3) !important;
    border-color: #ff9f1c !important;
}

/* ==========================================================================
   13. ОФОРМЛЕНИЕ СТАТИЧЕСКИХ СТРАНИЦ ОПИСАНИЯ СЕРВЕРОВ
   ========================================================================== */
.static-page-content {
    line-height: 1.7 !important;
}

/* Вводный абзац увеличенного размера */
.static-lead {
    font-size: 16px;
    font-weight: 500;
    color: #b85c00; /* Теплый акцентный цвет */
    margin-bottom: 20px;
}

/* Заголовки подразделов на странице */
.static-section-title {
    font-size: 16px;
    color: #3d2919;
    font-weight: bold;
    border-bottom: 2px solid #e5dcce;
    padding-bottom: 8px;
    margin: 30px 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Современная сетка тегов вместо скучного списка модов */
.mods-tag-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mods-tag-list li {
    background-color: #f3ede2;
    border: 1px solid #e5dcce;
    color: #4e3a27;
    font-size: 13px;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.mods-tag-list li:hover {
    background-color: #ff9f1c;
    border-color: #ff9f1c;
    color: #1a0f0a;
}

/* Выделенная карточка с информацией о китах */
.kit-start-card {
    background-color: #f5f0e6;
    border-left: 4px solid #ff9f1c;
    border-radius: 0 6px 6px 0;
    padding: 15px 20px;
    margin: 20px 0;
}

.kit-start-card p {
    margin: 8px 0;
}

/* Блок отображения команды */
.code-badge {
    display: inline-block;
    background-color: rgba(30, 18, 12, 0.95);
    border-radius: 4px;
    padding: 6px 16px;
    margin: 10px 0;
}

.code-badge code {
    color: #ff9f1c;
    font-family: 'Courier New', Courier, monospace;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Ссылки внизу страницы */
.static-footer-links {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px dashed #e5dcce;
    font-size: 13.5px;
}

.static-footer-links a {
    color: #b85c00;
    font-weight: bold;
    text-decoration: underline;
}

.static-footer-links a:hover {
    color: #e57200;
}

/* ==========================================================================
   15. ОФОРМЛЕНИЕ СТРАНИЦЫ "КАК НАЧАТЬ ИГРАТЬ" (START.TPL)
   ========================================================================== */
.start-page-wrapper {
    padding: 30px !important;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Блок одного шага */
.start-step-block {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 25px;
    border-bottom: 1px dashed #e5dcce;
}

.start-step-block:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

/* Круглый значок номера шага */
.step-badge {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff9f1c, #ff4e00);
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(255, 78, 0, 0.25);
    flex-shrink: 0;
}

/* Текстовая зона шага */
.step-info {
    flex: 1;
    text-align: left;
}

.step-headline {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: bold;
    color: #3d2919;
}

.step-description {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #4e3a27;
}

/* Кнопка регистрации в первом шаге */
.step-button-area {
    margin-top: 15px;
}

.register-step-btn {
    background: linear-gradient(135deg, #ff9f1c, #ff4e00) !important;
    padding: 10px 24px !important;
}

.register-step-btn:hover {
    background: linear-gradient(135deg, #ffb03a, #ff621e) !important;
}

/* Группа кнопок скачивания во втором шаге */
.download-buttons-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.launcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px !important;
    font-size: 13px !important;
    letter-spacing: 0.5px;
}

.launcher-icon {
    font-size: 16px;
    line-height: 1;
}

/* Кнопка Windows (Зеленая тема) */
.windows-launcher {
    background: linear-gradient(135deg, #a2cf00, #6ca600) !important;
    box-shadow: 0 4px 10px rgba(108, 166, 0, 0.3) !important;
}

.windows-launcher:hover {
    background: linear-gradient(135deg, #b5e600, #7cb200) !important;
    box-shadow: 0 6px 15px rgba(108, 166, 0, 0.5) !important;
}

/* Универсальная кнопка macOS / Linux (Темная тема) */
.universal-launcher {
    background: linear-gradient(135deg, #503525, #352016) !important;
    box-shadow: 0 4px 10px rgba(80, 53, 37, 0.3) !important;
}

.universal-launcher:hover {
    background: linear-gradient(135deg, #64432f, #482b1d) !important;
    box-shadow: 0 6px 15px rgba(80, 53, 37, 0.5) !important;
}

/* Панель предупреждения о Java в третьем шаге */
.java-warning-panel {
    background-color: #fcebe6;
    border-left: 4px solid #e71d36;
    border-radius: 0 6px 6px 0;
    padding: 15px 20px;
    margin-top: 15px;
    color: #5f1b1b;
    font-size: 13px;
    line-height: 1.5;
}

.warning-title {
    font-weight: bold;
    color: #e71d36;
    margin-bottom: 6px;
}

.java-download-action {
    margin-top: 10px;
}

.java-download-link {
    color: #e71d36;
    font-weight: bold;
    text-decoration: underline;
}

.java-download-link:hover {
    color: #ff4e00;
}

/* ==========================================================================
   16. ТАБЛИЧНЫЙ СТИЛЬ ДОНАТ-УСЛУГ С БЕЙДЖАМИ (ОБНОВЛЕННЫЙ ВАРИАНТ)
   ========================================================================== */
.donate-shop-container {
    padding: 30px !important;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

/* Промо-баннер сверху */
.donate-welcome-banner {
    background: linear-gradient(135deg, #1e120c, #2d1e15);
    border: 1px solid rgba(255, 159, 28, 0.25);
    border-radius: 8px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    gap: 20px;
}

.welcome-text h2 {
    margin: 0 0 8px 0;
    color: #ff9f1c;
    font-size: 20px;
    font-weight: bold;
}

.welcome-text p {
    margin: 0;
    color: #e5d4c0;
    font-size: 13.5px;
    line-height: 1.5;
    max-width: 650px;
}

.go-to-shop-btn {
    background: linear-gradient(135deg, #ff9f1c, #ff4e00) !important;
    padding: 12px 24px !important;
    font-size: 13px !important;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.go-to-shop-btn:hover {
    background: linear-gradient(135deg, #ffb03a, #ff621e) !important;
}

/* Название разделов */
.shop-section-title {
    font-size: 16px;
    color: #3d2919;
    font-weight: bold;
    border-left: 4px solid #ff9f1c;
    padding-left: 12px;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

/* Оформление сравнительной таблицы */
.donate-table-modern {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e5dcce;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fcfaf6;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

/* Шапка таблицы */
.donate-table-modern th {
    background-color: #f5f0e6 !important;
    color: #3d2919;
    padding: 15px 10px !important;
    font-weight: bold;
    text-align: center;
    border-bottom: 2px solid #e5dcce !important;
}

.donate-table-modern th.feature-head {
    text-align: left;
    width: 320px;
}

.donate-table-modern td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #4e3a27;
    font-size: 13.5px;
    text-align: center;
}

.donate-table-modern td:first-child {
    text-align: left;
    font-weight: 500;
}

.donate-table-modern tr:hover td {
    background-color: #fbf7f0;
}

/* Оформление плашек цен (Бейджей) */
.price-badge {
    display: block;
    width: fit-content;
    margin: 8px auto 0 auto;
    border-radius: 20px;
    padding: 5px 16px;
    font-size: 12px;
    font-weight: bold;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
}

/* Цвета плашек */
.vip-badge {
    background: linear-gradient(135deg, #bf6a11, #804000);
}

.premium-badge {
    background: linear-gradient(135deg, #a2cf00, #6ca600);
}

.deluxe-badge {
    background: linear-gradient(135deg, #ff9f1c, #ff4e00);
}

/* Защитный сброс паразитных псевдоэлементов со скосами внутри таблицы */
.donate-table-modern span::before,
.donate-table-modern span::after {
    display: none !important;
    content: none !important;
}

/* Названия и метки групп */
.vip-color { color: #bf6a11; font-weight: bold; }
.premium-color { color: #6ca600; font-weight: bold; }
.deluxe-color { color: #ff9f1c; font-weight: bold; }

.hot-tag {
    background: linear-gradient(135deg, #a2cf00, #6ca600);
    color: #fff;
    font-size: 9px;
    font-weight: bold;
    padding: 1px 6px;
    border-radius: 3px;
    margin-left: 4px;
    display: inline-block;
}

/* Коды в таблице */
.donate-table-modern code {
    background-color: #f3ede2;
    border: 1px solid #e5dcce;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 11.5px;
}

/* Индикаторы да/нет */
.cell-yes {
    color: #6ca600;
    font-weight: bold;
    font-size: 16px;
}

.cell-no {
    color: #e71d36;
    font-weight: bold;
    font-size: 16px;
}

/* Кнопки "Выбрать" внизу таблицы */
.table-buy-actions-row td {
    padding: 15px 10px !important;
    background-color: rgba(0,0,0,0.01) !important;
}

.table-buy-btn {
    background: #f3ede2 !important;
    border: 1px solid rgba(255, 159, 28, 0.4) !important;
    color: #b85c00 !important;
    padding: 8px 24px !important;
    font-size: 12px !important;
    font-weight: bold !important;
    text-transform: uppercase;
    box-shadow: none !important;
    width: auto !important;
    display: inline-block !important;
}

.table-buy-btn:hover {
    background: #ff9f1c !important;
    border-color: #ff9f1c !important;
    color: #1a0f0a !important;
}

/* Сетка наборов (китов) */
.kits-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.kit-showcase-box {
    background-color: #fcfaf6;
    border: 1px solid #e5dcce;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    text-align: left;
    box-sizing: border-box;
}

.kit-box-title {
    margin: 0 0 3px 0;
    font-size: 16px;
    font-weight: bold;
    color: #3d2919;
}

.kit-box-subtitle {
    font-size: 11px;
    color: #8a7663;
    margin-bottom: 15px;
}

.kit-items-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kit-item {
    font-size: 12.5px;
    color: #4e3a27;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    padding-bottom: 6px;
}

.kit-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.kit-item span {
    margin-right: 6px;
}

