/* core/static/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;700;800&display=swap');

/* Универсальное правило для всех Bootstrap Icons */
.bi {
    display: inline-block !important;
    font-family: "bootstrap-icons" !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    vertical-align: -.125em !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    opacity: 1 !important;
    visibility: visible !important;
}

:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --accent: #f43f5e;
    --dark: #0f172a;
    --slate: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    
    --gradient-brand: linear-gradient(135deg, #4f46e5 0%, #f43f5e 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
    --shadow-card: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-glow: 0 0 50px rgba(79, 70, 229, 0.15);
    
    --radius-xl: 24px;
    --radius-l: 16px;
}

/* Ссылка «Перейти к содержимому» для доступности (появляется при фокусе с клавиатуры) */
.skip-link {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99999;
    padding: 0.75rem 1.25rem;
    background: var(--primary);
    color: white !important;
    font-weight: 600;
    border-radius: 0 0 8px 0;
    transform: translateY(-100%);
    transition: transform 0.2s ease;
}
.skip-link:focus {
    transform: translateY(0);
    outline: 2px solid white;
    outline-offset: 2px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: clip;
    
    /* FLEXBOX STICKY FOOTER */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0 !important;   /* Убираем внешние отступы */
    
    /* ВОТ ГЛАВНОЕ ИСПРАВЛЕНИЕ: */
    padding: 0 !important;  /* Убираем внутренние отступы (тот самый py-5) */
}

/* Nav */
.navbar-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 0;
}
.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-brand);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero */
.hero-wrapper {
    padding: 160px 0 100px;
    position: relative;
    background: radial-gradient(circle at top right, rgba(79,70,229,0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(244,63,94,0.1), transparent 40%);
    overflow: visible;
    z-index: 0;
}
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark);
}
@media (max-width: 768px) { .hero-title { font-size: 2.8rem; } }

/* Search */
.search-bar-modern {
    background: var(--white);
    padding: 8px;
    border-radius: 100px;
    box-shadow: var(--shadow-card);
    display: flex;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid rgba(0,0,0,0.05);
    transition: 0.3s;
}
.search-bar-modern:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.sb-input { border: none; outline: none; flex-grow: 1; padding: 12px 20px; font-size: 1.1rem; }
.sb-btn { background: var(--dark); color: white; width: 50px; height: 50px; border-radius: 50%; border: none; font-size: 1.2rem; }

/* Bento Cards (Features) */
.bento-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    transition: 0.3s;
    box-shadow: var(--shadow-sm);
}
.bento-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: rgba(79,70,229,0.2);
}
.icon-square {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.7rem;
    
}

/* Цвета иконок в зависимости от фона */
.icon-square.bg-primary.text-white i,
.icon-square.bg-primary.text-white .bi,
.icon-square.bg-accent.text-white i,
.icon-square.bg-accent.text-white .bi,
.icon-square.bg-success.text-white i,
.icon-square.bg-success.text-white .bi,
.icon-square.bg-warning.text-white i,
.icon-square.bg-warning.text-white .bi,
.icon-square.bg-info.text-white i,
.icon-square.bg-info.text-white .bi,
.icon-square.bg-dark.text-white i,
.icon-square.bg-dark.text-white .bi {
    color: white !important;
}

.icon-square.bg-warning-subtle.text-warning i,
.icon-square.bg-warning-subtle.text-warning .bi {
    color: #ea580c !important;
}

.icon-square.bg-primary-subtle.text-primary i,
.icon-square.bg-primary-subtle.text-primary .bi {
    color: var(--primary) !important;
}

.icon-square.bg-success-subtle.text-success i,
.icon-square.bg-success-subtle.text-success .bi {
    color: #10a34a !important;
}

/* Универсальное правило для всех иконок в icon-square */
.icon-square i,
.icon-square > i {
    display: inline-block !important;
    line-height: 1 !important;
    font-size: inherit !important;
    vertical-align: middle !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Дополнительное правило для всех вариантов icon-square */
[class*="icon-square"] i,
[class*="icon-square"] > i {
    display: inline-block !important;
    line-height: 1 !important;
    font-size: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.is-blue { 
    background: #e0e7ff !important; 
    color: var(--primary) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.is-rose { 
    background: #ffe4e6 !important; 
    color: var(--accent) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.is-dark { 
    background: #f1f5f9 !important; 
    color: var(--dark) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.is-blue i,
.is-rose i,
.is-dark i {
    display: inline-block !important;
    line-height: 1 !important;
    font-size: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.is-blue i {
    color: var(--primary) !important;
}

.is-rose i {
    color: var(--accent) !important;
}

.is-dark i {
    color: var(--dark) !important;
}

/* Steps */
.step-item { position: relative; padding: 20px; text-align: center; }
.step-num { 
    font-size: 4rem; font-weight: 800; color: #f1f5f9; 
    position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: -1; 
}

/* Catalog Cards */
.blogger-card-pro {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: none;
    overflow: hidden;
    transition: 0.4s;
    box-shadow: var(--shadow-sm);
}
.blogger-card-pro:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.pro-cover { height: 120px; background: linear-gradient(135deg, #e0e7ff, #fae8ff); }
.pro-avatar { width: 90px; height: 90px; border-radius: 30px; border: 4px solid var(--white); margin-top: -45px; object-fit: cover; background: white; }

/* Testimonials */
.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}

.footer-pro {
    margin-top: 0; /* Убрали отступ, чтобы не было белого зазора */
    width: 100%;
    background: var(--dark);
    color: white;
    padding: 80px 0 30px;
    border-top-left-radius: 0; /* Убрали закругление сверху */
    border-top-right-radius: 0; /* Убрали закругление сверху */
    position: relative; 
    z-index: 10;
}

/* --- INTERNAL PAGES (Dashboard Styles) --- */

/* Красивые таблицы */
.table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px; /* Отступы между строками */
    margin-top: -10px;
}
.table-modern thead th {
    border: none;
    color: var(--slate);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 20px 10px;
}
.table-modern tbody tr {
    background: white;
    box-shadow: var(--shadow-sm);
    transition: 0.2s;
}
.table-modern tbody tr:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-card);
}
.table-modern td {
    border: none;
    padding: 20px;
    vertical-align: middle;
}
.table-modern td:first-child { border-top-left-radius: 16px; border-bottom-left-radius: 16px; }
.table-modern td:last-child { border-top-right-radius: 16px; border-bottom-right-radius: 16px; }

/* Статусы (Badge) */
.status-badge {
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.st-new { background: #e2e8f0; color: #475569; }
.st-wait { background: #fff7ed; color: #ea580c; border: 1px solid #ffedd5; }
.st-process { background: #eff6ff; color: #2563eb; border: 1px solid #dbeafe; }
.st-done { background: #f0fdf4; color: #16a34a; border: 1px solid #dcfce7; }

/* Карточка профиля внутри */
.profile-header-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.profile-bg-decoration {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 120px;
    background: linear-gradient(135deg, #e0e7ff, #fae8ff);
    z-index: 0;
}

/* --- AUTH PAGES (Login / Register) --- */

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #f8fafc;
}

/* Живой фон (Градиентные пятна) */
.auth-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
    animation: blob-bounce 10s infinite alternate;
}
.ab-1 { width: 500px; height: 500px; background: #e0e7ff; top: -100px; left: -100px; }
.ab-2 { width: 400px; height: 400px; background: #fce7f3; bottom: -50px; right: -50px; animation-delay: -5s; }

@keyframes blob-bounce {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.auth-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 2rem;
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    max-height: 90vh;
    overflow-y: auto;
}
/* Мобильная версия: отступы от краёв, удобная прокрутка */
@media (max-width: 480px) {
    .auth-wrapper { padding: env(safe-area-inset-top, 12px) 12px env(safe-area-inset-bottom, 12px); align-items: flex-start; padding-top: 56px; }
    .auth-card { max-width: none; margin: 0 auto; padding: 1.5rem 1.25rem; border-radius: 20px; }
    .auth-card .btn { min-height: 48px; padding: 12px 20px; font-size: 1rem; }
    .auth-back { width: 44px !important; height: 44px !important; min-width: 44px; min-height: 44px; margin: 12px !important; }
}

.auth-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

/* Стили полей ввода */
.form-control-auth {
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 50px; /* Капсула */
    padding: 14px 24px;
    font-size: 1rem;
    transition: 0.3s;
}
.form-control-auth:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}
.auth-label {
    margin-left: 15px;
    margin-bottom: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--slate);
}

/* --- COMPACT AUTH FIXES (Исправления для компактности) --- */

/* Уменьшаем отступы между полями только внутри карточки */
.auth-card .mb-3 {
    margin-bottom: 0.8rem !important; /* Было больше */
}

/* Делаем поля чуть ниже по высоте */
.form-control-auth {
    padding: 10px 20px !important; /* Было 14px */
    font-size: 0.95rem !important;
}

/* Уменьшаем размер заголовка */
.auth-title {
    font-size: 1.8rem !important;
    margin-bottom: 0.2rem !important;
}

/* Убираем лишние отступы у лейблов */
.auth-label {
    margin-bottom: 2px !important;
    font-size: 0.85rem !important;
}

/* Убираем синий фон автозаполнения (Chrome/Edge делает поля голубыми) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

/* Подсказки под полями (не перегружаем) */
.auth-hint { font-size: 0.8rem; color: var(--bs-secondary); margin-top: 0.35rem; margin-left: 2px; }
.auth-link-forgot { font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.auth-link-forgot:hover { color: var(--primary) !important; }
/* Кнопка "показать пароль" в одном блоке с полем */
.auth-password-wrap { position: relative; }
.auth-password-wrap .form-control-auth { padding-right: 3rem; }
.auth-toggle-pwd { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); border: none; background: none; color: var(--bs-secondary); padding: 4px; cursor: pointer; font-size: 1.1rem; }
.auth-toggle-pwd:hover { color: var(--primary); }

/* Анимация для уведомлений */
@keyframes slideDownFade {
    0% { transform: translateY(-20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
.animate-slide-down {
    animation: slideDownFade 0.5s ease forwards;
}

/* Эффект для кнопки удаления */
.hover-danger:hover {
    color: var(--accent) !important;
    opacity: 1 !important;
    cursor: pointer;
}

/* Catalog Filters */
.filter-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--slate);
    margin-bottom: 8px;
    display: block;
}

/* --- NEW CATALOG CARD (PRO) --- */

.catalog-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.04);
    overflow: visible;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(79, 70, 229, 0.2);
}

.cc-cover {
    height: 90px;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    position: relative;
    overflow: visible;
    margin-bottom: 20px;
}

.cc-avatar-wrapper {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 80px;
    height: 80px;
}

.cc-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid white;
    background: white;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cc-avatar-wrapper img.cc-avatar {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    border: 4px solid white !important;
    background: white !important;
}

.cc-body {
    padding: 50px 20px 20px; /* Отступ сверху под аватарку */
    flex-grow: 1;
}

.cc-platforms {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
}
.cc-icon-badge {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    color: var(--dark);
}

.cc-stats-row {
    display: flex;
    justify-content: space-between;
    background: #f8fafc;
    border-radius: 12px;
    padding: 10px 15px;
    margin: 15px 0;
}
.cc-stat-item {
    text-align: center;
    line-height: 1.2;
}
.cc-stat-val { font-weight: 700; font-size: 0.9rem; color: var(--dark); }
.cc-stat-label { font-size: 0.65rem; text-transform: uppercase; color: var(--slate); font-weight: 600; }



.price-tag-pro {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
}


/* --- SELECTABLE TAGS (Чекбоксы как кнопки) --- */

/* Скрываем реальный чекбокс */
.tag-checkbox input[type="checkbox"] {
    display: none;
}

/* Стиль лейбла (кнопки) */
.tag-checkbox label {
    display: inline-block;
    padding: 10px 20px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--slate);
    cursor: pointer;
    transition: 0.2s;
    user-select: none;
}

.tag-checkbox label:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

/* Состояние "Выбрано" */
.tag-checkbox input[type="checkbox"]:checked + label {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}


/* --- [ОБНОВЛЕНО] 9. ЛЕНДИНГ: НИШИ (GRID) --- */
.niche-card {
    position: relative;
    height: 300px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 0;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.niche-card::before {
    content: ''; 
    position: absolute; 
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    z-index: 1;
    transition: opacity 0.4s ease;
}
.niche-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.niche-card:hover::before {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
}

.niche-bg {
    position: absolute; 
    inset: 0; 
    width: 100%; 
    height: 100%;
    object-fit: cover; 
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); 
    z-index: 0;
}
.niche-card:hover .niche-bg { 
    transform: scale(1.1); 
}

.niche-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    color: white;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}
.niche-content h3 { 
    margin-bottom: 8px; 
    font-weight: 800; 
    font-size: 1.75rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    line-height: 1.2;
}
.niche-content p { 
    margin: 0; 
    opacity: 0.95; 
    font-size: 1rem;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
    font-weight: 500;
}
.niche-content .badge {
    background: rgba(255,255,255,0.95) !important;
    color: var(--dark) !important;
    font-weight: 700;
    padding: 6px 12px;
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
/* Исправление иконки уведомлений */
.dropdown .btn.position-relative {
    overflow: visible;
}

.dropdown .badge.position-absolute {
    z-index: 10;
    line-height: 1;
    font-weight: 700;
}

/* Совместимость для старых версий Bootstrap */
.bg-success-subtle { background-color: #dcfce7 !important; }
.text-success-subtle { color: #166534 !important; }
.border-success-subtle { border-color: #bbf7d0 !important; }
.bg-soft-primary { 
    background-color: #e0e7ff !important; 
    color: var(--primary) !important;
}

.bg-soft-primary i,
.bg-soft-primary .bi {
    color: var(--primary) !important;
}

/* --- ДОБАВИТЬ В КОНЕЦ style.css --- */

/* Футер карточки блогера */
.cc-footer {
    padding: 15px 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Money Flow (Схема денег) */
.flow-icon-box {
    width: 80px; height: 80px;
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow-card);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}
.flow-line {
    position: absolute;
    top: 40px; left: 0; width: 100%; height: 2px;
    background: #cbd5e1;
    z-index: 1;
    border-top: 2px dashed #cbd5e1;
}

/* Футер сайта (прилипающий) */
footer {
    margin-top: auto !important;
}
.footer-pro {
    background: var(--dark);
    color: white;
    padding: 80px 0 30px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: 0;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    z-index: 10;
}
/* Заставляет футер всегда быть внизу */
footer, .footer-pro {
    margin-top: 0;
    display: block !important;
    flex-shrink: 0;
}
/* --- FIX 2.0 (FINAL) --- */

/* 1. "Маскировка": Красим самый нижний слой (html) в цвет футера (#0f172a). 
   Если белый отступ и появится, он станет темно-синим и сольется с футером. */
html {
    background-color: #0f172a !important;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--light);
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

footer {
    margin-top: auto;
}

/* Стиль для верифицированной карточки */
.catalog-card.verified-card {
    border: 2px solid var(--primary); /* Синяя обводка */
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.15); /* Свечение */
}
.catalog-card.verified-card .cc-cover {
    background: linear-gradient(135deg, #4f46e5 0%, #a855f7 100%); /* Премиум фон */
}

/* Дополнительные утилиты для личного кабинета */
.bg-primary-subtle { background-color: rgba(79, 70, 229, 0.1) !important; }
.bg-success-subtle { background-color: rgba(16, 163, 74, 0.1) !important; }
.bg-warning-subtle { background-color: rgba(234, 88, 12, 0.1) !important; }
.bg-info-subtle { background-color: rgba(37, 99, 235, 0.1) !important; }
.bg-accent-subtle { background-color: rgba(244, 63, 94, 0.1) !important; }
.bg-secondary-subtle { background-color: rgba(100, 116, 139, 0.1) !important; }
.bg-danger-subtle { background-color: rgba(239, 68, 68, 0.1) !important; }
.bg-dark-subtle { background-color: rgba(15, 23, 42, 0.1) !important; }

.text-primary-subtle { color: rgba(79, 70, 229, 0.8) !important; }
.text-success-subtle { color: rgba(16, 163, 74, 0.8) !important; }
.text-warning-subtle { color: rgba(234, 88, 12, 0.8) !important; }
.text-info-subtle { color: rgba(37, 99, 235, 0.8) !important; }
.text-accent-subtle { color: rgba(244, 63, 94, 0.8) !important; }

.border-primary-subtle { border-color: rgba(79, 70, 229, 0.2) !important; }
.border-success-subtle { border-color: rgba(16, 163, 74, 0.2) !important; }
.border-secondary-subtle { border-color: rgba(100, 116, 139, 0.2) !important; }

/* --- СТИЛИ ДЛЯ СКРЫТОЙ ИНФОРМАЦИИ О БЛОГЕРЕ (ДО ОПЛАТЫ) --- */

.blurred-content {
    position: relative;
    cursor: not-allowed;
}

.blur-effect {
    filter: blur(4px);
    opacity: 0.6;
    pointer-events: none;
    user-select: none;
}

.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    border-radius: 8px;
    z-index: 10;
    padding: 10px;
}

.blur-lock-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 8px;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
    animation: pulse-lock 2s ease-in-out infinite;
}

@keyframes pulse-lock {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 15px rgba(79, 70, 229, 0.5);
    }
}

.blur-overlay small {
    font-size: 0.75rem;
    color: var(--slate);
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

/* ============================================
   UI/UX IMPROVEMENTS - Глобальные улучшения
   ============================================ */

/* 1. Улучшенные transitions для всех интерактивных элементов */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

a, button, .btn, input, select, textarea {
    transition: all 0.2s ease;
}

/* 2. Loading states для кнопок */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid currentColor;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 3. Toast notifications */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-custom {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-left: 4px solid var(--primary);
    min-width: 300px;
    max-width: 400px;
    animation: slideInRight 0.3s ease-out;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-custom.success {
    border-left-color: #16a34a;
}

.toast-custom.error {
    border-left-color: #dc2626;
}

.toast-custom.warning {
    border-left-color: #ea580c;
}

.toast-custom.info {
    border-left-color: var(--primary);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.toast-custom.success .toast-icon {
    background: #dcfce7;
    color: #16a34a;
}

.toast-custom.error .toast-icon {
    background: #fee2e2;
    color: #dc2626;
}

.toast-custom.warning .toast-icon {
    background: #fff7ed;
    color: #ea580c;
}

.toast-custom.info .toast-icon {
    background: #e0e7ff;
    color: var(--primary);
}

/* 4. Skeleton loaders */
.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 8px;
}

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

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.skeleton-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #f1f5f9;
}

/* 5. Empty states — унифицированное оформление */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--slate);
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: #94a3b8;
}

.empty-state-icon i {
    font-size: inherit;
}

.empty-state h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.empty-state .btn {
    border-radius: 50px;
}

/* Вариант в карточке (campaigns, webhooks, recommendations, saved_searches) */
.empty-state.card-style {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
}

/* Компактный вариант (bento, таблицы) */
.empty-state.compact {
    padding: 2rem 1.5rem;
}
.empty-state.compact .empty-state-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.empty-state.compact h3 {
    font-size: 1rem;
}
.empty-state.compact p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* 5.1 Skeleton-загрузка для каталога и списков */
@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton {
    background: linear-gradient(110deg, #f1f5f9 8%, #e2e8f0 18%, #f1f5f9 33%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.2s linear infinite;
    border-radius: 8px;
}

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5rem;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.skeleton-card {
    min-height: 280px;
    border-radius: 16px;
}

.skeleton-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* 6. Улучшенные hover effects */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.hover-scale {
    transition: transform 0.2s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
}

/* 7. Улучшенные формы */
.form-control:focus,
/* Стили для form-select перенесены в секцию select ниже */

.form-control.is-invalid {
    border-color: #dc2626;
}

.form-control.is-valid {
    border-color: #16a34a;
}

.input-group-text {
    background: #f8fafc;
    border-color: rgba(0,0,0,0.05);
}

/* 8. Улучшенные карточки */
.card-modern {
    background: white;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    border-color: rgba(79, 70, 229, 0.2);
}

/* 9. Улучшенные badges */
.badge-modern {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* 10. Улучшенная навигация */
.nav-link {
    position: relative;
    transition: color 0.2s ease;
}

/* Подчёркивание только у обычных ссылок; у dropdown (Помощь) — не показываем, иначе полоса крутится при открытии */
.navbar .navbar-nav .nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.navbar .navbar-nav .nav-link:not(.dropdown-toggle):hover::after,
.navbar .navbar-nav .nav-link:not(.dropdown-toggle).active::after {
    width: 80%;
}

/* Выравнивание иконок и текста в навигационной панели (симметрия) */
.navbar .navbar-nav .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    min-height: 2.25rem;
    line-height: 1.2;
    font-size: 0.9375rem;
}
/* Иконка в фиксированной квадратной ячейке = высота одной строки текста */
.navbar .navbar-nav .nav-link i.bi {
    flex-shrink: 0;
    width: 1.2em;
    height: 1.2em;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    line-height: 1;
    /* Небольшая оптическая коррекция: иконки-шрифты часто рисуются чуть выше центра */
    transform: translateY(0.5px);
}
.navbar .navbar-nav .nav-link i.bi::before {
    display: block;
}
.navbar .navbar-nav .nav-link .nav-link-text {
    line-height: 1.2;
    display: inline-block;
}

/* Стили для секции "Для кого" */
#v-pills-tab .nav-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#v-pills-tab .nav-link.active {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3) !important;
    transform: translateX(5px);
}

#v-pills-tab .nav-link.active h5,
#v-pills-tab .nav-link.active small {
    color: white !important;
}

#v-pills-tab .nav-link.active .icon-square {
    background: rgba(255,255,255,0.2) !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
}

#v-pills-tab .nav-link:not(.active) {
    background: white !important;
    color: var(--dark) !important;
}

#v-pills-tab .nav-link:not(.active):hover {
    border-color: rgba(79, 70, 229, 0.3) !important;
    transform: translateX(3px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

/* 11. Улучшенные кнопки */
.btn {
    font-weight: 600;
    border-radius: 12px;
    padding: 10px 24px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-brand);
    border: none;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* 12. Улучшенные таблицы */
.table-modern tbody tr {
    transition: all 0.2s ease;
}

.table-modern tbody tr:hover {
    background: #f8fafc;
    transform: scale(1.01);
}

/* 13. Улучшенный скроллбар */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* 14. Улучшенные модальные окна */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-header {
    border-bottom: 1px solid #f1f5f9;
    padding: 24px;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    border-top: 1px solid #f1f5f9;
    padding: 20px 24px;
}

/* 15. Улучшенные алерты */
.alert {
    border-radius: 12px;
    border: none;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

.alert-warning {
    background: #fff7ed;
    color: #9a3412;
}

.alert-info {
    background: #e0e7ff;
    color: #3730a3;
}

/* 16. Улучшенная типографика */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

p {
    line-height: 1.7;
    color: var(--slate);
}

/* 17. Улучшенные инпуты (без стрелки — это не выпадающий список) */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="search"],
input[type="url"],
textarea {
    border-radius: 12px !important;
    border: 2px solid #e2e8f0 !important;
    padding: 0.75rem 1.25rem !important;
    font-size: 1rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background-color: white !important;
    color: var(--dark) !important;
    font-weight: 500 !important;
    cursor: text !important;
}

/* Убираем спиннер (стрелочки вверх/вниз) у полей number */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
}
input[type="number"] {
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

/* Стили для select — здесь стрелка уместна (выпадающий список) */
select,
.form-select,
.form-select-sm {
    border-radius: 12px !important;
    border: 2px solid #e2e8f0 !important;
    padding: 0.75rem 1.25rem !important;
    font-size: 1rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background-color: white !important;
    color: var(--dark) !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234f46e5' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 12px !important;
    padding-right: 2.5rem !important;
}

.form-select-sm {
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
    padding-right: 2rem !important;
}

select:hover,
.form-select:hover,
.form-select-sm:hover {
    border-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15) !important;
    transform: translateY(-1px) !important;
}

input:focus,
textarea:focus,
select:focus,
.form-select:focus,
.form-select-sm:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1), 0 4px 12px rgba(79, 70, 229, 0.2) !important;
    outline: none !important;
    transform: translateY(-1px) !important;
}

select option,
.form-select option {
    padding: 0.75rem !important;
    font-weight: 500 !important;
}

/* Стили для rounded-pill select */
.form-select.rounded-pill {
    border-radius: 50px !important;
    padding-left: 1.5rem !important;
    padding-right: 2.5rem !important;
}

/* Усиленные стили для всех select элементов - перекрывают Bootstrap */
select.form-select,
select.catalog-select,
.form-select.catalog-select,
select.form-select-sm,
.form-select.form-select-sm,
body select.form-select,
body select.catalog-select,
body .form-select.catalog-select {
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0.75rem 1.25rem !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    background-color: white !important;
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234f46e5' d='M6 9L1 4h10z'/%3E%3C/svg%3E") no-repeat right 1rem center / 12px !important;
    color: var(--dark) !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    padding-right: 2.5rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: none !important;
}

select.form-select:hover,
select.catalog-select:hover,
.form-select.catalog-select:hover,
select.form-select-sm:hover,
.form-select.form-select-sm:hover,
body select.form-select:hover,
body select.catalog-select:hover,
body .form-select.catalog-select:hover {
    border-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15) !important;
    transform: translateY(-1px) !important;
}

select.form-select:focus,
select.catalog-select:focus,
.form-select.catalog-select:focus,
select.form-select-sm:focus,
.form-select.form-select-sm:focus,
body select.form-select:focus,
body select.catalog-select:focus,
body .form-select.catalog-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1), 0 4px 12px rgba(79, 70, 229, 0.2) !important;
    outline: none !important;
    transform: translateY(-1px) !important;
}

select.form-select.rounded-pill,
select.catalog-select.rounded-pill,
.form-select.catalog-select.rounded-pill,
body select.form-select.rounded-pill,
body select.catalog-select.rounded-pill,
body .form-select.catalog-select.rounded-pill {
    border-radius: 50px !important;
    padding-left: 1.5rem !important;
    padding-right: 2.5rem !important;
}

/* Стили для select в форме отзывов */
select.review-select,
.form-select.review-select,
.form-select.form-select-sm.review-select,
body select.review-select,
body .form-select.review-select,
body .form-select.form-select-sm.review-select {
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0.75rem 1.25rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    background-color: white !important;
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234f46e5' d='M6 9L1 4h10z'/%3E%3C/svg%3E") no-repeat right 1rem center / 12px !important;
    color: var(--dark) !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    padding-right: 2.5rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: none !important;
}

select.review-select:hover,
.form-select.review-select:hover,
.form-select.form-select-sm.review-select:hover,
body select.review-select:hover,
body .form-select.review-select:hover,
body .form-select.form-select-sm.review-select:hover {
    border-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15) !important;
    transform: translateY(-1px) !important;
}

select.review-select:focus,
.form-select.review-select:focus,
.form-select.form-select-sm.review-select:focus,
body select.review-select:focus,
body .form-select.review-select:focus,
body .form-select.form-select-sm.review-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1), 0 4px 12px rgba(79, 70, 229, 0.2) !important;
    outline: none !important;
    transform: translateY(-1px) !important;
}

/* 18. Улучшенные dropdowns */
.dropdown-toggle {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.dropdown-toggle::after {
    margin-left: 0.5rem !important;
    transition: transform 0.3s ease !important;
    border-top-color: currentColor !important;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg) !important;
}

.dropdown-menu {
    border-radius: 16px !important;
    border: 2px solid #e2e8f0 !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05) !important;
    padding: 0.75rem !important;
    margin-top: 0.75rem !important;
    background: white !important;
    backdrop-filter: blur(10px) !important;
    animation: dropdownFadeIn 0.3s ease !important;
    min-width: 200px !important;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-item {
    border-radius: 12px !important;
    padding: 0.75rem 1.25rem !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-weight: 500 !important;
    color: var(--dark) !important;
    margin-bottom: 0.25rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.dropdown-item:last-child {
    margin-bottom: 0 !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
    color: white !important;
    transform: translateX(4px) !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3) !important;
}

.dropdown-item.active,
.dropdown-item:active {
    background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
    color: white !important;
}

.dropdown-item i {
    font-size: 1.1rem !important;
    width: 20px !important;
    text-align: center !important;
}


/* Ghost backdrops should never block header clicks */
.modal-backdrop:not(.show),
.offcanvas-backdrop:not(.show),
.onboarding-overlay.onboarding-out {
    pointer-events: none !important;
}
.dropdown-divider {
    margin: 0.5rem 0 !important;
    border-color: #e2e8f0 !important;
    opacity: 1 !important;
}

.dropdown-header {
    padding: 0.75rem 1.25rem !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    color: var(--slate) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 0.5rem !important;
}

/* 19. Улучшенные пагинации */
.pagination {
    gap: 8px;
}

.page-link {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 10px 16px;
    color: var(--dark);
    transition: all 0.2s ease;
}

.page-link:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* 20. Улучшенная мобильная адаптивность */
@media (max-width: 768px) {
    .toast-container {
        right: 10px;
        left: 10px;
        top: 70px;
    }
    
    .toast-custom {
        min-width: auto;
        max-width: 100%;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .card-modern {
        border-radius: 12px;
    }
    
    .modal-content {
        border-radius: 16px;
        margin: 10px;
    }
}

/* 21. Accessibility improvements */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* 22. Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* 23. Selection color */
::selection {
    background: rgba(79, 70, 229, 0.2);
    color: var(--dark);
}

/* 24. Улучшенные transitions для всех элементов */
a, button, .btn, input, select, textarea, .card, .catalog-card, .bento-box {
    will-change: transform;
}

/* Секция "Управление рекламой в одном окне" */
.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-tab-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent !important;
}

.feature-tab-btn:hover {
    transform: translateX(8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

.feature-tab-btn:hover .position-absolute {
    opacity: 1 !important;
}

.feature-tab-btn.active {
    border-color: var(--primary) !important;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(255, 255, 255, 1) 100%) !important;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.15) !important;
    transform: translateX(5px);
}

.feature-tab-btn.active .position-absolute {
    opacity: 1 !important;
}

.browser-mockup {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.browser-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.browser-mockup:hover::before {
    left: 100%;
}

.browser-mockup:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.15) !important;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.browser-dot.red { background: #ff5f56; }
.browser-dot.yellow { background: #ffbd2e; }
.browser-dot.green { background: #27c93f; }

.bg-primary-subtle {
    background-color: rgba(79, 70, 229, 0.1) !important;
}

.bg-accent-subtle {
    background-color: rgba(244, 63, 94, 0.1) !important;
}

.bg-dark-subtle {
    background-color: rgba(15, 23, 42, 0.1) !important;
}

.text-accent {
    color: var(--accent) !important;
}

/* 25. Performance optimizations */
.catalog-card,
.bento-box,
.card-modern {
    contain: layout style paint;
}

/* Стили для страницы тарифов */
.pricing-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 1;
}

.pricing-card:hover::after {
    transform: scaleX(1);
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 25px 50px rgba(79, 70, 229, 0.2);
}

.pricing-card.border-primary {
    border-color: var(--primary) !important;
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.15) !important;
}

.pricing-card.border-primary::after {
    transform: scaleX(1);
}

.price-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.price-number.text-primary,
.price-number.text-accent {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.check-list-pricing {
    list-style: none;
    padding: 0;
}

.check-list-pricing li {
    margin-bottom: 15px;
    display: flex;
    align-items: start;
    gap: 12px;
    color: var(--slate);
    transition: all 0.2s ease;
}

.check-list-pricing li:hover {
    color: var(--dark);
    transform: translateX(5px);
}

.check-list-pricing i {
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.nav-pills-pricing {
    gap: 10px;
}

.nav-pills-pricing .nav-link {
    color: var(--slate);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    background: white;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.nav-pills-pricing .nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.nav-pills-pricing .nav-link.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.accordion-item {
    transition: all 0.3s ease;
    border-radius: 16px !important;
    overflow: hidden;
}

.accordion-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.accordion-button {
    font-weight: 600;
    border-radius: 16px !important;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(244, 63, 94, 0.05) 100%);
    color: var(--primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.15);
}

/* Стили для секции сравнения "Почему выбирают нас" */
.compare-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.compare-card.compare-bad:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.compare-card.compare-good {
    animation: pulse-glow 3s ease-in-out infinite;
}

.compare-card.compare-good:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 25px 70px rgba(79, 70, 229, 0.3) !important;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(79, 70, 229, 0.2);
    }
    50% {
        box-shadow: 0 20px 60px rgba(79, 70, 229, 0.3);
    }
}

.check-list-compare {
    list-style: none;
    padding: 0;
    margin: 0;
}

.compare-item-bad,
.compare-item-good {
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.compare-item-bad {
    background: rgba(239, 68, 68, 0.05);
    border-left: 3px solid #ef4444;
}

.compare-item-bad:hover {
    background: rgba(239, 68, 68, 0.1);
    transform: translateX(5px);
}

.compare-item-good {
    background: rgba(79, 70, 229, 0.05);
    border-left: 3px solid var(--primary);
}

.compare-item-good:hover {
    background: rgba(79, 70, 229, 0.1);
    transform: translateX(5px);
}

.compare-icon-bad,
.compare-icon-good {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.compare-icon-bad {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.compare-icon-good {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

.compare-icon-good i {
    display: inline-block !important;
    line-height: 1 !important;
    font-size: 1.2rem !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: var(--primary) !important;
}

.compare-icon-bad i {
    display: inline-block !important;
    line-height: 1 !important;
    font-size: 1.2rem !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: #ef4444 !important;
}

.compare-item-bad:hover .compare-icon-bad {
    background: rgba(239, 68, 68, 0.2);
    transform: scale(1.1);
}

.compare-item-good:hover .compare-icon-good {
    background: rgba(79, 70, 229, 0.2);
    transform: scale(1.1);
}

.vs-badge {
    position: relative;
    z-index: 10;
    animation: vs-pulse 2s ease-in-out infinite;
}

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

.bg-danger-subtle {
    background-color: rgba(239, 68, 68, 0.1) !important;
}

.bg-success-subtle {
    background-color: rgba(34, 197, 94, 0.1) !important;
}

.bg-warning-subtle {
    background-color: rgba(251, 191, 36, 0.1) !important;
}

.bg-info-subtle {
    background-color: rgba(59, 130, 246, 0.1) !important;
}

.text-danger-subtle {
    color: rgba(239, 68, 68, 0.8) !important;
}

.text-success-subtle {
    color: rgba(34, 197, 94, 0.8) !important;
}

.text-warning-subtle {
    color: rgba(251, 191, 36, 0.8) !important;
}

.text-info-subtle {
    color: rgba(59, 130, 246, 0.8) !important;
}

/* ============================================
   ЕДИНАЯ СИСТЕМА ДИЗАЙНА - MODERN MINIMALIST
   ============================================ */

/* Глобальные улучшения для единообразия */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Улучшенная типографика */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.02em;
    font-weight: 700;
}

/* Единые карточки для всех страниц */
.card-unified,
.bento-box,
.wallet-action-card,
.stat-card {
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.card-unified:hover,
.bento-box:hover,
.wallet-action-card:hover,
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.05);
    border-color: rgba(79, 70, 229, 0.15);
}

/* Стили для статистических карточек */
.stat-card {
    padding: 1.5rem;
    height: 100%;
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 0.875rem;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* -----------------------------
   Profile: Social stats cards
------------------------------*/
.social-stat-card {
    padding: 18px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden; /* чтобы ничего не "вылезало" за рамки */
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

/* Иконка соцсети в шапке карточки: компактнее и строго по центру */
.social-stat-card .icon-square {
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px;
    font-size: 1.15rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    padding: 0 !important;
}

.social-stat-card .icon-square i,
.social-stat-card .icon-square .bi {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

/* Длинные никнеймы: мягко обрезаем, не ломая правую часть шапки */
.social-stat-left{
    min-width: 0;
}
.social-stat-nick{
    max-width: 100%;
}

/* Раньше карточка была flex-row с отдельной "левой колонкой" под иконку.
   Мы перенесли иконку в шапку, поэтому эта обвязка больше не нужна. */
.social-stat-row {
    display: none;
}

.social-stat-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

.social-pill {
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.35rem 0.6rem;
    letter-spacing: 0.2px;
    white-space: nowrap;
    flex-shrink: 1;
}

.social-pill--placeholder {
    visibility: hidden;
}

.social-stat-header {
    min-height: 32px; /* выравниваем шапку у карточек с/без бейджа */
    width: 100%;
}

.social-stat-header {
    /* фиксируем раскладку: слева ник, справа (бейдж + корзина) */
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

/* Правая часть шапки карточки (бейдж + удалить) */
.social-stat-actions{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-self: end;
    max-width: 100%;
    min-width: 0;
}

.social-stat-actions .social-pill{
    flex: 0 1 auto;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.social-stat-actions .social-delete-btn {
    flex: 0 0 auto;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    min-width: 28px;
    padding: 0;
    border-radius: 999px;
}

.social-stat-actions .social-delete-btn i,
.social-stat-actions .social-delete-btn .bi {
    line-height: 1;
    font-size: 0.95rem;
}

.social-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    /* фиксируем высоту блока метрик, чтобы карточки не "плясали" */
    min-height: 152px;
}

.social-metric {
    min-width: 0;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 14px;
    padding: 10px 12px;
    transition: 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 82px;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04);
}

.social-metric:hover {
    background: rgba(79, 70, 229, 0.04);
    border-color: rgba(79, 70, 229, 0.22);
    transform: translateY(-1px);
}

.social-metric-label {
    color: var(--slate);
    font-size: 0.74rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    /* вместо обрезания ("Подпис...") — 2 строки */
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.social-metric-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    margin-top: 6px;
    letter-spacing: -0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.social-submetrics {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 48px;
}

.social-submetric {
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.25;
    min-width: 0;
}

.social-submetric {
    justify-content: space-between;
}

.social-submetric-label {
    color: var(--slate);
    font-weight: 600;
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60%;
}

.social-submetric-value {
    font-weight: 700;
    white-space: nowrap;
}

/* Кнопку обновления всегда прижимаем вниз карточки */
.social-update-btn {
    margin-top: auto !important;
}

.ig-connect-btn {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    font-weight: 800 !important;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-left: 14px;
    padding-right: 14px;
}

.ig-connect-block {
    min-height: 54px; /* чтобы высота карточек IG была стабильной */
}

.social-update-btn {
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.12);
}

@media (max-width: 576px) {
    .social-stat-card {
        padding: 16px;
    }
    .social-metric-grid {
        gap: 8px;
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .social-metric-value {
        font-size: 1.05rem;
    }
}

/* Единые hero-секции */
.hero-section,
.transaction-hero,
.wallet-hero {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.03) 0%, rgba(244, 63, 94, 0.03) 100%);
    border-radius: 24px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before,
.transaction-hero::before,
.wallet-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    pointer-events: none;
}

/* Единые кнопки */
.btn {
    font-weight: 600;
    letter-spacing: -0.01em;
    border-radius: 12px;
    padding: 12px 24px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: white;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

/* Единые формы */
.form-control,
.form-select {
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    padding: 12px 16px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
    transform: translateY(-1px);
}

/* Единые таблицы */
.table-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.table-modern thead {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.table-modern thead th {
    border: none;
    padding: 1.25rem 1rem;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.table-modern tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.table-modern tbody tr:hover {
    background: #f8fafc;
    transform: scale(1.005);
}

.table-modern tbody tr:last-child {
    border-bottom: none;
}

/* Единые badges */
.badge {
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 6px 12px;
    border-radius: 8px;
}

/* Единые алерты */
.alert {
    border-radius: 12px;
    border: none;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

/* Единые иконки в квадратах */
.icon-square {
    border-radius: 16px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.icon-square:hover {
    transform: scale(1.05);
}

/* Иконки для транзакций и заказов */
.transaction-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Единые разделители */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin: 3rem 0;
    border: none;
}

/* Единые пагинации */
.pagination {
    gap: 8px;
}

.page-link {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 10px 16px;
    color: var(--dark);
    font-weight: 500;
    transition: all 0.2s ease;
}

.page-link:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

/* Единые модальные окна */
.modal-content {
    border-radius: 24px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid #f1f5f9;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc, white);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    border-top: 1px solid #f1f5f9;
    padding: 20px 24px;
    background: #f8fafc;
}

/* Единые dropdown меню */
.dropdown-menu {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 8px;
    margin-top: 8px;
    animation: dropdownFadeIn 0.2s ease;
}

.dropdown-item {
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 4px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(244, 63, 94, 0.1));
    transform: translateX(4px);
}

/* Единые навигационные табы */
.nav-pills .nav-link {
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.nav-pills .nav-link.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.nav-pills .nav-link:not(.active) {
    background: white;
    color: var(--slate);
    border-color: #e2e8f0;
}

.nav-pills .nav-link:not(.active):hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Единые списки транзакций/заказов */
.transaction-item,
.order-item {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.transaction-item:hover,
.order-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: rgba(79, 70, 229, 0.15);
}

/* Единые секции загрузки файлов */
.upload-section {
    background: linear-gradient(135deg, #fff9e6, #fffbf0);
    border: 2px solid #ffc107;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.upload-section:hover {
    border-color: #ffb300;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.2);
}

/* Улучшенная адаптивность */
@media (max-width: 768px) {
    .hero-section,
    .transaction-hero,
    .wallet-hero {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .card-unified,
    .bento-box,
    .wallet-action-card,
    .stat-card {
        border-radius: 16px;
        padding: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* Плавные анимации появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Единые тени */
.shadow-soft {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
}

.shadow-medium {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.shadow-strong {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Единые градиенты текста */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Единые разделители секций */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--slate);
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Улучшенные инпуты файлов */
input[type="file"] {
    border-radius: 12px;
    padding: 12px;
    border: 2px dashed #e2e8f0;
    transition: all 0.2s ease;
    cursor: pointer;
}

input[type="file"]:hover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.02);
}

input[type="file"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* Единые статусы */
.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.01em;
}

/* Улучшенная навигация */
.navbar-glass {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Контент не заходит под fixed-top навбар */
#main-content {
    padding-top: 76px;
}

/* Единые контейнеры */
.container-modern {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Улучшенные ссылки */
a {
    text-decoration: none;
    transition: all 0.2s ease;
    color: var(--primary);
}

a:hover {
    color: var(--accent);
}

/* Единые списки */
.list-modern {
    list-style: none;
    padding: 0;
}

.list-modern li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 12px;
}

.list-modern li:last-child {
    border-bottom: none;
}

/* Улучшенные чекбоксы и радио */
.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* Единые аккордеоны */
.accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-button {
    border-radius: 12px !important;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(244, 63, 94, 0.05));
    color: var(--primary);
}

/* Единые прогресс-бары */
.progress {
    height: 8px;
    border-radius: 10px;
    background: #f1f5f9;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
}

/* Улучшенные tooltips */
.tooltip {
    font-size: 0.875rem;
}

.tooltip-inner {
    background: var(--dark);
    border-radius: 8px;
    padding: 8px 12px;
}

/* Единые спиннеры */
.spinner-border {
    width: 1.5rem;
    height: 1.5rem;
    border-width: 2px;
}

/* Улучшенная доступность */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Улучшенное выделение текста */
::selection {
    background: rgba(79, 70, 229, 0.2);
    color: var(--dark);
}

/* Единые утилиты для отступов */
.spacing-section {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .spacing-section {
        padding: 2rem 0;
    }
}

/* Анимация bounce для scroll indicator */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Улучшенные hover эффекты для карточек */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15) !important;
}

/* Улучшенные градиенты для текста */
.text-gradient {
    background: linear-gradient(135deg, #4f46e5 0%, #f43f5e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism эффекты */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Улучшенные тени */
.shadow-glow {
    box-shadow: 0 20px 60px rgba(79, 70, 229, 0.3) !important;
}

.shadow-glow:hover {
    box-shadow: 0 25px 80px rgba(79, 70, 229, 0.4) !important;
}

/* Выравнивание иконок в badge и button элементах */
.badge i,
.badge .bi,
.btn i,
.btn .bi {
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

.badge.d-inline-flex i,
.badge.d-inline-flex .bi,
.btn.d-inline-flex i,
.btn.d-inline-flex .bi {
    vertical-align: baseline;
}

/* Улучшенное выравнивание для icon-square в flex контейнерах */
.d-inline-flex .icon-square,
.d-flex .icon-square {
    flex-shrink: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.d-inline-flex .icon-square i,
.d-flex .icon-square i,
.d-inline-flex .icon-square .bi,
.d-flex .icon-square .bi {
    line-height: 1 !important;
    vertical-align: baseline !important;
}

/* ============================================
   КРЕАТИВНАЯ HERO SECTION
   ============================================ */

.hero-creative {
    position: relative;
    padding: 160px 0 120px;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 50%, #f8fafc 100%);
}

.hero-creative-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-creative-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(244, 63, 94, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 60%);
    animation: gradient-move 20s ease infinite;
}

@keyframes gradient-move {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.hero-creative-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-creative-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: orb-float 15s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.3), transparent 70%);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.25), transparent 70%);
    bottom: -10%;
    right: -5%;
    animation-delay: 3s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 6s;
}

.orb-4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 70%);
    top: 20%;
    right: 15%;
    animation-delay: 9s;
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 30px) scale(1.05); }
}

.hero-creative-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(79, 70, 229, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 70, 229, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.hero-creative-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(40px);
    opacity: 0.15;
    animation: shape-morph 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    top: 15%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #f43f5e, #ec4899);
    bottom: 20%;
    left: 8%;
    animation-delay: 5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    top: 60%;
    right: 25%;
    animation-delay: 10s;
}

@keyframes shape-morph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(0deg); }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; transform: rotate(90deg); }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; transform: rotate(180deg); }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; transform: rotate(270deg); }
}

.hero-creative-wrapper {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* Trust Badge */
.hero-creative-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    margin-bottom: 48px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero-creative-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.12);
    border-color: rgba(79, 70, 229, 0.3);
}

.hero-badge-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1), transparent 70%);
    transform: translate(-50%, -50%);
    animation: badge-glow 3s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

.hero-badge-icon {
    position: relative;
    z-index: 1;
    color: #22c55e;
    font-size: 1.1rem;
    animation: icon-bounce 2s ease-in-out infinite;
}

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.hero-badge-text {
    position: relative;
    z-index: 1;
}

/* Creative Title */
.hero-creative-title {
    font-size: clamp(3.5rem, 9vw, 6.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -0.04em;
    color: #0f172a;
}

.hero-title-line-1 {
    display: block;
    margin-bottom: 8px;
}

.hero-title-word {
    display: inline-block;
    margin-right: 12px;
    transition: transform 0.3s ease;
}

.hero-title-word:hover {
    transform: translateY(-4px);
}

.hero-title-line-2 {
    display: block;
}

.hero-title-gradient {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 30%, #ec4899 60%, #f43f5e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 300% 300%;
    animation: gradient-flow 10s ease infinite;
    position: relative;
    display: inline-block;
}

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

.hero-title-gradient::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.3), rgba(244, 63, 94, 0.3));
    border-radius: 50px;
    animation: underline-grow 1s ease-out;
}

@keyframes underline-grow {
    from { width: 0; }
    to { width: 100%; }
}

/* Subtitle */
.hero-creative-subtitle-wrapper {
    margin-bottom: 24px;
    padding: 0 1rem;
}

.hero-creative-subtitle {
    font-size: clamp(1.35rem, 3.5vw, 2rem);
    font-weight: 600;
    color: #475569;
    letter-spacing: -0.01em;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    margin: 0 auto;
}

.hero-subtitle-text {
    display: block;
    width: 100%;
}

.hero-platforms {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    justify-content: center;
    white-space: nowrap;
}

.hero-platform {
    color: #4f46e5;
    font-weight: 700;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hero-platform:hover {
    color: #f43f5e;
    transform: translateY(-2px);
}

.hero-platform-separator {
    color: #cbd5e1;
    font-weight: 400;
    margin: 0 2px;
}

/* Description */
.hero-creative-description {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: #64748b;
}

.hero-desc-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.hero-desc-item i {
    color: #4f46e5;
    font-size: 1.1rem;
}

.hero-desc-separator {
    color: #cbd5e1;
    font-weight: 300;
}

/* Enhanced Search */
.hero-creative-search {
    margin-bottom: 40px;
}

.hero-search-enhanced {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 780px;
    margin: 0 auto;
    overflow: hidden;
}

.hero-search-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.1), transparent);
    transition: left 0.5s ease;
}

.hero-search-enhanced:focus-within::before {
    left: 100%;
}

.hero-search-enhanced:focus-within {
    border-color: #4f46e5;
    box-shadow: 0 12px 48px rgba(79, 70, 229, 0.15);
    transform: translateY(-3px);
}

.hero-search-icon-wrapper {
    color: #64748b;
    font-size: 1.3rem;
    padding: 0 18px;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.hero-search-enhanced:focus-within .hero-search-icon-wrapper {
    color: #4f46e5;
}

.hero-search-input-enhanced {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 16px 8px;
    font-size: 1.05rem;
    color: #1e293b;
    outline: none;
    font-weight: 500;
}

.hero-search-input-enhanced::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.hero-search-suggestions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border-left: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.hero-search-hint {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

.hero-search-suggestion {
    font-size: 0.75rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-search-suggestion:hover {
    background: #e2e8f0;
    color: #4f46e5;
}

.hero-search-btn-enhanced {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    border: 0;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

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

.hero-search-btn-enhanced:hover::before {
    left: 100%;
}

.hero-search-btn-enhanced:hover {
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
    transform: translateX(3px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

.hero-search-btn-enhanced i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.hero-search-btn-enhanced:hover i {
    transform: translateX(3px);
}

/* Creative Categories */
.hero-creative-categories {
    margin-bottom: 52px;
}

.hero-categories-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
}

.hero-categories-header i {
    color: #f43f5e;
    font-size: 1.1rem;
    animation: fire-pulse 2s ease-in-out infinite;
}

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

.hero-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}

.hero-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 16px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    color: #475569;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(244, 63, 94, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-category-card:hover::before {
    opacity: 1;
}

.hero-category-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.hero-category-icon {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.hero-category-card:hover .hero-category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-lifestyle .hero-category-icon {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(79, 70, 229, 0.05));
    color: #4f46e5;
}

.category-lifestyle:hover {
    border-color: #4f46e5;
    color: #4f46e5;
}

.category-beauty .hero-category-icon {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.1), rgba(244, 63, 94, 0.05));
    color: #f43f5e;
}

.category-beauty:hover {
    border-color: #f43f5e;
    color: #f43f5e;
}

.category-auto .hero-category-icon {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.05));
    color: #0f172a;
}

.category-auto:hover {
    border-color: #0f172a;
    color: #0f172a;
}

.category-business .hero-category-icon {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(79, 70, 229, 0.05));
    color: #4f46e5;
}

.category-business:hover {
    border-color: #4f46e5;
    color: #4f46e5;
}

.hero-category-card span {
    position: relative;
    z-index: 1;
}

/* Enhanced CTA Buttons */
.hero-creative-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-btn-creative-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    color: white;
    border: 0;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(79, 70, 229, 0.35);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.hero-btn-creative-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.hero-btn-creative-primary:hover::after {
    width: 300px;
    height: 300px;
}

.hero-btn-creative-primary:hover {
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 50%, #db2777 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 48px rgba(79, 70, 229, 0.45);
    color: white;
}

.hero-btn-text {
    position: relative;
    z-index: 1;
}

.hero-btn-icon {
    position: relative;
    z-index: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.hero-btn-creative-primary:hover .hero-btn-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(15deg) scale(1.1);
}

.hero-btn-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.hero-btn-creative-secondary {
    display: inline-flex;
    align-items: center;
    padding: 18px 36px;
    background: white;
    color: #1e293b;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero-btn-creative-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.05), transparent);
    transition: left 0.5s ease;
}

.hero-btn-creative-secondary:hover::before {
    left: 100%;
}

.hero-btn-creative-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    color: #1e293b;
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero-creative {
        padding: 140px 0 100px;
        min-height: auto;
    }
    
    .hero-creative-title {
        margin-bottom: 24px;
    }
    
    .hero-creative-subtitle {
        margin-bottom: 20px;
    }
    
    .hero-creative-description {
        margin-bottom: 40px;
    }
    
    .hero-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-creative {
        padding: 100px 0 60px;
    }
    
    .hero-creative-wrapper {
        padding: 0 0.5rem;
    }
    
    .hero-creative-badge {
        padding: 8px 14px;
        font-size: 0.8rem;
        margin-bottom: 28px;
    }
    
    .hero-badge-text {
        font-size: 0.75rem;
    }
    
    .hero-creative-title {
        margin-bottom: 18px;
        font-size: clamp(2rem, 7vw, 3rem);
        line-height: 1.2;
    }
    
    .hero-creative-subtitle {
        font-size: 1.1rem;
        margin-bottom: 14px;
        line-height: 1.6;
        flex-direction: column;
        gap: 6px;
        justify-content: center;
        text-align: center;
    }
    
    .hero-subtitle-text {
        display: block;
    }
    
    .hero-platforms {
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        flex-wrap: nowrap;
        justify-content: center;
        white-space: nowrap;
    }
    
    .hero-platform {
        font-size: 1.1rem;
        white-space: nowrap;
    }
    
    .hero-platform-separator {
        display: inline;
        margin: 0 2px;
    }
    
    .hero-creative-description {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 28px;
        font-size: 0.9rem;
        justify-content: center;
    }
    
    .hero-desc-separator {
        display: inline;
    }
    
    .hero-search-enhanced {
        flex-direction: column;
        border-radius: 14px;
        padding: 12px;
        gap: 10px;
    }
    
    .hero-search-icon-wrapper {
        display: none;
    }
    
    .hero-search-input-enhanced {
        padding: 12px 14px;
        width: 100%;
        text-align: left;
        font-size: 0.95rem;
    }
    
    .hero-search-suggestions {
        border-left: 0;
        border-top: 1px solid #e2e8f0;
        padding-top: 10px;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .hero-search-hint {
        font-size: 0.75rem;
    }
    
    .hero-search-suggestion {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    .hero-search-btn-enhanced {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    .hero-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .hero-category-card {
        padding: 14px 10px;
        font-size: 0.8rem;
    }
    
    .hero-category-icon {
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    
    .hero-creative-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .hero-btn-creative-primary,
    .hero-btn-creative-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .hero-creative-orbs .orb-1,
    .hero-creative-orbs .orb-2,
    .hero-creative-orbs .orb-3,
    .hero-creative-orbs .orb-4 {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 576px) {
    /* Hero секция - улучшенная адаптивность */
    .hero-creative {
        padding: 80px 0 50px;
        min-height: auto;
    }
    
    .hero-creative-wrapper {
        padding: 0 1rem;
    }
    
    .hero-creative-badge {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        padding: 8px 12px;
        font-size: 0.75rem;
        margin-bottom: 24px;
        justify-content: center;
    }
    
    .hero-badge-text {
        font-size: 0.7rem;
    }
    
    .hero-creative-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero-title-line-1,
    .hero-title-line-2 {
        display: block;
        margin-bottom: 4px;
    }
    
    .hero-creative-subtitle {
        font-size: 0.95rem;
        margin-bottom: 12px;
        line-height: 1.6;
        flex-direction: column;
        gap: 6px;
        justify-content: center;
        text-align: center;
    }
    
    .hero-creative-subtitle-wrapper {
        padding: 0 0.5rem;
    }
    
    .hero-subtitle-text {
        display: block;
    }
    
    .hero-platforms {
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        gap: 4px;
        flex-wrap: nowrap;
        justify-content: center;
        white-space: nowrap;
    }
    
    .hero-platform {
        font-size: 0.95rem;
        white-space: nowrap;
    }
    
    .hero-platform-separator {
        display: inline;
        margin: 0 1px;
        font-size: 0.9rem;
    }
    
    .hero-creative-description {
        font-size: 0.85rem;
        margin-bottom: 24px;
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-desc-item {
        font-size: 0.8rem;
    }
    
    .hero-desc-item i {
        font-size: 0.9rem;
        margin-right: 4px;
    }
    
    .hero-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .hero-category-card {
        padding: 12px 8px;
        font-size: 0.75rem;
    }
    
    .hero-category-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    
    .hero-platforms {
        flex-direction: column;
        gap: 4px;
        margin-left: 0;
        margin-top: 8px;
        display: inline-flex;
    }
    
    .hero-platform {
        font-size: 0.9rem;
    }
    
    .hero-platform-separator {
        display: none;
    }
    
    .hero-search-enhanced {
        padding: 10px;
        gap: 10px;
        border-radius: 14px;
    }
    
    .hero-search-input-enhanced {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .hero-search-suggestions {
        padding-top: 10px;
        gap: 6px;
    }
    
    .hero-search-hint {
        font-size: 0.7rem;
    }
    
    .hero-search-suggestion {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .hero-search-btn-enhanced {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .hero-creative-actions {
        gap: 10px;
    }
    
    .hero-btn-creative-primary,
    .hero-btn-creative-secondary {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
    
    /* Уменьшаем размеры орбов на мобильных */
    .hero-creative-orbs .orb-1,
    .hero-creative-orbs .orb-2,
    .hero-creative-orbs .orb-3,
    .hero-creative-orbs .orb-4 {
        width: 150px;
        height: 150px;
    }
}

/* ============================================
   ПРЕМИУМ КАРТОЧКИ БЛОГЕРОВ (КРАСИВЫЙ РЕДИЗАЙН)
   ============================================ */

.blogger-card-premium {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.blogger-card-premium:hover {
    color: inherit;
    text-decoration: none;
}

.blogger-card-premium-inner {
    position: relative;
    height: 100%;
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.blogger-card-premium-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #4f46e5, #f43f5e);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.blogger-card-premium-inner:hover::before {
    transform: scaleX(1);
}

.blogger-card-premium-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 8% 12%, rgba(79, 70, 229, 0.06), transparent 45%),
        radial-gradient(circle at 92% 8%, rgba(244, 63, 94, 0.06), transparent 42%);
    opacity: 0.85;
    pointer-events: none;
    z-index: 0;
}

.blogger-card-premium-inner > * {
    position: relative;
    z-index: 1;
}

.blogger-card-premium-inner.platform-instagram::before {
    background: linear-gradient(90deg, #ec4899, #f97316);
}

.blogger-card-premium-inner.platform-tiktok::before {
    background: linear-gradient(90deg, #0f172a, #6366f1);
}

.blogger-card-premium-inner.platform-youtube::before {
    background: linear-gradient(90deg, #ef4444, #a855f7);
}

.blogger-card-premium-inner.platform-vk::before {
    background: linear-gradient(90deg, #0077FF, #38BDF8);
}

.blogger-card-premium-inner.platform-ok::before {
    background: linear-gradient(90deg, #FF7700, #F59E0B);
}

.blogger-card-premium-inner.platform-facebook::before {
    background: linear-gradient(90deg, #1877F2, #60A5FA);
}

.blogger-card-premium-inner.platform-likee::before {
    background: linear-gradient(90deg, #FF4C51, #FB7185);
}

.blogger-card-premium-inner.platform-twitch::before {
    background: linear-gradient(90deg, #9146FF, #A78BFA);
}

.blogger-card-premium-inner:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12), 0 10px 30px rgba(79, 70, 229, 0.14);
    border-color: rgba(79, 70, 229, 0.35);
}

.blogger-card-premium-inner.verified {
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: 0 10px 36px rgba(79, 70, 229, 0.12);
}

.blogger-card-premium-inner.verified:hover {
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.16), 0 16px 50px rgba(79, 70, 229, 0.25);
    border-color: rgba(79, 70, 229, 0.5);
}

/* Header */
.blogger-card-header {
    position: relative;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12) 0%, rgba(244, 63, 94, 0.10) 100%);
    padding: 14px 16px;
    overflow: hidden;
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.blogger-card-premium-inner.platform-instagram .blogger-card-header {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.14) 0%, rgba(249, 115, 22, 0.12) 100%);
}

.blogger-card-premium-inner.platform-tiktok .blogger-card-header {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.12) 0%, rgba(99, 102, 241, 0.12) 100%);
}

.blogger-card-premium-inner.platform-youtube .blogger-card-header {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.14) 0%, rgba(168, 85, 247, 0.10) 100%);
}

.blogger-card-premium-inner.platform-vk .blogger-card-header {
    background: linear-gradient(135deg, rgba(0, 119, 255, 0.14) 0%, rgba(56, 189, 248, 0.12) 100%);
}

.blogger-card-premium-inner.platform-ok .blogger-card-header {
    background: linear-gradient(135deg, rgba(255, 119, 0, 0.14) 0%, rgba(245, 158, 11, 0.12) 100%);
}

.blogger-card-premium-inner.platform-facebook .blogger-card-header {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.14) 0%, rgba(96, 165, 250, 0.12) 100%);
}

.blogger-card-premium-inner.platform-likee .blogger-card-header {
    background: linear-gradient(135deg, rgba(255, 76, 81, 0.14) 0%, rgba(251, 113, 133, 0.12) 100%);
}

.blogger-card-premium-inner.platform-twitch .blogger-card-header {
    background: linear-gradient(135deg, rgba(145, 70, 255, 0.14) 0%, rgba(167, 139, 250, 0.12) 100%);
}

.blogger-card-premium-inner.verified .blogger-card-header {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
}

.blogger-card-header::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -25%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08), transparent 70%);
    border-radius: 50%;
}

.blogger-card-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.blogger-card-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Verified Badge */
.blogger-card-verified-badge {
    position: static;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(79, 70, 229, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
}

.blogger-card-verified-badge i {
    font-size: 0.9rem;
}

/* Avatar */
.blogger-card-avatar-wrapper {
    position: static;
    z-index: 1;
    flex-shrink: 0;
}

.blogger-card-avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    border: 3px solid white;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18), 0 6px 16px rgba(79, 70, 229, 0.12);
    background: white;
    display: block;
    transition: transform 0.25s ease;
}

.blogger-card-premium-inner:hover .blogger-card-avatar {
    transform: scale(1.05) rotate(2deg);
}

.blogger-card-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e7ff 0%, #fae8ff 100%);
    color: #4f46e5;
    font-size: 2.6rem;
}

/* Compare toggle (каталог) */
.compare-toggle-wrap {
    position: static;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.compare-toggle-wrap:hover {
    transform: scale(1.08);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
    border-color: rgba(79, 70, 229, 0.3);
}

.compare-toggle {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
    margin: 0;
}

/* Platforms */
.blogger-card-platforms {
    position: static;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
    z-index: 2;
}

.blogger-card-platform-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #475569;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.blogger-card-platform-icon:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.blogger-card-platform-icon i.bi-instagram {
    color: #e4405f;
}

.blogger-card-platform-icon i.bi-tiktok {
    color: #000000;
}

.blogger-card-platform-icon i.bi-youtube {
    color: #ff0000;
}

.blogger-card-platform-icon i.bi-telegram {
    color: #0088cc;
}

.blogger-card-platform-icon i.bi-at,
.blogger-card-platform-icon i.bi-twitter {
    color: #0f172a;
}

.blogger-card-platform-empty {
    background: rgba(148, 163, 184, 0.2);
    color: #94a3b8;
}

.blogger-card-platform-more {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

/* Content */
.blogger-card-content {
    flex: 1;
    padding: 16px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
}

.blogger-card-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blogger-card-identity-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Name */
.blogger-card-name {
    font-size: 1.05rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0;
    text-align: left;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.2px;
}

.blogger-card-verified-icon {
    color: #4f46e5;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Location */
.blogger-card-location {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 600;
    min-height: 1.2em;
}

.blogger-card-location i {
    color: #f43f5e;
    font-size: 0.95rem;
}

.blogger-card-location span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.blogger-card-location i {
    color: #f43f5e;
    font-size: 0.9rem;
}

/* Categories */
.blogger-card-categories {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 28px;
}

.blogger-card-category-tag {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12) 0%, rgba(124, 58, 237, 0.10) 100%);
    color: #4f46e5;
    border: 1px solid rgba(79, 70, 229, 0.25);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.08);
}

.blogger-card-category-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.18) 0%, rgba(124, 58, 237, 0.15) 100%);
}

.blogger-card-category-empty {
    display: inline-block;
    padding: 4px 10px;
    color: #94a3b8;
    font-size: 0.75rem;
    font-style: italic;
}

/* Бейджи достижений в карточках каталога */
.blogger-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 8px;
}

.blogger-card-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1.5px solid #fbbf24;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #92400e;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(251, 191, 36, 0.15);
    white-space: nowrap;
}

.blogger-card-badge-item:hover {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
}

.blogger-card-badge-item i {
    font-size: 0.85rem;
    line-height: 1;
}

/* Platforms Detailed (NEW - Shows platforms with followers) */
.blogger-card-platforms-detailed {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 12px 0;
    padding: 12px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.03) 0%, rgba(244, 63, 94, 0.03) 100%);
    border-radius: 12px;
    border: 1px solid rgba(79, 70, 229, 0.1);
    /* фиксируем высоту блока, чтобы "+N еще" не делало карточки разной высоты */
    min-height: 0;
}

/* Новая сетка метрик для каталога */
.blogger-card-metrics {
    margin: 10px 0 6px;
}

.blogger-card-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.blogger-card-metric {
    border: 1.5px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.92) 100%);
    border-radius: 14px;
    padding: 10px 12px;
    min-width: 0;
    min-height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.blogger-card-metric:hover {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(124, 58, 237, 0.06) 100%);
    border-color: rgba(79, 70, 229, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.12);
}

.blogger-card-metric-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--slate);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.2px;
    min-width: 0;
}

.blogger-card-metric-label i {
    color: var(--primary);
    font-size: 0.9rem;
}

.blogger-card-metric-value {
    font-size: 1rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blogger-card-metric-empty {
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.82rem;
}

.blogger-card-meta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 10px;
}

.blogger-card-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.10) 0%, rgba(124, 58, 237, 0.08) 100%);
    border: 1.5px solid rgba(79, 70, 229, 0.20);
    color: #334155;
    font-weight: 800;
    font-size: 0.82rem;
    line-height: 1;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.08);
}

.blogger-card-meta-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.15);
}

.blogger-card-meta-chip i {
    color: var(--primary);
}

.blogger-card-meta-chip--muted {
    background: rgba(15, 23, 42, 0.03);
    border-color: rgba(15, 23, 42, 0.06);
    color: #64748b;
}

/* Trust badges (бейджи доверия) */
.blogger-card-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    border: 1.5px solid rgba(226, 232, 240, 0.8);
    color: #0f172a;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.trust-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.10);
}

.trust-badge--verified {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12) 0%, rgba(124, 58, 237, 0.10) 100%);
    border-color: rgba(79, 70, 229, 0.35);
    color: #4338ca;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.15);
}

.trust-badge--fresh {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.10) 100%);
    border-color: rgba(16, 185, 129, 0.35);
    color: #0f766e;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.trust-badge--stale {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.10) 0%, rgba(225, 29, 72, 0.08) 100%);
    border-color: rgba(244, 63, 94, 0.30);
    color: #be123c;
    box-shadow: 0 2px 8px rgba(244, 63, 94, 0.12);
}

@media (max-width: 576px) {
    .blogger-card-metric-grid {
        gap: 8px;
    }
    .blogger-card-metric {
        padding: 9px 10px;
        min-height: 62px;
    }
    .blogger-card-metric-value {
        font-size: 1rem;
    }
}

.blogger-card-platform-item-detailed {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.blogger-card-platform-item-detailed:hover {
    border-color: #4f46e5;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.15);
    transform: translateX(2px);
}

.blogger-card-platform-icon-detailed {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(244, 63, 94, 0.1));
}

.blogger-card-platform-icon-detailed i.bi-instagram {
    color: #e4405f;
}

.blogger-card-platform-icon-detailed i.bi-tiktok {
    color: #000000;
}

.blogger-card-platform-icon-detailed i.bi-youtube {
    color: #ff0000;
}

.blogger-card-platform-icon-detailed i.bi-telegram {
    color: #0088cc;
}

.blogger-card-platform-icon-detailed i.bi-at,
.blogger-card-platform-icon-detailed i.bi-twitter {
    color: #0f172a;
}

.blogger-card-platform-info-detailed {
    flex: 1;
    min-width: 0;
}

.blogger-card-platform-name-detailed {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.blogger-card-platform-followers-detailed {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.blogger-card-platform-empty-detailed {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    color: #94a3b8;
    font-size: 0.85rem;
    font-style: italic;
    justify-content: center;
}

.blogger-card-platform-more-detailed {
    display: none;
    text-align: center;
    padding: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 8px;
}

/* На узких карточках не даём иконкам платформ в шапке переноситься в 2 строки */
.blogger-card-platforms {
    flex-wrap: nowrap;
}

/* Advantages (Rating, Reviews, Total Followers) */
.blogger-card-advantages {
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    margin: 8px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    gap: 8px;
}

.blogger-card-advantage-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 4px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.blogger-card-advantage-item:hover {
    background: rgba(79, 70, 229, 0.05);
    transform: translateY(-2px);
}

.blogger-card-advantage-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(244, 63, 94, 0.1));
    color: #4f46e5;
}

.blogger-card-advantage-content {
    text-align: center;
}

.blogger-card-advantage-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 2px;
}

.blogger-card-advantage-label {
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Stats (OLD - keeping for compatibility) */
.blogger-card-stats {
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    margin: 6px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.blogger-card-stat {
    text-align: center;
    flex: 1;
}

.blogger-card-stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 4px;
}

.blogger-card-stat-empty {
    color: #cbd5e1;
    font-weight: 400;
}

.blogger-card-stat-label {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.blogger-card-stat-label i {
    font-size: 0.75rem;
}

/* Price */
.blogger-card-price {
    text-align: left;
    padding: 12px 0 8px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    margin-top: 4px;
}

.blogger-card-price-label {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.blogger-card-price-value {
    font-size: 1.45rem;
    font-weight: 900;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.blogger-card-services {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.blogger-card-service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(248, 250, 252, 0.8);
    flex-wrap: wrap;
}

.blogger-card-service-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blogger-card-service-platform {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.blogger-card-service-platform i {
    font-size: 0.85rem;
}

.blogger-card-service-platform .bi-instagram {
    color: #e4405f;
}

.blogger-card-service-platform .bi-tiktok {
    color: #0f172a;
}

.blogger-card-service-platform .bi-youtube {
    color: #ff0000;
}

.blogger-card-service-price {
    font-size: 0.86rem;
    font-weight: 800;
    color: #4f46e5;
    white-space: nowrap;
}

.blogger-card-price-empty {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 600;
}

.blogger-card-price-empty i {
    font-size: 1rem;
}

/* Footer CTA */
.blogger-card-footer {
    flex-shrink: 0;
    padding: 12px 18px 16px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.6) 0%, rgba(255, 255, 255, 1) 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    margin-top: auto;
}

.blogger-card-footer .d-flex {
    min-width: 0;
    width: 100%;
}

.blogger-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    border-radius: 14px;
    font-weight: 800;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.25);
    letter-spacing: 0.2px;
}

.blogger-card-premium-inner:hover .blogger-card-cta {
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.35);
}

.blogger-card-cta i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.blogger-card-premium-inner:hover .blogger-card-cta i {
    transform: translateX(3px);
}

/* Favorite Button */
.blogger-card-favorite-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(244, 63, 94, 0.1);
    border: 2px solid rgba(244, 63, 94, 0.2);
    border-radius: 12px;
    color: #f43f5e;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.blogger-card-favorite-btn:hover {
    background: #f43f5e;
    border-color: #f43f5e;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
}

.blogger-card-favorite-btn i {
    font-size: 1.1rem;
}

/* UGC Creator card variant */
.blogger-card-premium-inner.ugc::before {
    background: linear-gradient(90deg, #f59e0b, #f97316);
}

.blogger-card-premium-inner.ugc::after {
    background:
        radial-gradient(circle at 12% 16%, rgba(245, 158, 11, 0.04), transparent 44%),
        radial-gradient(circle at 88% 10%, rgba(251, 113, 133, 0.04), transparent 38%);
}

.blogger-card-premium-inner.ugc {
    border-color: rgba(15, 23, 42, 0.08);
}

.blogger-card-premium-inner.ugc:hover {
    border-color: rgba(79, 70, 229, 0.35);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12), 0 10px 30px rgba(79, 70, 229, 0.14);
}

/* Fallback hover trigger from outer clickable wrapper */
.blogger-card-premium:hover .blogger-card-premium-inner.ugc {
    transform: translateY(-6px);
    border-color: rgba(79, 70, 229, 0.35);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12), 0 10px 30px rgba(79, 70, 229, 0.14);
}

.blogger-card-premium:hover .blogger-card-premium-inner.ugc::before {
    transform: scaleX(1);
}

.blogger-card-premium-inner.ugc.verified {
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: 0 10px 36px rgba(79, 70, 229, 0.12);
}

.blogger-card-premium-inner.ugc .blogger-card-header {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.13) 0%, rgba(251, 113, 133, 0.11) 100%);
}

.blogger-card-premium-inner.ugc .blogger-card-cta {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.26);
}

.blogger-card-premium-inner.ugc:hover .blogger-card-cta {
    background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.34);
}

.ugc-identity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    min-height: 26px;
}

.ugc-material-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    color: #3730a3;
    border: 1px solid rgba(67, 56, 202, 0.22);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(129, 140, 248, 0.12) 100%);
}

.ugc-material-badge i {
    font-size: 0.82rem;
}

.ugc-city-inline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
}

.ugc-card-section {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* UGC main portfolio preview on catalog card */
.ugc-card-cover-preview {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2px;
    background: rgba(0, 0, 0, .12);
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ugc-card-cover-preview--empty {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.06) 0%, rgba(244, 63, 94, 0.04) 100%);
    border: 1.5px dashed rgba(79, 70, 229, 0.18);
}

.ugc-cover-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.78rem;
}

.ugc-cover-placeholder i {
    font-size: 1.7rem;
    color: rgba(79, 70, 229, 0.26);
}

.ugc-card-cover-preview img,
.ugc-card-cover-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ugc-cover-video-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .78);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
}

.ugc-cover-media-counts {
    position: absolute;
    left: 8px;
    bottom: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #0f172a;
    font-size: .7rem;
    font-weight: 700;
}

.ugc-snapshot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.ugc-snapshot-item {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
    padding: 7px 8px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ugc-snapshot-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #94a3b8;
    font-weight: 800;
    line-height: 1;
}

.ugc-snapshot-value {
    font-size: 0.78rem;
    color: #0f172a;
    font-weight: 900;
    line-height: 1.2;
}

.ugc-intro-text {
    font-size: 0.8rem;
    color: #334155;
    line-height: 1.45;
    font-weight: 600;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(248, 250, 252, 0.9);
    border-radius: 12px;
    padding: 10px 12px;
}

.ugc-service-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ugc-meta-compact {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ugc-meta-group {
    display: block;
    padding: 7px 8px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.88) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.ugc-meta-group-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.62rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(241, 245, 249, 0.95);
}

.ugc-meta-group-label i {
    font-size: 0.72rem;
    color: #6366f1;
}

.ugc-meta-group-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
}

.ugc-card-section-label {
    font-size: 0.6rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 800;
}

.ugc-card-styles,
.ugc-props-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.blogger-card-premium-inner.ugc .ugc-card-styles,
.blogger-card-premium-inner.ugc .ugc-props-row {
    max-height: none;
    overflow: visible;
}

.ugc-style-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(245, 158, 11, 0.28);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(249, 115, 22, 0.12) 100%);
    color: #92400e;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.ugc-prop-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.30);
    background: rgba(248, 250, 252, 0.95);
    color: #334155;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

.ugc-skill-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(16, 185, 129, 0.30);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.13) 0%, rgba(5, 150, 105, 0.10) 100%);
    color: #065f46;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.ugc-profile-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(99, 102, 241, 0.28);
    background: rgba(99, 102, 241, 0.1);
    color: #3730a3;
    font-size: 0.71rem;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blogger-card-premium-inner.ugc .ugc-profile-readonly-chips {
    max-height: none;
    overflow: visible;
}

.ugc-meta-group .ugc-profile-chip {
    max-width: 220px;
}

.ugc-detail-card {
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
}

.ugc-detail-meta {
    gap: 10px;
}

.ugc-detail-meta-group {
    padding: 10px 12px;
}

.ugc-detail-meta-group .ugc-profile-chip {
    max-width: 100%;
}

.ugc-lang-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 24px;
    padding: 0 7px;
    border-radius: 8px;
    border: 1px solid rgba(79, 70, 229, 0.28);
    background: rgba(79, 70, 229, 0.10);
    color: #4338ca;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.3px;
}

.ugc-extra-notes {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.ugc-extra-notes span {
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #475569;
    line-height: 1.35;
}

.ugc-extra-notes i {
    margin-top: 1px;
    color: #64748b;
}

.blogger-card-service-item.ugc-service-item {
    border-color: rgba(245, 158, 11, 0.20);
    background: linear-gradient(135deg, rgba(255, 251, 235, 0.95) 0%, rgba(255, 247, 237, 0.90) 100%);
}

.blogger-card-premium-inner.ugc .blogger-card-services {
    max-height: 96px;
    overflow: hidden;
}

.blogger-card-premium-inner.ugc .blogger-card-content {
    gap: 8px;
}

.blogger-card-premium-inner.ugc .blogger-card-identity {
    min-height: 60px;
}

@media (max-width: 576px) {
    .ugc-snapshot-grid {
        grid-template-columns: 1fr;
    }

    .ugc-meta-group {
        padding: 7px;
    }
}

/* ============================================
   BREADCRUMBS (Хлебные крошки) для SEO
   ============================================ */
.breadcrumb {
    background: transparent;
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #94a3b8;
    font-weight: 600;
    padding: 0 0.5rem;
}

.breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #4f46e5;
}

.breadcrumb-item.active {
    color: #0f172a;
    font-weight: 600;
}

/* ============================================
   FOCUS-VISIBLE для доступности (клавиатурная навигация)
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid #4f46e5;
    outline-offset: 2px;
}

/* Не дублировать outline для элементов с .form-control:focus */
.btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.35);
    outline: 2px solid #4f46e5;
    outline-offset: 2px;
}

.form-control:focus-visible,
.form-select:focus-visible {
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
    outline: none;
}

.navbar .nav-link:focus-visible,
.dropdown-item:focus-visible {
    outline: 2px solid #4f46e5;
    outline-offset: 2px;
}

/* Skip-link уже имеет свои focus-стили; убедимся, что они видны */
.skip-link:focus {
    outline: 2px solid #4f46e5;
    outline-offset: 4px;
}

/* Дополнительные улучшения */
.blogger-card-premium-inner {
    cursor: pointer;
}

.blogger-card-premium-inner * {
    pointer-events: none;
}

.blogger-card-premium-inner .blogger-card-favorite-btn {
    pointer-events: all;
}

/* В каталоге нужен кликабельный checkbox сравнения */
.blogger-card-premium-inner .compare-toggle,
.blogger-card-premium-inner .compare-toggle-wrap {
    pointer-events: all;
}

/* Hover эффекты для платформ */
.blogger-card-platform-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Анимация появления карточки */
@keyframes card-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blogger-card-premium-inner {
    animation: card-fade-in 0.5s ease-out;
}

/* Улучшенные пустые состояния */
.blogger-card-stat-empty,
.blogger-card-category-empty,
.blogger-card-price-empty {
    opacity: 0.6;
    font-style: italic;
}

/* Градиент для verified карточек */
.blogger-card-premium-inner.verified .blogger-card-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(139, 92, 246, 0.1));
    pointer-events: none;
}

/* Адаптивность */
@media (max-width: 992px) {
    .blogger-card-stats {
        flex-direction: column;
        gap: 12px;
        padding: 16px 0;
    }
    
    .blogger-card-stat {
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 12px;
    }
    
    .blogger-card-stat:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }
}

@media (max-width: 768px) {
    /* Карточки блогеров для планшетов */
    .blogger-card-header {
        padding: 12px 14px;
    }
    
    .blogger-card-avatar {
        width: 56px;
        height: 56px;
        border-radius: 16px;
    }

    .blogger-card-content {
        padding: 14px 14px 12px;
    }
    
    .blogger-card-name {
        font-size: 0.98rem;
    }
    
    .blogger-card-location {
        font-size: 0.8rem;
    }
    
    .blogger-card-stats {
        padding: 12px 0;
        flex-direction: row;
        justify-content: space-around;
        gap: 8px;
    }
    
    .blogger-card-stat {
        border-bottom: 0;
        padding-bottom: 0;
        flex: 1;
        min-width: 0;
    }
    
    .blogger-card-stat-value {
        font-size: 1.05rem;
    }
    
    .blogger-card-stat-label {
        font-size: 0.7rem;
    }
    
    .blogger-card-price-value {
        font-size: 1.25rem;
    }
    
    .blogger-card-platforms {
        top: 10px;
        right: 54px;
        gap: 5px;
    }
    
    .blogger-card-platform-icon {
        width: 30px;
        height: 30px;
        font-size: 0.95rem;
    }
    
    .blogger-card-platform-more {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }
    
    .blogger-card-footer {
        padding: 12px 14px;
    }
    
    .blogger-card-cta {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    /* Улучшения для сетки карточек */
    .col-md-6 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    /* Карточки блогеров - улучшенная адаптивность */
    .blogger-card-premium-inner {
        border-radius: 16px;
        border-width: 1.5px;
    }
    
    .blogger-card-premium-inner:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    .blogger-card-header {
        padding: 10px 12px;
    }
    
    .blogger-card-verified-badge {
        padding: 4px 10px;
        font-size: 0.7rem;
    }
    
    .blogger-card-verified-badge i {
        font-size: 0.8rem;
    }
    
    .blogger-card-avatar {
        width: 52px;
        height: 52px;
        border-width: 3px;
    }
    
    .blogger-card-avatar-fallback {
        font-size: 2rem;
    }
    
    .blogger-card-platforms {
        gap: 4px;
    }
    
    .blogger-card-platform-icon {
        width: 26px;
        height: 26px;
        font-size: 0.85rem;
        border-radius: 6px;
    }
    
    .blogger-card-platform-more {
        width: 26px;
        height: 26px;
        font-size: 0.6rem;
    }
    
    .blogger-card-content {
        padding-top: 42px;
        padding-left: 12px;
        padding-right: 12px;
        padding-bottom: 12px;
        gap: 8px;
    }
    
    .blogger-card-name {
        font-size: 0.95rem;
        line-height: 1.3;
        margin-bottom: 4px;
    }
    
    .blogger-card-verified-icon {
        font-size: 0.9rem;
    }
    
    .blogger-card-location {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }
    
    .blogger-card-location i {
        font-size: 0.7rem;
    }
    
    .blogger-card-categories {
        gap: 4px;
        margin-bottom: 8px;
        flex-wrap: wrap;
    }
    
    .blogger-card-category-tag {
        font-size: 0.65rem;
        padding: 3px 8px;
        border-radius: 6px;
    }
    
    .blogger-card-category-empty {
        font-size: 0.65rem;
    }
    
    .blogger-card-badges {
        gap: 4px;
        margin: 8px 0 6px;
    }
    
    .blogger-card-badge-item {
        padding: 4px 9px;
        font-size: 0.68rem;
        border-radius: 16px;
    }
    
    .blogger-card-badge-item i {
        font-size: 0.75rem;
    }
    
    .blogger-card-social-platforms {
        gap: 6px;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }
    
    .blogger-card-social-item {
        padding: 6px 10px;
        border-radius: 8px;
        font-size: 0.7rem;
    }
    
    .blogger-card-social-icon {
        width: 18px;
        height: 18px;
        font-size: 0.75rem;
    }
    
    .blogger-card-social-followers {
        font-size: 0.65rem;
    }
    
    .blogger-card-stats {
        padding: 10px 0;
        gap: 8px;
        margin-bottom: 10px;
    }
    
    .blogger-card-stat {
        padding: 8px 6px;
        border-radius: 8px;
        min-width: 0;
        flex: 1;
    }
    
    .blogger-card-stat-value {
        font-size: 0.95rem;
        line-height: 1.2;
    }
    
    .blogger-card-stat-label {
        font-size: 0.6rem;
        margin-top: 2px;
    }
    
    .blogger-card-price {
        padding: 10px 12px;
        border-radius: 10px;
        margin-bottom: 10px;
    }
    
    .blogger-card-price-label {
        font-size: 0.65rem;
    }
    
    .blogger-card-price-value {
        font-size: 1.1rem;
    }
    
    .blogger-card-footer {
        padding: 10px 12px;
        gap: 8px;
    }
    
    .blogger-card-cta {
        padding: 10px 16px;
        font-size: 0.85rem;
        border-radius: 10px;
        flex: 1;
    }
    
    .blogger-card-favorite-btn {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        font-size: 0.9rem;
    }
    
    /* Исправление для контейнеров карточек */
    .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
    
    .col-md-6,
    .col-lg-3,
    .col-lg-4 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Дополнительные улучшения для очень маленьких экранов */
@media (max-width: 480px) {
    .hero-creative {
        padding: 70px 0 40px;
    }
    
    .hero-creative-title {
        font-size: 1.75rem;
    }
    
    .hero-categories-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .blogger-card-header {
        padding: 10px;
    }
    
    .blogger-card-avatar {
        width: 48px;
        height: 48px;
    }
    
    .blogger-card-content {
        padding: 12px 10px 10px;
    }
    
    .blogger-card-name {
        font-size: 0.9rem;
    }
    
    .blogger-card-stats {
        flex-direction: column;
        gap: 6px;
    }
    
    .blogger-card-stat {
        width: 100%;
        padding: 8px;
    }
}

/* ============================================
   СТИЛЬНЫЕ СЕКЦИИ - HOVER ЭФФЕКТЫ И АНИМАЦИИ
   ============================================ */

/* Hover эффекты для карточек с градиентами */
.hover-lift {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12) !important;
}

.hover-lift:hover .position-absolute[style*="opacity: 0"] {
    opacity: 1 !important;
}

/* Hover эффекты для кнопок с градиентами */
.btn.position-relative.overflow-hidden:hover .position-absolute[style*="opacity: 0"] {
    opacity: 1 !important;
}

.btn.position-relative.overflow-hidden:hover {
    transform: translateY(-3px);
}

/* Анимация для градиентных заголовков */
@keyframes gradient-shift {
    0%, 100% { 
        background-position: 0% 50%; 
    }
    50% { 
        background-position: 100% 50%; 
    }
}

h2 span[style*="background: linear-gradient"],
h2 span[style*="background:linear-gradient"] {
    background-size: 200% 200% !important;
    animation: gradient-shift 5s ease infinite;
}

/* Пульсация для иконок в списках преимуществ */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(79, 70, 229, 0.5);
    }
}

.rounded-circle[style*="background: linear-gradient"][style*="box-shadow"]:hover {
    animation: pulse-glow 2s ease infinite;
    transform: scale(1.1);
}

/* Плавное появление элементов */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos="fade-up"],
[data-aos="fade-right"],
[data-aos="fade-left"] {
    animation: fade-in-up 0.8s ease-out;
}

/* ============================================
   МОБИЛЬНОЕ МЕНЮ - КРАСИВАЯ ВЕРСТКА
   ============================================ */

/* Стили для кнопки бургера */
.navbar-toggler {
    border: 2px solid rgba(79, 70, 229, 0.2);
    border-radius: 12px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar-toggler:hover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(79, 70, 229, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(79, 70, 229, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M6 6L24 24M6 24L24 6'/%3e%3c/svg%3e");
}

/* Мобильное меню - основной контейнер */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1.5rem;
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 20px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(0, 0, 0, 0.05);
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Список навигации в мобильном меню */
    .navbar-nav {
        gap: 2px;
        margin-bottom: 0.5rem;
        width: 100%;
    }

    .navbar-nav .nav-item {
        margin-bottom: 0;
        width: 100%;
    }

    .navbar-nav .nav-link {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 12px;
        font-weight: 600;
        font-size: 1rem;
        color: var(--dark) !important;
        background: transparent;
        transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
        border: none;
        position: relative;
        min-height: auto;
        -webkit-tap-highlight-color: transparent;
    }

    .navbar-nav .nav-link i {
        font-size: 1.2rem;
        margin: 0;
        margin-right: 0.75rem;
        width: 1.5em;
        height: 1.5em;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        line-height: 1;
        color: var(--primary);
        transition: color 0.15s ease;
    }
    .navbar-nav .nav-link i::before {
        display: block;
    }

    /* Ховер / тап по пункту меню */
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        background: rgba(79, 70, 229, 0.07);
        color: var(--primary) !important;
    }
    .navbar-nav .nav-link:hover i,
    .navbar-nav .nav-link:focus i {
        color: var(--primary) !important;
    }

    /* Нажатие (тап) — чёткая обратная связь */
    .navbar-nav .nav-link:active {
        background: rgba(79, 70, 229, 0.15);
        color: var(--primary) !important;
        transform: scale(0.98);
    }
    .navbar-nav .nav-link:active i {
        color: var(--primary) !important;
    }

    /* Активная страница — заметное выделение */
    .navbar-nav .nav-link.active {
        background: rgba(79, 70, 229, 0.1);
        color: var(--primary) !important;
    }
    .navbar-nav .nav-link.active i {
        color: var(--primary) !important;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    /* Дополнительные пункты меню (Мои заказы, Избранное, Настройки) */
    .mobile-user-menu {
        gap: 2px;
        margin-bottom: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        width: 100%;
    }

    .mobile-user-menu .nav-item {
        width: 100%;
    }

    .mobile-user-menu .nav-link {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 12px;
        font-weight: 600;
        font-size: 1rem;
        color: var(--dark) !important;
        background: transparent;
        transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
        border: none;
        min-height: auto;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-user-menu .nav-link i {
        font-size: 1.2rem;
        margin: 0;
        margin-right: 0.75rem;
        width: 1.5em;
        height: 1.5em;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        line-height: 1;
        color: var(--primary);
        transition: color 0.15s ease;
    }
    .mobile-user-menu .nav-link i::before {
        display: block;
    }

    .mobile-user-menu .nav-link:hover,
    .mobile-user-menu .nav-link:focus {
        background: rgba(79, 70, 229, 0.07);
        color: var(--primary) !important;
    }
    .mobile-user-menu .nav-link:hover i,
    .mobile-user-menu .nav-link:focus i {
        color: var(--primary) !important;
    }

    .mobile-user-menu .nav-link:active {
        background: rgba(79, 70, 229, 0.15);
        color: var(--primary) !important;
        transform: scale(0.98);
    }
    .mobile-user-menu .nav-link:active i {
        color: var(--primary) !important;
    }

    .mobile-user-menu .nav-link.active {
        background: rgba(79, 70, 229, 0.1);
        color: var(--primary) !important;
    }
    .mobile-user-menu .nav-link.active i {
        color: var(--primary) !important;
    }

    /* Мобильная нижняя секция: баланс, уведомления, выход */
    .navbar-collapse .d-lg-none.border-top {
        border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }

    /* Кнопка регистрации в мобильном меню */
    .navbar-collapse .d-lg-none .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 0.65rem 1rem;
        border-radius: 10px;
        font-weight: 600;
        font-size: 0.93rem;
    }

    /* Dropdown меню в мобильной версии */
    .navbar-collapse .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        margin-top: 0.5rem !important;
        border-radius: 14px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    }

    /* Улучшенные отступы для контейнера навбара */
    .navbar .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Бренд в мобильной версии */
    .navbar-brand {
        font-size: 1.3rem;
    }
}

/* Дополнительные улучшения для очень маленьких экранов */
@media (max-width: 576px) {
    .navbar-collapse {
        padding: 0.875rem;
        border-radius: 16px;
        margin-top: 0.75rem;
    }

    .navbar-toggler {
        padding: 6px 10px;
    }

    .navbar-toggler-icon {
        width: 20px;
        height: 20px;
    }
}

/* ============================================
   ОБЩИЕ УЛУЧШЕНИЯ ДЛЯ МОБИЛЬНОЙ ВЕРСИИ
   ============================================ */

/* Улучшенные контейнеры для мобильных */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Улучшенные отступы для секций */
    section {
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Исправление для строк с карточками */
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .row > * {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    /* Улучшенные отступы для заголовков секций */
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Исправление для карточек с отступами */
    .card {
        margin-bottom: 1rem;
    }
    
    /* Улучшенные кнопки на мобильных */
    .btn {
        white-space: normal;
        word-wrap: break-word;
    }
    
    /* Исправление для таблиц на мобильных */
    .table-responsive {
        border-radius: 12px;
        overflow: hidden;
    }
    
    /* Улучшенные формы на мобильных */
    .form-control,
    .form-select {
        font-size: 16px; /* Предотвращает зум на iOS */
    }
    
    /* Улучшенные модальные окна */
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-content {
        border-radius: 16px;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .row {
        margin-left: -0.375rem;
        margin-right: -0.375rem;
    }
    
    .row > * {
        padding-left: 0.375rem;
        padding-right: 0.375rem;
    }
    
    /* Уменьшенные отступы для секций */
    section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    /* Улучшенные карточки */
    .card {
        border-radius: 12px;
        margin-bottom: 0.75rem;
    }
    
    /* Компактные заголовки */
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
}

/* Исправление для очень маленьких экранов */
@media (max-width: 375px) {
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .hero-creative-title {
        font-size: 1.5rem;
    }
    
    .hero-creative-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        gap: 5px;
        flex-direction: column;
    }
    
    .hero-subtitle-text {
        display: block;
    }
    
    .hero-platforms {
        gap: 3px;
        flex-wrap: nowrap;
        white-space: nowrap;
    }
    
    .hero-platform {
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .hero-platform-separator {
        font-size: 0.85rem;
        margin: 0 1px;
    }
    
    .blogger-card-name {
        font-size: 0.85rem;
    }
}

/* Анимация для кнопки обновления статистики */
.bi-arrow-clockwise.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hover-primary:hover {
    opacity: 1 !important;
    color: var(--primary) !important;
}

/* ============================================
   МОБИЛЬНЫЕ УЛУЧШЕНИЯ
   ============================================ */

/* Улучшенная прокрутка для мобильных */
@media (max-width: 768px) {
    * {
        -webkit-overflow-scrolling: touch;
    }

    /* Тач-цели — только кнопки форм, не ломая навбар и мелкие элементы */

    /* Предотвращение зума при фокусе на input */
    input, select, textarea {
        font-size: 16px !important;
    }

    /* Улучшенная прокрутка для чата */
    .chat-messages, .chat-container {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    /* Оптимизация анимаций для производительности */
    * {
        will-change: auto;
    }

    /* Отключение hover на мобильных */
    @media (hover: none) {
        .hover-lift:hover {
            transform: none;
        }
        
        .hover-primary:hover {
            opacity: 1;
        }
    }

    /* Превью файлов */
    .file-preview-item {
        border: 1px solid #e2e8f0;
        border-radius: 12px;
    }

    /* Реакции на сообщения */
    .reaction-picker {
        position: fixed !important;
        bottom: 80px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: auto !important;
    }

    .message-reactions {
        margin-top: 8px;
    }

    .message-reactions .badge {
        font-size: 0.85rem;
        padding: 4px 8px;
    }
}

/* Вибрация для важных событий */
@media (max-width: 768px) {
    .vibrate-on-click:active {
        animation: vibrate 0.1s;
    }

    @keyframes vibrate {
        0%, 100% { transform: translateX(0); }
        25% { transform: translateX(-2px); }
        75% { transform: translateX(2px); }
    }
}

/* Premium Footer */
.footer-elite {
    position: relative;
    background: #0b1222;
    padding: 90px 0 40px;
    color: #f8fafc;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    overflow: hidden;
}

.footer-elite__glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    z-index: 0;
}

.footer-elite__glow--left {
    background: rgba(79, 70, 229, 0.6);
    left: -120px;
    top: -120px;
}

.footer-elite__glow--right {
    background: rgba(244, 63, 94, 0.6);
    right: -120px;
    bottom: -120px;
}

.footer-elite__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.75);
    margin-bottom: 12px;
}

.footer-elite__brand {
    position: relative;
    z-index: 1;
}

.footer-elite__title {
    color: #f8fafc;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-elite__text {
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.95rem;
}

.footer-elite__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer-elite__link {
    color: rgba(248, 250, 252, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-elite__link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-elite__requisites {
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-elite__req-block {
    margin-bottom: 1rem;
}

.footer-elite__req-block:last-of-type {
    margin-bottom: 0.5rem;
}

.footer-elite__req-block .footer-elite__text {
    margin-bottom: 0.15rem;
    font-size: inherit;
}

.footer-elite__req-block .footer-elite__text:last-child {
    margin-bottom: 0;
}

.footer-elite__req-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.5);
    margin-bottom: 0.35rem;
}

.footer-elite__social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: transform 0.2s ease, background 0.2s ease;
}

.footer-elite__social-link:hover {
    transform: translateY(-3px);
    background: rgba(79, 70, 229, 0.2);
}

/* Иконка @ (Threads) визуально мельче остальных — увеличиваем до одного размера с Telegram/Instagram */
.footer-elite__social-link--threads i {
    font-size: 1.22em;
}

.footer-elite__card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(16px);
}

.footer-elite__payments span {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(248, 250, 252, 0.75);
}

.footer-elite__bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    color: rgba(248, 250, 252, 0.6);
    font-size: 0.9rem;
}


/* ==========================================================
   GLOBAL MOBILE RESPONSIVENESS LAYER
   Covers: containers, tables, forms, cards, decorative
   elements, typography, stat-cards, dashboards, order pages
   ========================================================== */

/* ---------- 768px — tablets and phones ---------- */
@media (max-width: 768px) {

    /* --- Prevent horizontal scroll globally --- */
    html {
        overflow-x: hidden;
        overflow-y: auto;
        height: auto !important;
        min-height: 100%;
    }

    body {
        overflow-x: hidden;
        overflow-y: visible;
        height: auto !important;
        min-height: 100dvh;
    }

    main,
    #main-content {
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    /* --- Reduce top padding for fixed navbar --- */
    [style*="padding-top: 120px"],
    [style*="padding-top:120px"] {
        padding-top: 80px !important;
    }
    [style*="padding-bottom: 80px"],
    [style*="padding-bottom:80px"] {
        padding-bottom: 40px !important;
    }

    /* --- Cards / bento-boxes — tighter on mobile --- */
    .bento-box,
    .card-modern,
    .card-unified,
    .order-info-card {
        border-radius: 14px;
        padding: 1rem;
    }
    .bento-box .p-4, .card-modern .p-4, .card-unified .p-4 { padding: 1rem !important; }
    .bento-box .p-5, .card-modern .p-5 { padding: 1.25rem !important; }

    /* --- Row items: add bottom margin to stacked cols --- */
    .row > [class*="col-lg-"],
    .row > [class*="col-xl-"] {
        margin-bottom: 1rem;
    }
    .row > [class*="col-lg-"]:last-child { margin-bottom: 0; }

    /* --- Tables: scrollable with thin hint --- */
    table:not(.table-borderless):not([class*="fc-"]) {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        max-width: 100%;
    }
    table:not(.table-borderless) th,
    table:not(.table-borderless) td {
        font-size: 0.82rem;
        padding: 0.5rem 0.65rem;
        vertical-align: middle;
    }
    .table-responsive { border-radius: 12px; }

    /* --- Forms: full-width actions, proper sizing --- */
    .form-control-lg { padding: 0.55rem 0.9rem; font-size: 0.95rem; }
    .btn-lg { padding: 0.6rem 1rem; font-size: 0.95rem; }
    [style*="min-width: 200px"] { min-width: 0 !important; width: 100% !important; }

    /* --- Action buttons: full-width on mobile — only for form submit buttons --- */
    .d-grid > .btn,
    form > .btn-primary,
    form > .btn-success,
    .form-actions .btn {
        width: 100%;
    }

    /* --- Headings: tighter --- */
    h1, .h1 { font-size: 1.4rem; }
    h2, .h2 { font-size: 1.2rem; }
    h3, .h3 { font-size: 1.05rem; }
    .display-4, .display-5 { font-size: 2rem; }
    .fs-1 { font-size: 1.5rem !important; }
    .fs-2 { font-size: 1.3rem !important; }

    /* --- Decorative blobs/orbs — hide on mobile --- */
    .orb-1, .orb-2, .orb-3, .orb-4,
    .ab-1, .ab-2,
    .shape-1, .shape-2, .shape-3,
    .footer-elite__glow {
        display: none !important;
    }

    /* --- Stat cards on dashboards: 2-per-row --- */
    .row > .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* --- Large stat icons: shrink --- */
    [style*="width: 60px"][style*="height: 60px"] {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.2rem !important;
    }
    [style*="width: 70px"][style*="height: 70px"] {
        width: 48px !important;
        height: 48px !important;
    }

    /* --- Wallet page: tighten hero --- */
    .wallet-hero {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }
    .wallet-hero::before,
    .wallet-hero::after {
        display: none;
    }

    /* --- Chart.js containers --- */
    canvas {
        max-width: 100% !important;
        height: auto !important;
    }

    /* --- Alerts — compact --- */
    .alert { padding: 0.65rem 0.9rem; font-size: 0.88rem; border-radius: 12px; }

    /* --- Badges — readable --- */
    .badge { font-size: 0.72rem; padding: 0.3em 0.6em; }

    /* --- Modal dialogs — near full-width --- */
    .modal-dialog { margin: 0.75rem; max-width: calc(100vw - 1.5rem); }
    .modal-content { border-radius: 16px; }
    .modal-header, .modal-body, .modal-footer { padding: 1rem; }

    /* --- Dropdowns — wider on mobile --- */
    .dropdown-menu { width: calc(100vw - 2rem); max-width: 360px; }

    /* --- Inline flex fix: don't force inline-flex on plain text links --- */
    p a, span a, .message-text a, td a, li a, .small a, .text-muted a,
    .breadcrumb a, label a, .card-body a {
        display: inline;
        min-height: auto;
        min-width: auto;
    }

    /* --- Gap utilities: tighter --- */
    .gap-3 { gap: 0.65rem !important; }
    .gap-4 { gap: 0.85rem !important; }
    .mb-4 { margin-bottom: 1rem !important; }
    .mb-5 { margin-bottom: 1.25rem !important; }
    .p-4 { padding: 1rem !important; }
    .p-5 { padding: 1.25rem !important; }
    .py-5 { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }

    /* --- Order detail: chat first, sidebar second --- */
    .col-lg-8.order-first-mobile { order: 1; }
    .col-lg-4.order-second-mobile { order: 2; }
}

/* ---------- 576px — small phones ---------- */
@media (max-width: 576px) {

    /* --- Even tighter containers --- */
    .container, .container-fluid, .container-modern {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* --- Cards: edge-to-edge feel --- */
    .bento-box, .card-modern, .card-unified, .order-info-card {
        border-radius: 12px;
        padding: 0.85rem;
    }

    /* --- Stat cards: still 2-per-row but tighter --- */
    .row > .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: 4px;
        padding-right: 4px;
    }

    /* --- Headings: smallest tier --- */
    h1, .h1 { font-size: 1.25rem; }
    h2, .h2 { font-size: 1.1rem; }
    .display-4, .display-5 { font-size: 1.75rem; }

    /* --- Tables: even smaller text --- */
    table:not(.table-borderless) th,
    table:not(.table-borderless) td {
        font-size: 0.78rem;
        padding: 0.4rem 0.5rem;
    }

    /* --- Full-width buttons: only standalone form buttons --- */
    .d-grid .btn,
    form > .btn:only-child {
        width: 100%;
        justify-content: center;
    }

    /* --- Quick-amount buttons: 2 per row --- */
    .quick-amounts, .d-flex.flex-wrap.gap-2 {
        flex-wrap: wrap !important;
    }
    .quick-amounts .btn,
    .d-flex.flex-wrap.gap-2 > .btn {
        flex: 1 1 45%;
    }

    /* --- Avatars: smaller --- */
    [style*="width: 48px"][style*="height: 48px"] {
        width: 36px !important;
        height: 36px !important;
    }

    /* --- File inputs: no min-width --- */
    input[type="file"] {
        min-width: 0 !important;
        max-width: 100%;
        font-size: 0.85rem;
    }

    /* --- Word breaking for long URLs / codes --- */
    .referral-link, .text-break, code, pre, .font-monospace {
        word-break: break-all;
        overflow-wrap: break-word;
    }
}