/* =========================================
   1. БАЗОВЫЕ НАСТРОЙКИ & ЛЭЙАУТ
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

body {
    background-color: #0f1012; /* Глубокий черный фон */
    color: #ecf0f1;
    font-family: 'Montserrat', sans-serif;
    height: 100vh;
    overflow: hidden; /* Скроллится только контент */
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* ФИКС: Чтобы браузер не делал кнопки белыми */
button, input, textarea, select {
    font-family: 'Montserrat', sans-serif;
}

.layout {
    display: flex;
    height: 100%;
    width: 100%;
}

.page-title {
    font-size: 28px;
    margin-bottom: 30px;
    border-left: 5px solid #f1c40f;
    padding-left: 15px;
    font-weight: 800;
    text-transform: uppercase;
}

/* =========================================
   2. САЙДБАР (МЕНЮ)
   ========================================= */
.sidebar {
    width: 260px;
    background: #151618;
    border-right: 1px solid #2a2b30;
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    flex-shrink: 0;
    z-index: 100;
}

.brand { margin-bottom: 40px; text-align: center; }
.brand h2 { font-weight: 900; font-size: 28px; color: #fff; margin-bottom: 5px; }
.brand span { color: #f1c40f; font-size: 12px; letter-spacing: 3px; font-weight: bold; }

.menu { display: flex; flex-direction: column; gap: 8px; flex-grow: 1; overflow-y: auto; }

.menu-item {
    color: #7f8c8d;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-item:hover, .menu-item.active {
    background: #1e1f24;
    color: #fff;
    border-left: 3px solid #f1c40f;
}
.menu-item i { width: 20px; text-align: center; color: #f1c40f; }

/* Футер меню */
.sidebar-footer {
    margin-top: auto;
    border-top: 1px solid #2a2b30;
    padding: 20px;
    padding-top: 40px;
    position: relative;
}

.mini-profile { display: flex; align-items: center; gap: 10px; }

/* НОВОЕ: Стиль для аватарки в меню вместо 3D головы */
.sidebar-avatar {
    width: 45px; height: 45px;
    border-radius: 8px;
    border: 2px solid #2a2b30;
    object-fit: cover;
    background: #000;
}

.mini-info { display: flex; flex-direction: column; overflow: hidden; }
.mini-info span { display: block; font-weight: bold; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.mini-info a { font-size: 11px; color: #e74c3c; font-weight: 600; }
.mini-info a:hover { text-decoration: underline; }

.btn-sidebar-login {
    display: block; text-align: center; background: #3498db; color: white;
    padding: 12px; border-radius: 6px; font-weight: bold; font-size: 14px; border: none; cursor: pointer;
}
.btn-sidebar-login:hover { background: #2980b9; }

/* =========================================
   3. КОНТЕНТ (ПРАВАЯ ЧАСТЬ)
   ========================================= */
.content {
    flex-grow: 1;
    padding: 40px;
    overflow-y: auto;
    background: #0f1012;
    position: relative;
}

/* --- Главная страница (Hero) --- */
.hero-banner {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.9)), url('img/bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 40px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 1px solid #2a2b30;
}
.hero-banner h1 { font-size: 42px; font-weight: 900; margin-bottom: 15px; text-transform: uppercase; text-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.hero-banner p { font-size: 16px; color: #ccc; margin-bottom: 30px; }

.btn-hero {
    display: inline-block; padding: 15px 50px; background: #f1c40f; border: none;
    font-weight: 900; cursor: pointer; border-radius: 50px; color: #000;
    text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(241, 196, 15, 0.3);
}
.btn-hero:hover { transform: scale(1.05); background: #f39c12; }

/* Новости */
.section-title { font-size: 22px; margin-bottom: 25px; color: #7f8c8d; text-transform: uppercase; letter-spacing: 1px; border-bottom: 2px solid #1e1f24; display: inline-block; padding-bottom: 5px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.news-card { background: #1e1f24; padding: 25px; border-radius: 12px; border: 1px solid #2a2b30; transition: 0.3s; }
.news-card:hover { transform: translateY(-5px); border-color: #f1c40f; }
.news-date { font-size: 11px; color: #f1c40f; margin-bottom: 10px; font-weight: bold; }
.news-card h4 { margin-bottom: 10px; font-size: 18px; color: #fff; }
.news-card p { font-size: 14px; color: #aaa; line-height: 1.6; }

/* =========================================
   4. ЛИЧНЫЙ КАБИНЕТ
   ========================================= */
.cabinet-container { max-width: 1000px; margin: 0 auto; }
.cabinet-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.balance span { color: #f1c40f; font-weight: bold; font-size: 20px; }

/* Вкладки */
.tabs-nav { display: flex; gap: 10px; margin-bottom: 30px; border-bottom: 2px solid #2a2b30; padding-bottom: 15px; }
.tab-btn {
    background: transparent; border: none; color: #7f8c8d; font-weight: bold;
    font-size: 15px; padding: 10px 20px; cursor: pointer; border-radius: 6px;
    transition: 0.3s;
}
.tab-btn:hover { color: #fff; background: #1e1f24; }
.tab-btn.active { color: #1a1a1a; background: #f1c40f; }

.tab-content { display: none; animation: fadeIn 0.3s; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Профиль: Шапка */
.profile-header-card { background: #1e1f24; border: 1px solid #2a2b30; border-radius: 12px; overflow: hidden; margin-bottom: 20px; }
.profile-cover { height: 200px; background-color: #333; background-size: cover; background-position: center; position: relative; }
.edit-cover-btn { position: absolute; top: 20px; right: 20px; background: rgba(0,0,0,0.6); color: #fff; padding: 8px 12px; border-radius: 6px; cursor: pointer; font-size: 14px; transition: 0.2s; }
.edit-cover-btn:hover { background: rgba(0,0,0,0.8); }

.profile-info-bar { 
    display: flex; 
    align-items: flex-end; 
    padding: 0 30px; 
    margin-top: -50px; 
    position: relative; 
    margin-bottom: 25px; 
    padding-top: 15px; /* Фикс наложения текста */
}
.profile-avatar { width: 120px; height: 120px; position: relative; margin-right: 20px; flex-shrink: 0; }
.profile-avatar img { width: 100%; height: 100%; border-radius: 12px; border: 5px solid #1e1f24; object-fit: cover; background: #000; }
.edit-avatar-btn { position: absolute; bottom: 5px; right: -5px; background: #3498db; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; cursor: pointer; border: 2px solid #1e1f24; }

.profile-text { padding-bottom: 5px; flex-grow: 1; margin-top: 45px; }
.profile-names { display: flex; align-items: baseline; gap: 10px; margin-bottom: 5px; }
.profile-names h2 { margin: 0; font-size: 26px; color: #fff; text-shadow: 0 2px 5px rgba(0,0,0,0.8); }
.real-name-form input { background: transparent !important; border: none !important; border-bottom: 1px dashed #777 !important; color: #ccc !important; font-size: 14px; width: 150px; padding: 0 !important; margin: 0; }
.profile-badges .mini-badge { background: #3498db; color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 4px; font-weight: bold; margin-right: 5px; text-transform: uppercase; }

.profile-stats-row { display: flex; border-top: 1px solid #2a2b30; padding: 20px; justify-content: space-around; background: #18191d; }
.p-stat { text-align: center; display: flex; flex-direction: column; align-items: center; color: #777; }
.p-stat i { font-size: 22px; margin-bottom: 8px; color: #555; }
.p-stat strong { font-size: 20px; color: #fff; margin-bottom: 2px; }
.p-stat span { font-size: 11px; text-transform: uppercase; }

/* Профиль: Сетка (3D + Настройки) */
.profile-grid { display: flex; gap: 30px; align-items: flex-start; }
.profile-left { flex-shrink: 0; width: 300px; }
.profile-right { flex-grow: 1; display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.skin-preview-3d { background: url('img/bg.jpg'); background-size: cover; border-radius: 12px; padding: 0; border: 2px solid #f1c40f; position: relative; width: 300px; height: 400px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
canvas { display: block; }
.viewer-controls { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px); padding: 8px 12px; border-radius: 30px; border: 1px solid rgba(255,255,255,0.1); z-index: 10; width: auto; }
.viewer-controls button { background: transparent !important; border: none !important; color: #ccc !important; font-size: 16px !important; cursor: pointer; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: 0.3s; padding: 0 !important; margin: 0 !important; }
.viewer-controls button:hover { background: #f1c40f !important; color: #000 !important; transform: scale(1.1); }

.settings-block { background: #1e1f24; padding: 25px; border-radius: 12px; border: 1px solid #2a2b30; width: 100%; }
.settings-block h3 { font-size: 16px; color: #fff; margin-bottom: 15px; border-bottom: 1px solid #333; padding-bottom: 10px; margin-top: 0; }
.hint { font-size: 12px; color: #666; margin-bottom: 15px; }

.upload-row { display: flex; gap: 10px; align-items: center; }
.mini-input-file { flex-grow: 1; font-size: 12px; color: #aaa !important; background: #151618 !important; padding: 8px; border-radius: 5px; border: 1px solid #333 !important; }
.btn-action-mini { background: #3498db !important; color: white !important; border: none !important; padding: 10px 15px !important; border-radius: 5px; cursor: pointer; font-weight: bold; font-size: 13px; text-transform: none; }
.btn-action-mini:hover { background: #2980b9 !important; }

/* ФИКС ИНПУТОВ (ЧТОБЫ НЕ БЫЛИ БЕЛЫМИ) */
input[type="text"], input[type="password"], textarea, .input-dark, .blogger-input, .modern-input { width: 100%; background: #111 !important; border: 1px solid #333 !important; padding: 12px; color: white !important; border-radius: 6px; margin-bottom: 10px; font-size: 14px; transition: 0.3s; outline: none; display: block; }
input:focus { border-color: #3498db !important; }
.btn-red { background: #e74c3c !important; width: 100%; }
.btn-red:hover { background: #c0392b !important; }

/* =========================================
   5. МАГАЗИН И УСЛУГИ
   ========================================= */
.shop-grid, .services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.shop-item, .service-card { background: #1e1f24; padding: 25px; border-radius: 12px; text-align: center; border: 1px solid #2a2b30; transition: 0.3s; display: flex; flex-direction: column; }
.shop-item:hover, .service-card:hover { border-color: #555; transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

.shop-item h4 { color: #f1c40f; margin-bottom: 10px; font-size: 18px; }
.price-tag, .serv-price { font-size: 22px; font-weight: 800; margin: 15px 0; color: #fff; margin-top: auto; }
.btn-buy, .btn-service { width: 100%; padding: 12px; background: #27ae60 !important; border: none !important; color: white !important; border-radius: 6px; font-weight: bold; cursor: pointer; text-transform: uppercase; font-size: 13px; }
.btn-buy:hover, .btn-service:hover { background: #219150 !important; }

/* Кнопка "Уже есть" */
.btn-disabled { background: #333 !important; color: #777 !important; cursor: not-allowed; border: 1px solid #444 !important; }

/* Услуги - цветные карточки */
.red-glow { border-bottom: 4px solid #e74c3c; }
.orange-glow { border-bottom: 4px solid #e67e22; }
.blue-glow { border-bottom: 4px solid #3498db; }
.serv-icon { font-size: 36px; margin-bottom: 15px; color: #444; }
.service-input { width: 100%; background: #111; border: 1px solid #444; padding: 10px; border-radius: 5px; color: #fff; margin-bottom: 10px; text-align: center; }

/* =========================================
   6. ФОРУМ, СЕРВЕРА, ВИДЕО (СТАРЫЙ СТИЛЬ)
   ========================================= */
.forum-category-wrapper { margin-bottom: 20px; }
.forum-row { display: flex; align-items: center; gap: 20px; background: #1e1f24; padding: 20px; border-radius: 10px; border: 1px solid #2a2b30; cursor: pointer; transition: 0.2s; }
.forum-row:hover { background: #25262c; }
.forum-row.active { border-color: #f1c40f; border-bottom: none; border-radius: 10px 10px 0 0; }
.f-icon { width: 50px; height: 50px; background: #2a2b30; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #f1c40f; }
.f-info { flex-grow: 1; }
.f-info h4 { font-size: 18px; margin-bottom: 5px; color: #fff; }
.f-info p { font-size: 13px; color: #888; }
.f-stats { text-align: center; font-size: 12px; color: #666; }
.f-stats span { display: block; font-size: 18px; font-weight: bold; color: #f1c40f; }
.f-arrow { margin-left: 20px; color: #555; transition: 0.3s; }
.forum-row.active .f-arrow { transform: rotate(180deg); color: #f1c40f; }

.forum-topics-list { background: #151618; border: 1px solid #2a2b30; border-top: none; border-radius: 0 0 10px 10px; padding: 10px 20px; display: none; }
.topic-item { display: flex; align-items: center; gap: 15px; padding: 15px 0; border-bottom: 1px solid #2a2b30; }
.topic-item:last-child { border-bottom: none; }
.topic-icon { color: #3498db; font-size: 20px; }
.topic-title { color: #ecf0f1; font-weight: 600; font-size: 14px; }
.btn-read { background: #2a2b30; color: #ccc; border: 1px solid #444; padding: 6px 15px; border-radius: 4px; cursor: pointer; font-size: 12px; margin-left: auto; transition: 0.2s; }
.btn-read:hover { background: #3498db; color: white; border-color: #3498db; }

/* Кабинет блогера */
.blogger-container { max-width: 600px; margin: 0 auto; background: #151618; border: 1px solid #2a2b30; border-radius: 16px; padding: 40px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); position: relative; }
.blogger-header h1 { font-size: 32px; font-weight: 900; margin-bottom: 10px; color: #fff; text-transform: uppercase; }
.blogger-label { display: block; font-size: 12px; font-weight: bold; color: #777; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; text-align: left; margin-top: 20px; }
.platforms-selector { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.plat-item { flex: 1; height: 100px; background: #0f1012; border: 2px solid #2a2b30; border-radius: 12px; display: flex; flex-direction: column; justify-content: center; align-items: center; cursor: pointer; transition: all 0.3s; color: #555; }
.plat-item i { font-size: 36px; margin-bottom: 8px; transition: 0.3s; }
.plat-item span { font-weight: bold; font-size: 12px; text-transform: uppercase; }
.plat-item:hover { transform: translateY(-5px); border-color: #555; color: #fff; }
.plat-item.active-twitch { border-color: #9146ff; color: #9146ff; background: rgba(145, 70, 255, 0.05); }
.plat-item.active-youtube { border-color: #ff0000; color: #ff0000; background: rgba(255, 0, 0, 0.05); }
.plat-item.active-tiktok { border-color: #ff0050; color: #ff0050; background: rgba(255, 0, 80, 0.05); }
.btn-purple, .btn-glow { width: 100%; padding: 16px; background: linear-gradient(135deg, #8e44ad, #9b59b6) !important; color: white !important; border: none; border-radius: 8px; font-weight: 900; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: 0.3s; margin-top: 25px; box-shadow: 0 5px 20px rgba(142, 68, 173, 0.3); }
.btn-cancel { width: 100%; padding: 10px; background: transparent !important; border: 1px solid #e74c3c !important; color: #e74c3c !important; border-radius: 6px; margin-top: 10px; cursor: pointer; font-weight: bold; }

/* Админ панель */
.admin-panel-block { background: #1e1f24; padding: 25px; border-radius: 12px; border: 1px solid #2a2b30; margin-bottom: 30px; }
.admin-top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid #333; padding-bottom: 15px; }
.admin-top-bar h3 { margin: 0; color: #fff; }
.admin-filter { background: #0f1012; color: #fff; border: 1px solid #444; padding: 8px 12px; border-radius: 6px; cursor: pointer; }
.search-wrapper { position: relative; margin-bottom: 20px; }
.search-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #666; }
.styled-search { padding-left: 45px !important; }
.admin-table { width: 100%; border-collapse: collapse; color: #ccc; font-size: 14px; }
.admin-table th { text-align: left; padding: 12px; background: #25262c; color: #f1c40f; font-weight: 700; }
.admin-table td { padding: 12px; border-bottom: 1px solid #2a2b30; vertical-align: middle; }
.balance-input { width: 80px !important; text-align: center; display: inline-block !important; margin-bottom: 0 !important; }
.btn-mini-save, .btn-mini-ban { width: 30px; height: 30px; border-radius: 5px; border: none; color: #fff; cursor: pointer; margin-left: 5px; display: inline-flex; align-items: center; justify-content: center; transition: 0.2s; }
.btn-mini-save { background: #27ae60; } 
.btn-mini-ban { background: #e74c3c; }
.pagination { display: flex; justify-content: center; gap: 5px; margin-top: 20px; }
.page-link { width: 35px; height: 35px; line-height: 35px; text-align: center; background: #151618; color: #ccc; text-decoration: none; border-radius: 5px; border: 1px solid #333; font-weight: bold; font-size: 13px; }
.page-link.active { background: #f1c40f; color: #000; border-color: #f1c40f; }

/* Карточки заявок (TICKET STYLE) */
.requests-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.req-card { background: #151618; border: 1px solid #2a2b30; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: 0.2s; }
.req-card:hover { transform: translateY(-3px); border-color: #555; }
.req-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 10px; border-bottom: 1px dashed #333; }
.req-user-info { display: flex; gap: 12px; align-items: center; }
.req-user-info img { width: 42px; height: 42px; border-radius: 8px !important; background: #000; }
.req-name-box strong { font-size: 16px; color: #fff; }
.req-date { font-size: 11px; color: #666; margin-top: 2px; }
.social-btn-small { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 6px; color: #fff; font-size: 14px; background: #2a2b30; transition: 0.2s; }
.req-actions form { display: flex; gap: 10px; width: 100%; }
.btn-approve-full { flex: 1; padding: 12px 0; border-radius: 6px; font-weight: 800; font-size: 12px; cursor: pointer; text-transform: uppercase; color: white; border: none; background: #27ae60 !important; }
.btn-reject-full { flex: 1; padding: 12px 0; border-radius: 6px; font-weight: 800; font-size: 12px; cursor: pointer; text-transform: uppercase; color: #e74c3c !important; border: 1px solid #e74c3c !important; background: transparent !important; }
.btn-arc-view { width: 40px; background: #3498db !important; color: white !important; border: none !important; border-radius: 6px; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; }

/* Сервера */
.servers-full-list { display: flex; flex-direction: column; gap: 20px; }
.server-big-card { display: flex; background: #1e1f24; border-radius: 12px; overflow: hidden; border: 1px solid #2a2b30; min-height: 120px; }
.sbc-img { width: 200px; display: flex; align-items: center; justify-content: center; font-weight: 900; color: #fff; text-shadow: 0 2px 5px rgba(0,0,0,0.5); font-size: 24px; }
.sbc-info { padding: 25px; flex-grow: 1; }
.sbc-info h3 { margin: 0 0 10px 0; font-size: 24px; color: #fff; }
.sbc-meta { margin-top: 15px; color: #888; font-weight: 600; font-size: 14px; }

/* Голосование */
.vote-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.vote-card { background: #1e1f24; padding: 40px; border-radius: 12px; border: 1px solid #2a2b30; text-align: center; }
.btn-vote { width: 100%; padding: 15px; background: #f1c40f !important; border: none; color: #000 !important; font-weight: 800; border-radius: 6px; cursor: pointer; font-size: 14px; margin-top: 20px; }

/* =========================================
   9. ОСТАЛЬНОЕ (ВХОД, МОДАЛКИ)
   ========================================= */
.auth-center { display: flex; justify-content: center; align-items: center; min-height: 80vh; }
.auth-box { width: 400px; background: #1e1f24; padding: 40px; border-radius: 10px; border: 1px solid #2a2b30; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.auth-box h2 { margin-bottom: 20px; color: #fff; }
.auth-box input { width: 100%; background: #0f1012 !important; border: 1px solid #333 !important; padding: 12px; margin-bottom: 15px; color: white !important; border-radius: 5px; font-family: 'Montserrat', sans-serif; }
.auth-box button { width: 100%; padding: 12px; background: #3498db; border: none; color: white; border-radius: 5px; font-weight: bold; cursor: pointer; font-size: 16px; }
.btn-outline { background: transparent !important; border: 2px solid #3498db !important; color: #3498db !important; margin-top: 10px; }
.sep { border: 0; border-top: 1px solid #333; margin: 25px 0; }

.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); z-index: 10000; display: none; justify-content: center; align-items: center; }
.modal-window { background: #1e1f24; width: 400px; border-radius: 10px; border: 1px solid #f1c40f; padding: 30px; text-align: center; position: relative; box-shadow: 0 0 30px rgba(241, 196, 15, 0.2); }
.modal-close { position: absolute; top: 10px; right: 15px; font-size: 24px; color: #777; cursor: pointer; }
.modal-title { color: #f1c40f; font-size: 24px; margin-bottom: 5px; font-weight: 800; }
.modal-price { font-size: 18px; color: #fff; margin-bottom: 20px; font-weight: bold; background: #2a2b30; display: inline-block; padding: 5px 15px; border-radius: 20px; }
.modal-features { text-align: left; margin-bottom: 25px; color: #ccc; background: #151618; padding: 15px; border-radius: 5px; border: 1px solid #333; }
.btn-modal-buy { width: 100%; padding: 15px; background: #27ae60 !important; color: white !important; border: none !important; font-weight: 800; border-radius: 5px; cursor: pointer; text-transform: uppercase; }

/* 10. МОБИЛЬНАЯ АДАПТАЦИЯ (ДОБАВЛЕНО) */
.mobile-menu-btn { display: none; position: fixed; top: 20px; left: 20px; z-index: 1000; background: #151618; color: #f1c40f; border: 1px solid #333; border-radius: 8px; padding: 10px 15px; font-size: 20px; cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
@media (max-width: 900px) {
    .layout { flex-direction: column; }
    .mobile-menu-btn { display: block; }
    .sidebar { position: fixed; left: -100%; top: 0; height: 100%; width: 280px; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 5px 0 30px rgba(0,0,0,0.8); }
    .sidebar.open { left: 0; }
    .sidebar-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 90; backdrop-filter: blur(3px); }
    .sidebar-overlay.active { display: block; }
    .content { padding: 20px; padding-top: 80px; }
    .news-grid, .shop-grid, .services-grid, .videos-grid, .requests-grid, .vote-grid { grid-template-columns: 1fr; }
    .profile-grid { flex-direction: column; }
    .profile-left, .skin-preview-3d { width: 100%; margin: 0 auto; max-width: 300px; }
    .profile-info-bar { flex-direction: column; align-items: center; text-align: center; margin-top: -40px; }
    .profile-avatar { margin-right: 0; margin-bottom: 10px; }
    .profile-names { justify-content: center; }
    .server-big-card { flex-direction: column; }
    .sbc-img { width: 100%; height: 80px; }
}