/* MINEZONE - Основные стили */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ========== ТЕМЫ ========== */

/* Зимняя тема */
.winter-theme {
    background: linear-gradient(135deg, #0a1628 0%, #1a2d4a 50%, #0d1f3c 100%);
    --primary: #4a9fff;
    --secondary: #87ceeb;
    --accent: #00d4ff;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
    --text-muted: #a0c4e8;
    --border: rgba(255, 255, 255, 0.1);
}

/* Обычная тема */
.default-theme {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --primary: #e94560;
    --secondary: #ff6b6b;
    --accent: #feca57;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
    --text-muted: #b8b8d1;
    --border: rgba(255, 255, 255, 0.1);
}

.default-theme .logo {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 50%, #feca57 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.default-theme .btn-primary {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
}

.default-theme .nav-link:hover::before,
.default-theme .nav-link.active {
    background: linear-gradient(90deg, #e94560, #ff6b6b);
}

.default-theme .balance-card {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1), rgba(255, 107, 107, 0.05));
    border-color: rgba(233, 69, 96, 0.2);
}

.default-theme .balance-value {
    color: #e94560;
}

/* Переключатель темы */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: scale(1.1);
    background: var(--bg-card-hover);
}

/* ========== СНЕЖИНКИ ========== */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.snowflakes.hidden {
    display: none;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: #fff;
    font-size: 1em;
    opacity: 0.8;
    animation: fall linear infinite;
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
}

@keyframes fall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.3;
    }
}

/* ========== ЛОГОТИП ========== */
.logo {
    font-family: 'Russo One', sans-serif;
    font-size: 4rem;
    background: linear-gradient(135deg, #4a9fff 0%, #00d4ff 50%, #87ceeb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    position: relative;
    animation: logoFloat 3s ease-in-out infinite, logoGlow 2s ease-in-out infinite;
}

.logo::before {
    content: 'MINEZONE';
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #4a9fff 0%, #00d4ff 50%, #87ceeb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(15px);
    opacity: 0.7;
    z-index: -1;
    animation: logoGlowPulse 2s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes logoGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 20px rgba(74, 159, 255, 0.5)) drop-shadow(0 0 40px rgba(0, 212, 255, 0.3));
    }
    50% { 
        filter: drop-shadow(0 0 30px rgba(74, 159, 255, 0.8)) drop-shadow(0 0 60px rgba(0, 212, 255, 0.5));
    }
}

@keyframes logoGlowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* ========== САЙДБАР - НИК И ПРИВИЛЕГИЯ ========== */
.username-box {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.15), rgba(0, 212, 255, 0.1));
    border: 2px solid rgba(74, 159, 255, 0.4);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    position: relative;
    overflow: hidden;
    animation: usernameGlow 2s ease-in-out infinite;
}

.username-box::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.3), rgba(0, 212, 255, 0.3));
    border-radius: 14px;
    filter: blur(10px);
    z-index: -1;
    animation: usernameGlowPulse 2s ease-in-out infinite;
}

.username-text {
    font-family: 'Russo One', sans-serif;
    font-size: 1.2rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(74, 159, 255, 0.5);
}

@keyframes usernameGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(74, 159, 255, 0.3), inset 0 0 20px rgba(74, 159, 255, 0.1); }
    50% { box-shadow: 0 0 25px rgba(0, 212, 255, 0.5), inset 0 0 30px rgba(0, 212, 255, 0.15); }
}

@keyframes usernameGlowPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.rank-box {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    background: linear-gradient(135deg, color-mix(in srgb, var(--rank-color) 20%, transparent), color-mix(in srgb, var(--rank-color) 10%, transparent));
    border: 2px solid var(--rank-color);
    border-radius: 20px;
    position: relative;
    animation: rankGlow 2s ease-in-out infinite;
}

.rank-box::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--rank-glow);
    border-radius: 22px;
    filter: blur(12px);
    z-index: -1;
    opacity: 0.6;
    animation: rankGlowPulse 2s ease-in-out infinite;
}

.rank-text {
    font-family: 'Russo One', sans-serif;
    font-size: 0.9rem;
    color: var(--rank-color);
    text-shadow: 0 0 10px var(--rank-glow);
}

@keyframes rankGlow {
    0%, 100% { box-shadow: 0 0 10px var(--rank-glow); }
    50% { box-shadow: 0 0 20px var(--rank-glow), 0 0 30px var(--rank-glow); }
}

@keyframes rankGlowPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* ========== ФУТЕР КОНТАКТЫ ========== */
.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    color: #a0c4e8;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.footer-contact-link:hover {
    transform: translateX(5px);
}

.footer-contact-link.vk:hover {
    background: rgba(45, 136, 255, 0.15);
    border-color: rgba(45, 136, 255, 0.3);
    color: #4a9fff;
}

.footer-contact-link.telegram:hover {
    background: rgba(36, 161, 222, 0.15);
    border-color: rgba(36, 161, 222, 0.3);
    color: #24a1de;
}

.footer-contact-link.support:hover {
    background: rgba(255, 152, 0, 0.15);
    border-color: rgba(255, 152, 0, 0.3);
    color: #ff9800;
}

/* ========== КАРТОЧКИ ========== */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(74, 159, 255, 0.3);
}

/* Информационные карточки на главной */
.info-card {
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Анимация появления блоков */
.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ========== НАВИГАЦИЯ ========== */
.nav-link {
    position: relative;
    padding: 12px 24px;
    color: var(--text-muted);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 12px;
    display: inline-block;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--text);
    background: rgba(74, 159, 255, 0.1);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link.active {
    color: var(--text);
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.2), rgba(0, 212, 255, 0.1));
}

/* ========== КНОПКИ ========== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(74, 159, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 500;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text);
    border-color: rgba(74, 159, 255, 0.5);
}

/* ========== ИНПУТЫ ========== */
.input-field {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 14px;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(74, 159, 255, 0.2);
    background: rgba(0, 0, 0, 0.4);
}

.input-field::placeholder {
    color: #6b8ab0;
}

/* ========== СЕРВЕР СТАТУС ========== */
.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
}

.server-status:hover {
    background: rgba(74, 159, 255, 0.1);
    transform: translateX(5px);
    border-color: rgba(74, 159, 255, 0.3);
}

.server-status:last-of-type {
    margin-bottom: 0;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-online {
    background: #00ff88;
    box-shadow: 0 0 10px #00ff88;
}

.status-offline {
    background: #ff4444;
    box-shadow: 0 0 10px #ff4444;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* ========== БАЛАНС ========== */
.balance-card {
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.1), rgba(0, 212, 255, 0.05));
    border: 1px solid rgba(74, 159, 255, 0.2);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.balance-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.balance-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== СКИН ПРЕВЬЮ ========== */
.skin-preview-sidebar {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.skin-preview-sidebar canvas {
    width: 100% !important;
    height: 100% !important;
}

/* ========== НОВОСТИ ========== */
.news-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--border);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Новости на главной */
.news-card-home {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.news-card-home:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
    border-color: rgba(74, 159, 255, 0.3);
}

.news-image-container {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.news-image-home {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-home:hover .news-image-home {
    transform: scale(1.05);
}

.news-no-image {
    position: relative;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.1), rgba(0, 212, 255, 0.05));
}

.news-date-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 6px;
    font-size: 0.75rem;
    color: #a0c4e8;
}

.news-content-home {
    padding: 1rem;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Страница новостей */
.news-page-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--border);
}

.news-page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(74, 159, 255, 0.3);
}

.news-page-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-page-card:hover .news-page-image {
    transform: scale(1.05);
}

.news-page-content {
    padding: 1.5rem;
}

.news-page-date {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.2), rgba(0, 212, 255, 0.1));
    border-radius: 20px;
    font-size: 0.8rem;
    color: #4a9fff;
    margin-bottom: 0.75rem;
}

.news-page-text {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Анимация появления новостей */
.news-page-card {
    animation: newsSlideIn 0.5s ease forwards;
    opacity: 0;
}

@keyframes newsSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* VK интеграция - ссылка на группу */
.vk-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    background: linear-gradient(135deg, #4a76a8, #5181b8);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.vk-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(74, 118, 168, 0.4);
}

/* ========== МОДАЛЬНЫЕ ОКНА ========== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(135deg, #1a2d4a 0%, #0d1f3c 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--text);
    transform: rotate(90deg);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== УВЕДОМЛЕНИЯ ========== */
.notification {
    position: fixed;
    top: 20px;
    right: 80px;
    padding: 16px 24px;
    border-radius: 12px;
    color: white;
    font-weight: 500;
    z-index: 3000;
    animation: slideIn 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.notification.success { background: linear-gradient(135deg, #00c853, #00e676); }
.notification.error { background: linear-gradient(135deg, #ff1744, #ff5252); }
.notification.info { background: linear-gradient(135deg, #2979ff, #448aff); }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ========== СКРОЛЛБАР ========== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 4px;
}

/* ========== ПРАВИЛА ========== */
.rules-section {
    transition: all 0.3s ease;
}

.rules-section:hover {
    transform: translateY(-2px);
}

.rules-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 12px;
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rule-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 68, 68, 0.05);
    border-left: 3px solid #ff4444;
    border-radius: 0 12px 12px 0;
    color: #fff;
}

.rule-number {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    height: fit-content;
}

.punishment-card {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.05));
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.punishment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.punishment-card.permanent {
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.15), rgba(200, 0, 0, 0.1));
    border-color: rgba(255, 68, 68, 0.3);
}

.punishment-level {
    width: 40px;
    height: 40px;
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 0.5rem;
}

.punishment-card.permanent .punishment-level {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
}

.punishment-type {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.punishment-desc {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.recommendation-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05), rgba(0, 200, 100, 0.02));
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: 12px;
    color: #fff;
    transition: all 0.3s ease;
}

.recommendation-card:hover {
    background: rgba(0, 255, 136, 0.1);
    transform: translateX(5px);
}

.rec-icon {
    font-size: 2rem;
    width: 50px;
    text-align: center;
}

.recommendation-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* ========== СТРАНИЦА СЕРВЕРА ========== */
.server-hero-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.server-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.server-hero-image:hover img {
    transform: scale(1.05);
}

.server-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.98), rgba(10, 22, 40, 0.7) 50%, transparent);
}

.server-hero-overlay h2 {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* Блоки описания сервера */
.server-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.server-section:hover {
    border-color: rgba(74, 159, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.server-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.server-section-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.2), rgba(0, 212, 255, 0.1));
    border-radius: 16px;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.server-section-title {
    font-family: 'Russo One', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin: 0;
}

.server-section-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.server-section-content {
    color: #e0e8f0;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Описание сервера */
.server-description {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.1), rgba(0, 212, 255, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(74, 159, 255, 0.2);
}

.server-description p {
    color: #e0e8f0;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Особенности сервера */
.server-features {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.08), rgba(0, 200, 100, 0.03));
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(0, 200, 100, 0.05));
    border-color: rgba(0, 255, 136, 0.4);
    transform: translateX(8px);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.15);
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    border-radius: 10px;
    color: #000;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-desc {
    color: #a0c4e8;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Моды сервера */
.server-mods {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(100, 0, 200, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.mod-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.25), rgba(74, 159, 255, 0.15));
    border: 1px solid rgba(138, 43, 226, 0.35);
    border-radius: 25px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mod-tag:hover {
    transform: scale(1.08) translateY(-2px);
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.4), rgba(74, 159, 255, 0.25));
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.3);
}

.mod-tag::before {
    content: '⚙️';
    font-size: 0.85rem;
}

/* Инфо-блоки сервера */
.server-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.server-info-card {
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.15), rgba(0, 212, 255, 0.05));
    border: 1px solid rgba(74, 159, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.server-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 159, 255, 0.2);
}

.server-info-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.server-info-value {
    font-family: 'Russo One', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.server-info-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Кнопка играть */
.server-play-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.1), rgba(0, 212, 255, 0.05));
    border-radius: 20px;
    border: 1px solid rgba(74, 159, 255, 0.2);
}

.server-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, #4a9fff, #00d4ff);
    border: none;
    border-radius: 16px;
    color: #fff;
    font-family: 'Russo One', sans-serif;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(74, 159, 255, 0.3);
}

.server-play-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(74, 159, 255, 0.4);
}

.server-play-btn::before {
    content: '🎮';
    font-size: 1.5rem;
}

/* ========== МИНИ-КАРТОЧКИ КЕЙСОВ НА ГЛАВНОЙ ========== */
.case-mini-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 2px solid var(--case-color, #4a9fff);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.case-mini-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, var(--case-color) 0%, transparent 70%);
    opacity: 0.1;
    transition: opacity 0.3s;
}

.case-mini-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px color-mix(in srgb, var(--case-color) 30%, transparent);
}

.case-mini-card:hover::before {
    opacity: 0.2;
}

.case-mini-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 3px 10px var(--case-color));
    animation: caseBounce 2s ease-in-out infinite;
}

@keyframes caseBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.case-mini-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.case-mini-price {
    padding: 0.3rem 0.75rem;
    background: linear-gradient(135deg, rgba(0, 200, 100, 0.2), rgba(0, 150, 80, 0.1));
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.case-mini-price.free {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.25), rgba(0, 200, 100, 0.1));
    color: #00ff88;
    border-color: rgba(0, 255, 136, 0.4);
}

/* Бейджи последних выигрышей */
.recent-win-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #a0c4e8;
    border: 1px solid;
}

.recent-win-badge strong {
    color: #fff;
}

.recent-win-badge.rarity-green {
    border-color: rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), transparent);
}

.recent-win-badge.rarity-purple {
    border-color: rgba(156, 39, 176, 0.4);
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.15), transparent);
}

.recent-win-badge.rarity-gold {
    border-color: rgba(255, 152, 0, 0.4);
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.15), transparent);
}

.recent-win-badge.rarity-red {
    border-color: rgba(244, 67, 54, 0.5);
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.2), transparent);
    animation: redPulse 1s infinite alternate;
}

@keyframes redPulse {
    to { box-shadow: 0 0 15px rgba(244, 67, 54, 0.4); }
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 1200px) {
    .main-layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100% !important;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    .nav-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-link {
        padding: 8px 16px;
        font-size: 14px;
    }
    .theme-toggle {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Download Page */
.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(74, 159, 255, 0.1), rgba(0, 212, 255, 0.05));
    border: 2px solid rgba(74, 159, 255, 0.2);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.download-card:hover {
    border-color: #4a9fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(74, 159, 255, 0.2);
}

.download-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.download-card-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.download-card-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.download-card-btn {
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #4a9fff, #2196f3);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.download-card:hover .download-card-btn {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000;
}

/* Feature Cards Mini */
.feature-card-mini {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}

.feature-card-mini-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.feature-card-mini-title {
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.feature-card-mini-desc {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.4;
}

/* Install Steps */
.install-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.install-step {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.install-step-num {
    width: 36px;
    height: 36px;
    background: rgba(74, 159, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a9fff;
    font-weight: 700;
    flex-shrink: 0;
}

.install-step-num.success {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
}

.install-step-title {
    font-weight: 600;
    color: #fff;
}

.install-step-desc {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Vote Buttons */
.vote-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 152, 0, 0.1));
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.vote-btn:hover {
    border-color: #ffc107;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.25), rgba(255, 152, 0, 0.15));
    transform: translateX(5px);
}

.vote-icon {
    font-size: 1.25rem;
}
