* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

body.modal-open {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Toast уведомление */
.toast-notification {
    position: fixed;
    bottom: 80px;
    right: 30px;
    z-index: 10000;
    padding: 12px 24px;
    border-radius: 8px;
    background: #00b894;
    color: #0f172a;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    padding: 0 0 40px 0;
    text-align: center;
}

header h1 {
    margin-bottom: 10px;
    font-size: 2.5rem;
    color: #00b894;
}

header p {
    font-size: 1.1rem;
    color: #94a3b8;
}

/* Поиск */
.search-bar {
    max-width: 500px;
    margin: 0 auto 30px;
}

#searchInput {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #00b894;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
}

#searchInput::placeholder {
    color: #aaa;
}

#searchInput:focus {
    border-color: #00d9a6;
    background: rgba(255, 255, 255, 0.15);
    outline: none;
}

/* Фильтры */
.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid #00b894;
    border-radius: 25px;
    background: transparent;
    color: #00b894;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #00b894;
    color: #1a1a2e;
}

/* Статистика */
.stats {
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.2rem;
    color: #94a3b8;
}

.stat span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00b894;
}

/* Сетка серверов */
.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

/* Карточка сервера */
.server-card {
    padding: 20px;
    border: 1px solid rgba(0, 184, 148, 0.3);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, border-color 0.3s;
}

.server-card:hover {
    border-color: #00b894;
    transform: translateY(-3px);
}

.server-name {
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: #00b894;
    word-break: break-word;
}

.server-website {
    margin-bottom: 15px;
}

.server-website a {
    color: #6c5ce7;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.3s;
}

.server-website a:hover {
    color: #8b7cf7;
    text-decoration: underline;
}

/* Мета информация */
.server-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.badge-vip {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
}

.badge-almost {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    color: #fff;
}

.badge-normal {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #fff;
}

.server-version {
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(0, 184, 148, 0.2);
    font-size: 0.8rem;
}

/* Рейты */
.server-rates {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 15px 0;
    padding: 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
}

.rate-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.rate-label {
    color: #aaa;
}

.rate-value {
    font-weight: bold;
    color: #00b894;
}

/* Дополнительные характеристики */
.extra-rates {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(0, 184, 148, 0.3);
}

.btn-show-all {
    width: 100%;
    margin: 10px 0;
    padding: 8px;
    border: 1px solid #00b894;
    border-radius: 8px;
    background: rgba(0, 184, 148, 0.1);
    color: #00b894;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-show-all:hover {
    background: #00b894;
    color: #1a1a2e;
}

/* Описание сервера */
.server-description {
    margin: 15px 0;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: #ccc;
    font-size: 0.85rem;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* Блок отзывов в карточке */
.review-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
    padding: 10px;
    border-radius: 8px;
    background: rgba(0, 184, 148, 0.1);
}

.rating-stars {
    letter-spacing: 2px;
    color: #ffd700;
}

.review-count {
    font-size: 0.8rem;
    color: #aaa;
}

.btn-write-review {
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    background: #6c5ce7;
    color: white;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-write-review:hover {
    background: #5f4ee0;
    transform: translateY(-1px);
}

/* Кнопки действий в карточке */
.server-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.btn-compare {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #6c5ce7;
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-compare:hover:not(:disabled) {
    background: #5f4ee0;
    transform: translateY(-2px);
}

.btn-compare:disabled {
    background: #2d2d5e;
    opacity: 0.7;
    cursor: default;
}

/* Кнопки */
.btn-play {
    flex: 1;
    display: inline-block;
    padding: 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, #00b894, #00d9a6);
    color: #1a1a2e;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s;
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 184, 148, 0.3);
}

.btn-reviews {
    width: 100%;
    padding: 10px;
    border: 1px solid #00b894;
    border-radius: 10px;
    background: transparent;
    color: #00b894;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-reviews:hover {
    background: #00b894;
    color: #1a1a2e;
}

/* Ссылка на страницу сервера */
.server-name-link {
    display: block;
    text-decoration: none;
}

.server-name-link:hover .server-name {
    text-decoration: underline;
}

/* SEO текстовый блок */
.seo-content {
    margin: 60px 0 40px;
    padding: 40px;
    border: 1px solid rgba(0, 184, 148, 0.3);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.8);
}

.seo-text {
    font-size: 1rem;
    line-height: 1.7;
}

.seo-text h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #00b894;
}

.seo-text h3 {
    margin: 25px 0 15px;
    font-size: 1.4rem;
    color: #00b894;
}

.seo-text p {
    margin-bottom: 15px;
    color: #94a3b8;
    line-height: 1.7;
}

.seo-text ul {
    margin: 15px 0 15px 30px;
    color: #94a3b8;
}

.seo-text li {
    margin-bottom: 8px;
}

.seo-text a {
    color: #00b894;
    text-decoration: none;
}

.seo-text a:hover {
    text-decoration: underline;
}

/* Отзывы */
.review-card {
    margin-bottom: 15px;
    padding: 15px;
    border-left: 3px solid #00b894;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    word-wrap: break-word;
    word-break: break-word;
}

.review-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.review-author {
    font-weight: bold;
    color: #00b894;
}

.review-rating {
    color: #ffd700;
}

.review-date {
    font-size: 0.8rem;
    color: #aaa;
}

.review-title {
    margin-bottom: 8px;
    font-weight: bold;
}

.review-content {
    margin-bottom: 10px;
    color: #ccc;
    font-size: 0.9rem;
}

.review-pros {
    margin: 8px 0;
    padding-left: 15px;
    color: #00b894;
    font-size: 0.85rem;
}

.review-cons {
    margin: 8px 0;
    padding-left: 15px;
    color: #ff4757;
    font-size: 0.85rem;
}

.review-helpful {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

/* Кнопки голосования */
.helpful-btn {
    padding: 5px 15px;
    border: 1px solid #00b894;
    border-radius: 20px;
    background: none;
    color: #aaa;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.helpful-btn:hover {
    background: rgba(0, 184, 148, 0.2);
    color: #00b894;
}

.helpful-btn.active {
    background: #00b894;
    border-color: #00b894;
    color: #1a1a2e;
}

.helpful-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 5px;
}

.breadcrumb-list li {
    font-size: 0.85rem;
    color: #94a3b8;
}

.breadcrumb-list li:not(:last-child):after {
    content: "›";
    margin-left: 5px;
    color: #00b894;
}

.breadcrumb-list a {
    color: #00b894;
    text-decoration: none;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

/* Модальные окна */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    padding: 30px;
    border: 1px solid #00b894;
    border-radius: 15px;
    background: #1a1a2e;
    overflow-y: auto;
}

.modal-reviews {
    max-width: 700px;
}

.reviews-modal-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.close,
.close-reviews,
.close-cookie-settings {
    float: right;
    font-size: 28px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover,
.close-reviews:hover,
.close-cookie-settings:hover {
    color: #fff;
}

/* Формы */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #aaa;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #00b894;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #00d9a6;
    outline: none;
}

/* Звезды рейтинга */
.stars {
    display: flex;
    gap: 5px;
}

.stars span {
    font-size: 24px;
    color: #555;
    cursor: pointer;
    transition: color 0.2s;
}

.stars span.active,
.stars span:hover {
    color: #ffd700;
}

.btn-submit {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #00b894;
    color: #1a1a2e;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #00d9a6;
    transform: translateY(-1px);
}

/* Состояния загрузки и пустые состояния */
.loading {
    grid-column: 1 / -1;
    padding: 50px;
    text-align: center;
    font-size: 1.2rem;
    color: #00b894;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    border: 3px solid rgba(0, 184, 148, 0.3);
    border-top: 3px solid #00b894;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.empty {
    grid-column: 1 / -1;
    width: 100%;
    padding: 50px;
    text-align: center;
    font-size: 1.2rem;
    color: #aaa;
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.page-btn {
    padding: 8px 15px;
    border: 1px solid #00b894;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #00b894;
    cursor: pointer;
    transition: all 0.3s;
}

.page-btn.active,
.page-btn:hover {
    background: #00b894;
    color: #1a1a2e;
}

/* Футер */
.main-footer {
    margin-top: 60px;
    padding: 40px 0 30px;
    border-top: 1px solid rgba(0, 184, 148, 0.3);
    background: rgba(15, 23, 42, 0.95);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #00b894;
}

.footer-description {
    max-width: 600px;
    margin: 0 auto 25px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #94a3b8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-links a {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: #00b894;
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(100, 116, 139, 0.2);
    font-size: 0.75rem;
    line-height: 1.5;
    color: rgba(255, 217, 0, 0.756);
}

/* Cookie баннер */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    padding: 20px;
    border-top: 2px solid #00b894;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-banner-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-banner-text {
    flex: 2;
    min-width: 250px;
}

.cookie-banner-text strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: #00b894;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.85rem;
    color: #94a3b8;
}

.cookie-banner-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cookie-btn-settings,
.cookie-btn-accept,
.cookie-btn-reject {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cookie-btn-settings {
    border: 1px solid #00b894;
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

.cookie-btn-accept {
    background: #00b894;
    color: #0f172a;
}

.cookie-btn-reject {
    border: 1px solid #ff4757;
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
}

.cookie-btn-settings:hover,
.cookie-btn-accept:hover,
.cookie-btn-reject:hover {
    transform: translateY(-2px);
}

.cookie-btn-settings:hover {
    background: rgba(0, 184, 148, 0.2);
    color: #00b894;
}

.cookie-btn-accept:hover {
    box-shadow: 0 5px 15px rgba(0, 184, 148, 0.3);
}

/* Настройки cookie */
.cookie-settings-modal {
    max-width: 500px;
}

.cookie-settings-desc {
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: #94a3b8;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(100, 116, 139, 0.2);
}

.cookie-option-info {
    flex: 1;
    padding-right: 20px;
}

.cookie-option-info h4 {
    margin-bottom: 5px;
    font-size: 1rem;
    color: #f1f5f9;
}

.cookie-option-info p {
    margin: 0;
    font-size: 0.8rem;
    color: #94a3b8;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #475569;
    border-radius: 28px;
    cursor: pointer;
    transition: 0.3s;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    left: 3px;
    bottom: 3px;
    width: 22px;
    height: 22px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

input:checked + .cookie-slider {
    background-color: #00b894;
}

input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

input:disabled + .cookie-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-settings-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(100, 116, 139, 0.2);
}

.cookie-btn-save,
.cookie-btn-accept-all {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cookie-btn-save {
    background: #00b894;
    color: #0f172a;
}

.cookie-btn-accept-all {
    border: 1px solid #00b894;
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

.cookie-btn-save:hover,
.cookie-btn-accept-all:hover {
    transform: translateY(-2px);
}

/* Популярные версии (внутренняя перелинковка) */
.popular-versions {
    margin: 40px 0;
    padding: 30px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.6);
    text-align: center;
}

.popular-versions h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: #00b894;
}

.version-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.version-link {
    padding: 10px 20px;
    border: 1px solid rgba(0, 184, 148, 0.3);
    border-radius: 30px;
    background: rgba(0, 184, 148, 0.1);
    color: #00b894;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
}

.version-link:hover {
    background: #00b894;
    color: #1a1a2e;
    transform: translateY(-2px);
}

/* Похожие серверы */
.similar-servers {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 184, 148, 0.2);
}

.similar-title {
    margin-bottom: 8px;
    font-size: 0.75rem;
    color: #94a3b8;
}

.similar-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.similar-link {
    padding: 4px 10px;
    border: 1px solid rgba(0, 184, 148, 0.3);
    border-radius: 20px;
    background: rgba(0, 184, 148, 0.1);
    color: #00b894;
    font-size: 0.7rem;
    text-decoration: none;
    transition: all 0.3s;
}

.similar-link:hover {
    background: #00b894;
    color: #1a1a2e;
    transform: translateY(-1px);
}

/* =============== ПАНЕЛЬ СРАВНЕНИЯ =============== */
.compare-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 20px;
    border-top: 2px solid #00b894;
    background: #1a1a2e;
    backdrop-filter: blur(10px);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.compare-panel-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.compare-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.compare-header h4 {
    margin: 0;
    font-size: 1rem;
    color: #00b894;
}

.compare-list {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    gap: 15px;
}

.compare-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    border: 1px solid rgba(0, 184, 148, 0.3);
    border-radius: 20px;
    background: rgba(0, 184, 148, 0.15);
}

.compare-name {
    font-size: 0.9rem;
    color: #fff;
}

.compare-remove {
    padding: 0 5px;
    border: none;
    background: none;
    font-size: 1rem;
    color: #ff4757;
    cursor: pointer;
    transition: transform 0.2s;
}

.compare-remove:hover {
    transform: scale(1.1);
}

.compare-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 8px;
    background: #00b894;
    color: #1a1a2e;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.compare-btn:hover {
    background: #00d9a6;
    transform: translateY(-2px);
}

.compare-close {
    padding: 5px;
    border: none;
    background: none;
    font-size: 1.2rem;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.3s;
}

.compare-close:hover {
    color: #ff4757;
}

/* =============== МОДАЛЬНОЕ ОКНО СРАВНЕНИЯ =============== */
.modal-compare {
    width: auto;
    max-width: 95%;
    max-height: 90vh;
    overflow-x: auto;
}

.compare-table-container {
    margin-top: 20px;
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.compare-table th,
.compare-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 184, 148, 0.2);
}

.compare-table th {
    background: rgba(0, 184, 148, 0.15);
    color: #00b894;
    font-size: 0.9rem;
    font-weight: 600;
}

.field-label {
    width: 180px;
    background: rgba(255, 255, 255, 0.03);
    color: #94a3b8;
    font-weight: 600;
}

.field-value {
    color: #fff;
}

.compare-server-link {
    color: #00b894;
    text-decoration: none;
    font-weight: 500;
}

.compare-server-link:hover {
    text-decoration: underline;
}

.btn-compare-play {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    background: linear-gradient(135deg, #00b894, #00d9a6);
    color: #1a1a2e;
    font-size: 0.8rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-compare-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 184, 148, 0.3);
}

/* =============== АДАПТИВНОСТЬ =============== */
@media (min-width: 1600px) {
    .servers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) and (max-width: 1599px) {
    .servers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .servers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    header h1 {
        font-size: 1.8rem;
    }

    header p {
        font-size: 0.9rem;
    }

    .servers-grid {
        grid-template-columns: 1fr;
    }

    .filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    .server-rates {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .rate-item {
        font-size: 0.75rem;
    }

    .btn-show-all {
        padding: 6px;
        font-size: 0.7rem;
    }

    .modal-reviews {
        max-width: 95%;
        padding: 20px;
    }

    .review-header {
        flex-direction: column;
    }

    .footer-links {
        gap: 12px;
    }

    .footer-links a {
        font-size: 0.75rem;
    }

    .footer-description {
        padding: 0 15px;
        font-size: 0.8rem;
    }

    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner-buttons {
        justify-content: center;
    }

    .cookie-option {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .cookie-option-info {
        padding-right: 0;
    }

    .seo-content {
        margin: 40px 0 30px;
        padding: 20px;
    }

    .seo-text h2 {
        font-size: 1.4rem;
    }

    .seo-text h3 {
        font-size: 1.2rem;
    }

    .seo-text ul {
        margin-left: 20px;
    }

    /* Адаптив для панели сравнения */
    .compare-panel-content {
        flex-direction: column;
        align-items: stretch;
    }

    .compare-header {
        justify-content: space-between;
    }

    .compare-list {
        justify-content: center;
    }

    .compare-btn {
        width: 100%;
        text-align: center;
    }

    .compare-table {
        font-size: 0.7rem;
    }

    .compare-table th,
    .compare-table td {
        padding: 8px 10px;
    }

    .field-label {
        width: 100px;
    }

    .server-actions {
        flex-direction: column;
    }

    .btn-compare {
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .server-card {
        padding: 15px;
    }

    .server-name {
        font-size: 1.2rem;
    }

    .modal-content {
        padding: 20px;
    }

    .stars span {
        font-size: 20px;
    }

    .toast-notification {
        bottom: 20px;
        right: 20px;
        left: 20px;
        text-align: center;
    }

    /* Адаптив для сравнения на маленьких экранах */
    .compare-table {
        font-size: 0.6rem;
    }

    .compare-table th,
    .compare-table td {
        padding: 6px 8px;
    }

    .field-label {
        width: 80px;
    }

    .btn-compare-play {
        padding: 5px 10px;
        font-size: 0.7rem;
    }
}

/* Скрытый текст для accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}