/* ============================================
   АНИМИРОВАННЫЙ ФОН + ЭФФЕКТ СТЕКЛА
   ============================================ */

/* Анимированный градиентный фон */
body {
    background: linear-gradient(
        -45deg,
        #0a0e0a,
        #0d1a0d,
        #0a1a12,
        #0d1418,
        #121a12
    );
    background-size: 400% 400%;
    animation: gradientBG 20s ease infinite;
    position: relative;
    overflow-x: hidden;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Светящиеся пятна на фоне */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 217, 156, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(99, 217, 156, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(76, 175, 80, 0.03) 0%, transparent 50%);
    animation: floatGlow 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatGlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(3%, -3%) scale(1.05);
    }
    66% {
        transform: translate(-3%, 3%) scale(0.95);
    }
}

/* Контент поверх фона */
.app-container {
    position: relative;
    z-index: 1;
}

/* ============================================
   ЭФФЕКТ СТЕКЛА ДЛЯ БЛОКОВ
   ============================================ */

/* Карточки статистики */
.stat-card {
    background: rgba(30, 30, 30, 0.55) !important;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.stat-card:hover {
    background: rgba(30, 30, 30, 0.7) !important;
    border-color: rgba(99, 217, 156, 0.3) !important;
    box-shadow: 
        0 8px 32px rgba(99, 217, 156, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Описание сервера */
.server-info-card {
    background: rgba(30, 30, 30, 0.55) !important;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Границы миров */
.border-card {
    background: rgba(30, 30, 30, 0.55) !important;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Секции правил */
.rules-section,
.rules-intro {
    background: rgba(30, 30, 30, 0.55) !important;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* FAQ */
.faq-item {
    background: rgba(30, 30, 30, 0.55) !important;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Footer */
.footer {
    background: rgba(26, 26, 26, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(99, 217, 156, 0.12) !important;
}

/* Модальное окно */
.modal-content {
    background: rgba(30, 30, 30, 0.9) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Свечение для главного заголовка */
.page-title {
    text-shadow: 0 0 20px rgba(99, 217, 156, 0.15);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(99, 217, 156, 0.15);
    }
    50% {
        text-shadow: 0 0 30px rgba(99, 217, 156, 0.25);
    }
}

/* ============================================
   ОСНОВНЫЕ СТИЛИ
   ============================================ */

:root {
    --primary-color: #63d99c;
    --secondary-color: #1a1a1a;
    --background-color: #121212;
    --card-background: #1E1E1E;
    --text-color: #FFFFFF;
    --text-secondary: #B0B0B0;
    --border-color: #333333;
    --success-color: #4CAF50;
    --error-color: #f44336;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================
   HEADER — МЕНЮ С ОТСТУПОМ СВЕРХУ
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.25rem 1rem 0;
    background: transparent;
    border: none;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    width: auto;
    
    background: rgba(99, 217, 156, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(99, 217, 156, 0.2);
    border-radius: 50px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    
    pointer-events: auto;
}

/* Логотип */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    padding: 0.35rem 0.9rem 0.35rem 0.5rem;
    border-radius: 40px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logo:hover {
    background: rgba(99, 217, 156, 0.12);
}

.logo-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 0 5px rgba(99, 217, 156, 0.2));
    transition: all 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 0 8px rgba(99, 217, 156, 0.4));
}

.logo-emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    width: 32px;
    height: 32px;
}

.logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(99, 217, 156, 0.2);
}

/* Меню */
.nav-menu {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0.9rem;
    border-radius: 40px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(99, 217, 156, 0.12);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(99, 217, 156, 0.2), rgba(99, 217, 156, 0.12));
    color: var(--primary-color);
    box-shadow: 
        0 4px 15px rgba(99, 217, 156, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(99, 217, 156, 0.25);
}

.nav-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.nav-link:hover .nav-icon {
    transform: scale(1.15);
}

/* ============================================
   ОСНОВНОЙ КОНТЕНТ
   ============================================ */

.main-content {
    flex: 1;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    width: 100%;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), #3c8a3e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.server-status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    background-color: var(--card-background);
}

.server-status-badge.online {
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.server-status-badge.offline {
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

/* ============================================
   СЕТКИ И КАРТОЧКИ
   ============================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background-color: var(--card-background);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 255, 0, 0.08);
}

.stat-icon {
    font-size: 2.5rem;
}

.stat-content {
    flex: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Границы миров */
.world-borders-section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.borders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.border-card {
    background-color: var(--card-background);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border-color);
}

.border-icon {
    font-size: 2rem;
}

.border-info {
    flex: 1;
}

.border-name {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.border-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Информация о сервере */
.server-info-card {
    background-color: var(--card-background);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.info-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.info-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding: 20px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
}

.modal-prev {
    left: 10px;
}

.modal-next {
    right: 10px;
}

.modal-prev:hover,
.modal-next:hover {
    background-color: var(--primary-color);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--secondary-color);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    text-align: center;
    color: var(--text-secondary);
}

/* ============================================
   АНИМАЦИИ
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card,
.border-card {
    animation: fadeIn 0.5s ease-out;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ============================================
   УТИЛИТЫ
   ============================================ */

.text-primary {
    color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 1rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

/* ============================================
   УВЕДОМЛЕНИЯ
   ============================================ */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    z-index: 3000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ============================================
   ПРАВИЛА
   ============================================ */

.rules-container {
    max-width: 900px;
    margin: 0 auto;
}

.rules-intro {
    background: var(--card-background);
    border-radius: 16px;
    padding: 1.8rem 2rem;
    border: 1px solid var(--border-color);
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    border-left: 4px solid var(--primary-color);
}

.rules-intro p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

.rules-intro strong {
    color: var(--primary-color);
    font-weight: 600;
}

.rules-section {
    background: var(--card-background);
    border-radius: 16px;
    padding: 1.5rem 2rem 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.rules-section:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 255, 21, 0.04);
}

.rules-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 0.75rem;
}

.rules-section-header h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: -0.3px;
}

.rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rules-list li {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
    align-items: flex-start;
}

.rules-list li:last-child {
    border-bottom: none;
}

.rules-list .rule-marker {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 24px;
    text-align: center;
    margin-top: 1px;
}

.rules-list .rule-text {
    flex: 1;
}

.rules-list .rule-text strong {
    color: #e0e0e0;
    font-weight: 500;
}

.rule-badge {
    display: inline-block;
    background: rgba(76, 175, 80, 0.12);
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    margin-left: 0.5rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    border: 1px solid rgba(76, 175, 80, 0.15);
}

.rule-badge.warning {
    background: rgba(255, 152, 0, 0.12);
    color: #ffa726;
    border-color: rgba(255, 152, 0, 0.15);
}

.rule-badge.danger {
    background: rgba(244, 67, 54, 0.12);
    color: #ef5350;
    border-color: rgba(244, 67, 54, 0.15);
}

.rules-list code {
    background: var(--secondary-color);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    color: var(--primary-color);
    font-family: 'Inter', monospace;
    font-size: 0.9rem;
}

.rules-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.rules-list a:hover {
    text-decoration: underline;
}

/* ============================================
   FAQ
   ============================================ */

.faq-section {
    margin: 3rem 0 2rem;
    padding: 0 1rem;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-background);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: background 0.2s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.faq-toggle {
    margin-left: auto;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: max-height 0.4s ease, padding 0.3s ease;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    margin: 0;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 900px) {
    .header-content {
        padding: 0.4rem 0.6rem;
        gap: 0.4rem;
    }
    
    .nav-link {
        padding: 0.45rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-image {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.9rem 0.5rem 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 0.4rem;
        padding: 0.6rem;
        border-radius: 24px;
        width: 100%;
        max-width: 100%;
    }
    
    .nav-menu {
        width: 100%;
        gap: 0.2rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
        flex: 1 1 auto;
        justify-content: center;
        border-radius: 20px;
    }
    
    .nav-icon {
        font-size: 0.95rem;
    }
    
    .logo-text {
        font-size: 0.95rem;
    }
    
    .page-header {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .borders-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-prev,
    .modal-next {
        padding: 0.5rem;
        font-size: 1rem;
    }

    .rules-section {
        padding: 1.2rem 1.2rem 1.8rem;
    }
    .rules-intro {
        padding: 1.2rem 1.2rem;
    }
    .rules-section-header h2 {
        font-size: 1.2rem;
    }
    .rules-list li {
        font-size: 0.95rem;
        gap: 0.7rem;
    }

    /* На мобильных уменьшаем blur для производительности */
    .header-content,
    .footer {
        backdrop-filter: blur(15px) saturate(150%);
        -webkit-backdrop-filter: blur(15px) saturate(150%);
    }
    
    .stat-card,
    .border-card,
    .server-info-card,
    .rules-section,
    .faq-item {
        backdrop-filter: blur(10px) saturate(150%);
        -webkit-backdrop-filter: blur(10px) saturate(150%);
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem 1rem;
    }
    
    .faq-answer {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.65rem 0.5rem 0;
    }
    
    .header-content {
        border-radius: 20px;
        padding: 0.5rem;
    }
    
    .nav-link {
        padding: 0.35rem 0.5rem;
        font-size: 0.75rem;
        gap: 0.25rem;
    }
    
    .nav-link .nav-icon {
        font-size: 0.85rem;
    }
    
    .logo-image {
        width: 26px;
        height: 26px;
    }
    
    .logo-text {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }

    .rules-section {
        padding: 1rem 1rem 1.5rem;
    }
    .rules-intro {
        padding: 1rem;
    }
    .rules-list li {
        font-size: 0.9rem;
        padding: 0.6rem 0;
    }
    .rules-list .rule-marker {
        font-size: 0.95rem;
        min-width: 20px;
    }
}

/* Скрываем текст на очень маленьких экранах */
@media (max-width: 360px) {
    .nav-link:not(.active) {
        font-size: 0;
        gap: 0;
        padding: 0.4rem 0.6rem;
    }
    
    .nav-link:not(.active) .nav-icon {
        font-size: 1rem;
    }
    
    .nav-link.active {
        padding: 0.4rem 0.6rem;
    }
}

/* Для старых браузеров без поддержки backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
    .header-content,
    .footer {
        background: rgba(26, 26, 26, 0.95) !important;
    }
    
    .stat-card,
    .border-card,
    .server-info-card,
    .rules-section,
    .faq-item {
        background: rgba(30, 30, 30, 0.95) !important;
    }
}