/* =========================================
   1. ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ И БАЗА
   ========================================= */
:root {
    --bg-dark: #020203;
    --primary: #00f2ff;
    --primary-glow: rgba(0, 242, 255, 0.5);
    --secondary: #bd00ff;
    --glass-bg: rgba(15, 15, 20, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);
    --navbar-bg: rgba(5, 5, 8, 0.95);
    --radius: 20px;
    --hud-height: 54px;
}

body {
    background-color: var(--bg-dark);
    background-image:
            radial-gradient(circle at 10% 20%, rgba(189, 0, 255, 0.08) 0%, transparent 40%),
            radial-gradient(circle at 90% 80%, rgba(0, 242, 255, 0.05) 0%, transparent 40%);
    background-attachment: fixed;
    color: #ffffff;
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

a { text-decoration: none; transition: 0.3s; color: inherit; }
a:hover { color: var(--primary); }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; }

/* =========================================
   2. ТИПОГРАФИКА
   ========================================= */
.fw-black { font-weight: 900; }
.text-glow-white { text-shadow: 0 0 25px rgba(255, 255, 255, 0.3); }
.text-shadow-strong { text-shadow: 0 2px 10px rgba(0,0,0,0.9); }
.font-monospace { font-family: 'JetBrains Mono', monospace; }

/* =========================================
   3. ВЕРХНЯЯ ПАНЕЛЬ (HUD)
   ========================================= */
.top-hud-container {
    position: fixed;
    top: 0; left: 0; width: 100%;
    display: flex; justify-content: center; align-items: flex-start;
    padding-top: 20px; gap: 15px;
    z-index: 1000;
    pointer-events: none;
}

.hud-block {
    pointer-events: auto;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    height: var(--hud-height);
    display: flex; align-items: center;
    padding: 0 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Статистика */
.hud-stats { gap: 20px; }
.stat-item { display: flex; align-items: center; gap: 10px; cursor: pointer; transition: 0.3s; }
.stat-item:hover { opacity: 0.8; }
.stat-divider { width: 1px; height: 20px; background: rgba(255,255,255,0.15); }

/* Навигация */
.hud-nav { padding: 0 15px; }
.nav-logo { font-weight: 800; text-transform: uppercase; font-size: 1.2rem; color: #fff; margin-right: 20px; margin-left: 10px; }
.nav-links { display: flex; gap: 5px; }
.nav-item-custom {
    color: #aaa; padding: 8px 16px; border-radius: 20px;
    font-weight: 600; font-size: 0.9rem; transition: 0.3s;
}
.nav-item-custom:hover, .nav-item-custom.active { color: #fff; background: rgba(255,255,255,0.1); }

/* Новости и аватар */
.hud-news { text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: 0.3s; max-width: 250px; }
.hud-news:hover { border-color: var(--primary); }
.user-avatar-sm { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--glass-border); }

/* Выпадающее меню */
.dropdown-menu-dark {
    background-color: var(--navbar-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 8px;
    margin-top: 10px !important;
}
.dropdown-item { border-radius: 8px; color: #ccc; font-weight: 500; }
.dropdown-item:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* =========================================
   4. КОМПОНЕНТЫ (Hero, Cards, Buttons)
   ========================================= */
.hero-wrapper {
    position: relative; height: 80vh; min-height: 600px;
    display: flex; align-items: center; justify-content: center;
    padding-top: 60px;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center 10%;
    z-index: -2; opacity: 0.5;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}
.relative-up { margin-top: -100px; position: relative; z-index: 10; }

/* Карточки */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.5rem; transition: 0.3s;
    height: 100%;
    color: #fff;
    overflow: hidden;
}
.glass-card img { max-width: 100%; }
.hover-lift:hover {
    transform: translateY(-5px); border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Кнопка "Скачать лаунчер" */
.btn-download {
    background: linear-gradient(135deg, #00b09b, #96c93d);
    color: #fff !important; padding: 12px 35px; border-radius: 50px;
    font-weight: 800; text-transform: uppercase;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
    display: inline-flex; align-items: center; gap: 10px;
    animation: pulse-green 2s infinite;
}
.btn-download:hover { transform: scale(1.05); filter: brightness(1.1); }

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 255, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

/* Второстепенные кнопки */
.btn-secondary-outline {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2);
    color: #fff !important; padding: 12px 30px; border-radius: 50px;
    font-weight: 700; text-transform: uppercase;
    backdrop-filter: blur(10px); transition: 0.3s;
}
.btn-secondary-outline:hover { background: #fff; color: #000 !important; }

/* Кнопка регистрации (Зеленая) */
.btn-neon-green {
    background: linear-gradient(135deg, #00b09b, #96c93d) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
    transition: 0.3s all ease;
    text-transform: none;
    font-size: 0.9rem;
    padding: 8px 24px;
}
.btn-neon-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.6);
    filter: brightness(1.1);
    color: #fff !important;
}

/* Шаги (Главная) */
.step-number {
    font-size: 4rem; font-weight: 900; line-height: 1;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    position: absolute; top: 0; right: 20px; z-index: 0;
}
.glass-card h5, .glass-card p, .glass-card a { position: relative; z-index: 1; }

/* =========================================
   5. ФОРМЫ И СТРАНИЦЫ (Профиль)
   ========================================= */
.page-spacer {
    padding-top: 120px;
    padding-bottom: 50px;
}

/* Темные поля ввода */
.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 10px;
    padding: 10px 15px;
    transition: 0.3s;
}
.form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}
.form-control::placeholder { color: rgba(255, 255, 255, 0.3); }

/* Заголовки карточек */
.card-header-custom {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    padding-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    font-size: 1.1rem;
}

/* =========================================
   6. СТИЛИЗАЦИЯ ПЛАГИНОВ (АВТОМАТИЧЕСКАЯ)
   Для всех плагинов кроме Skin API
   ========================================= */
.plugin-glass-wrapper .card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #fff !important;
}
.plugin-glass-wrapper .card-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--primary) !important;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.1rem;
    padding-left: 0;
    margin-bottom: 15px;
}
.plugin-glass-wrapper .card-body { padding: 0 !important; }
.plugin-glass-wrapper input, .plugin-glass-wrapper select, .plugin-glass-wrapper textarea {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 10px;
}
.plugin-glass-wrapper .btn-primary {
    background: var(--primary) !important;
    border: none !important;
    color: #000 !important;
    font-weight: bold;
}

/* =========================================
   7. СТИЛИЗАЦИЯ ПЛАГИНА SKIN API (ФИНАЛ)
   ========================================= */

/* Контейнер кнопок и полей */
.skin-plugin-wrapper .card-body {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;
    gap: 10px !important;
    padding: 0 !important;
}

/* Скрываем всё лишнее */
.skin-plugin-wrapper h1,
.skin-plugin-wrapper h2,
.skin-plugin-wrapper h3,
.skin-plugin-wrapper h4,
.skin-plugin-wrapper h5,
.skin-plugin-wrapper label,
.skin-plugin-wrapper img,
.skin-plugin-wrapper .card-title {
    display: none !important;
}

/* Форма загрузки на всю ширину */
.skin-plugin-wrapper form:first-of-type {
    width: 100% !important;
    margin-bottom: 5px !important;
}
.skin-plugin-wrapper form:first-of-type > div {
    width: 100% !important;
    margin-bottom: 0 !important;
}

/* Стилизация input[type=file] (НЕОН) */
.skin-plugin-wrapper input[type="file"] {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 2px dashed rgba(0, 242, 255, 0.3) !important;
    border-radius: 15px !important;
    padding: 8px !important;
    width: 100% !important;
    color: #fff !important;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
}
.skin-plugin-wrapper input[type="file"]:hover {
    border-color: var(--primary) !important;
    background: rgba(0, 242, 255, 0.05) !important;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
}

/* Кнопка "Обзор" внутри поля */
.skin-plugin-wrapper input[type="file"]::file-selector-button {
    background: linear-gradient(135deg, var(--primary), #0099ff) !important;
    color: #000 !important;
    border: none !important;
    border-radius: 50px;
    padding: 6px 20px;
    margin-right: 15px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.4);
    transition: 0.3s;
}
.skin-plugin-wrapper input[type="file"]::file-selector-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.7);
    color: #fff !important;
}

/* =================================================================
   КНОПКИ: СОХРАНИТЬ И УДАЛИТЬ (FIXED HEIGHT & EQUAL WIDTH)
   ================================================================= */

/* 1. Базовый стиль для ОБЕИХ кнопок */
.skin-plugin-wrapper button.btn {
    border-radius: 50px !important;
    padding: 0 10px !important;

    /* ФИКСИРОВАННАЯ ВЫСОТА */
    height: 40px !important;

    /* РАСТЯГИВАЕМ НА ВСЮ ШИРИНУ РОДИТЕЛЯ (чтобы работало 50/50) */
    width: 100% !important;

    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 0.8rem !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1 !important;
}

/* 2. Кнопка СОХРАНИТЬ (Неоновая) */
.skin-plugin-wrapper button.btn-primary {
    background: var(--primary) !important;
    color: #000 !important;
    border: none !important;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.3) !important;
}

/* 3. Кнопка УДАЛИТЬ (Красная) */
.skin-plugin-wrapper button.btn-danger {
    background: rgba(255, 50, 50, 0.2) !important;
    border: 1px solid rgba(255, 50, 50, 0.5) !important;
    color: #ff5555 !important;
    box-shadow: none !important;
}
.skin-plugin-wrapper button.btn-danger:hover {
    background: #ff5555 !important;
    color: #fff !important;
    border-color: #ff5555 !important;
}

/* =========================================
   8. АДАПТИВ
   ========================================= */
@media (max-width: 1200px) {
    .hud-stats, .hud-news { display: none !important; }
}
@media (max-width: 768px) {
    .top-hud-container { top: 10px; }
    .hud-nav { width: 95%; justify-content: space-between; }
    .nav-links { display: none; }
}
/* =========================================
   9. ИСПРАВЛЕНИЕ ПОЛЕЙ ВВОДА (БЕСШОВНЫЕ + ОСТУПЫ)
   ========================================= */

/* 1. Стили для ИКОНКИ (левая часть) */
.custom-input-group .input-group-text {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-right: none !important; /* Убираем правую границу, чтобы слить с инпутом */
    color: var(--primary) !important;
    padding-right: 15px !important; /* Отступ внутри иконки справа */
    padding-left: 15px !important;
    border-top-left-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
    transition: 0.3s ease;
}

/* 2. Стили для ПОЛЯ ВВОДА (правая часть) */
.custom-input-group .form-control {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-left: none !important; /* Убираем левую границу */
    color: #fff !important;

    /* 👇 ГЛАВНОЕ ИСПРАВЛЕНИЕ: Отступ текста от иконки */
    padding-left: 10px !important;

    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
    transition: 0.3s ease;
}

/* 3. Убираем "синеву" или "белизну" от автозаполнения браузера */
.custom-input-group input:-webkit-autofill,
.custom-input-group input:-webkit-autofill:hover,
.custom-input-group input:-webkit-autofill:focus,
.custom-input-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #1e1e24 inset !important; /* Цвет фона при автозаполнении (под цвет полей) */
    -webkit-text-fill-color: white !important; /* Цвет текста */
    transition: background-color 5000s ease-in-out 0s;
}

/* 4. Эффекты при ФОКУСЕ (нажатии) */
/* Когда поле активно, красим границы и иконки, и инпута */
.custom-input-group .form-control:focus {
    box-shadow: none !important; /* Убираем стандартную тень */
    border-color: var(--primary) !important;
}

/* Хитрость: когда инпут в фокусе, меняем цвет границы у соседней иконки */
.custom-input-group .form-control:focus + .input-group-text, /* если иконка справа */
.custom-input-group:focus-within .input-group-text {       /* если иконка слева */
    border-color: var(--primary) !important;
    box-shadow: none !important;
}

/* Добавляем общее неоновое свечение на весь блок */
.custom-input-group:focus-within {
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.15);
    border-radius: 10px;
}
/* =========================================
   10. ИСПРАВЛЕНИЕ МЕНЮ ПРОФИЛЯ
   ========================================= */

/* Делаем заголовок "АККАУНТ" светлым */
.dropdown-menu .dropdown-header {
    color: rgba(255, 255, 255, 0.5) !important; /* Полупрозрачный белый */
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* На всякий случай делаем ссылки в меню тоже светлыми и красивыми */
.dropdown-menu .dropdown-item {
    color: #fff !important;
    transition: 0.3s;
}

.dropdown-menu .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--primary) !important; /* При наведении цвет будет неоновым */
    transform: translateX(5px); /* Небольшой сдвиг вправо при наведении */
}

/* Сам фон выпадающего меню (если вдруг он недостаточно темный) */
.dropdown-menu {
    background: rgba(20, 20, 25, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
}
/* =========================================
   11. КАСТОМНЫЙ СКРОЛЛБАР
   ========================================= */
/* Ширина полосы */
::-webkit-scrollbar {
    width: 8px;
    height: 8px; /* Для горизонтального скролла */
}

/* Фон полосы (трек) */
::-webkit-scrollbar-track {
    background: #0b0b10;
}

/* Ползунок */
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: 0.3s;
}

/* Ползунок при наведении */
::-webkit-scrollbar-thumb:hover {
    background: var(--primary); /* Становится цветным */
    box-shadow: 0 0 10px var(--primary); /* Светится */
}

/* =========================================
   12. ПРЕЛОАДЕР (Экран загрузки)
   ========================================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050507;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;

    /* 👇 Ускоряем исчезновение (было 0.5s) */
    transition: opacity 0.3s ease, visibility 0.3s ease;

    /* 👇 Чтобы не блокировал клики, когда становится прозрачным */
    pointer-events: all;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Пропускаем клики */
}

/* Анимация пульсации логотипа или круга */
.loader-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.1);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Скрываем скролл страницы пока идет загрузка */
body.loading {
    overflow: hidden;
}
/* =========================================
   13. ФУТЕР (ПОДВАЛ)
   ========================================= */
.footer-glass {
    background: rgba(5, 5, 10, 0.8); /* Темный полупрозрачный фон */
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Тонкая линия сверху */
    backdrop-filter: blur(10px); /* Эффект стекла */
    padding-top: 60px;
    padding-bottom: 30px;
    margin-top: auto; /* Прижимает футер к низу */
    position: relative;
    z-index: 10;
}

.footer-title {
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    margin-bottom: 12px;
    transition: 0.3s ease;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--primary); /* Неоновый цвет при наведении */
    transform: translateX(5px); /* Сдвиг вправо */
    text-shadow: 0 0 10px var(--primary);
}

.footer-social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 10px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
}

.footer-social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    transform: translateY(-3px);
    color: #000;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
}
/* Магическая карточка товара */
.package-card-magic {
    background: rgba(15, 15, 25, 0.6) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 242, 255, 0.1);
    transition: all 0.3s ease;
    border-radius: 15px;
}

.package-card-magic:hover {
    transform: translateY(-10px);
    border-color: rgba(138, 43, 226, 0.5); /* Фиолетовое свечение */
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.3);
}

/* Кнопка покупки */
.btn-magic-buy {
    background: linear-gradient(45deg, #00f2ff, #8a2be2);
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 242, 255, 0.2);
}

.btn-magic-buy:hover {
    filter: brightness(1.1);
    box-shadow: 0 4px 25px rgba(138, 43, 226, 0.5);
}

/* Карточки пополнения (Кристаллы) */
.offer-card-crystal {
    background: rgba(20, 10, 30, 0.5);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.4s;
}

.offer-card-crystal:hover {
    background: rgba(138, 43, 226, 0.1);
    border-color: #00f2ff;
}
.magic-package-card {
    background: rgba(255, 255, 255, 0.05) !important; /* Очень слабая белая заливка */
    backdrop-filter: blur(15px); /* Тот самый эффект размытия */
    border: 1px solid rgba(0, 242, 255, 0.2); /* Тонкая голубая рамка */
    border-radius: 15px;
    color: white;
    transition: 0.3s;
}

.magic-package-card:hover {
    border-color: #00f2ff; /* Яркое свечение при наведении */
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
    transform: translateY(-5px);
}

/* Магическая кнопка «Купить» */
.btn-neon-magic {
    background: linear-gradient(135deg, #00f2ff 0%, #8a2be2 100%); /* Градиент от голубого к фиолетовому */
    border: none;
    color: white !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.3); /* Мягкое начальное свечение */
}

.btn-neon-magic:hover {
    transform: scale(1.05); /* Легкое увеличение */
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.6); /* Усиление свечения при наведении */
    filter: brightness(1.2);
}

/* Если кнопка внутри карточки слишком мелкая */
.package-card-magic .btn-neon-magic {
    margin-top: 15px;
}
/* Скрываем стандартные стрелочки в Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Скрываем стрелочки в Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* Красивое поле ввода количества */
.quantity-selector input {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(0, 242, 255, 0.3) !important;
    color: #fff !important;
    text-align: center;
    border-radius: 8px;
    padding: 8px;
    transition: 0.3s;
    font-weight: bold;
}

.quantity-selector input:focus {
    outline: none;
    border-color: #00f2ff !important;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.4);
}

/* Контейнер корзины */
.cart-glass-container {
    background: rgba(15, 15, 25, 0.6) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
}

/* Приветственная карточка */
.welcome-card-glass {
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.05), rgba(138, 43, 226, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 25px;
}

/* Разделители в таблице */
.border-white-5 {
    border-color: rgba(255, 255, 255, 0.05) !important;
}

/* Сайдбар */
.sidebar-glass {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}
/* Убираем серый фон таблицы в корзине */
.cart-glass-container .table {
    --bs-table-bg: transparent !important;
    background: transparent !important;
    color: white !important;
}

/* Стили заголовков таблицы */
.cart-glass-container thead tr {
    background: rgba(255, 255, 255, 0.03) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.cart-glass-container th {
    padding: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none !important;
}

/* Стили строк */
.cart-glass-container td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    vertical-align: middle !important;
}

/* Поле количества в таблице */
.cart-glass-container .badge.bg-dark {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(0, 242, 255, 0.3) !important;
    padding: 8px 15px !important;
    font-size: 0.9rem;
}
/* Активный пункт меню */
.active-neon {
    color: #00f2ff !important;
    background: rgba(0, 242, 255, 0.1) !important;
    border-left: 3px solid #00f2ff !important;
    padding-left: 15px !important;
    font-weight: bold;
}

/* Эффекты для карточек и баннеров */
.welcome-banner-glass, .category-header-glass {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.hover-slide:hover {
    color: #00f2ff !important;
    transform: translateX(8px);
    transition: 0.3s ease;
}

/* Исправление серой корзины */
.cart-glass-container .table {
    background: transparent !important;
    --bs-table-bg: transparent !important;
}

.text-glow {
    text-shadow: 0 0 20px rgba(0, 242, 255, 0.6);
}
/* Выносим уведомления на передний план над всей навигацией */
.alert {
    position: relative;
    z-index: 9999 !important;
    margin-top: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Смещаем контент вниз, чтобы уведомление ничего не перекрывало */
body.modal-open .alert {
    z-index: 1060 !important;
}
.sidebar-glass {
    background: rgba(13, 13, 20, 0.8) !important;
    backdrop-filter: blur(20px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.sidebar-title {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    font-weight: 900;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.7) !important;
    padding: 12px 18px;
    border-radius: 14px;
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-btn i { font-size: 1.1rem; color: #00f2ff; }

.nav-btn:hover {
    background: rgba(0, 242, 255, 0.05);
    color: #fff !important;
    border-color: rgba(0, 242, 255, 0.2);
    transform: translateX(5px);
}

.nav-btn.active {
    background: linear-gradient(90deg, rgba(0, 242, 255, 0.15) 0%, transparent 100%);
    border-left: 3px solid #00f2ff;
    color: #fff !important;
    font-weight: bold;
    box-shadow: -10px 0 20px rgba(0, 242, 255, 0.1);
}

.nav-btn-back {
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.9rem;
    opacity: 0.6;
}
/* Улучшенный Сайдбар Insomnia */
.sidebar-glass {
    background: rgba(10, 10, 15, 0.85) !important; /* Более глубокий черный */
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.sidebar-title {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.65rem;
    letter-spacing: 3px;
    font-weight: 900;
}

/* Новые кнопки навигации */
.nav-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.6) !important;
    padding: 14px 20px;
    border-radius: 16px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-btn:hover {
    background: rgba(0, 242, 255, 0.05);
    color: #fff !important;
    border-color: rgba(0, 242, 255, 0.3);
    transform: translateX(8px) scale(1.02);
}

/* Активный статус с неоновым контуром */
.nav-btn.active {
    background: linear-gradient(90deg, rgba(0, 242, 255, 0.15) 0%, transparent 100%);
    border-left: 4px solid #00f2ff !important;
    border-color: rgba(0, 242, 255, 0.4);
    color: #fff !important;
    box-shadow: -15px 0 30px rgba(0, 242, 255, 0.15);
}

.nav-btn i {
    font-size: 1.2rem;
    color: #00f2ff;
    filter: drop-shadow(0 0 5px rgba(0, 242, 255, 0.5));
}
.btn-neon-magic {
    /* Градиент и свечение как на макете */
    background: linear-gradient(135deg, #00f2ff 0%, #8a2be2 100%) !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(0, 242, 255, 0.3);
    transition: 0.3s ease;
}

.btn-neon-magic:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 255, 0.5);
    filter: brightness(1.1);
}

/* Унификация размеров кнопок в профиле */
.glass-card .btn {
    text-transform: uppercase;
    font-family: 'Inter', sans-serif; /* Или ваш основной шрифт */
}
/* Исправление цвета текста при наведении для контурных кнопок */
.btn-outline-info:hover {
    background: rgba(0, 242, 255, 0.15) !important;
    border-color: #00f2ff !important;
    color: #ffffff !important; /* Текст больше не будет темнеть */
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
}

/* Общий фикс для всех навигационных кнопок в сайдбаре */
.nav-btn:hover {
    color: #ffffff !important;
}