/* MMO-Stock inspired design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #667eea;
    --accent-secondary: #764ba2;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: rgba(255, 255, 255, 0.1);
    --hover-color: rgba(102, 126, 234, 0.1);
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-light: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-bg: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
}

/* Filters Section */
.filters-section {
    margin-bottom: 2rem;
    display: flex;
    justify-content: flex-end;
}

/* Search Form */
.search-form {
    flex: 1;
    max-width: 400px;
}

.search-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-group:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.search-btn {
    padding: 12px 16px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6b4190 100%);
    transform: translateY(-1px);
}

/* Filters Dropdown */
.filters-dropdown {
    position: relative;
}

.filters-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--glass-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.filters-toggle-btn:hover {
    border-color: var(--accent-color);
    background: var(--hover-color);
    transform: translateY(-1px);
}

.filters-toggle-btn.active {
    border-color: var(--accent-color);
    background: var(--gradient-primary);
    color: white;
}

.filters-toggle-btn .fa-chevron-down {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.filters-toggle-btn.active .fa-chevron-down {
    transform: rotate(180deg);
}

.filters-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 320px;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--shadow-heavy);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 400px;
    overflow-y: auto;
    backdrop-filter: blur(20px);
}

.filters-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.filters-form {
    padding: 20px;
}

.filter-item {
    margin-bottom: 16px;
}

.filter-item:last-of-type {
    margin-bottom: 20px;
}

.filter-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
    margin-bottom: 6px;
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.filter-input::placeholder {
    color: var(--text-secondary);
}

.filter-select option {
    background: var(--secondary-color);
    color: var(--text-primary);
}

.filter-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .section-title-group {
        justify-content: center;
        text-align: center;
    }
    
    .section-controls {
        justify-content: center;
    }
    
    .search-form {
        min-width: auto;
        max-width: 400px;
    }
    
    .filters-section {
        justify-content: center;
    }
    
    .filters-menu {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        min-width: 90vw;
        max-width: 400px;
    }
    
    .filters-menu.show {
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 480px) {
    .section-controls {
        padding: 0.75rem;
    }
    
    .search-input {
        padding: 10px 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .search-btn {
        padding: 10px 12px;
    }
    
    .filters-toggle-btn {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .filters-menu {
        right: auto;
        left: 0;
        min-width: 100%;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background: var(--gradient-bg) !important;
    color: var(--text-primary) !important;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-size: 14px !important;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.background {
    display: none !important;
}

.overlay {
    display: none !important;
}

/* Modern Navigation Styles */
header {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98), rgba(22, 33, 62, 0.95)) !important;
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    margin-bottom: 0 !important;
    padding: 0 !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    pointer-events: none;
}

.modern-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 32px;
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: visible;
    flex-wrap: nowrap;
}

/* Brand Styles */
.navbar-brand {
    flex-shrink: 0;
    position: relative;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 22px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;	
    overflow: visible;
}

.brand-link:hover::before {
    left: 100%;
}

.brand-link:hover {
    color: var(--accent-color);
    text-decoration: none;
    transform: scale(1.08) translateY(-2px);
    filter: drop-shadow(0 8px 16px rgba(102, 126, 234, 0.3));
}

.brand-icon {
    background: var(--gradient-primary);
    border-radius: 16px;
    padding: 12px;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.brand-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.brand-link:hover .brand-icon::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.brand-icon i {
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.brand-link:hover .brand-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.brand-text {
    background: linear-gradient(135deg, var(--text-primary), var(--accent-color), #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
    position: relative;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Navigation Menu */
.navbar-menu {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.nav-list {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
    align-items: center;
    justify-content: center;
    background: rgb(34 43 70 / 98%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 8px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: visible;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 14px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    background: transparent;
    border: 1px solid transparent;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
    transition: left 0.6s;
    z-index: 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: transform 0.4s ease;
    z-index: 1;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(102, 126, 234, 0.15);
    transform: translateY(-3px) scale(1.05);
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3), 0 0 0 1px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.nav-link.admin-link {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border-color: rgba(220, 53, 69, 0.3);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    padding: 12px;
    min-width: 48px;
    justify-content: center;
}

.nav-link.admin-link span {
    display: none;
}

.nav-link.admin-link i {
    margin-right: 0;
}

.nav-link.admin-link:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4), 0 0 0 1px rgba(220, 53, 69, 0.3);
}

.nav-link.admin-link::after {
    background: rgba(255, 255, 255, 0.8);
}

.nav-link i {
    margin-right: 10px;
    font-size: 14px;
    width: 16px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.nav-link:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.nav-link span {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.nav-link.active {
    color: var(--accent-color) !important;
    background: rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

/* Search Styles */
.navbar-search {
    flex-shrink: 0;
    position: relative;
}

.search-form {
    margin: 0;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 24px;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    width: 48px;
    height: 48px;
}

.search-container:hover {
    width: 268px;
}



.search-container:focus-within,
.search-container.focused,
.search-container:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4), 0 0 0 2px rgba(102, 126, 234, 0.3);
}

.search-input {
    background: transparent;
    border: none;
    padding: 0 16px 0 20px;
    color: var(--text-primary);
    font-size: 14px;
    width: 0;
    opacity: 0;
    outline: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
    top: 0;
    height: 48px;
    border-radius: 24px;
}

.search-container:hover .search-input {
    width: 220px;
    opacity: 1;
}

.search-input::placeholder {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.search-container:focus-within .search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-btn {
    background: var(--gradient-primary);
    border: none;
    padding: 0;
    color: white;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 24px;
    z-index: 2;
}



.search-btn:hover {
    background: linear-gradient(135deg, #5a6fd8, #6b5b95);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.search-btn::after {
    content: "\f002";
    font-family: "Font Awesome 6 Free", "FontAwesome";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    display: block;
    color: white;
}

.search-btn i {
    display: none;
}

/* Actions Styles */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    padding: 10px 14px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
    transition: left 0.6s;
}

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

.lang-btn:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4), 0 0 0 1px rgba(102, 126, 234, 0.3);
    transform: translateY(-3px) scale(1.05);
}

.lang-btn span {
    font-size: 16px;
    transition: all 0.3s ease;
}

.lang-btn:hover span {
    transform: scale(1.1);
}

.lang-btn i {
    transition: all 0.3s ease;
}

.lang-btn:hover i {
    transform: rotate(180deg);
}

.language-menu {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--shadow-heavy);
    margin-top: 8px;
}

.language-menu .dropdown-item {
    color: var(--text-primary);
    padding: 10px 16px;
    transition: all 0.3s ease;
}

.language-menu .dropdown-item:hover {
    background: rgba(102, 126, 234, 0.2);
    color: var(--accent-color);
    border-radius: 8px;
}

/* User Menu */
.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-btn {
    background: var(--gradient-primary);
    border: none;
    border-radius: 16px;
    padding: 12px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    width: 48px;
    height: 48px;
}

.user-btn span {
    display: none;
}

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

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

.user-btn:hover {
    background: linear-gradient(135deg, #5a6fd8, #6b5b95);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
}

.user-btn i {
    transition: all 0.3s ease;
}

.user-btn:hover i {
    transform: scale(1.2) rotate(5deg);
}

.logout-btn {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.4);
    border-radius: 16px;
    padding: 12px;
    color: #ff6b7a;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
    position: relative;
    overflow: hidden;
    width: 48px;
    height: 48px;
}

.logout-btn span {
    display: none;
}

.logout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 53, 69, 0.2), transparent);
    transition: left 0.6s;
}

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

.logout-btn:hover {
    background: rgba(220, 53, 69, 0.25);
    border-color: #dc3545;
    color: #ff4757;
    text-decoration: none;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

.logout-btn i {
    transition: all 0.3s ease;
}

.logout-btn:hover i {
    transform: scale(1.2) rotate(-5deg);
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
}

.login-btn {
    background: var(--gradient-primary);
    border: none;
    border-radius: 16px;
    padding: 12px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    width: 48px;
    height: 48px;
}

.login-btn span {
    display: none;
}

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

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

.login-btn:hover {
    background: linear-gradient(135deg, #5a6fd8, #6b5b95);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
}

.login-btn i {
    transition: all 0.3s ease;
}

.login-btn:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    padding: 12px;
    gap: 4px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.mobile-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.mobile-toggle:hover::before {
    left: 100%;
}

.mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.mobile-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
    transform-origin: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.mobile-toggle:hover span {
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: #ff6b7a;
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: #ff6b7a;
}



/* Latest News Section Styles */
.latest-news {
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 2rem 0;
    margin: 2rem 0;
    box-shadow: none;
    position: relative;
    overflow: visible;
}



.latest-news .title {
    margin-bottom: 2rem;
    text-align: center;
}

.latest-news .title h3 {
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    position: relative;
    display: inline-block;
}

.latest-news .title h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.news-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-light);
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.news-card:hover::before {
    left: 100%;
}

.news-card:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    color: #fff;
    text-decoration: none;
}

.news-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(79, 172, 254, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
    pointer-events: none;
}

.news-card:hover::after {
    opacity: 1;
}

.news-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
    z-index: 2;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--text-primary);
}

.news-title a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-title a:hover {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transform: translateY(-1px);
}

.news-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 1rem;
}

.news-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-date i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

.news-read-more {
    background: var(--gradient-primary);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

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

.news-read-more:hover::before {
    left: 100%;
}

.news-read-more:hover {
    background: linear-gradient(135deg, #7c8ff0 0%, #8a5bb8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    color: white;
    text-decoration: none;
}

.news-read-more i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.news-read-more:hover i {
    transform: translateX(3px);
}

/* News Page Styles */
.news-page {
    min-height: 100vh;
    padding: 2rem 0;
    background: transparent;
}

.news-page .page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.news-page .page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 20px 20px 0 0;
}

.news-page .page-title {
    color: var(--text-primary);
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    position: relative;
    display: inline-block;
}

.news-page .page-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.news-section {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 20px 20px 0 0;
}

.no-news {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    background: var(--glass-bg);
    border: 2px dashed var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.no-news i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
    opacity: 0.7;
}

/* Section Subtitle Styles */
.section-subtitle {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    padding: 12px 20px;
    margin: 10px 0 20px 0;
    color: var(--text-secondary);
    font-size: 14px;
    font-style: italic;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
    transition: left 0.6s;
}

.section-subtitle:hover::before {
    left: 100%;
}

.section-subtitle:hover {
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

/* All News Button */
.all-news-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    text-align: center;
    justify-content: center;
    min-width: 200px;
}

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

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

.all-news-btn:hover {
    background: linear-gradient(135deg, #7c8ff0 0%, #8a5bb8 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.6);
    color: white;
    text-decoration: none;
}

.all-news-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.all-news-btn:hover i {
    transform: translateX(5px) rotate(15deg);
}

.all-news-btn-container {
    text-align: center;
    margin-top: 3rem;
}

/* Single News View Styles */
.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.news-meta span {
    color: #b8c5d6;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-meta .news-category {
    background: var(--gradient-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.news-content {
    margin: 30px 0;
}

.news-content .news-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.related-news {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related-news h3 {
    color: var(--text-primary);
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

.news-navigation {
    margin-top: 40px;
    text-align: center;
}

.news-navigation .btn {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.news-navigation .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1750px) {
    /* При больших разрешениях сначала скрываем текст у пунктов меню */
    .nav-link span {
        display: none;
    }
    
    .nav-link {
        padding: 12px;
        min-width: 44px;
        justify-content: center;
        position: relative;
    }
    
    .nav-link i {
        margin-right: 0;
    }
    
    /* Важные иконки остаются видимыми */
    .navbar-actions {
        display: flex !important;
        gap: 12px;
    }
    
    .search-container,
    .language-selector,
    .user-menu {
        display: flex !important;
    }
    

    

}

@media (max-width: 1200px) {
    .modern-navbar {
        padding: 16px 20px;
    }
    
    .search-input {
        width: 220px;
    }
    
    .nav-link {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .nav-link i {
        margin-right: 8px;
    }
}

@media (max-width: 1100px) {
    .modern-navbar {
        gap: 20px;
        padding: 16px 20px;
    }
    
    .navbar-actions {
        gap: 12px;
    }
}

@media (max-width: 1000px) {
    .modern-navbar {
        gap: 16px;
        padding: 14px 16px;
    }
    
    .nav-list {
        gap: 2px;
        padding: 6px;
    }
    
    .nav-link {
        padding: 10px;
        min-width: 40px;
    }
    
    .nav-link span {
        display: none;
    }
    
    .search-input {
        width: 180px;
    }
    
    /* Гарантируем видимость важных иконок */
    .navbar-actions {
        display: flex !important;
    }
    
    .search-container,
    .language-selector,
    .user-menu {
        display: flex !important;
    }
}

@media (max-width: 1200px) {
    .latest-news {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .news-card {
        border-radius: 16px;
    }
    
    .news-card-body {
        padding: 1.25rem;
    }
    
    .news-title {
        font-size: 1.2rem;
    }
    
    .news-read-more {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .all-news-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-width: 180px;
    }
    
    .latest-news .title h3 {
        font-size: 1.8rem;
    }
    
    .news-page .page-title {
        font-size: 2.5rem;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .latest-news {
        padding: 1rem;
        margin: 1rem 0;
        border-radius: 16px;
    }
    
    .latest-news .title h3 {
        font-size: 1.5rem;
    }
    
    .news-page .page-header {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    .news-page .page-title {
        font-size: 2rem;
    }
    
    .news-section {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .news-card {
        border-radius: 12px;
    }
    
    .news-card-body {
        padding: 1rem;
    }
    
    .news-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .news-text {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        margin-bottom: 1rem;
    }
    
    .news-footer {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .news-date {
        font-size: 0.75rem;
    }
    
    .news-read-more {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        align-self: flex-end;
    }
    
    .all-news-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
        min-width: 160px;
    }
    
    .all-news-btn-container {
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .latest-news {
        padding: 0.8rem;
        border-radius: 12px;
    }
    
    .latest-news .title h3 {
        font-size: 1.3rem;
    }
    
    .news-page .page-header {
        padding: 1.5rem 0.8rem;
    }
    
    .news-page .page-title {
        font-size: 1.8rem;
    }
    
    .news-section {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .news-card {
        border-radius: 10px;
    }
    
    .news-card-body {
        padding: 0.8rem;
    }
    
    .news-title {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .news-text {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
        -webkit-line-clamp: 2;
    }
    
    .news-footer {
        flex-direction: column;
        gap: 0.6rem;
        align-items: flex-start;
    }
    
    .news-date {
        font-size: 0.7rem;
    }
    
    .news-read-more {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        align-self: flex-end;
    }
    
    .all-news-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        min-width: 140px;
    }
    
    .all-news-btn-container {
        margin-top: 1.5rem;
    }
}

@media (max-width: 992px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        border-top: none;
        padding: 24px;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .navbar-menu.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .nav-link {
        padding: 18px 24px;
        justify-content: flex-start;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    /* Показываем текст в мобильном меню */
    .nav-link span {
        display: inline !important;
        margin-left: 12px;
        color: #fff;
        font-weight: 500;
    }
    
    .nav-link i {
        margin-right: 0;
        color: #fff;
    }
    
    .nav-link:hover {
        background: var(--gradient-primary);
        border-color: rgba(102, 126, 234, 0.5);
        transform: translateX(8px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .search-input {
        width: 180px;
    }
}

@media (max-width: 900px) {
    /* Скрываем текстовые пункты меню, но оставляем важные иконки */
    .navbar-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    /* Важные иконки остаются видимыми */
    .navbar-actions {
        display: flex !important;
        gap: 8px;
    }
    
    .search-container,
    .language-selector,
    .user-menu {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stat-card {
        padding: 16px;
        gap: 12px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .stat-icon i {
        font-size: 20px;
    }
    
    .stat-card h3 {
        font-size: 24px;
    }
    
    .modern-navbar {
        padding: 12px 16px;
        gap: 16px;
    }
    
    .brand-text {
        display: none;
    }
    
    .navbar-search {
        order: -1;
        flex: 1;
    }
    
    .search-input {
        width: 100%;
    }
    
    /* Скрываем только текст у кнопок, но не сами кнопки */
    .user-btn span,
    .logout-btn span,
    .login-btn span {
        display: none;
    }
    
    /* Важные иконки всегда видимы */
    .search-btn,
    .lang-btn,
    .user-btn,
    .logout-btn {
        display: flex !important;
        min-width: 40px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .modern-navbar {
        padding: 12px;
        gap: 8px;
    }
    
    .navbar-actions {
        gap: 6px;
    }
    
    .user-menu {
        gap: 6px;
    }
    
    /* На очень узких экранах приоритет критически важным иконкам */
    .search-container {
        min-width: 40px;
    }
    
    .search-input {
        width: 120px;
    }
    
    .search-container:hover .search-input {
        width: 160px;
    }
    
    /* Обеспечиваем видимость ключевых элементов */
    .search-btn,
    .lang-btn,
    .user-btn,
    .logout-btn {
        display: flex !important;
        min-width: 36px;
        height: 36px;
        padding: 8px !important;
        justify-content: center;
        align-items: center;
    }
    
    /* Скрываем менее важные элементы при необходимости */
    .brand-text {
        display: none !important;
    }
    
    .footer {
        margin-top: 40px;
    }
    
    .footer .container {
        padding: 20px 15px;
    }
    
    .footer h5 {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }
    
    .footer .row > div {
        margin-bottom: 30px;
    }
    
    .footer .text-center {
        padding: 20px 15px !important;
    }
    
    .social-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer h5::after {
        width: 30px;
    }
    
    .footer h5:hover::after {
        width: 45px;
    }
    
    .footer .list-unstyled li:hover {
        transform: none;
    }
    
    .footer a:hover {
        transform: none;
    }
}

/* Main Content */
.main-content {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.container {
    max-width: 1200px !important;
}

/* Statistics Cards */
.main-stats {
    margin-bottom: 40px;
}

.stats-grid-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-color);
    background: rgba(102, 126, 234, 0.05);
}

.stat-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-light);
}

.stat-icon i {
    font-size: 24px;
    color: white;
}

.stat-content {
    flex: 1;
    text-align: left;
}

.stat-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0 0 4px 0;
    line-height: 1;
}

.stat-card p {
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Games Filter */
.games-filter {
    margin-bottom: 40px;
}

.games-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.game-filter {
    background: rgba(42, 42, 42, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 14px;
}

.game-filter:hover {
    background: var(--hover-color);
    border-color: var(--accent-color);
    color: var(--text-primary);
    text-decoration: none;
    transform: translateY(-1px);
}

.game-filter.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.game-filter.active:hover {
    color: white;
}

/* Cards and Sections */
.top-welcome-text,
.top-servers {
    border-radius: 12px;
    padding: 24px !important;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.servers-list {
    background: transparent !important;
    border: none;
    border-radius: 0;
    padding: 0 !important;
    margin-bottom: 24px;
    backdrop-filter: none;
}

.content-title {
    font-size: 28px !important;
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 2px solid var(--accent-color) !important;
    padding-bottom: 12px;
    margin-bottom: 24px !important;
}

.title h3 {
    font-size: 24px !important;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

/* Server Cards */
.product {
    background: rgba(42, 42, 42, 0.9) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-bottom: 16px !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px);
}

.product:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
    border-color: var(--accent-color) !important;
}

.project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.project-header h4 {
    color: var(--text-primary) !important;
    font-weight: 600;
    font-size: 18px;
    margin: 0;
}

.project-header h4 a {
    color: var(--text-primary) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-header h4 a:hover {
    color: var(--accent-color) !important;
}

.project-www {
    background: rgba(0, 123, 255, 0.1);
    color: var(--accent-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(0, 123, 255, 0.3);
    position: relative;
    z-index: 10;
    pointer-events: auto;
    text-decoration: none;
    opacity: 0.8;
}

.project-www:hover {
    color: #0056b3;
    text-decoration: underline;
    opacity: 1;
}

.project-about {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.project-vote-count {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
}

.project-vote {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.project-vote:hover {
    background: #0056b3;
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

.social {
    display: flex;
    gap: 8px;
    align-items: center;
}

.social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.social a:hover {
    transform: translateY(-1px);
    opacity: 0.8;
}

.social .fab.fa-vk {
    background: #4C75A3;
}

.social .fab.fa-telegram {
    background: #0088CC;
}

.social .fab.fa-discord {
    background: #7289DA;
}

/* Players and Status */
.players-online {
    color: var(--success-color);
    font-weight: 600;
    font-size: 14px;
}

.players-offline {
    color: var(--danger-color);
    font-weight: 600;
    font-size: 14px;
}

/* Tables */
.table-dark {
    background: rgba(42, 42, 42, 0.9) !important;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.table-dark thead {
    background: rgba(26, 26, 26, 0.9) !important;
}

.table-dark thead th {
    border-bottom: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    font-weight: 600;
    padding: 16px !important;
}

.table-dark td {
    border-bottom: 1px solid rgba(51, 51, 51, 0.5) !important;
    padding: 16px !important;
    vertical-align: middle;
}

.table-dark .hostname {
    color: var(--accent-color) !important;
    font-weight: 600;
    text-decoration: none;
}

.table-dark .hostname:hover {
    color: #0056b3 !important;
}

.table-dark .address,
.table-dark .players,
.table-dark .vote {
    background: rgba(26, 26, 26, 0.8) !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    font-weight: 500;
}

/* Buttons */
.btn {
    border-radius: 6px !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 20px;
}

.btn-primary {
    background: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
}

.btn-primary:hover {
    background: #0056b3 !important;
    border-color: #0056b3 !important;
    transform: translateY(-1px);
}

.btn.add-server {
    background: var(--accent-color) !important;
    border: none;
    color: white !important;
    font-weight: 600;
}

.btn.add-server:hover {
    background: #0056b3 !important;
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background: var(--glass-bg) !important;
    border-top: 1px solid var(--glass-border) !important;
    backdrop-filter: blur(25px);
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.6;
}

.footer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.03) 0%, transparent 70%);
    animation: footerGlow 8s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes footerGlow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.1;
    }
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer h5 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 8px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer h5:hover::after {
    width: 60px;
}

.footer p,
.footer a {
    color: var(--text-secondary) !important;
    transition: all 0.4s ease;
    position: relative;
    line-height: 1.6;
}

.footer a {
    text-decoration: none;
    padding: 4px 0;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.footer a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.footer a:hover::before {
    left: 100%;
}

.footer a:hover {
    color: #ffffff !important;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.footer .list-unstyled li {
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.footer .list-unstyled li:hover {
    transform: translateX(3px);
}

.footer .text-center {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer .text-center::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    animation: footerSweep 3s ease-in-out infinite;
}

@keyframes footerSweep {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.footer .text-center a {
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.footer .text-center a:hover {
    color: var(--accent-color) !important;
    text-shadow: 0 0 15px rgba(102, 126, 234, 0.8);
    transform: scale(1.05);
}

/* Add Server Page Styles */
.section-add-server {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.add-server-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(15px);
}

.server-form .form-row {
    margin-bottom: 20px;
}

.server-form .form-group {
    display: flex;
    flex-direction: column;
}

.server-form .form-label {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.server-form .form-input,
.server-form .form-select,
.server-form .form-textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 12px 15px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.server-form .form-input:focus,
.server-form .form-select:focus,
.server-form .form-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.server-form .form-textarea {
    resize: vertical;
    min-height: 100px;
}

.server-form .form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.server-form .btn-primary,
.server-form .btn-secondary {
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.server-form .btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.server-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.server-form .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.server-form .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Giveaways Page Styles */
.giveaways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.giveaway-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.giveaway-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s;
}

.giveaway-card:hover::before {
    left: 100%;
}

.giveaway-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

.giveaway-header {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.giveaway-title {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.giveaway-body {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.giveaway-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.giveaway-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

.stat-item i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.stat-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.giveaway-countdown {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 193, 7, 0.1);
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.giveaway-countdown i {
    color: #ffc107;
}

.giveaway-countdown span {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.countdown {
    font-weight: 600 !important;
    color: #ffc107 !important;
}

.giveaway-footer {
    position: relative;
    z-index: 2;
    text-align: center;
}

.giveaway-footer .btn-primary,
.giveaway-footer .btn-secondary {
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.95rem;
}

.giveaway-footer .btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.giveaway-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.giveaway-footer .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    cursor: not-allowed;
    opacity: 0.7;
}

/* Social Sidebar */
.social-sidebar {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    padding: 16px 12px;
    background: var(--glass-bg) !important;
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-left: none;
    border-radius: 0 20px 20px 0;
    z-index: 1000;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.social-sidebar:hover {
    transform: translateY(-50%) translateX(5px);
    box-shadow: 6px 0 30px rgba(0, 0, 0, 0.4);
}

.social-sidebar .social-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin: 8px 0;
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-sidebar .social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.social-sidebar .social-icon:hover::before {
    left: 100%;
}

.social-sidebar .social-icon:hover {
    transform: translateX(8px) scale(1.1);
    text-decoration: none;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-sidebar .social-icon.vk {
    background: linear-gradient(135deg, #4C75A3, #5a82b8);
    box-shadow: 0 4px 15px rgba(76, 117, 163, 0.4);
}

.social-sidebar .social-icon.vk:hover {
    background: linear-gradient(135deg, #5a82b8, #6b93c9);
    box-shadow: 0 6px 25px rgba(76, 117, 163, 0.6);
}

.social-sidebar .social-icon.telegram {
    background: linear-gradient(135deg, #0088CC, #00a0e6);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
}

.social-sidebar .social-icon.telegram:hover {
    background: linear-gradient(135deg, #00a0e6, #1ab8ff);
    box-shadow: 0 6px 25px rgba(0, 136, 204, 0.6);
}

.social-sidebar .social-icon.zen {
    background: linear-gradient(135deg, #333, #4a4a4a);
    box-shadow: 0 4px 15px rgba(51, 51, 51, 0.4);
}

.social-sidebar .social-icon.zen:hover {
    background: linear-gradient(135deg, #4a4a4a, #616161);
    box-shadow: 0 6px 25px rgba(51, 51, 51, 0.6);
}

.social-sidebar .social-icon.zen svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.social-sidebar .social-icon.zen:hover svg {
    transform: scale(1.1) rotate(5deg);
}

/* Server cards for servers_list.tpl */
.servers-list {
    background: transparent;
    min-height: auto;
    padding: 0;
}

.server-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    overflow: visible;
    margin-bottom: 25px;
}

.server-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.server-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.server-rank {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.server-info {
    flex: 1;
    margin-left: 15px;
}

.server-title {
    color: var(--text-color);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.server-title:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.server-website {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.server-website:hover {
    color: #ff8c42;
    text-decoration: underline;
}

.server-card-body {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.server-vote-section {
    min-width: 120px;
    text-align: center;
}

.vote-count {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.vote-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
    justify-content: center;
}

.vote-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.server-description {
    flex: 1;
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 14px;
}

.server-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.server-stats {
    display: flex;
    gap: 10px;
}

.server-rate,
.server-online,
.server-filter {
    background: var(--accent-color);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.server-filter {
    background: rgba(0, 123, 255, 0.8);
    border: 1px solid rgba(0, 123, 255, 0.3);
}

.server-social {
    display: flex;
    gap: 6px;
    align-items: center;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
    transition: left 0.5s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link.vk {
    background: linear-gradient(135deg, #4C75A3, #3a5a82);
    color: white;
}

.social-link.discord {
    background: linear-gradient(135deg, #7289DA, #5b6eae);
    color: white;
}

.social-link.telegram {
    background: linear-gradient(135deg, #0088CC, #006699);
    color: white;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-color);
    text-decoration: none;
    color: white;
}

.social-link:active {
    transform: translateY(0) scale(0.95);
}

/* Mobile server cards */
.server-card-mobile {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.server-card-mobile-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.server-rank-mobile {
    background: var(--primary-color);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 12px;
}

.server-info-mobile {
    flex: 1;
}

.server-title-mobile {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.server-title-mobile:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.server-website-mobile {
    color: var(--secondary-color);
    font-size: 12px;
    text-decoration: none;
}

.server-website-mobile:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.server-card-mobile-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vote-section-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vote-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.vote-count-mobile {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
}

.vote-btn-mobile {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.vote-btn-mobile:hover {
    background: var(--primary-hover);
}

.server-stats-mobile {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.server-rate-mobile,
.server-online-mobile,
.server-filter-mobile {
    background: var(--accent-color);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.server-filter-mobile {
    background: rgba(0, 123, 255, 0.8);
    border: 1px solid rgba(0, 123, 255, 0.3);
}

.server-description-mobile {
    color: var(--text-secondary);
    line-height: 1.4;
    font-size: 13px;
}

.server-social-mobile {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-link-mobile {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-link-mobile.vk {
    background: #4c75a3;
    color: white;
}

.social-link-mobile.discord {
    background: #7289da;
    color: white;
}

.social-link-mobile.telegram {
    background: #0088cc;
    color: white;
}

.social-link-mobile:hover {
    transform: scale(1.1);
    text-decoration: none;
    color: white;
}

/* Mobile Responsive */
/* Stats Page Styles */
.stats-page {
    padding: 20px 0;
    min-height: 70vh;
}

.stats-content {
    margin-top: 30px;
}

.chart-container {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #3a3a3a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.chart-container #container {
    min-height: 400px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-content {
        padding: 20px 0;
    }
    
    .top-welcome-text,
    .top-servers {
        padding: 16px !important;
        margin-bottom: 16px;
    }
    
    .servers-list {
        padding: 0 !important;
        margin-bottom: 16px;
    }
    
    .content-title {
        font-size: 24px !important;
    }
    
    .title h3 {
        font-size: 20px !important;
    }
    
    .product {
        padding: 16px !important;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .social-sidebar {
        display: none;
    }
    
    .main {
        margin-top: 60px;
    }
    
    .server-card {
        flex-direction: column;
    }
    
    .server-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .server-card-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .games-filter {
        flex-direction: column;
    }
    
    .game-filter {
        margin: 5px 0;
    }
    
    .servers-list {
         padding: 0;
     }
 }

/* News page styles */
.news-page {
    background: var(--bg-color);
    min-height: 100vh;
    padding: 20px 0;
}

.news-section {
    margin-top: 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.news-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.news-card-body {
    padding: 20px;
}

.news-title {
    color: var(--text-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.news-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.no-news {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.no-news i {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: block;
}

.no-news p {
    font-size: 16px;
    margin: 0;
}

/* Top Servers Section */
.top-servers-section {
    padding: 30px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.top-servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.top-server-card {
    background: #2a2a2a;
    border-radius: 15px;
    padding: 20px;
    border: 2px solid #3a3a3a;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.top-server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
    border-color: #ff6b35;
}

.server-rank {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rank-number {
    background: #ff6b35;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.rank-medal {
    font-size: 20px;
}

.rank-medal.rank-1 {
    color: #ffd700;
}

.rank-medal.rank-2 {
    color: #c0c0c0;
}

.rank-medal.rank-3 {
    color: #cd7f32;
}

.server-image {
    position: relative;
    margin-bottom: 15px;
}

.map-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.top-server-card:hover .map-image {
    transform: scale(1.05);
}

.map-name {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.server-details {
    text-align: center;
}

.server-hostname {
    background: #1a1a1a;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #ff6b35;
}

.server-hostname a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.server-hostname a:hover {
    color: #ff6b35;
}

.server-stats {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.stat-item {
    flex: 1;
    background: #1a1a1a;
    padding: 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
}

.stat-item.players {
    color: #4CAF50;
}

.stat-item.address {
    color: #ff6b35;
}

.stat-item i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .news-card {
        margin-bottom: 15px;
    }
    
    .news-card-body {
        padding: 15px;
    }
    
    .news-title {
        font-size: 16px;
    }
    
    .no-news {
        padding: 40px 20px;
    }
    
    .no-news i {
        font-size: 36px;
    }
    
    .server-info-grid {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .service-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .server-details-card,
    .paid-services-section,
    .comments-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .top-servers-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .top-server-card {
        padding: 15px;
    }
    
    .server-stats {
        flex-direction: column;
        gap: 8px;
    }
}

/* Server Info Page Styles */
.server-info-page {
    padding: 20px 0;
}

.server-details-card {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #3a3a3a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.server-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #3a3a3a;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #ff6b35;
    margin-right: 10px;
    min-width: 120px;
}

.info-value {
    color: #e0e0e0;
    flex: 1;
}

.server-description {
    margin-top: 20px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 8px;
    border-left: 4px solid #ff6b35;
}

.description-title {
    color: #ff6b35;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.description-text {
    color: #e0e0e0;
    line-height: 1.6;
}

/* Paid Services Section */
.paid-services-section {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #3a3a3a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.services-list {
    margin: 20px 0;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: #1a1a1a;
    border-radius: 8px;
    border-left: 4px solid #ff6b35;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.2);
}

.service-item.premium {
    border-left-color: #ffd700;
}

.service-item.vip {
    border-left-color: #9b59b6;
}

.service-item.color {
    border-left-color: #e74c3c;
}

.service-item.boost {
    border-left-color: #3498db;
}

.service-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff6b35;
    border-radius: 50%;
    margin-right: 15px;
    color: white;
    font-size: 16px;
}

.service-item.premium .service-icon {
    background: #ffd700;
    color: #333;
}

.service-item.vip .service-icon {
    background: #9b59b6;
}

.service-item.color .service-icon {
    background: #e74c3c;
}

.service-item.boost .service-icon {
    background: #3498db;
}

.service-info {
    flex: 1;
}

.service-name {
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 5px;
}

.service-date {
    color: #999;
    font-size: 14px;
}

.order-service-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff6b35, #f39c12);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.order-service-btn:hover {
    background: linear-gradient(135deg, #e55a2b, #d68910);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    color: white;
    text-decoration: none;
}

/* Comments Section */
.comments-section {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #3a3a3a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.comment-form {
    margin-bottom: 20px;
}

.comment-input-group {
    margin-bottom: 15px;
}

.comment-textarea {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    background: #1a1a1a;
    border: 2px solid #3a3a3a;
    border-radius: 8px;
    color: #e0e0e0;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.comment-textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.comment-textarea::placeholder {
    color: #666;
}

.char-counter {
    display: block;
    text-align: right;
    color: #999;
    font-size: 12px;
    margin-top: 5px;
}

.submit-comment-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff6b35, #f39c12);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.submit-comment-btn:hover {
    background: linear-gradient(135deg, #e55a2b, #d68910);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* News Cards */
.news .card {
    background: rgba(42, 42, 42, 0.9) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.news .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

/* Server Info */
.server-info .game,
.server-info .name,
.server-info .address,
.server-info .players,
.server-info .map,
.server-info .created-at {
    background: rgba(0, 123, 255, 0.1) !important;
    border: 1px solid rgba(0, 123, 255, 0.3);
    color: var(--accent-color) !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    font-weight: 500;
}

.server-info .status-online {
    background: rgba(40, 167, 69, 0.2) !important;
    border: 1px solid rgba(40, 167, 69, 0.5);
    color: var(--success-color) !important;
}

.server-info .status-offline {
    background: rgba(220, 53, 69, 0.2) !important;
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: var(--danger-color) !important;
}

/* Games Menu */
.games-menu a {
    color: var(--text-primary) !important;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
    display: block;
}

.games-menu a:hover {
    color: var(--accent-color) !important;
    background: rgba(0, 123, 255, 0.1);
    text-decoration: none;
}

/* Form Elements */
select {
    background: rgba(42, 42, 42, 0.9) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    border-radius: 6px;
    padding: 8px 12px;
}

select option {
    background: rgba(42, 42, 42, 0.9) !important;
    color: var(--text-primary) !important;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    background: rgba(42, 42, 42, 0.9) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    border-radius: 6px;
    padding: 10px 12px;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2) !important;
    outline: none;
}

/* Modal Improvements */
.modal-content {
    background: rgba(42, 42, 42, 0.95) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.modal-header {
    border-bottom: 1px solid var(--border-color) !important;
}

.modal-footer {
    border-top: 1px solid var(--border-color) !important;
}

.modal-title {
    color: var(--text-primary) !important;
}

/* Language Switcher */
.language-switcher .btn {
    background: rgba(42, 42, 42, 0.8) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    transition: all 0.3s ease;
}

.language-switcher .btn:hover {
    background: var(--hover-color) !important;
    border-color: var(--accent-color) !important;
    transform: translateY(-1px);
}

.language-switcher .btn.active {
    background: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: white !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(26, 26, 26, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 123, 255, 0.6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 123, 255, 0.8);
}

/* Servers Page Styles */
.servers-page {
    min-height: 100vh;
    padding: 2rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-light);
}

.page-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-title i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin: 0;
}

.section-header {
    margin-bottom: 2rem;
    text-align: center;
}

.section-title {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-title i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Games Selection */
.games-selection {
    margin-bottom: 3rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    perspective: 1000px;
}

.games-grid .game-card {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.game-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.game-card:hover::before {
    left: 100%;
}

.game-card:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    color: #fff;
    text-decoration: none;
}

.game-card.active {
    background: var(--gradient-primary);
    border-color: var(--accent-color);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
}

.game-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.game-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.game-info {
    flex: 1;
}

.game-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #fff;
}

.server-count {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Filters Section */
.filters-section {
    margin-bottom: 3rem;
}

.filters-form {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-label i {
    color: #4a71fd;
    font-size: 0.8rem;
}

.filter-input,
.filter-select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: #4a71fd;
    box-shadow: 0 0 0 3px rgba(74, 113, 253, 0.2);
    background: rgba(0, 0, 0, 0.4);
}

.filter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.filter-select option {
    background: #2d283e;
    color: #fff;
}

.filters-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Servers Section */
.servers-section {
    margin-bottom: 4rem;
    position: relative;
}

.servers-section .section-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(79, 172, 254, 0.1) 50%, rgba(240, 147, 251, 0.1) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.servers-section .section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.05) 0%, rgba(79, 172, 254, 0.05) 25%, rgba(240, 147, 251, 0.05) 50%, rgba(102, 126, 234, 0.05) 75%, rgba(79, 172, 254, 0.05) 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    z-index: -1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.servers-section .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: none;
}

.servers-count {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.servers-count .count {
    color: #4facfe;
    font-weight: 700;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.servers-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    background: transparent;
}

.servers-list::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.5);
}

.server-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.06) 0%, rgba(79, 172, 254, 0.06) 50%, rgba(240, 147, 251, 0.06) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 0.75rem;
    display: grid;
    grid-template-columns: 45px 1fr 0px;
    gap: 1rem;
    align-items: stretch;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(102, 126, 234, 0.08);
    min-height: 70px;
}



.server-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.server-card.vip {
    border-color: rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(255, 193, 7, 0.08) 50%, rgba(255, 235, 59, 0.08) 100%);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.25), 0 4px 15px rgba(255, 193, 7, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.server-card.vip::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700, #ffed4e);
    background-size: 400% 400%;
    border-radius: 22px;
    z-index: -1;
    animation: goldenGlow 3s ease infinite;
}

@keyframes goldenGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.server-rank {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(79, 172, 254, 0.25) 50%, rgba(240, 147, 251, 0.25) 100%);
    border-radius: 16px;
    border: 2px solid rgba(102, 126, 234, 0.4);
    backdrop-filter: blur(15px);
    align-self: flex-start;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.server-rank:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(79, 172, 254, 0.3) 50%, rgba(240, 147, 251, 0.3) 100%);
}

.rank-number {
    font-size: 1rem;
    font-weight: 900;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(79, 172, 254, 0.6));
    position: relative;
}

.vip-badge {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #000;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 3px 12px rgba(255, 215, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: vipPulse 2s ease-in-out infinite;
    border: 1px solid rgba(255, 215, 0, 0.8);
}

.vip-badge i {
    margin-right: 0.2rem;
    font-size: 0.6rem;
}

@keyframes vipPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 3px 12px rgba(255, 215, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% { 
        transform: scale(1.08);
        box-shadow: 0 5px 20px rgba(255, 215, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
}

.server-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.server-header-user {
        display: flex !important;
    gap: 0.75rem !important;
    align-items: center;
    flex-direction: column;
}

.server-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}

.website-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.website-link:hover {
    color: #4facfe;
    background: rgba(79, 172, 254, 0.1);
    border-color: rgba(79, 172, 254, 0.3);
    text-decoration: none;
}

.server-voting-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 0.5rem;
	align-items: center;
    width: fit-content;
}

/* Create horizontal layout for voting section and description */
.server-main {
    display: flex;
    flex-direction: row;
    flex: 1;
}

.server-content-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
	flex-direction: row-reverse;
    margin-left: auto;
    width: fit-content;
}

.server-rank {
    align-self: flex-start;
    margin-top: 17px;
}

.server-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.server-content-row .server-description {
    color: #888;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 0;
    flex: 1;
    padding-left: 20px;
}

/* Social media buttons styles */
.server-social-filters {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.social-filter-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.social-filter-tag:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: #fff;
}

/* Platform specific colors */
.social-filter-tag:has(.fa-vk),
.social-filter-tag:has(.fa-vkontakte) {
    background: #4c75a3;
}

.social-filter-tag:has(.fa-telegram) {
    background: #0088cc;
}

.social-filter-tag:has(.fa-discord) {
    background: #7289da;
}

.social-filter-tag:has(.fa-youtube) {
    background: #ff0000;
}

.social-filter-tag:has(.fa-twitch) {
    background: #9146ff;
}

.social-filter-tag:has(.fa-instagram) {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

/* Fallback for older browsers */
.social-filter-tag[href*="vk"] {
    background: #4c75a3;
}

.social-filter-tag[href*="telegram"] {
    background: #0088cc;
}

.social-filter-tag[href*="discord"] {
    background: #7289da;
}

.social-filter-tag[href*="youtube"] {
    background: #ff0000;
}

.social-filter-tag[href*="twitch"] {
    background: #9146ff;
}

.social-filter-tag[href*="instagram"] {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.server-name a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.server-name a:hover {
    color: #4facfe;
    text-decoration: none;
}

.server-votes {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: fit-content;
    font-size: 0.85rem;
}

.server-votes .votes-count {
    font-size: 0.95rem;
    font-weight: 900;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    filter: drop-shadow(0 0 6px rgba(240, 147, 251, 0.4));
}

.server-votes .votes-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
}

.server-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
    letter-spacing: 0.1px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(79, 172, 254, 0.05) 100%);
    padding: 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.server-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.server-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.stat-item i {
    color: #4facfe;
    font-size: 0.7rem;
}

.server-filters {
    position: absolute;
    bottom: -15px;
    left: 15px;
    right: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    z-index: 10;
}

.server-social-filters {
    position: absolute;
    bottom: -15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 11;
}

.filter-tag {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(79, 172, 254, 0.9) 100%);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(102, 126, 234, 0.4);
    border-radius: 15px;
    padding: 8px 12px;
    font-size: 0.7rem;
    height: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.social-filter-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    backdrop-filter: blur(8px);
    border-radius: 50%;
    font-size: 0.8rem;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Discord - светло-сиреневый */
.social-filter-tag[href*="discord"] {
    background: linear-gradient(135deg, rgba(114, 137, 218, 0.9) 0%, rgba(88, 101, 242, 0.9) 100%);
    border: 1px solid rgba(114, 137, 218, 0.4);
}

/* Telegram - голубой */
.social-filter-tag[href*="telegram"] {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.9) 0%, rgba(41, 171, 226, 0.9) 100%);
    border: 1px solid rgba(0, 136, 204, 0.4);
}

/* VK - светло-синий */
.social-filter-tag[href*="vk"] {
    background: linear-gradient(135deg, rgba(70, 130, 180, 0.9) 0%, rgba(100, 149, 237, 0.9) 100%);
    border: 1px solid rgba(70, 130, 180, 0.4);
}

.filter-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, rgba(102, 126, 234, 1) 0%, rgba(79, 172, 254, 1) 100%);
}

.social-filter-tag:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    filter: brightness(1.2);
}

/* Discord hover */
.social-filter-tag[href*="discord"]:hover {
    background: linear-gradient(135deg, rgba(114, 137, 218, 1) 0%, rgba(88, 101, 242, 1) 100%);
}

/* Telegram hover */
.social-filter-tag[href*="telegram"]:hover {
    background: linear-gradient(135deg, rgba(0, 136, 204, 1) 0%, rgba(41, 171, 226, 1) 100%);
}

/* VK hover */
.social-filter-tag[href*="vk"]:hover {
    background: linear-gradient(135deg, rgba(70, 130, 180, 1) 0%, rgba(100, 149, 237, 1) 100%);
}

/* Server Rating Styles */
.server-rating {
    display: block;
    margin-top: 1.25rem;
    padding: 0.5rem 0;
}

.server-rating .rating-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-stars {
    display: flex;
    gap: 0.1rem;
    align-items: center;
}

.rating-stars i {
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.rating-stars .fas.fa-star-full {
    color: #ffd700;
    text-shadow: 0 1px 3px rgba(255, 215, 0, 0.5);
}

.fa-star-full:before {
    content: "\f005";
}

.rating-stars .far.fa-star {
    color: rgba(255, 255, 255, 0.3);
}

.rating-value-main{
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffd700;
    margin-left: 0.25rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.reviews-count {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.server-rating:hover .rating-stars i {
    transform: scale(1.1);
}

.server-rating:hover .rating-value {
    color: #ffed4e;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.filter-label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.filter-value {
    color: #c4e3ff;
    font-weight: 600;
}

.server-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
    justify-content: flex-end;
    width: 180px;
    position: relative;
    z-index: 2;
}





.btn {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    width: fit-content;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

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

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

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7c8ff0 0%, #8a5bb8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    color: #fff;
    text-decoration: none;
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #65b8ff 0%, #1affff 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.6);
    color: #fff;
    text-decoration: none;
}

.btn-vote {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4), 0 3px 10px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.btn-vote:hover {
    background: linear-gradient(135deg, #ee5a24 0%, #ff6b6b 100%);
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.6), 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #fff;
    text-decoration: none;
    border-color: rgba(255, 107, 107, 0.6);
}

.btn-vote.disabled {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.btn-vote.disabled:hover {
    transform: none;
    box-shadow: none;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.btn-info {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.15) 0%, rgba(102, 126, 234, 0.15) 100%);
    color: #4facfe;
    border: 2px solid rgba(79, 172, 254, 0.3);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-info:hover {
    background: linear-gradient(135deg, #4facfe 0%, #667eea 100%);
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 15px 35px rgba(79, 172, 254, 0.6), 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #fff;
    text-decoration: none;
    border-color: rgba(79, 172, 254, 0.6);
}





.website-link {
    color: #c4e3ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    background: rgba(79, 172, 254, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.25);
    position: relative;
    z-index: 10;
    cursor: pointer;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 6px rgba(79, 172, 254, 0.15);
    margin-bottom: 0;
    align-self: center;
}

.website-link:hover {
    color: #fff;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    transform: translateY(-1px) translateX(2px);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3), 0 2px 6px rgba(0, 0, 0, 0.08);
    border-color: rgba(79, 172, 254, 0.5);
}

.website-link i {
    font-size: 0.65rem;
}

/* No content states */
.no-servers,
.no-game-selected {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-light);
}

.no-servers-icon,
.no-game-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}

.no-servers h3,
.no-game-selected h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.no-servers p,
.no-game-selected p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

/* Server Description and Filters */
.server-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
}

.server-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
}

.filter-tag {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(79, 172, 254, 0.3) 100%);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.filter-tag:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.5) 0%, rgba(79, 172, 254, 0.5) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.server-game {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.server-game i {
    color: var(--accent-color);
    font-size: 0.7rem;
}

.server-address i {
    color: var(--accent-color);
    margin-right: 0.3rem;
    font-size: 0.7rem;
}

.stat-item i {
    color: var(--accent-color);
    font-size: 0.8rem;
    margin-bottom: 0.1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .server-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
        max-height: none;
        padding: 1.5rem;
        margin-bottom: 25px;
    }
    
    .server-header {
        justify-content: center;
        text-align: center;
    }
    
    .server-stats {
        flex-direction: row;
        justify-content: center;
        min-width: auto;
    }
    
    .server-actions {
        flex-direction: row;
        justify-content: center;
        min-width: auto;
        flex-wrap: wrap;
    }
    
    .server-name {
        max-width: none;
        white-space: normal;
        text-overflow: initial;
        overflow: visible;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .filters-actions {
        flex-direction: column;
    }
    
    .server-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .server-actions {
        flex-direction: column;
    }
    
    .server-social-filters {
        position: static;
        justify-content: center;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .servers-page {
        padding: 1rem 0;
    }
    
    .page-header {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .filters-form {
        padding: 1rem;
    }
    
    .server-card {
        padding: 1rem;
        margin-bottom: 25px;
    }
}

/* Games Grid Show/Hide Functionality 
.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}*/

.games-grid.expanded {
    max-height: none;
}

.hidden-game {
    display: none;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease-in-out;
}

.hidden-game.show {
    display: flex;
    opacity: 1;
    transform: scale(1);
}

.game-card {
    transition: all 0.3s ease-in-out;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.games-grid.expanded .hidden-game {
    display: flex;
}

/* Show All Games Button */
.show-all-games {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    cursor: pointer;
}

.show-all-games:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    color: #fff;
}

.show-all-games.expanded {
    background: var(--gradient-primary);
    border-color: var(--accent-color);
}

.show-all-games .game-icon i {
    transition: transform 0.3s ease-in-out;
}

.show-all-games.expanded .game-icon i {
    transform: rotate(180deg);
}

/* Responsive adjustments for games grid */
@media (max-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        max-height: 270px;
    }
}

@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: 1fr;
        max-height: 800px;
    }
    
    .game-card {
        padding: 1rem;
    }
}