/*
Theme Name: CryptoExpert
Theme URI: https://criptoexpert.ru
Description: Профессиональная тема для сайта о криптовалютных биржах с Bootstrap 5, слайдерами и SEO-оптимизацией
Version: 1.0
Author: CryptoExpert Team
Author URI: https://criptoexpert.ru
Text Domain: cryptoexpert
*/

:root {
    --primary-gold: #D4AF37;
    --gold-light: #F4E5C2;
    --gold-dark: #B8941E;
    --black-bg: #000000;
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --card-hover: #222222;
    --text-gold: #D4AF37;
    --text-light: #ffffff;
    --text-muted: #999999;
    --text-secondary: #cccccc;
    --success: #4CAF50;
    --warning: #FFC107;
    --danger: #F44336;
    --border-gold: rgba(212, 175, 55, 0.2);
    --border-dark: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--black-bg);
    color: var(--text-light);
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    color: var(--text-gold);
}

p, li, span, a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}


.card-crypto {
    background: var(--card-bg);
    border-radius: 0;
    border: 1px solid var(--border-gold);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-crypto::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card-crypto:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
    border-color: var(--primary-gold);
}

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

.btn-primary-crypto {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary-crypto:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.5);
}

.seo-block {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    margin: 40px 0;
    border-left: 4px solid var(--primary-color);
}


/* Продвинутые стили для топового сайта */

/* Улучшенная типографика */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.display-1, .display-2, .display-3, .display-4, .display-5 {
    font-weight: 700;
    letter-spacing: 1px;
}

/* Кастомный скроллбар */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--black-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border: 2px solid var(--black-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* Улучшенные кнопки */
.btn-primary-crypto {
    background: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    color: var(--black-bg);
    padding: 12px 30px;
    border-radius: 0;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-primary-crypto:hover {
    background: transparent;
    color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary-crypto:active {
    transform: translateY(0);
}

/* Улучшенный градиентный текст */
.gradient-text {
    color: var(--text-gold);
}

/* Улучшенный SEO блок */
.seo-block {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 0;
    margin: 50px 0;
    border: 1px solid var(--border-gold);
    border-left: 4px solid var(--primary-gold);
    position: relative;
}

/* Рейтинг звезд */
.rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars i {
    font-size: 16px;
    margin-right: 2px;
    color: var(--primary-gold);
}

/* Статистика */
.stat-box {
    background: var(--card-bg);
    border: 1px solid var(--border-gold);
    border-radius: 0;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
}

.stat-box:hover {
    transform: translateY(-3px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

/* Навигация */
.navbar {
    background: var(--black-bg) !important;
    backdrop-filter: none;
    border-bottom: 1px solid var(--border-gold);
    box-shadow: none;
}

.navbar-brand {
    font-size: 28px;
    font-weight: 700;
    font-family: 'Montserrat', serif;
    color: var(--primary-gold) !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--gold-light) !important;
}

.nav-link {
    position: relative;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 8px 16px !important;
    color: var(--text-secondary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary-gold) !important;
}

/* Топ-бар */
.top-bar {
    background: var(--black-bg) !important;
    border-bottom: 1px solid var(--border-dark);
}

.social-links a {
    transition: all 0.3s ease;
    display: inline-block;
    color: var(--text-muted) !important;
}

.social-links a:hover {
    color: var(--primary-gold) !important;
    transform: translateY(-2px);
}

/* Тикер криптовалют */
.crypto-ticker {
    background: var(--dark-bg) !important;
    border-bottom: 1px solid var(--border-dark);
    overflow: hidden;
}

/* Слайдер */
.hero-slide {
    position: relative;
    overflow: hidden;
    background: var(--black-bg) !important;
}

.swiper-button-next,
.swiper-button-prev {
    background: var(--card-bg);
    width: 50px;
    height: 50px;
    border-radius: 0;
    border: 1px solid var(--border-gold);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    color: var(--primary-gold);
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
    color: var(--black-bg);
}

.swiper-pagination-bullet {
    background: var(--text-muted);
    width: 10px;
    height: 10px;
    border-radius: 0;
}

.swiper-pagination-bullet-active {
    background: var(--primary-gold);
    width: 30px;
    border-radius: 0;
}

/* Бейджи */
.badge {
    padding: 6px 14px;
    border-radius: 0;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.badge.bg-primary {
    background: var(--primary-gold) !important;
    color: var(--black-bg) !important;
}

.badge.bg-warning {
    background: var(--warning) !important;
    color: var(--black-bg) !important;
}

.badge.bg-secondary {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-gold);
    color: var(--text-gold) !important;
}

/* Формы */
.form-control {
    background: var(--card-bg);
    border: 1px solid var(--border-gold);
    color: var(--text-light);
    padding: 12px 20px;
    border-radius: 0;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-control:focus {
    background: var(--card-bg);
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
    color: var(--text-light);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* Футер */
.footer {
    background: var(--black-bg) !important;
    border-top: 1px solid var(--border-gold);
    position: relative;
}

.footer-brand h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-gold);
    font-family: 'Montserrat', serif;
}

.footer a {
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.footer a:hover {
    color: var(--primary-gold) !important;
    padding-left: 5px;
}

/* Хлебные крошки */
.breadcrumb {
    background: transparent !important;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.breadcrumb-item a:hover {
    color: var(--primary-gold);
}

.breadcrumb-item.active {
    color: var(--text-light);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
}

/* Виджеты */
.widget {
    transition: all 0.3s ease;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
    color: var(--text-gold);
    font-family: 'Montserrat', serif;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-gold);
}

/* Пагинация */
.pagination {
    gap: 8px;
}

.page-link {
    background: var(--card-bg);
    border: 1px solid var(--border-gold);
    color: var(--text-light);
    padding: 10px 18px;
    border-radius: 0;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

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

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

/* Кнопка "Наверх" */
#backToTop {
    background: var(--primary-gold);
    border: none;
    color: var(--black-bg);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    border-radius: 0;
}

#backToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

/* Прогресс-бар чтения */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary-gold);
    z-index: 9999;
    transition: width 0.2s ease;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Улучшенные таблицы */
.table {
    color: var(--text-light);
}

.table thead th {
    background: var(--card-bg);
    border-color: var(--border-gold);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--text-gold);
    font-family: 'Inter', sans-serif;
}

.table tbody tr {
    border-color: var(--border-dark);
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background: var(--card-bg);
}

/* Модальные окна */
.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-gold);
    border-radius: 0;
}

.modal-header {
    border-bottom: 1px solid var(--border-gold);
}

.modal-footer {
    border-top: 1px solid var(--border-gold);
}

/* Тултипы */
.tooltip-inner {
    background: var(--card-bg);
    border: 1px solid var(--border-gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Адаптивность */
@media (max-width: 768px) {
    .display-1 { font-size: 3rem; }
    .display-2 { font-size: 2.5rem; }
    .display-3 { font-size: 2rem; }
    .display-4 { font-size: 1.75rem; }
    .display-5 { font-size: 1.5rem; }
    
    .seo-block {
        padding: 30px 20px;
    }
    
    .stat-box {
        padding: 20px;
    }
    
    .hero-slide {
        height: 400px !important;
    }
}

/* Печать */
@media print {
    .navbar, .footer, .widget-area, #backToTop, .reading-progress {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* Улучшенные иконки */
.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gold);
    border-radius: 0;
    font-size: 24px;
    color: var(--black-bg);
}

/* Анимация появления */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

/* Улучшенные списки */
ul.styled-list {
    list-style: none;
    padding-left: 0;
}

ul.styled-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
}

ul.styled-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

/* Цитаты */
blockquote {
    border-left: 3px solid var(--primary-gold);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-secondary);
    font-family: 'Montserrat', serif;
}

/* Код */
code {
    background: var(--card-bg);
    padding: 2px 8px;
    border-radius: 0;
    color: var(--primary-gold);
    font-size: 0.9em;
    border: 1px solid var(--border-dark);
}

pre {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 0;
    border: 1px solid var(--border-gold);
    overflow-x: auto;
}

pre code {
    background: transparent;
    padding: 0;
    border: none;
}

/* Разделители */
hr {
    border: none;
    height: 1px;
    background: var(--border-gold);
    margin: 40px 0;
}

/* Линки */
a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--gold-light);
}

/* Выделение текста */
::selection {
    background: var(--primary-gold);
    color: var(--black-bg);
}

::-moz-selection {
    background: var(--primary-gold);
    color: var(--black-bg);
}

/* Кнопки outline */
.btn-outline-light {
    border: 2px solid var(--border-gold);
    color: var(--text-gold);
    background: transparent;
    border-radius: 0;
    padding: 10px 24px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 600;
}

.btn-outline-light:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--black-bg);
}

/* Акцентные элементы */
.accent-line {
    width: 60px;
    height: 3px;
    background: var(--primary-gold);
    margin: 20px 0;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-gold);
}

/* Премиум декоративные элементы */
.premium-border {
    border: 1px solid var(--border-gold);
    position: relative;
}

.premium-border::before,
.premium-border::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-gold);
}

.premium-border::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.premium-border::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

/* Золотая линия-разделитель */
.gold-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    margin: 40px 0;
}

/* Hover эффект для изображений */
img {
    transition: all 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

/* Тень для карточек */
.card-shadow {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Золотой текст */
.text-gold {
    color: var(--primary-gold) !important;
}

.bg-gold {
    background: var(--primary-gold) !important;
    color: var(--black-bg) !important;
}

/* Премиум заголовки */
.premium-heading {
    font-family: 'Montserrat', serif;
    font-weight: 700;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.premium-heading::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 50%;
    width: 20px;
    height: 2px;
    background: var(--primary-gold);
}

.premium-heading::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 50%;
    width: 20px;
    height: 2px;
    background: var(--primary-gold);
}

/* Элегантные кнопки */
.btn-elegant {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 12px 40px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-elegant::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gold);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-elegant:hover::before {
    left: 0;
}

.btn-elegant:hover {
    color: var(--black-bg);
}

/* Премиум input */
.premium-input {
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-gold);
    color: var(--text-light);
    padding: 10px 0;
    border-radius: 0;
    font-family: 'Inter', sans-serif;
}

.premium-input:focus {
    border-bottom-color: var(--primary-gold);
    box-shadow: none;
    background: transparent;
}

/* Золотое свечение */
.glow-gold {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Анимация золотого мерцания */
@keyframes goldShimmer {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.shimmer-gold {
    animation: goldShimmer 2s ease-in-out infinite;
}


/* ========================================
   SIDEBAR WIDGETS - LUXURY PREMIUM DESIGN
   ======================================== */

.widget-area {
    position: sticky;
    top: 100px;
}

/* Premium Widget Base */
.widget-premium {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.widget-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    opacity: 0.6;
}

.widget-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.03), transparent);
    pointer-events: none;
}

.widget-premium:hover {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 12px 48px rgba(212, 175, 55, 0.2);
    transform: translateY(-4px);
    background: rgba(0, 0, 0, 0.5);
}

.widget-premium:hover::before {
    opacity: 1;
}

.widget-inner {
    padding: 28px 24px;
    position: relative;
    z-index: 1;
}

/* Widget Icon */
.widget-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.widget-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-gold);
    transition: all 0.3s ease;
}

.widget-icon-gold {
    background: linear-gradient(135deg, var(--primary-gold), #c9a84a);
    border-color: var(--primary-gold);
    color: var(--black-bg);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.widget-icon-large {
    width: 64px;
    height: 64px;
    font-size: 28px;
}

.widget-premium:hover .widget-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

/* Widget Title */
.widget-title-premium {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.widget-title-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.widget-title-gold {
    color: var(--primary-gold);
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.widget-header-premium {
    margin-bottom: 20px;
}

.widget-content {
    position: relative;
}

/* Search Form Premium */
.form-control-premium {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    color: #fff !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
    transition: all 0.3s ease !important;
}

.form-control-premium:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--primary-gold) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1) !important;
    color: #fff !important;
}

.form-control-premium::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-premium-search {
    background: linear-gradient(135deg, var(--primary-gold), #c9a84a) !important;
    border: none !important;
    color: var(--black-bg) !important;
    padding: 0 20px !important;
    transition: all 0.3s ease !important;
    font-weight: 600;
}

.btn-premium-search:hover {
    background: linear-gradient(135deg, #c9a84a, var(--primary-gold)) !important;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4) !important;
    transform: translateY(-2px);
}

/* Top List Premium */
.top-list-premium {
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-item-premium {
    margin-bottom: 16px;
    position: relative;
}

.top-item-premium:last-child {
    margin-bottom: 0;
}

.top-item-premium a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.top-item-premium a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.top-item-premium a:hover::before {
    left: 100%;
}

.top-item-premium a:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateX(4px);
}

.top-rank {
    position: relative;
    flex-shrink: 0;
}

.rank-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-gold), #c9a84a);
    color: var(--black-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 1;
}

.rank-decoration {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 12px;
    height: 12px;
    background: var(--primary-gold);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

.top-content {
    flex: 1;
}

.top-content h6 {
    margin: 0 0 6px 0;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.rating-premium {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--primary-gold);
}

.rating-number {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    font-weight: 600;
    margin-left: 4px;
}

.top-arrow {
    color: rgba(212, 175, 55, 0.4);
    font-size: 12px;
    transition: all 0.3s ease;
}

.top-item-premium a:hover .top-arrow {
    color: var(--primary-gold);
    transform: translateX(4px);
}

/* Category List Premium */
.category-list-premium {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list-premium li {
    margin-bottom: 12px;
}

.category-list-premium li:last-child {
    margin-bottom: 0;
}

.category-list-premium a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-list-premium a:hover {
    background: rgba(212, 175, 55, 0.1);
    border-left-color: var(--primary-gold);
    padding-left: 20px;
}

.cat-icon {
    color: var(--primary-gold);
    font-size: 14px;
    width: 24px;
    text-align: center;
}

.cat-name-premium {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.cat-count-premium {
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
}

/* Recent List Premium */
.recent-list-premium {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-list-premium li {
    margin-bottom: 16px;
    position: relative;
}

.recent-list-premium li:last-child {
    margin-bottom: 0;
}

.recent-list-premium a {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.recent-list-premium a:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateX(4px);
}

.recent-indicator {
    width: 4px;
    background: linear-gradient(180deg, var(--primary-gold), transparent);
    border-radius: 2px;
    flex-shrink: 0;
}

.recent-content {
    flex: 1;
}

.recent-content h6 {
    margin: 0 0 8px 0;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.post-date-premium {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Tag Cloud Premium */
.tag-cloud-premium {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item-premium {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 20px;
}

.tag-hash {
    color: var(--primary-gold);
    font-weight: 700;
}

.tag-item-premium:hover {
    background: linear-gradient(135deg, var(--primary-gold), #c9a84a);
    color: var(--black-bg);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.tag-item-premium:hover .tag-hash {
    color: var(--black-bg);
}

/* Newsletter Premium Gold */
.widget-premium-gold {
    background: rgba(212, 175, 55, 0.08);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.25);
}

.widget-premium-gold::before {
    opacity: 1;
}

.widget-premium-gold:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 12px 48px rgba(212, 175, 55, 0.35);
    background: rgba(212, 175, 55, 0.12);
}

.newsletter-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent);
}

.decoration-circle-1 {
    width: 150px;
    height: 150px;
    top: -50px;
    right: -50px;
}

.decoration-circle-2 {
    width: 100px;
    height: 100px;
    bottom: -30px;
    left: -30px;
}

.decoration-circle-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: -20px;
}

.newsletter-text-premium {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 991px) {
    .widget-area {
        position: static;
        margin-top: 50px;
    }
    
    .widget-inner {
        padding: 24px 20px;
    }
}


/* ========================================
   FOOTER LINKS
   ======================================== */

.footer-link {
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-link:hover {
    color: var(--primary-gold) !important;
    opacity: 1;
    padding-left: 5px;
}


/* ========================================
   PREMIUM POST CARDS
   ======================================== */

.post-card-premium {
    position: relative;
    height: 100%;
}

.post-card-link {
    display: block;
    text-decoration: none;
    height: 100%;
}

.post-card-inner {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    gap: 16px;
    padding: 12px;
    position: relative;
}

.post-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.post-card-link:hover .post-card-inner {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.2);
    transform: translateY(-4px);
    background: rgba(0, 0, 0, 0.5);
}

.post-card-link:hover .post-card-inner::before {
    opacity: 1;
}

.post-thumbnail-premium {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.post-img-premium {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card-link:hover .post-img-premium {
    transform: scale(1.1);
}

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.post-card-link:hover .post-overlay {
    opacity: 1;
}

.post-rating-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: linear-gradient(135deg, var(--primary-gold), #c9a84a);
    color: var(--black-bg);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.post-rating-badge i {
    font-size: 10px;
}

.post-content-premium {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 0;
}

.post-title-premium {
    margin: 0 0 auto 0;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.post-card-link:hover .post-title-premium {
    color: var(--primary-gold);
}

.post-meta-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.post-date-small {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-arrow {
    color: rgba(212, 175, 55, 0.5);
    font-size: 12px;
    transition: all 0.3s ease;
}

.post-card-link:hover .post-arrow {
    color: var(--primary-gold);
    transform: translateX(4px);
}

/* Category Block Styling */
.category-block {
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.category-block h3 {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .post-card-inner {
        flex-direction: column;
        gap: 12px;
    }
    
    .post-thumbnail-premium {
        width: 100%;
        height: 120px;
    }
    
    .post-title-premium {
        font-size: 15px;
    }
}


/* ========================================
   TEXT MUTED OVERRIDE
   ======================================== */

.text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.seo-block .text-muted {
    color: rgba(255, 255, 255, 0.75) !important;
}

.seo-block ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}


/* ========================================
   BACK TO TOP BUTTON
   ======================================== */

#backToTop {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    line-height: 1;
}

#backToTop i {
    margin: 0;
    padding: 0;
}


/* ========================================
   LOGO AS CATEGORY ICON
   ======================================== */

.cat-logo-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(73%) sepia(47%) saturate(548%) hue-rotate(359deg) brightness(95%) contrast(87%);
    transition: all 0.3s ease;
}

.category-list-premium a:hover .cat-logo-icon {
    filter: brightness(0) saturate(100%) invert(73%) sepia(47%) saturate(548%) hue-rotate(359deg) brightness(110%) contrast(87%);
    transform: scale(1.1);
}

.category-logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(73%) sepia(47%) saturate(548%) hue-rotate(359deg) brightness(95%) contrast(87%);
}

.cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
}


/* ========================================
   CRYPTO TICKER FIX
   ======================================== */

.ticker-item {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ticker-content {
    white-space: nowrap;
    display: inline-flex;
    animation: ticker-scroll 60s linear infinite;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ticker-wrapper {
    position: relative;
}

.crypto-ticker .ticker-wrapper {
    overflow: hidden;
}

.ticker-content:hover {
    animation-play-state: paused;
}


/* ========================================
   PREMIUM TYPOGRAPHY
   ======================================== */

/* Улучшенная типографика для премиум-вида */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

.display-3, .display-4, .display-5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.gradient-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.widget-title-premium {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.post-title-premium {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.top-content h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.recent-content h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.cat-name-premium {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Числа и цены */
.crypto-price,
.rating-number,
.rank-number,
.cat-count-premium {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-feature-settings: 'tnum';
    font-variant-numeric: tabular-nums;
}

/* Мелкий текст */
small, .small {
    font-size: 0.875rem;
    letter-spacing: 0.01em;
}

/* Улучшенная читаемость */
p {
    font-size: 1rem;
    line-height: 1.7;
    letter-spacing: 0.01em;
}


/* ========================================
   MOBILE RESPONSIVE FIXES
   ======================================== */

/* Category Header Mobile */
.category-header-wrapper {
    gap: 12px;
}

.category-header-wrapper h3 {
    flex: 1;
    min-width: 0;
}

.category-view-all {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .category-header-wrapper {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .category-header-wrapper h3 {
        font-size: 1.25rem;
        width: 100%;
    }
    
    .category-logo-icon {
        width: 24px;
        height: 24px;
    }
    
    .category-view-all {
        width: 100%;
        text-align: center;
    }
    
    .category-block {
        padding: 20px 15px;
    }
    
    .category-block h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    /* Hero Slider Mobile */
    .hero-slide {
        height: 400px !important;
    }
    
    .hero-slide h1 {
        font-size: 1.75rem !important;
    }
    
    .hero-slide .lead {
        font-size: 1rem;
    }
    
    /* Top Exchanges Mobile */
    .top-exchanges .col-lg-4 {
        margin-bottom: 1rem;
    }
    
    /* Section Headers */
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    /* Subcategories */
    .subcategories .badge {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
}


/* ========================================
   PREMIUM MOBILE MENU TOGGLE
   ======================================== */

.navbar-toggler {
    border: 2px solid var(--primary-gold);
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    background: rgba(212, 175, 55, 0.1);
}

.navbar-toggler:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--primary-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
    border-color: var(--primary-gold);
}

/* Золотая иконка бургера */
.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(212, 175, 55, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:not(.collapsed) {
    background: rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}


/* ========================================
   TABLES STYLING
   ======================================== */

.entry-content table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.entry-content table thead {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
}

.entry-content table th {
    padding: 15px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-gold);
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.entry-content table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.entry-content table tbody tr {
    transition: all 0.3s ease;
}

.entry-content table tbody tr:hover {
    background: rgba(212, 175, 55, 0.05);
}

.entry-content table tbody tr:last-child td {
    border-bottom: none;
}

/* Адаптивные таблицы */
@media (max-width: 768px) {
    .entry-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .entry-content table th,
    .entry-content table td {
        padding: 10px;
        font-size: 13px;
    }
}

/* ========================================
   TEXT SIZE ADJUSTMENTS
   ======================================== */

/* Hero Slider - уменьшаем заголовок */
.hero-slide h1.display-3 {
    font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
    line-height: 1.2;
}

/* Top Exchanges - уменьшаем заголовки постов */
.top-exchanges h3 {
    font-size: 1.1rem;
    line-height: 1.3;
    min-height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-slide h1.display-3 {
        font-size: 1.5rem !important;
    }
    
    .top-exchanges h3 {
        font-size: 1rem;
        min-height: auto;
    }
}


/* ========================================
   CATEGORY CARDS
   ======================================== */

.category-card {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
}

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

.category-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.category-image img {
    transition: transform 0.4s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-icon {
    transition: transform 0.3s ease;
}

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

.category-card h3 {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.category-card:hover h3 {
    color: var(--primary-gold);
}

.category-card .btn {
    transition: all 0.3s ease;
}

.category-card:hover .btn {
    background: var(--primary-gold);
    color: var(--black-bg);
    border-color: var(--primary-gold);
}

