/* ===== КОСМИЧЕСКИЙ РЕДИЗАЙН - ПОЛНАЯ РАБОЧАЯ ВЕРСИЯ ===== */

/* 1. ПОЛЯ ВВОДА (НИК, ПОИСК, EMAIL) */
input[type="text"], 
input[type="email"], 
input[type="number"],
input[class*="bg-gray-800"],
input[class*="form-control"] {
    background: rgba(20, 10, 30, 0.8) !important;
    border: 2px solid #a855f7 !important;
    border-radius: 12px !important;
    color: white !important;
    padding: 12px 16px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3) !important;
}

input:focus {
    border-color: #22d3ee !important;
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.5) !important;
    outline: none !important;
    transform: scale(1.02) !important;
}

/* Поиск - более круглый */
input[placeholder*="Поиск"], 
input[class*="search"] {
    border-radius: 30px !important;
}

/* 2. ЗВЕЗДЫ НА ФОНЕ */
body::before {
    content: '' !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-image: 
        radial-gradient(2px 2px at 15px 60px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 72px 430px, #fff, rgba(0,0,0,0)),
        radial-gradient(3px 3px at 850px 220px, #a855f7, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 1200px 540px, #22d3ee, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 450px 780px, #3b82f6, rgba(0,0,0,0)) !important;
    background-repeat: repeat !important;
    pointer-events: none !important;
    z-index: -1 !important;
    opacity: 0.8 !important;
}

/* 3. ЗАГОЛОВКИ */
h1, h2, h3, h4 {
    background: linear-gradient(135deg, #fff, #a855f7, #3b82f6) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-transform: lowercase !important;
    font-variant: small-caps !important;
    letter-spacing: 2px !important;
    font-weight: 700 !important;
}

/* ===== ПОЛНОСТЬЮ ЯРКАЯ КАРТОЧКА (БЕЗ ЧЕРНОГО) ===== */

.profile-card .card.bg-elegant,
div[class*="rounded-2xl"][class*="border"] {
    /* Насыщенный яркий градиент вместо черного фона */
    background: linear-gradient(135deg, #311b92 0%, #4a148c 100%) !important;
    
    /* Светлая, почти белая рамка с фиолетовым отливом */
    border: 2px solid #e1bee7 !important;
    border-radius: 24px !important;
    
    /* Мощное внешнее свечение, чтобы карточка "парила" */
    box-shadow: 0 0 30px rgba(189, 104, 255, 0.5), 
                inset 0 0 20px rgba(255, 255, 255, 0.2) !important;
    
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Добавляем эффект "звездной пыли" прямо на фон карточки */
.profile-card .card.bg-elegant::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle, #ffffff 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
    pointer-events: none;
}

/* Эффект при наведении — карточка становится еще светлее и сочнее */
.profile-card:hover .card.bg-elegant {
    background: linear-gradient(135deg, #4527a0 0%, #6a1b9a 100%) !important;
    border-color: #00ffcc !important;
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 15px 40px rgba(0, 255, 204, 0.4) !important;
}

/* Название (COAL) — делаем максимально ярким на цветном фоне */
.profile-card .card-title, 
div[class*="rounded"] h3 {
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 0 15px #bd68ff !important;
}

/* Цена — яркий бирюзовый неон, который "горит" на фиолетовом */
.profile-card h6, 
div[class*="text-lg"] {
    color: #00ffcc !important;
    text-shadow: 0 0 15px #00ffcc, 0 0 5px #ffffff !important;
    font-size: 26px !important;
}

/* Плашка "ПРИВИЛЕГИИ" — делаем её контрастной */
.profile-card [class*="card-header"] .skeleton-box,
div[class*="rounded-full"][class*="bg-gray"] {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid #ffffff !important;
    color: #ffffff !important;
    backdrop-filter: blur(5px) !important;
}

/* ===== ОБНОВЛЕННЫЕ КОСМИЧЕСКИЕ КНОПКИ ===== */

/* Базовый стиль для всех основных кнопок */
button, .btn, [class*="bg-gradient"], .btn-block.btn-primary {
    background: linear-gradient(135deg, #a855f7 0%, #3b82f6 50%, #22d3ee 100%) !important;
    background-size: 200% auto !important; /* Для анимации перелива */
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50px !important;
    color: white !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4), 
                inset 0 0 10px rgba(255, 255, 255, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Эффект при наведении */
button:hover, .btn:hover, .btn-block.btn-primary:hover {
    background-position: right center !important; /* Смещение градиента */
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(34, 211, 238, 0.6), 
                inset 0 0 15px rgba(255, 255, 255, 0.4) !important;
    border-color: #fff !important;
}

/* Эффект нажатия */
button:active, .btn:active {
    transform: translateY(-1px) scale(0.98) !important;
}

/* Кнопки управления в корзине (+, -, Удалить) */
.cart-products .btn-group button, 
.cart-products .btn-danger {
    background: rgba(168, 85, 247, 0.1) !important;
    border: 1px solid #a855f7 !important;
    backdrop-filter: blur(5px) !important;
    color: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.2) !important;
}

.cart-products .btn-group button:hover {
    background: #a855f7 !important;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5) !important;
}

/* Специфический стиль для кнопки удаления (красный неон) */
.btn-danger {
    border-color: #ff416c !important;
    color: #ff416c !important;
}

.btn-danger:hover {
    background: #ff416c !important;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(255, 65, 108, 0.5) !important;
}

/* Блик, который пробегает по кнопке (стеклянный эффект) */
button::after, .btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
    transition: 0s;
}

button:hover::after, .btn:hover::after {
    left: 120%;
    transition: 0.7s;
}

/* 7. ИСПРАВЛЕНИЕ ОШИБОК */
.swal2-container { position: fixed !important; z-index: 999999 !important; }
[href="/images/favicons/default.png"] { display: none !important; }

@keyframes pulse-glow {
    from { transform: scale(1); opacity: 0.8; }
    to { transform: scale(1.1); opacity: 1; box-shadow: 0 0 50px #22d3ee; }
}
/* 1. ОСНОВНОЙ КОНТЕЙНЕР КАРТОЧКИ (30/90/Навсегда) */
.groupped-product {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 2px solid rgba(168, 85, 247, 0.3) !important;
    border-radius: 20px !important;
    padding: 20px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    cursor: pointer !important;
    position: relative !important;
}

/* Эффект при наведении */
.groupped-product:hover {
    background: rgba(168, 85, 247, 0.1) !important;
    border-color: #a855f7 !important;
    transform: translateY(-5px) !important;
}

/* 2. АКТИВНАЯ (ВЫБРАННАЯ) КАРТОЧКА - КЛАСС .selected */
.groupped-product.selected {
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.15) 0%, rgba(168, 85, 247, 0.1) 100%) !important;
    border-color: #00ffcc !important; /* Твой бирюзовый неон */
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.4) !important;
    transform: scale(1.03) translateY(-5px) !important;
}

/* 3. ТЕКСТ (СРОК И ЦЕНА) */
/* Название периода (Навсегда, 90 дней) */
.groupped-product h4 {
    color: #e9d5ff !important;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.8) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    /* Убираем градиентную прозрачность из общего кода h1-h4 */
    -webkit-text-fill-color: #e9d5ff !important; 
    background: none !important;
}

/* Цена (4.00 Р и т.д.) */
.groupped-product .mt-2, 
.groupped-product div[class*="text-"] {
    color: #00ffcc !important;
    font-size: 1.3rem !important;
    font-weight: 900 !important;
    text-shadow: 0 0 15px rgba(0, 255, 204, 0.5) !important;
}

/* 4. МЕЧИ (КАРТИНКИ) */
.groupped-product .card-image img {
    filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.4)) !important;
    transition: 0.4s ease !important;
}

/* Свечение меча в выбранной карточке */
.groupped-product.selected .card-image img {
    filter: drop-shadow(0 0 25px #00ffcc) brightness(1.1) !important;
    transform: rotate(-5deg) scale(1.1) !important;
}

/* 5. ЧИСТКА ЛИШНИХ РАМОК */
.product-modal a[data-toggle="collapse"] {
    text-decoration: none !important;
    outline: none !important;
}

.product-modal .row > div {
    padding: 10px !important;
}
/* ===== СТИЛИЗАЦИЯ ГЛАВНОЙ ШАПКИ САЙТА ===== */

/* 1. КОНТЕЙНЕР ШАПКИ */
header, .navbar, [class*="nav-container"] {
    background: rgba(13, 7, 32, 0.8) !important; /* Полупрозрачный темный фон */
    backdrop-filter: blur(10px) !important; /* Эффект размытия за шапкой */
    border-bottom: 1px solid rgba(168, 85, 247, 0.3) !important;
    padding: 10px 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}

/* 2. ЛОГОТИП (если есть текст) */
header [class*="logo"], .navbar-brand {
    color: #fff !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.6) !important;
}

/* 3. ПУНКТЫ МЕНЮ (Магазин, Серверы, Помощь) */
header nav a, .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important; /* Отступ между иконкой и текстом */
    padding: 8px 15px !important;
}

/* Эффект при наведении на пункт меню */
header nav a:hover, .nav-link:hover {
    color: #00ffcc !important; /* Бирюзовый при наведении */
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5) !important;
    background: rgba(168, 85, 247, 0.1) !important;
    border-radius: 8px !important;
}

/* 4. ИКОНКИ В ШАПКЕ (Корзина, Сервер и т.д.) */
header nav a i, header nav a svg {
    color: #a855f7 !important; /* Фиолетовые иконки по умолчанию */
    filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.5)) !important;
    transition: 0.3s !important;
}

header nav a:hover i, header nav a:hover svg {
    color: #00ffcc !important;
    transform: scale(1.2) !important;
    filter: drop-shadow(0 0 8px #00ffcc) !important;
}

/* 5. ИНДИКАТОР ТЕКУЩЕЙ СТРАНИЦЫ (Active) */
header nav a[class*="active"] {
    color: #fff !important;
    border-bottom: 2px solid #a855f7 !important;
}
/* ===== ГЛАВНАЯ НАВИГАЦИЯ (ШАПКА САЙТА) ===== */

/* 1. КОНТЕЙНЕР ШАПКИ - ЭФФЕКТ СТЕКЛА */
header, .navbar {
    background: rgba(13, 7, 32, 0.6) !important; /* Полупрозрачный фон */
    backdrop-filter: blur(12px) !important; /* Размытие заднего плана */
    border-bottom: 1px solid rgba(168, 85, 247, 0.2) !important;
    padding: 15px 0 !important;
    transition: all 0.3s ease !important;
}

/* 2. ССЫЛКИ МЕНЮ (Магазин, Серверы, Помощь) */
header nav a, .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    letter-spacing: 1px !important;
    margin: 0 10px !important;
    padding: 8px 16px !important;
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Эффект при наведении на пункт меню */
header nav a:hover, .nav-link:hover {
    background: rgba(168, 85, 247, 0.15) !important;
    color: #00ffcc !important; /* Твой фирменный бирюзовый */
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.2) !important;
}

/* 3. ИКОНКИ В ШАПКЕ */
header nav a i, header nav a svg {
    margin-right: 8px !important;
    color: #a855f7 !important; /* Фиолетовый неон для иконок */
    filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.5)) !important;
    transition: 0.3s !important;
}

header nav a:hover i {
    color: #00ffcc !important;
    filter: drop-shadow(0 0 8px #00ffcc) !important;
    transform: scale(1.1) rotate(-5deg) !important;
}

/* 4. ЛОГОТИП (ЖЕЛТЫЙ ГЕКСАГОН) */
header [class*="logo"] img, header .navbar-brand img {
    filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.4)) !important;
    transition: 0.5s !important;
}

header [class*="logo"]:hover img {
    transform: rotate(360deg) scale(1.1) !important;
}
/* ===== МОНИТОРИНГ: ФИКС ОТОБРАЖЕНИЯ ЦИФР ===== */

/* 1. Полоска прогресса (база) */
.progress.bg-elegant {
    background: rgba(0, 0, 0, 0.5) !important;
    height: 12px !important;
    border-radius: 20px !important;
    overflow: visible !important;
    border: 1px solid rgba(168, 85, 247, 0.2) !important;
}

/* 2. Линия заполнения (только визуал) */
/* ВАЖНО: Не трогаем width, чтобы скрипт работал */
.progress-bar {
    background: linear-gradient(90deg, #a855f7, #00ffcc) !important;
    box-shadow: 0 0 10px #00ffcc !important;
    border-radius: 20px !important;
}

/* 3. Текст (Анархия и Цифры) */
/* Гарантируем, что текст виден и не перекрыт */
.progress-info {
    margin-bottom: 8px !important;
    display: flex !important;
    justify-content: space-between !important;
}

/* Название сервера */
.progress-label span {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    opacity: 1 !important;
}

/* САМИ ЦИФРЫ (0 из 20) */
.progress-percentage span {
    color: #00ffcc !important; /* Яркий цвет для цифр */
    font-weight: 900 !important;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5) !important;
    opacity: 1 !important;
    display: inline-block !important;
}
/* ===== ПОЛНАЯ СТИЛИЗАЦИЯ КОРЗИНЫ (ПО СКРИНШОТАМ) ===== */

/* 1. ЛЕВАЯ ЧАСТЬ - ТОВАРЫ */
/* Фон всей левой колонки */
div[class*="col-lg-7"].bg-elegant-dark {
    background: transparent !important;
}

/* Карточка товара в корзине (90 дней) */
.cart-products .profile-card .card.bg-elegant-dark {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(168, 85, 247, 0.2) !important;
    border-radius: 20px !important;
    backdrop-filter: blur(5px) !important;
}

/* Название товара (90 дней) */
.cart-products h5.card-title {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.8) !important;
    font-weight: 800 !important;
    -webkit-text-fill-color: #fff !important;
}

/* Цена в корзине (9.00 Р) */
.basket-price-list {
    color: #00ffcc !important;
    text-shadow: 0 0 15px rgba(0, 255, 204, 0.6) !important;
    font-size: 1.5rem !important;
    font-weight: 900 !important;
}

/* Кнопки управления в корзине (Корзина, Минус, Плюс) */
.cart-products .btn-group button, 
.cart-products .btn-danger,
.cart-products button[class*="btn-primary"] {
    background: rgba(168, 85, 247, 0.2) !important;
    border: 1px solid #a855f7 !important;
    color: #fff !important;
    border-radius: 10px !important;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.2) !important;
}

.cart-products .btn-danger:hover {
    background: #ff416c !important;
    border-color: #ff416c !important;
}

/* 2. ПРАВАЯ ЧАСТЬ - ФОРМА ОПЛАТЫ */
/* ИТОГО вверху */
div[class*="col-lg-5"] .h3, 
div[class*="col-lg-5"] h6 {
    color: #00ffcc !important;
    text-shadow: 0 0 15px rgba(0, 255, 204, 0.5) !important;
}

/* Поля ввода (Ник, Почта) */
.form-group input.form-control {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 2px solid rgba(168, 85, 247, 0.4) !important;
    border-radius: 12px !important;
    color: #fff !important;
    transition: 0.3s !important;
}

.form-group input.form-control:focus {
    border-color: #00ffcc !important;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.3) !important;
}

/* Оранжевый блок внимания (Внимание! Некоторые товары...) */
div[class*="alert-warning"] {
    background: rgba(255, 193, 7, 0.1) !important;
    border: 1px solid #ffc107 !important;
    color: #ffc107 !important;
    border-radius: 12px !important;
    backdrop-filter: blur(5px) !important;
}

/* 3. КНОПКА "КУПИТЬ" И "ОТМЕНА" */
.btn-block.btn-primary {
    background: linear-gradient(135deg, #a855f7, #3b82f6) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 15px !important;
    font-weight: 800 !important;
    box-shadow: 0 5px 20px rgba(168, 85, 247, 0.4) !important;
}

.btn-block.btn-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(34, 211, 238, 0.5) !important;
}

.btn-link.text-danger {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
}

.btn-link.text-danger:hover {
    color: #ff416c !important;
}

/* Инструкция по покупке (текст снизу) */
.cart-products + div h4, 
.cart-products + div p {
    color: rgba(255, 255, 255, 0.8) !important;
}
/* УБИРАЕМ СФЕРУ ТОЛЬКО ИЗ КОРЗИНЫ */
.cart-products .card-image::before,
.cart-products .profile-card .card-image::before,
#cart .card-image::before {
    display: none !important;
    content: none !important;
    animation: none !important;
}

/* На всякий случай фиксим отступы, чтобы меч не съехал без сферы */
.cart-products .card-image {
    background: transparent !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
/* Улучшаем читаемость инструкции под корзиной */
.cart-products + div h4 {
    color: #fff !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    margin-top: 20px !important;
}

.cart-products + div p {
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.6 !important;
}

/* Стилизация иконок в кнопках корзины (мусорка, плюс, минус) */
.cart-products .btn-group .btn i, 
.cart-products .btn-danger i {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3)) !important;
}

/* Убираем пунктирную линию, если она мешает (скрин image_0c2273.png) */
div[style*="border-bottom: 2px dashed"] {
    border-bottom: 1px solid rgba(168, 85, 247, 0.3) !important;
}
/* ШАГ 1: КОРПУС МОДАЛКИ */
.product-modal {
    background: #0d0720 !important;
    border: 2px solid #a855f7 !important;
    border-radius: 24px !important;
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.4) !important;
}
/* ШАГ 2.1: ТОЛЬКО ТЕКСТ ЗАГОЛОВКА */
.product-modal .modal-title {
    color: #ffffff !important;
    text-shadow: 0 0 15px #a855f7 !important;
    font-weight: 800 !important;
}

/* Название товара в центре */
.product-modal .modal-body h4 {
    color: #a855f7 !important;
    text-shadow: 0 0 20px #a855f7 !important;
}
/* ШАГ 3: ЦЕНА И ПРЕДМЕТ */
.product-modal .modal-body .price,
.product-modal .modal-body p {
    color: #22d3ee !important; /* Бирюзовый неон */
    font-size: 28px !important;
    font-weight: 900 !important;
    text-shadow: 0 0 20px #22d3ee !important;
}

.product-modal .modal-body img {
    filter: drop-shadow(0 0 20px #a855f7) !important;
    transition: 0.5s !important;
}

.product-modal .modal-body img:hover {
    transform: scale(1.05) !important;
    filter: drop-shadow(0 0 30px #a855f7) !important;
}
/* ШАГ 5: ВНЕШНЯЯ НЕОНОВАЯ АУРА (БЕЗОПАСНО) */
.product-modal {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4), 
                0 0 60px rgba(168, 85, 247, 0.2), 
                inset 0 0 15px rgba(168, 85, 247, 0.1) !important;
}

/* Добавляем легкий градиентный блик сверху, чтобы скрыть серость шапки */
.product-modal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.15) 0%, rgba(13, 7, 32, 0) 100%);
    pointer-events: none;
    z-index: 1;
}
/* 1. ГЛОБАЛЬНЫЙ ФОН САЙТА */
body {
    /* Заменяем черный на светлый космический градиент */
    background: radial-gradient(circle at top, #311b92 0%, #1a0a33 100%) !important;
    background-attachment: fixed !important;
    color: #e0e0e0 !important;
}

/* 2. ШАПКА И НАВИГАЦИЯ (Светлое стекло) */
header, .navbar {
    background: rgba(49, 27, 146, 0.4) !important; 
    backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* 3. ОБНОВЛЕННАЯ ЯРКАЯ КАРТОЧКА ТОВАРА */
.profile-card .card.bg-elegant,
div[class*="rounded-2xl"][class*="border"] {
    /* Яркий, насыщенный фон карточки */
    background: linear-gradient(135deg, #4527a0 0%, #6a1b9a 100%) !important;
    border: 2px solid #e1bee7 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 
                inset 0 0 15px rgba(255, 255, 255, 0.2) !important;
}

/* 4. МОДАЛЬНОЕ ОКНО (Тоже убираем черноту) */
.product-modal {
    background: linear-gradient(180deg, #2e1572 0%, #1a0a33 100%) !important;
    border: 2px solid #bd68ff !important;
    box-shadow: 0 0 50px rgba(189, 104, 255, 0.3) !important;
}

/* 5. КОРЗИНА И БЛОКИ ОПЛАТЫ */
.cart-products .profile-card .card.bg-elegant-dark,
div[class*="col-lg-7"].bg-elegant-dark {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
}

/* 6. ПОЛЯ ВВОДА (Инпуты) */
input[type="text"], input[type="email"], .form-control {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid #bd68ff !important;
    color: #fff !important;
}

/* 7. УЛУЧШЕНИЕ ТЕКСТА НА СВЕТЛОМ ФОНЕ */
h1, h2, h3, h4, .card-title {
    -webkit-text-fill-color: #ffffff !important; /* Убираем прозрачность */
    text-shadow: 0 0 15px rgba(189, 104, 255, 0.8) !important;
}
/* 1. ГЛАВНЫЙ ФОН САЙТА — ЗВЕЗДНОЕ НЕБО */
body {
    background-color: #0b051a !important;
    background-image: 
        url('https://i.postimg.cc/fLkV7pwx/360-F-831695326-vu4Zo-BDv6ru-Cwuh-ODHXk-IXy3SMty8IZn.jpg'), /* Качественное небо */
        radial-gradient(circle at 50% 50%, rgba(74, 20, 140, 0.3) 0%, transparent 70%) !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    background-position: center !important;
}

/* 2. КОНТЕЙНЕР-РАМКА ДЛЯ ТОВАРОВ */
/* Ищем основной контейнер, где лежит список товаров (обычно .container или .products-list) */
.products-list, 
main .container,
section[class*="items"] {
    background: rgba(13, 7, 32, 0.95) !important; /* Непрозрачный темный фон внутри */
    border: 3px solid #bd68ff !important; /* Яркая рамка */
    border-radius: 30px !important;
    padding: 40px !important;
    margin-top: 50px !important;
    margin-bottom: 50px !important;
    box-shadow: 
        0 0 40px rgba(189, 104, 255, 0.4), /* Внешнее свечение рамки */
        inset 0 0 20px rgba(0, 0, 0, 0.8) !important; /* Внутренняя глубина */
    position: relative !important;
}

/* Заголовок внутри рамки (Магазин / Товары) */
.products-list h2, 
.container h1 {
    text-align: center !important;
    margin-bottom: 40px !important;
    -webkit-text-fill-color: #fff !important;
    text-shadow: 0 0 15px #bd68ff !important;
}

/* 3. САМИ КАРТОЧКИ ВНУТРИ РАМКИ */
.profile-card .card.bg-elegant {
    /* Делаем их еще ярче, чтобы они выделялись на фоне подложки рамки */
    background: linear-gradient(145deg, #2a1a5e 0%, #1a0b38 100%) !important;
    border: 1px solid #00ffcc !important; /* Бирюзовый контур каждой карточки */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5) !important;
}

/* 4. ФИКС ДЛЯ МОНИТОРИНГА И ДРУГИХ БЛОКОВ */
/* Чтобы они тоже не висели в пустоте, дадим им похожий стиль "рамки" */
.bg-elegant-dark, .sidebar-block {
    background: rgba(20, 10, 40, 0.9) !important;
    border: 2px solid #3b82f6 !important;
    border-radius: 20px !important;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2) !important;
}