/* ===== КРУТОЙ 3D МОНИТОРИНГ СЕРВЕРОВ И ТОВАРЫ ===== */

/* 1. 3D МОНИТОРИНГ СЕРВЕРА - ПОЛНАЯ ПЕРЕРАБОТКА */
.MonitoringServer-module__wrapper {
    background: linear-gradient(145deg,
        rgba(0, 20, 40, 0.9) 0%,
        rgba(0, 40, 80, 0.8) 100%);
    border-radius: 25px;
    padding: 25px;
    margin: 15px 0;
    border: 2px solid rgba(0, 136, 204, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 15px 30px rgba(0, 136, 204, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateX(2deg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.MonitoringServer-module__wrapper:hover {
    transform: 
        perspective(1000px) 
        rotateX(0deg) 
        rotateY(5deg) 
        translateZ(20px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.6),
        0 25px 50px rgba(0, 136, 204, 0.5),
        0 0 80px rgba(0, 204, 255, 0.3),
        inset 0 3px 6px rgba(255, 255, 255, 0.2),
        inset 0 -3px 6px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 204, 255, 0.6);
    z-index: 10;
}

/* Голографический эффект для мониторинга */
.MonitoringServer-module__wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent);
    transform: skewX(-20deg);
    animation: hologramScan 3s linear infinite;
    pointer-events: none;
}

@keyframes hologramScan {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* 2. 3D НАЗВАНИЕ СЕРВЕРА */
.MonitoringServer-module__name {
    font-size: 22px;
    font-weight: 900;
    color: #00ccff;
    text-shadow: 
        0 0 20px rgba(0, 204, 255, 0.8),
        0 0 40px rgba(0, 170, 255, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 4px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding: 10px 20px;
    background: linear-gradient(90deg,
        rgba(0, 136, 204, 0.3) 0%,
        rgba(0, 170, 255, 0.2) 50%,
        rgba(0, 136, 204, 0.3) 100%);
    border-radius: 15px;
    border: 1px solid rgba(0, 204, 255, 0.4);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    transform: perspective(500px) rotateX(5deg);
    animation: serverNameGlow 3s ease-in-out infinite;
}

@keyframes serverNameGlow {
    0%, 100% { 
        text-shadow: 
            0 0 20px rgba(0, 204, 255, 0.8),
            0 0 40px rgba(0, 170, 255, 0.6),
            0 2px 4px rgba(0, 0, 0, 0.8);
    }
    50% { 
        text-shadow: 
            0 0 30px rgba(0, 204, 255, 1),
            0 0 60px rgba(0, 170, 255, 0.8),
            0 0 90px rgba(0, 136, 204, 0.6),
            0 2px 4px rgba(0, 0, 0, 0.8);
    }
}

/* 3. 3D ПРОГРЕСС-БАР ОНЛАЙНА - ТЕХНОЛОГИЧЕСКИЙ СТИЛЬ */
.MonitoringServer-module__progressBarWrapper {
    background: linear-gradient(145deg,
        rgba(0, 30, 60, 0.9) 0%,
        rgba(0, 60, 120, 0.8) 100%);
    border-radius: 25px;
    height: 35px;
    border: 2px solid rgba(0, 136, 204, 0.4);
    box-shadow: 
        inset 0 3px 6px rgba(0, 0, 0, 0.5),
        inset 0 -3px 6px rgba(255, 255, 255, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
    transform: perspective(500px) rotateX(5deg);
}

/* Анимированный фон прогресс-бара */
.MonitoringServer-module__progressBarWrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 50%,
            transparent 100%),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(0, 136, 204, 0.1) 2px,
            rgba(0, 136, 204, 0.1) 4px);
    animation: gridMove 20s linear infinite;
    z-index: 1;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 40px 0; }
}

/* 3D ПРОГРЕСС-БАР ЗАПОЛНЕНИЕ */
.MonitoringServer-module__progressBar {
    background: linear-gradient(90deg,
        #0088cc 0%,
        #00aaff 25%,
        #00ccff 50%,
        #33ddff 75%,
        #66eeff 100%);
    border-radius: 23px;
    height: 31px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 30px rgba(0, 204, 255, 0.5),
        inset 0 3px 6px rgba(255, 255, 255, 0.3),
        inset 0 -3px 6px rgba(0, 0, 0, 0.3);
    animation: progressFlow 2s linear infinite;
    transition: width 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.MonitoringServer-module__progressBar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent);
    animation: progressShine 2s ease-in-out infinite;
}

.MonitoringServer-module__progressBar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(90deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.2) 2px,
        rgba(255, 255, 255, 0.2) 4px);
    animation: progressStripes 1s linear infinite;
}

@keyframes progressFlow {
    0% { background-position: 0 0; }
    100% { background-position: 200% 0; }
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes progressStripes {
    0% { background-position: 0 0; }
    100% { background-position: 40px 0; }
}

/* 4. 3D ИНФОРМАЦИЯ О СЕРВЕРЕ */
.MonitoringServer-module__progressInfo {
    background: linear-gradient(145deg,
        rgba(0, 40, 80, 0.95) 0%,
        rgba(0, 60, 120, 0.9) 100%);
    border: 2px solid rgba(0, 204, 255, 0.6);
    border-radius: 15px;
    padding: 20px;
    margin-top: 25px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.5),
        0 10px 25px rgba(0, 136, 204, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    transform: perspective(800px) rotateX(-5deg);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.MonitoringServer-module__progressInfo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, 
            transparent 30%, 
            rgba(0, 204, 255, 0.1) 50%, 
            transparent 70%);
    animation: infoGlow 4s ease-in-out infinite;
}

@keyframes infoGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.MonitoringServer-module__progressInfo:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid rgba(0, 204, 255, 0.8);
    filter: drop-shadow(0 0 10px rgba(0, 204, 255, 0.5));
    animation: infoPulse 2s ease-in-out infinite;
}

@keyframes infoPulse {
    0%, 100% { 
        border-top-color: rgba(0, 204, 255, 0.8);
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        border-top-color: rgba(0, 255, 255, 1);
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* 5. 3D СТАТИСТИКА СЕРВЕРА */
.server-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.stat-item {
    background: linear-gradient(145deg,
        rgba(0, 136, 204, 0.2) 0%,
        rgba(0, 170, 255, 0.15) 100%);
    border-radius: 15px;
    padding: 15px;
    border: 1px solid rgba(0, 204, 255, 0.3);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.3),
        0 5px 15px rgba(0, 136, 204, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    transform: perspective(600px) rotateY(0deg);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-item:hover {
    transform: perspective(600px) rotateY(15deg) translateZ(15px);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.4),
        0 8px 25px rgba(0, 204, 255, 0.3),
        0 0 40px rgba(0, 170, 255, 0.2);
    border-color: rgba(0, 204, 255, 0.6);
}

.stat-label {
    color: #00aaff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.stat-value {
    color: #00ffff;
    font-size: 24px;
    font-weight: 900;
    text-shadow: 
        0 0 10px rgba(0, 255, 255, 0.7),
        0 0 20px rgba(0, 204, 255, 0.5);
    animation: statPulse 3s ease-in-out infinite;
}

@keyframes statPulse {
    0%, 100% { 
        text-shadow: 
            0 0 10px rgba(0, 255, 255, 0.7),
            0 0 20px rgba(0, 204, 255, 0.5);
    }
    50% { 
        text-shadow: 
            0 0 15px rgba(0, 255, 255, 1),
            0 0 30px rgba(0, 204, 255, 0.8),
            0 0 45px rgba(0, 170, 255, 0.6);
    }
}

/* 6. 3D КАРТОЧКИ ТОВАРОВ (улучшенные) */
.Product-module__wrapper {
    background: linear-gradient(145deg,
        rgba(0, 136, 204, 0.1) 0%,
        rgba(0, 170, 255, 0.05) 50%,
        rgba(0, 204, 255, 0.02) 100%);
    border: none;
    border-radius: 25px;
    box-shadow: 
        inset 0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 -8px 25px rgba(255, 255, 255, 0.05),
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 10px 25px rgba(0, 136, 204, 0.2);
    transform: perspective(1000px) rotateX(2deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.Product-module__wrapper:hover {
    transform: 
        perspective(1000px) 
        rotateX(0deg) 
        rotateY(10deg) 
        translateZ(30px) 
        scale(1.05);
    box-shadow: 
        inset 0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 -10px 30px rgba(255, 255, 255, 0.1),
        0 25px 50px rgba(0, 136, 204, 0.4),
        0 15px 35px rgba(0, 204, 255, 0.3),
        0 0 70px rgba(0, 170, 255, 0.2);
    z-index: 5;
}

/* Голографический эффект для товаров */
.Product-module__wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg,
            transparent 0%,
            rgba(0, 204, 255, 0.05) 50%,
            transparent 100%),
        repeating-linear-gradient(45deg,
            transparent,
            transparent 2px,
            rgba(0, 136, 204, 0.05) 2px,
            rgba(0, 136, 204, 0.05) 4px);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.Product-module__wrapper:hover::after {
    opacity: 1;
    animation: hologramProduct 20s linear infinite;
}

@keyframes hologramProduct {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

/* 7. 3D ЦЕНА ТОВАРА */
.Product-module__price {
    background: linear-gradient(145deg,
        rgba(0, 136, 204, 0.3) 0%,
        rgba(0, 170, 255, 0.25) 100%);
    color: #ffffff;
    font-weight: 900;
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: 
        inset 0 3px 6px rgba(255, 255, 255, 0.3),
        inset 0 -3px 6px rgba(0, 0, 0, 0.4),
        0 8px 20px rgba(0, 136, 204, 0.4),
        0 4px 12px rgba(0, 204, 255, 0.3);
    border: 2px solid rgba(0, 204, 255, 0.4);
    transform: perspective(500px) translateZ(20px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: priceFloat 3s ease-in-out infinite;
}

.Product-module__price::before {
    content: '₽';
    position: absolute;
    right: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* 8. 3D НАЗВАНИЕ ТОВАРА */
.Product-module__name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 0 15px rgba(0, 136, 204, 0.5);
    padding: 15px;
    background: linear-gradient(to right,
        rgba(0, 136, 204, 0.4) 0%,
        rgba(0, 170, 255, 0.3) 100%);
    border-radius: 15px;
    margin: 10px;
    transform: perspective(500px) rotateX(5deg);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 204, 255, 0.3);
}

.Product-module__wrapper:hover .Product-module__name {
    background: linear-gradient(to right,
        rgba(0, 170, 255, 0.6) 0%,
        rgba(0, 204, 255, 0.5) 100%);
    transform: perspective(500px) rotateX(0deg) translateZ(10px);
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.8),
        0 0 25px rgba(0, 204, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.3);
}

/* 9. 3D КНОПКИ КАТЕГОРИЙ */
.store-categories .btn {
    background: linear-gradient(145deg,
        rgba(0, 136, 204, 0.15) 0%,
        rgba(0, 170, 255, 0.1) 100%);
    border: 1px solid rgba(0, 136, 204, 0.3);
    border-radius: 15px;
    color: #00aaff;
    font-weight: 600;
    padding: 10px 20px;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.2),
        0 3px 10px rgba(0, 136, 204, 0.2),
        inset 0 1px 3px rgba(255, 255, 255, 0.1);
    transform: perspective(400px) rotateY(0deg);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.store-categories .btn.active {
    background: linear-gradient(145deg,
        rgba(0, 136, 204, 0.8) 0%,
        rgba(0, 170, 255, 0.7) 100%);
    color: #ffffff;
    border-color: rgba(0, 204, 255, 0.6);
    box-shadow: 
        0 8px 25px rgba(0, 136, 204, 0.4),
        0 5px 15px rgba(0, 204, 255, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    transform: perspective(400px) rotateY(10deg) translateZ(10px);
}

.store-categories .btn:hover:not(.active) {
    background: linear-gradient(145deg,
        rgba(0, 170, 255, 0.25) 0%,
        rgba(0, 136, 204, 0.2) 100%);
    transform: perspective(400px) rotateY(-5deg);
    box-shadow: 
        0 7px 20px rgba(0, 136, 204, 0.3),
        0 4px 12px rgba(0, 204, 255, 0.2);
}

/* 10. 3D КНОПКИ ПОКУПКИ */
.Button-module__btn.Button-module__accent {
    background: linear-gradient(145deg,
        #0088cc 0%,
        #006699 50%,
        #0088cc 100%);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 800;
    padding: 14px 30px;
    box-shadow: 
        0 8px 0 #004466,
        0 12px 25px rgba(0, 0, 0, 0.4),
        0 8px 20px rgba(0, 136, 204, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transform: perspective(600px) rotateX(5deg) translateY(0);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.Button-module__btn.Button-module__accent:hover {
    background: linear-gradient(145deg,
        #00aaff 0%,
        #0088cc 50%,
        #00aaff 100%);
    transform: 
        perspective(600px) 
        rotateX(0deg) 
        translateY(-4px) 
        translateZ(10px);
    box-shadow: 
        0 12px 0 #006699,
        0 20px 35px rgba(0, 0, 0, 0.5),
        0 15px 30px rgba(0, 170, 255, 0.6),
        0 0 40px rgba(0, 204, 255, 0.4),
        inset 0 3px 6px rgba(255, 255, 255, 0.4);
}

.Button-module__btn.Button-module__accent:active {
    transform: 
        perspective(600px) 
        rotateX(10deg) 
        translateY(2px);
    box-shadow: 
        0 4px 0 #004466,
        0 6px 15px rgba(0, 0, 0, 0.3),
        0 4px 10px rgba(0, 136, 204, 0.3);
}

/* 11. 3D ПРОЦЕНТ СКИДКИ */
.Product-module__discount {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg,
        #ff3333 0%,
        #ff6666 50%,
        #ff3333 100%);
    color: white;
    font-weight: 900;
    padding: 12px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 25px rgba(255, 51, 51, 0.5),
        inset 0 3px 6px rgba(255, 255, 255, 0.3),
        inset 0 -3px 6px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 102, 102, 0.4);
    transform: perspective(500px) rotateY(15deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 5;
    border: 2px solid rgba(255, 255, 255, 0.4);
    animation: discountSpin 10s linear infinite;
}

@keyframes discountSpin {
    0% { transform: perspective(500px) rotateY(15deg) rotate(0deg); }
    100% { transform: perspective(500px) rotateY(15deg) rotate(360deg); }
}

.Product-module__wrapper:hover .Product-module__discount {
    transform: perspective(500px) rotateY(0deg) scale(1.2);
    animation: discountPulse 0.5s ease-in-out infinite;
}

@keyframes discountPulse {
    0%, 100% { transform: perspective(500px) rotateY(0deg) scale(1.2); }
    50% { transform: perspective(500px) rotateY(0deg) scale(1.3); }
}

/* 12. 3D ИКОНКИ СТАТУСА СЕРВЕРА */
.server-status {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 
        0 0 10px currentColor,
        0 0 20px currentColor,
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    animation: statusPulse 2s ease-in-out infinite;
}

.status-online {
    background: #00ff00;
    color: #00ff00;
}

.status-offline {
    background: #ff0000;
    color: #ff0000;
}

.status-unknown {
    background: #ffff00;
    color: #ffff00;
}

@keyframes statusPulse {
    0%, 100% { 
        box-shadow: 
            0 0 10px currentColor,
            0 0 20px currentColor;
    }
    50% { 
        box-shadow: 
            0 0 15px currentColor,
            0 0 30px currentColor,
            0 0 45px currentColor;
    }
}

/* 13. 3D ЗАГРУЗКА СЕРВЕРА */
.server-load {
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg,
        rgba(0, 136, 204, 0.3) 0%,
        rgba(0, 170, 255, 0.2) 100%);
    border-radius: 3px;
    margin-top: 10px;
    overflow: hidden;
    position: relative;
}

.server-load::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: var(--load-percent, 50%);
    height: 100%;
    background: linear-gradient(90deg,
        #00ff00 0%,
        #ffff00 50%,
        #ff0000 100%);
    border-radius: 3px;
    animation: loadFlow 3s linear infinite;
}

@keyframes loadFlow {
    0% { background-position: 0 0; }
    100% { background-position: 200% 0; }
}

/* 14. 3Д ПЛАНКА ИГРОКОВ */
.players-bar {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 15px;
}

.player-slot {
    height: 20px;
    background: linear-gradient(90deg,
        rgba(0, 136, 204, 0.2) 0%,
        rgba(0, 170, 255, 0.15) 100%);
    border-radius: 10px;
    border: 1px solid rgba(0, 204, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.player-slot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: var(--slot-fill, 0%);
    height: 100%;
    background: linear-gradient(90deg,
        rgba(0, 255, 0, 0.6) 0%,
        rgba(0, 204, 255, 0.5) 100%);
    border-radius: 9px;
    transition: width 0.5s ease;
}

/* 15. ФИКСИРОВАННЫЕ 3D ЭФФЕКТЫ ДЛЯ ТЕКСТА (без обычного текста) */
.serverheader span {
    font-size: 18px;
    font-weight: 700;
    color: #00ccff;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 0 15px rgba(0, 136, 204, 0.5);
    padding: 8px 20px;
    background: linear-gradient(90deg,
        rgba(0, 136, 204, 0.3) 0%,
        rgba(0, 170, 255, 0.2) 100%);
    border-radius: 25px;
    border: 1px solid rgba(0, 204, 255, 0.3);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    display: inline-block;
    transform: perspective(400px) rotateX(5deg);
    transition: all 0.3s ease;
}

.serverheader span:hover {
    transform: perspective(400px) rotateX(0deg) translateZ(10px);
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.8),
        0 0 25px rgba(0, 204, 255, 0.8);
    box-shadow: 
        0 8px 25px rgba(0, 136, 204, 0.4),
        0 5px 15px rgba(0, 204, 255, 0.3),
        inset 0 3px 6px rgba(255, 255, 255, 0.2);
}

/* 16. АДАПТИВНОСТЬ */
@media (max-width: 768px) {
    .MonitoringServer-module__wrapper {
        padding: 15px;
        margin: 10px 0;
    }
    
    .MonitoringServer-module__name {
        font-size: 18px;
        padding: 8px 15px;
    }
    
    .MonitoringServer-module__progressBarWrapper {
        height: 25px;
    }
    
    .stat-item {
        padding: 10px;
    }
    
    .stat-value {
        font-size: 20px;
    }
}

/* ===== 3D КАТЕГОРИИ, ПОИСК И БАЛАНС ===== */

/* 1. 3D ВЕРХНЯЯ ПАНЕЛЬ С МАЛЕНЬКИМИ КАТЕГОРИЯМИ */
.Header-module__wrapper {
    background: linear-gradient(145deg,
        rgba(0, 20, 40, 0.95) 0%,
        rgba(0, 40, 80, 0.9) 100%);
    border-radius: 25px;
    border: 2px solid rgba(0, 204, 255, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 15px 30px rgba(0, 136, 204, 0.4),
        inset 0 3px 6px rgba(255, 255, 255, 0.1),
        inset 0 -3px 6px rgba(0, 0, 0, 0.4);
    padding: 15px 25px;
    backdrop-filter: blur(15px);
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateX(3deg);
    transition: all 0.4s ease;
}

.Header-module__wrapper:hover {
    transform: perspective(1000px) rotateX(0deg);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 20px 40px rgba(0, 136, 204, 0.6),
        inset 0 4px 8px rgba(255, 255, 255, 0.15),
        inset 0 -4px 8px rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 255, 255, 0.5);
}

/* Сетка на фоне хедера */
.Header-module__wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, 
            rgba(0, 136, 204, 0.1) 1px, 
            transparent 1px),
        linear-gradient(0deg, 
            rgba(0, 136, 204, 0.1) 1px, 
            transparent 1px);
    background-size: 30px 30px;
    opacity: 0.2;
    pointer-events: none;
}

/* 2. МАЛЕНЬКИЕ 3D КАТЕГОРИИ В ХЕДЕРЕ */
.HeaderNav-module__wrapper {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.HeaderNav-module__link {
    background: linear-gradient(145deg,
        rgba(0, 136, 204, 0.25) 0%,
        rgba(0, 170, 255, 0.2) 100%);
    border: 1px solid rgba(0, 204, 255, 0.3);
    border-radius: 15px;
    color: #00aaff;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 
        0 6px 15px rgba(0, 0, 0, 0.3),
        0 4px 10px rgba(0, 136, 204, 0.2),
        inset 0 1px 3px rgba(255, 255, 255, 0.1),
        inset 0 -1px 3px rgba(0, 0, 0, 0.3);
    transform: perspective(500px) rotateY(0deg);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-width: 100px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.HeaderNav-module__link:hover {
    background: linear-gradient(145deg,
        rgba(0, 170, 255, 0.4) 0%,
        rgba(0, 136, 204, 0.35) 100%);
    color: #ffffff;
    transform: 
        perspective(500px) 
        rotateY(10deg) 
        translateZ(10px) 
        scale(1.05);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.4),
        0 7px 20px rgba(0, 136, 204, 0.4),
        0 0 30px rgba(0, 204, 255, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 255, 255, 0.5);
}

.HeaderNav-module__link.active {
    background: linear-gradient(145deg,
        rgba(0, 136, 204, 0.8) 0%,
        rgba(0, 170, 255, 0.7) 100%);
    color: #ffffff;
    border-color: rgba(0, 255, 255, 0.7);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.5),
        0 8px 25px rgba(0, 136, 204, 0.6),
        0 0 40px rgba(0, 204, 255, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.5);
    transform: 
        perspective(500px) 
        rotateY(0deg) 
        translateZ(15px) 
        scale(1.08);
    animation: activeNavPulse 2s ease-in-out infinite;
}

@keyframes activeNavPulse {
    0%, 100% { 
        box-shadow: 
            0 12px 30px rgba(0, 0, 0, 0.5),
            0 8px 25px rgba(0, 136, 204, 0.6),
            0 0 40px rgba(0, 204, 255, 0.4);
    }
    50% { 
        box-shadow: 
            0 15px 35px rgba(0, 0, 0, 0.6),
            0 10px 30px rgba(0, 170, 255, 0.8),
            0 0 50px rgba(0, 255, 255, 0.6);
    }
}

/* Иконки в маленьких категориях */
.HeaderNav-module__link i {
    margin-right: 8px;
    font-size: 14px;
    transform: perspective(300px) rotateY(10deg);
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(0, 204, 255, 0.5);
}

.HeaderNav-module__link:hover i {
    transform: perspective(300px) rotateY(0deg) rotateZ(5deg);
    text-shadow: 
        0 0 12px rgba(0, 255, 255, 0.7),
        0 0 20px rgba(0, 204, 255, 0.5);
}

/* 3. 3D ПОИСК В ХЕДЕРЕ */
.Search-module__wrapper {
    flex: 1;
    max-width: 400px;
    min-width: 250px;
    margin: 0 20px;
    background: linear-gradient(145deg,
        rgba(0, 30, 60, 0.9) 0%,
        rgba(0, 60, 120, 0.85) 100%);
    border-radius: 20px;
    border: 2px solid rgba(0, 204, 255, 0.3);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.4),
        0 7px 20px rgba(0, 136, 204, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 170, 255, 0.15);
    transform: perspective(800px) rotateX(5deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.Search-module__wrapper:focus-within {
    transform: 
        perspective(800px) 
        rotateX(0deg) 
        rotateY(5deg) 
        translateZ(15px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.5),
        0 10px 30px rgba(0, 136, 204, 0.5),
        0 0 50px rgba(0, 204, 255, 0.3),
        inset 0 3px 6px rgba(255, 255, 255, 0.15),
        inset 0 -3px 6px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 255, 255, 0.5);
}

/* Сканирующая линия в поиске */
.Search-module__wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.12),
        transparent);
    transform: skewX(-20deg);
    animation: searchScanLine 3s linear infinite;
    pointer-events: none;
    opacity: 0;
}

.Search-module__wrapper:focus-within::after {
    opacity: 1;
    animation: searchScanLine 2s linear infinite;
}

@keyframes searchScanLine {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Иконка поиска */
.Search-module__iconWrapper {
    background: linear-gradient(145deg,
        rgba(0, 136, 204, 0.3) 0%,
        rgba(0, 170, 255, 0.25) 100%);
    border-radius: 18px 0 0 18px;
    border: none;
    border-right: 1px solid rgba(0, 204, 255, 0.4);
    padding: 0 18px;
    transform: perspective(400px) rotateY(8deg);
    transition: all 0.3s ease;
}

.Search-module__wrapper:focus-within .Search-module__iconWrapper {
    background: linear-gradient(145deg,
        rgba(0, 170, 255, 0.5) 0%,
        rgba(0, 204, 255, 0.4) 100%);
    transform: perspective(400px) rotateY(0deg);
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        0 0 15px rgba(0, 204, 255, 0.3);
}

.Search-module__iconWrapper i {
    color: #00ffff;
    font-size: 16px;
    text-shadow: 
        0 0 8px rgba(0, 255, 255, 0.6),
        0 0 16px rgba(0, 204, 255, 0.4);
    animation: searchIconGlow 3s ease-in-out infinite;
}

@keyframes searchIconGlow {
    0%, 100% { 
        text-shadow: 
            0 0 8px rgba(0, 255, 255, 0.6),
            0 0 16px rgba(0, 204, 255, 0.4);
    }
    50% { 
        text-shadow: 
            0 0 12px rgba(0, 255, 255, 0.9),
            0 0 24px rgba(0, 204, 255, 0.7),
            0 0 36px rgba(0, 170, 255, 0.5);
    }
}

/* Поле ввода */
.Search-module__input {
    background: linear-gradient(145deg,
        rgba(0, 15, 30, 0.8) 0%,
        rgba(0, 30, 60, 0.75) 100%);
    border: none;
    border-radius: 0 18px 18px 0;
    color: #00ffff;
    font-size: 14px;
    font-weight: 500;
    padding: 14px 20px;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.4),
        inset 0 -2px 4px rgba(255, 255, 255, 0.08);
    transform: perspective(400px) rotateY(-5deg);
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(0, 204, 255, 0.4);
}

.Search-module__input:focus {
    background: linear-gradient(145deg,
        rgba(0, 20, 40, 0.9) 0%,
        rgba(0, 40, 80, 0.85) 100%);
    color: #ffffff;
    box-shadow: 
        inset 0 3px 6px rgba(0, 0, 0, 0.5),
        inset 0 -3px 6px rgba(255, 255, 255, 0.12),
        0 0 25px rgba(0, 204, 255, 0.3);
    transform: perspective(400px) rotateY(0deg) translateZ(8px);
    text-shadow: 
        0 0 12px rgba(0, 255, 255, 0.7),
        0 0 20px rgba(0, 204, 255, 0.5);
}

.Search-module__input::placeholder {
    color: rgba(0, 170, 255, 0.5);
    text-shadow: 0 0 4px rgba(0, 136, 204, 0.3);
}

/* 4. 3D БАЛАНС И ПРОФИЛЬ */
.PlayerBalance-module__wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Кнопка баланса */
.PlayerBalance-module__btn {
    background: linear-gradient(145deg,
        rgba(0, 136, 204, 0.3) 0%,
        rgba(0, 170, 255, 0.25) 100%);
    border: 1px solid rgba(0, 204, 255, 0.3);
    border-radius: 18px;
    color: #00aaff;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 22px;
    box-shadow: 
        0 6px 15px rgba(0, 0, 0, 0.3),
        0 4px 10px rgba(0, 136, 204, 0.2),
        inset 0 1px 3px rgba(255, 255, 255, 0.1),
        inset 0 -1px 3px rgba(0, 0, 0, 0.3);
    transform: perspective(500px) rotateY(0deg);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
}

.PlayerBalance-module__btn:hover {
    background: linear-gradient(145deg,
        rgba(0, 170, 255, 0.4) 0%,
        rgba(0, 136, 204, 0.35) 100%);
    color: #ffffff;
    transform: 
        perspective(500px) 
        rotateY(10deg) 
        translateZ(10px) 
        scale(1.05);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.4),
        0 7px 20px rgba(0, 136, 204, 0.4),
        0 0 30px rgba(0, 204, 255, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 255, 255, 0.5);
}

/* Иконка монетки */
.PlayerBalance-module__btn i {
    color: #ffcc00;
    font-size: 16px;
    transform: perspective(300px) rotateY(15deg);
    transition: all 0.3s ease;
    text-shadow: 
        0 0 8px rgba(255, 204, 0, 0.7),
        0 0 16px rgba(255, 204, 0, 0.4);
    animation: coinSpin 10s linear infinite;
}

@keyframes coinSpin {
    0% { transform: perspective(300px) rotateY(15deg) rotate(0deg); }
    100% { transform: perspective(300px) rotateY(15deg) rotate(360deg); }
}

.PlayerBalance-module__btn:hover i {
    animation: coinSpinFast 1s linear infinite;
    text-shadow: 
        0 0 12px rgba(255, 204, 0, 0.9),
        0 0 24px rgba(255, 204, 0, 0.6),
        0 0 36px rgba(255, 204, 0, 0.3);
}

@keyframes coinSpinFast {
    0% { transform: perspective(300px) rotateY(0deg) rotate(0deg); }
    100% { transform: perspective(300px) rotateY(0deg) rotate(360deg); }
}

/* Сумма баланса */
.balance-amount {
    font-weight: 700;
    font-size: 15px;
    color: #00ffff;
    text-shadow: 
        0 0 8px rgba(0, 255, 255, 0.6),
        0 0 16px rgba(0, 204, 255, 0.4);
    animation: balanceGlow 3s ease-in-out infinite;
}

@keyframes balanceGlow {
    0%, 100% { 
        text-shadow: 
            0 0 8px rgba(0, 255, 255, 0.6),
            0 0 16px rgba(0, 204, 255, 0.4);
    }
    50% { 
        text-shadow: 
            0 0 12px rgba(0, 255, 255, 0.9),
            0 0 24px rgba(0, 204, 255, 0.7),
            0 0 36px rgba(0, 170, 255, 0.5);
    }
}

/* 5. АВАТАР ПОЛЬЗОВАТЕЛЯ */
.avatar-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid rgba(0, 204, 255, 0.4);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        0 3px 10px rgba(0, 136, 204, 0.3),
        inset 0 1px 3px rgba(255, 255, 255, 0.2),
        inset 0 -1px 3px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 204, 255, 0.2);
    transform: perspective(400px) rotateY(0deg);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.avatar-link:hover {
    border-color: rgba(0, 255, 255, 0.7);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 5px 20px rgba(0, 136, 204, 0.5),
        0 0 40px rgba(0, 204, 255, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.4);
    transform: 
        perspective(400px) 
        rotateY(15deg) 
        scale(1.1);
}

/* Свечение вокруг аватара */
.avatar-link::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, 
        #0088cc, #00aaff, #00ccff, #33ddff);
    background-size: 400% 400%;
    z-index: -1;
    opacity: 0;
    filter: blur(8px);
    animation: avatarGlow 3s linear infinite;
    transition: opacity 0.3s ease;
}

.avatar-link:hover::after {
    opacity: 0.6;
}

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

/* 6. КНОПКА ВХОДА */
.PlayerMenu-module__loginLink {
    background: linear-gradient(145deg,
        rgba(0, 136, 204, 0.3) 0%,
        rgba(0, 170, 255, 0.25) 100%);
    border: 1px solid rgba(0, 204, 255, 0.3);
    border-radius: 18px;
    color: #00aaff;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    box-shadow: 
        0 6px 15px rgba(0, 0, 0, 0.3),
        0 4px 10px rgba(0, 136, 204, 0.2),
        inset 0 1px 3px rgba(255, 255, 255, 0.1),
        inset 0 -1px 3px rgba(0, 0, 0, 0.3);
    transform: perspective(500px) rotateY(0deg);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
}

.PlayerMenu-module__loginLink:hover {
    background: linear-gradient(145deg,
        rgba(0, 170, 255, 0.4) 0%,
        rgba(0, 136, 204, 0.35) 100%);
    color: #ffffff;
    transform: 
        perspective(500px) 
        rotateY(10deg) 
        translateZ(10px) 
        scale(1.05);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.4),
        0 7px 20px rgba(0, 136, 204, 0.4),
        0 0 30px rgba(0, 204, 255, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 255, 255, 0.5);
}

/* 7. СВАЙПЕР ДЛЯ МАЛЕНЬКИХ КАТЕГОРИЙ */
.categories-swiper {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 204, 255, 0.5) rgba(0, 40, 80, 0.3);
}

.categories-swiper::-webkit-scrollbar {
    height: 6px;
}

.categories-swiper::-webkit-scrollbar-track {
    background: rgba(0, 40, 80, 0.3);
    border-radius: 3px;
}

.categories-swiper::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg,
        rgba(0, 136, 204, 0.5) 0%,
        rgba(0, 204, 255, 0.5) 100%);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 204, 255, 0.3);
}

/* 8. АДАПТИВНОСТЬ */
@media (max-width: 1200px) {
    .Header-module__wrapper {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .HeaderNav-module__wrapper {
        order: 2;
        width: 100%;
        justify-content: center;
    }
    
    .Search-module__wrapper {
        order: 1;
        max-width: 100%;
        margin: 0 0 15px 0;
    }
    
    .PlayerBalance-module__wrapper {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .HeaderNav-module__link {
        padding: 8px 15px;
        font-size: 12px;
        min-width: 85px;
    }
    
    .Search-module__input {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .Search-module__iconWrapper {
        padding: 0 15px;
    }
    
    .PlayerBalance-module__btn,
    .PlayerMenu-module__loginLink {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .avatar-link {
        width: 40px;
        height: 40px;
    }
    
    .categories-swiper {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .HeaderNav-module__link {
        padding: 7px 12px;
        font-size: 11px;
        min-width: 75px;
    }
    
    .HeaderNav-module__link i {
        margin-right: 5px;
        font-size: 12px;
    }
    
    .Search-module__wrapper {
        border-radius: 15px;
    }
    
    .Search-module__input {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .Search-module__iconWrapper {
        padding: 0 12px;
    }
    
    .PlayerBalance-module__btn,
    .PlayerMenu-module__loginLink {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .balance-amount {
        font-size: 13px;
    }
    
    .avatar-link {
        width: 35px;
        height: 35px;
    }
}

/* 9. АНИМАЦИЯ ПОЯВЛЕНИЯ */
@keyframes headerAppear {
    0% {
        opacity: 0;
        transform: perspective(1000px) rotateX(30deg) translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) rotateX(3deg) translateY(0);
    }
}

.Header-module__wrapper {
    animation: headerAppear 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes navItemAppear {
    0% {
        opacity: 0;
        transform: perspective(500px) rotateY(90deg) translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: perspective(500px) rotateY(0deg) translateX(0);
    }
}

.HeaderNav-module__link {
    animation: navItemAppear 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: calc(var(--item-index, 0) * 0.1s);
    opacity: 0;
}

/* 10. ИНДИКАТОР АКТИВНОЙ КАТЕГОРИИ */
.active-indicator {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: linear-gradient(90deg,
        #00ccff 0%,
        #00ffff 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 204, 255, 0.7);
    animation: indicatorPulse 2s ease-in-out infinite;
}

@keyframes indicatorPulse {
    0%, 100% { 
        width: 20px;
        box-shadow: 0 0 10px rgba(0, 204, 255, 0.7);
    }
    50% { 
        width: 30px;
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.9);
    }
}

/* ===== ФИКС ДЛЯ КНОПОК ПРОФИЛЯ И ЯЗЫКА ===== */

/* ЯРКОЕ СИНЕЕ 3D ОБНОВЛЕНИЕ ВСЕХ КНОПОК */
button, .btn, .Button-module__btn, 
.Button-module__primary, .Button-module__secondary,
.Button-module__accent, .Button-module__success,
[type="button"], [type="submit"], [type="reset"],
a.btn, a.button {
    background: linear-gradient(145deg, #0066cc 0%, #0099ff 50%, #0066cc 100%) !important;
    color: white !important;
    border: none !important;
    border-bottom: 4px solid #004488 !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    box-shadow: 
        0 6px 0 #003366,
        0 10px 15px rgba(0, 0, 0, 0.3),
        0 5px 10px rgba(0, 102, 204, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3) !important;
    transform: translateY(0);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative;
    overflow: hidden;
    font-weight: bold !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

/* ЭФФЕКТ НАВЕДЕНИЯ ДЛЯ ВСЕХ КНОПОК */
button:hover, .btn:hover, .Button-module__btn:hover,
.Button-module__primary:hover, .Button-module__secondary:hover,
.Button-module__accent:hover, .Button-module__success:hover,
[type="button"]:hover, [type="submit"]:hover, [type="reset"]:hover,
a.btn:hover, a.button:hover {
    background: linear-gradient(145deg, #0099ff 0%, #00ccff 50%, #0099ff 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 
        0 9px 0 #004488,
        0 15px 20px rgba(0, 0, 0, 0.4),
        0 8px 15px rgba(0, 153, 255, 0.5),
        inset 0 3px 5px rgba(255, 255, 255, 0.4),
        inset 0 -3px 5px rgba(0, 0, 0, 0.4) !important;
}

/* ЭФФЕКТ НАЖАТИЯ */
button:active, .btn:active, .Button-module__btn:active,
.Button-module__primary:active, .Button-module__secondary:active,
.Button-module__accent:active, .Button-module__success:active,
[type="button"]:active, [type="submit"]:active, [type="reset"]:active,
a.btn:active, a.button:active {
    transform: translateY(4px) !important;
    box-shadow: 
        0 2px 0 #003366,
        0 5px 10px rgba(0, 0, 0, 0.2),
        0 2px 5px rgba(0, 102, 204, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.2) !important;
}

/* ===== КНОПКА ЯЗЫКА (МАЛЕНЬКАЯ) ===== */
.language-btn, [class*="language"], [class*="lang"] button,
.HeaderNav-module__link[href*="language"], 
.HeaderNav-module__link[href*="lang"] {
    padding: 6px 12px !important;
    font-size: 12px !important;
    min-width: 60px !important;
    max-width: 70px !important;
    height: 36px !important;
    border-radius: 8px !important;
    border-bottom: 3px solid #004488 !important;
    box-shadow: 
        0 4px 0 #003366,
        0 7px 10px rgba(0, 0, 0, 0.25),
        0 3px 6px rgba(0, 102, 204, 0.3) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
}

/* Наведение для маленькой кнопки языка */
.language-btn:hover, [class*="language"]:hover, 
[class*="lang"] button:hover,
.HeaderNav-module__link[href*="language"]:hover {
    transform: translateY(-2px) !important;
    height: 36px !important;
    padding: 6px 12px !important;
    box-shadow: 
        0 6px 0 #004488,
        0 10px 15px rgba(0, 0, 0, 0.35),
        0 5px 10px rgba(0, 153, 255, 0.4) !important;
}

/* ===== КНОПКА ПРОФИЛЯ ===== */
.profile-btn, [class*="profile"], [class*="user"], 
[class*="account"] .btn, .PlayerMenu-module__link {
    padding: 8px 16px !important;
    font-size: 13px !important;
    min-width: 90px !important;
    max-width: 120px !important;
    height: 40px !important;
    border-radius: 10px !important;
    border-bottom: 3px solid #004488 !important;
    box-shadow: 
        0 5px 0 #003366,
        0 8px 12px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 102, 204, 0.4) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    position: relative !important;
}

/* Наведение для кнопки профиля */
.profile-btn:hover, [class*="profile"]:hover, 
[class*="user"]:hover, [class*="account"] .btn:hover {
    transform: translateY(-3px) !important;
    height: 40px !important;
    padding: 8px 16px !important;
    box-shadow: 
        0 8px 0 #004488,
        0 12px 18px rgba(0, 0, 0, 0.35),
        0 6px 12px rgba(0, 153, 255, 0.5) !important;
}

/* БЕЙДЖ УВЕДОМЛЕНИЙ */
.profile-btn::after, [class*="profile"]::after,
[class*="notification-badge"] {
    content: attr(data-badge);
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    min-width: 16px !important;
    height: 16px !important;
    background: linear-gradient(145deg, #ff3333, #ff6666) !important;
    color: white !important;
    border-radius: 50% !important;
    font-size: 9px !important;
    font-weight: bold !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #0066cc !important;
    box-shadow: 0 2px 5px rgba(255, 0, 0, 0.3) !important;
    animation: badgePulse 2s infinite !important;
}

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

/* ===== ИКОНКИ В КНОПКАХ ===== */
button i, .btn i, .Button-module__btn i,
.language-btn i, .profile-btn i,
[class*="language"] i, [class*="profile"] i {
    font-size: 14px !important;
    transition: transform 0.3s ease !important;
}

button:hover i, .btn:hover i, .Button-module__btn:hover i,
.language-btn:hover i, .profile-btn:hover i,
[class*="language"]:hover i, [class*="profile"]:hover i {
    transform: rotate(10deg) scale(1.1) !important;
}

/* ===== КОНТЕЙНЕР ДЛЯ КНОПОК В ШАПКЕ ===== */
.game-header-controls, .header-controls,
[class*="header-controls"], [class*="HeaderControls"] {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-left: auto !important;
}

/* ===== ВЫПАДАЮЩЕЕ МЕНЮ ЯЗЫКА ===== */
[class*="language-dropdown"], [class*="lang-menu"] {
    position: relative !important;
    display: inline-block !important;
}

[class*="language-menu"], [class*="dropdown-menu"] {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 100px !important;
    background: linear-gradient(145deg, #004488, #0066cc) !important;
    border-radius: 8px !important;
    border: 1px solid #00aaff !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
    padding: 5px 0 !important;
    z-index: 1000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
}

[class*="language-dropdown"]:hover [class*="language-menu"],
[class*="lang-menu"]:hover [class*="dropdown-menu"] {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(5px) !important;
}

[class*="language-option"], [class*="dropdown-item"] {
    padding: 8px 15px !important;
    color: white !important;
    font-size: 12px !important;
    border: none !important;
    background: transparent !important;
    width: 100% !important;
    text-align: left !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

[class*="language-option"]:hover, [class*="dropdown-item"]:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    padding-left: 20px !important;
}

/* ===== ОЧЕНЬ СИЛЬНОЕ ПЕРЕОПРЕДЕЛЕНИЕ ===== */
*[class*="btn"] {
    background: linear-gradient(145deg, #0066cc, #0099ff) !important;
    color: white !important;
    border: none !important;
    border-bottom: 3px solid #004488 !important;
    border-radius: 8px !important;
    padding: 8px 15px !important;
    box-shadow: 0 5px 0 #003366, 0 8px 15px rgba(0,0,0,0.3) !important;
    transform: translateY(0) !important;
    transition: all 0.2s ease !important;
}

*[class*="btn"]:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 0 #004488, 0 12px 20px rgba(0,0,0,0.4) !important;
}

/* ===== ДЛЯ КОНКРЕТНЫХ ЭЛЕМЕНТОВ ПО ID ===== */
#languageBtn, #profileBtn, 
[id*="language"], [id*="profile"],
[id*="lang"], [id*="user"] {
    padding: 6px 12px !important;
    font-size: 12px !important;
    min-width: 60px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .language-btn, [class*="language"], 
    .profile-btn, [class*="profile"] {
        padding: 5px 10px !important;
        font-size: 11px !important;
        min-width: 50px !important;
        height: 32px !important;
    }
    
    button, .btn, .Button-module__btn {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
}