    .bg-body-tertiary {
    background-color: rgb(22 24 23) !important;
    --bs-bg-opacity: 1; /* Сбрасываем прозрачность переменной */
    backdrop-filter: blur(10px); /* Эффект размытия за блоком */
}
    .text-center {
    background: #262827;
    }
    h1 {
    background: #262827;
    margin-right: 200px;
    margin-left: 200px;
    border-radius: 25px 0px 25px 0px !important;
    }
    .card {
    border: none !important;
    /* Значения: Топ-Лево, Топ-Право, Низ-Право, Низ-Лево */
    border-radius: 0px 25px 25px 0px !important;
    
    /* Дополнительно: скругляем внутренние элементы (картинки, шапку), чтобы они не вылезали за края */
    overflow: hidden;
}
/* Основной контейнер карточки */
.server-card-custom {
    /* background: linear-gradient(145deg, #262827 0%, #26282778 100%); */ /* Убрано для работы background_image */
    border-radius: 0 40px 0 40px !important; /* Те самые углы */
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.server-card-custom:hover {
    transform: translateY(-5px);
    border-color: rgba(120, 255, 197, 0.4) !important;
}
.badge-status.new-server {
    background: #4caf50 !important; /* Насыщенный зеленый из скриншота */
    color: #ffffff !important;
    padding: 6px 16px;
    border-radius: 25px; /* Округлые края как на картинке */
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3); /* Легкое зеленое свечение */
}

/* Анимация мерцания иконки звезд (по желанию) */
.badge-status.new-server i {
    animation: stars-blink 2s infinite;
}

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

/* Базовый стиль для всех статусов */
.badge-status {
    font-size: 11px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px; /* Расстояние между точкой и текстом */
    transition: all 0.3s ease;
}

/* Анимированный ONLINE */
.badge-status.online { 
    background: #198754; 
    color: white; 
    position: relative;
    overflow: hidden;
    /* Мягкое свечение вокруг всей кнопки */
    animation: online-glow 2s infinite ease-in-out;
}

/* Пульсирующая точка перед текстом */
.badge-status.online::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: dot-pulse 2s infinite;
}

/* Анимация свечения фона */
@keyframes online-glow {
    0% { box-shadow: 0 0 5px rgba(25, 135, 84, 0.4); }
    50% { box-shadow: 0 0 15px rgba(25, 135, 84, 0.8); }
    100% { box-shadow: 0 0 5px rgba(25, 135, 84, 0.4); }
}

/* Анимация пульсации точки (эффект радара) */
@keyframes dot-pulse {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
    }
    100% {
        transform: scale(0.9);
        opacity: 1;
    }
}

/* Остальные статусы без анимации */
.badge-status.offline { background: #dc3545; color: white; }
.badge-status.wipe { background: #6f42c1; color: white; }


/* Текстовые блоки */
.server-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
}
.version-tag {
    color: #ffc107;
    border: 1px solid #ffc107;
    padding: 2px 10px;
    border-radius: 8px;
    font-size: 12px;
    background: rgba(255, 193, 7, 0.05);
}
.server-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

/* Кастомный прогресс-бар */
.stats-label { font-size: 11px; color: rgba(255,255,255,0.8); font-weight: 700; }
.stats-value { color: #ffc107; font-weight: 800; }

.custom-progress {
    height: 12px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
}
.progress-fill {
    height: 100%;
    background: #ffc107;
    border-radius: 10px;
    box-shadow: 0 0 16px rgba(255, 193, 7, 0.6);
}
.progress-text { font-size: 10px; color: rgba(255,255,255,0.8); }

/* Кнопка "Начать играть" */
.btn-play-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #00ff66 0%, #095628 100%);
    color: #000 !important;
    font-weight: 800;
    padding: 14px;
    border-radius: 14px;
    text-decoration: none !important;
    transition: 0.3s;
    box-shadow: 0 4px 15px #095628;
}
.btn-play-custom:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

.address-box {
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    color: #78ffc5;
}
/* Тех. работы - Красный */
.status-work { background: rgba(220, 53, 69, 0.2); color: #dc3545; border: 1px solid #dc3545; }

/* Скоро - Золотистый (как на скрине) */
.status-soon { background: #a38245; color: #fff; border: none; box-shadow: 0 0 10px rgba(163, 130, 69, 0.4); }

/* Вайп - Голубой */
.status-wipe { background: rgba(13, 202, 240, 0.2); color: #0dcaf0; border: 1px solid #0dcaf0; }

/* Общий стиль для иконок в тегах */
.badge-status i { font-size: 12px; }

        /* Базовый фон */
        body {
            background: radial-gradient(circle at center, #0a1a0a 0%, #050505 100%) !important;
            background-attachment: fixed;
            min-height: 100vh;
            margin: 0;
            overflow-x: hidden;
            position: relative;
        }

        /* Контейнер для кубиков */
        .cubes-container {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }

        .cube {
            position: absolute;
            background: rgba(120, 255, 197, 0.1);
            border: 1px solid rgba(120, 255, 197, 0.2);
            bottom: -100px;
            animation: moveUp 15s linear infinite;
        }

        @keyframes moveUp {
            0% { transform: translateY(0) rotate(0deg); opacity: 0; }
            10% { opacity: 0.5; }
            90% { opacity: 0.5; }
            100% { transform: translateY(-120vh) rotate(720deg); opacity: 0; }
        }

        /* Чтобы контент был выше кубиков */
        #app, .footer {
            position: relative;
            z-index: 1;
        }

        .top-footer {
            background-color: #161817;
            backdrop-filter: blur(10px);
        }

        .copyright { background-color: #161817; }
        /* Основной контейнер футера */
.footer-box {
    background: rgba(20, 20, 20, 0.6); /* Полупрозрачный темный фон */
    border-radius: 15px;               /* Скругление краев */
    border: 1px solid rgba(255, 255, 255, 0.05); /* Еле заметная рамка */
}

/* Градиент для названия (LostEra) */
.gradient-text {
    font-weight: 800;
    background: linear-gradient(90deg, #50C878, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Текст описания */
.footer-desc {
    color: #888;
    font-size: 13px;
    line-height: 1.4;
}

/* Иконки соцсетей */
.social-links a {
    transition: 0.3s;
    filter: grayscale(1); /* Делаем их серыми */
}

.social-links a:hover {
    filter: grayscale(0); /* Возвращаем цвет при наведении */
    opacity: 1;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .footer-box { text-align: center; }
    .col-md-8 { flex-direction: column; }
    .social-links { justify-content: center; display: flex; }
}


    /* Анимация мигания для подсказки */
    @keyframes blinkFade {
        0%, 100% { opacity: 0; transform: translateY(5px); } 
        50% { opacity: 1; transform: translateY(0); }       
    }

    .animated-tooltip {
        animation: blinkFade 5s infinite ease-in-out;
    }

    /* ОСНОВНОЙ КОНТЕЙНЕР */
    .custom-gif-container {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* СКРЫВАЕМ ВЕСЬ БЛОК НА ТЕЛЕФОНАХ (меньше 768px) */
    @media (max-width: 767px) {
        .custom-gif-container {
            display: none !important; /* Скрывает и гифку, и текст */
        }
    }

    .promo-section {
        display: flex;
        align-items: center;
        padding: 60px 0;
        min-height: 500px;
    }

    .promo-content { text-align: left; max-width: 650px; }

    .promo-badges { display: flex; gap: 10px; margin-bottom: 20px; }
    .promo-badge {
        font-size: 0.8rem;
        font-weight: 700;
        padding: 5px 12px;
        border-radius: 6px;
        text-transform: uppercase;
    }
    .badge-java { background: #1a4d1a; color: #4ade80; }
    .badge-date { background: #332b1a; color: #fbbf24; }

    .promo-title {
        font-size: clamp(2.5rem, 5vw, 4rem);
        font-weight: 900;
        line-height: 1.1;
        color: #fff;
        margin-bottom: 20px;
    }
    .promo-title span { color: #00ff66; }

    .promo-text { font-size: 1.1rem; color: #bcbcbc; margin-bottom: 30px; }

    .promo-btns { display: flex; gap: 15px; }
    .btn-minecraft {
        padding: 12px 25px;
        font-weight: 700;
        border-radius: 8px;
        transition: 0.3s;
        border: none;
    }
    .btn-green { background: #00ff66; color: #000; }
    .btn-white { background: #fff; color: #000; }
    .btn-minecraft:hover { transform: translateY(-3px); opacity: 0.9; }

    .promo-character-wrapper { position: relative; }
    .promo-img { height: 450px; padding-left: 200px; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5)); }

    .promo-bubble {
        position: absolute;
        background: rgba(20, 20, 20, 0.85);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255,255,255,0.1);
        padding: 8px 15px;
        border-radius: 10px;
        font-size: 0.9rem;
        white-space: nowrap;
        color: #fff;
    }
    .bubble-top { top: 0; right: -200px; }
    .bubble-bottom { bottom: 60px; left: -60px; }

    @media (max-width: 992px) {
        .promo-section { flex-direction: column; text-align: center; }
        .promo-content { text-align: center; margin-bottom: 50px; }
        .promo-badges, .promo-btns { justify-content: center; }
        .promo-img { height: 350px; }
        .bubble-bottom { left: 0; }
    }
    /* Контейнер персонажа */
.promo-character-wrapper {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Пульсирующее свечение ЗА персонажем */
.promo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px; /* Размер пятна свечения */
    height: 350px;
    /* Смешиваем твой мятный #78ffc5 с глубоким синим для объема */
    background: radial-gradient(circle, rgba(120, 255, 197, 0.4) 0%, rgba(0, 229, 255, 0.2) 40%, transparent 70%);
    filter: blur(50px);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

/* Анимация левитации для самой картинки */
.floating-anim {
    animation: floatCharacter 6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(120, 255, 197, 0.2)); /* Легкий отсвет на краях */
}

/* Анимация облачков текста (чтобы они двигались вместе с ним) */
.promo-bubble {
    animation: floatBubbles 6s ease-in-out infinite;
}

/* Эффекты анимаций */
@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

@keyframes floatCharacter {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); } /* Плавный подъем и легкий наклон */
}

@keyframes floatBubbles {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); } /* Облачка двигаются чуть медленнее тела */
}


    /* Стили для логотипа */
    .navbar-brand img {
        max-height: 100px;
        width: auto;
        transition: transform 0.3s ease;
    }
    .navbar-brand img:hover {
        transform: scale(1.05);
    }
    
    .dropdown-menu.show {
        background: #161817;
        display: block;
    }
    .dropdown-item {
        transition: transform 0.2s ease-in-out;
        display: inline-block;
        width: 100%;
    }
    .dropdown-item:hover, 
    .dropdown-item:focus, 
    .dropdown-item:active {
        background-color: transparent !important;
        background: none !important;
        color: inherit;
    }
    .dropdown-item:hover {
        transform: scale(1.02);
        text-shadow: 0 0 8px rgba(80, 200, 120, 0.3);
        filter: drop-shadow(0 0 4px rgba(80, 200, 120, 0.2)); 
        color: #50C878 !important; 
        transition: 0.4s;
    }

    /* АКЦЕНТНАЯ КНОПКА ПОДДЕРЖКИ */
    .nav-support-link {
        color: #ffcc00 !important; /* Золотой цвет */
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        border: 2px solid rgba(255, 204, 0, 0.4);
        border-radius: 6px;
        padding: 5px 15px !important;
        margin-left: 15px;
        background: rgba(255, 204, 0, 0.05);
        transition: all 0.3s ease;
        animation: support-glow 2s infinite ease-in-out;
    }

    .nav-support-link:hover {
        background: rgba(255, 204, 0, 0.15);
        box-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
        color: #fff !important;
        transform: translateY(-1px);
    }

    /* Анимация мерцания для привлечения внимания */
    @keyframes support-glow {
        0% { text-shadow: 0 0 2px rgba(255, 204, 0, 0.5); border-color: rgba(255, 204, 0, 0.3); }
        50% { text-shadow: 0 0 10px rgba(255, 204, 0, 0.9); border-color: rgba(255, 204, 0, 0.8); }
        100% { text-shadow: 0 0 2px rgba(255, 204, 0, 0.5); border-color: rgba(255, 204, 0, 0.3); }
    }
