/**
 * Additional Component Styles
 * MAX Catalog Pro Theme
 */

/* ============================================
   QUICK LINKS CARDS
============================================ */
.quick-links-grid {
    margin-top: calc(var(--space-2xl) * -1);
}

/* Fix overlap on mobile */
@media (max-width: 768px) {
    .quick-links-grid {
        margin-top: 0;
    }
    
    .quick-links-section.section {
        padding-top: var(--space-xl);
    }
}

@media (max-width: 576px) {
    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

.quick-link-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.quick-link-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.quick-link-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.quick-link-icon i {
    width: 24px;
    height: 24px;
}

.quick-link-content {
    flex: 1;
    min-width: 0;
}

.quick-link-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.quick-link-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.quick-link-arrow {
    color: var(--text-muted);
    transition: transform var(--transition-fast);
}

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

/* ============================================
   CHANNEL CARD FOOTER
============================================ */
.channel-card-footer {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--bg-tertiary);
}

.channel-link-details,
.channel-link-max {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.channel-link-details i,
.channel-link-max i {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.channel-link-details {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.channel-link-details:hover {
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary-color);
}

.channel-link-details:hover i {
    transform: translateX(3px);
}

.channel-link-max {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.channel-link-max::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--transition-slow);
}

.channel-link-max:hover {
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4);
}

.channel-link-max:hover::before {
    left: 100%;
}

.channel-link-max:hover i {
    transform: translateX(2px);
}

.channel-link-max i {
    width: 14px;
    height: 14px;
}

/* Full width button when alone */
.channel-link-full {
    flex: 1 !important;
    width: 100%;
    background: var(--primary-color) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.channel-link-full:hover {
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4);
}

.channel-link-full:hover i {
    transform: translateX(4px);
}

/* ==========================================
   TITLE TRUNCATION (Max 4 lines in cards)
   ========================================== */
.channel-card .channel-name,
.chat-card .channel-name,
.bot-card .channel-name,
.sticker-card .sticker-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    max-height: calc(1.3em * 2);
}

.channel-card .channel-name a,
.chat-card .channel-name a,
.bot-card .channel-name a {
    display: inline;
}

/* Ranking/list item titles - single line */
.ranking-item .ranking-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Breadcrumbs title truncation */
.breadcrumb-item.current {
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .breadcrumb-item.current {
        max-width: 150px;
    }
}

/* ==========================================
   FAVORITES PAGE - Hide favorite button
   ========================================== */
.favorites-section .channel-card-actions,
.favorites-section .chat-card-actions,
.favorites-section .bot-card-actions,
.favorites-section .favorite-btn,
.favorite-card .channel-card-actions,
.favorite-card .chat-card-actions,
.favorite-card .bot-card-actions {
    display: none !important;
}

/* ==========================================
   HIDE DATE FROM CARDS
   ========================================== */
.channel-card .channel-date,
.chat-card .channel-date,
.bot-card .channel-date,
.sticker-card .sticker-date,
.channel-card .post-date,
.channel-card time {
    display: none;
}

/* ==========================================
   QR CODE BLOCK (Desktop Only)
   ========================================== */
.qr-code-block {
    margin-top: var(--space-md);
    text-align: center;
}

/* Hide on mobile - QR is useless there */
@media (max-width: 768px) {
    .qr-code-block {
        display: none !important;
    }
}

.qr-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.qr-toggle-btn:hover {
    color: var(--primary-color);
    background: rgba(13, 148, 136, 0.1);
}

.qr-toggle-btn.active {
    color: var(--primary-color);
    background: rgba(13, 148, 136, 0.1);
}

.qr-toggle-btn i {
    width: 16px;
    height: 16px;
}

.qr-code-container {
    margin-top: var(--space-sm);
    padding: var(--space-md);
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    text-align: center;
    animation: fadeIn 0.3s ease;
}

[data-theme="dark"] .qr-code-container {
    background: var(--bg-tertiary);
}

.qr-code-canvas {
    display: inline-block;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.qr-code-canvas img,
.qr-code-canvas canvas {
    display: block;
    border-radius: var(--radius-md);
}

.qr-code-img {
    border-radius: var(--radius-md);
    background: white;
    padding: var(--space-sm);
    box-shadow: var(--shadow-sm);
    display: block;
    margin: 0 auto;
    width: 130px;
    height: 130px;
}

.qr-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
    text-align: center;
    line-height: 1.5;
}

.qr-hint-icon {
    display: none;
}

/* ==========================================
   BACK TO TOP BUTTON
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.5);
}

.back-to-top i {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* ==========================================
   RECENTLY VIEWED SECTION
   ========================================== */
.recently-viewed-section {
    padding: var(--space-xl) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--bg-tertiary);
}

.recently-viewed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.recently-viewed-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.125rem;
    font-weight: 600;
}

.recently-viewed-title i {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.clear-history-btn {
    padding: var(--space-xs) var(--space-md);
    background: transparent;
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.clear-history-btn:hover {
    border-color: var(--error);
    color: var(--error);
}

.recently-viewed-list {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    padding-bottom: var(--space-sm);
    scrollbar-width: thin;
}

.recently-viewed-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-primary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-fast);
    min-width: 200px;
    max-width: 280px;
}

.recently-viewed-item:hover {
    border-color: var(--primary-light);
}

.recently-viewed-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.recently-viewed-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recently-viewed-info {
    min-width: 0;
}

.recently-viewed-name {
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.875rem;
}

.recently-viewed-type {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================
   SKELETON LOADING
   ========================================== */
.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

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

.skeleton-card {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.skeleton-avatar {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
}

.skeleton-title {
    height: 20px;
    width: 70%;
    margin-top: var(--space-md);
}

.skeleton-text {
    height: 14px;
    width: 100%;
    margin-top: var(--space-sm);
}

.skeleton-text.short {
    width: 40%;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.animate-fade-in {
    animation: fadeIn 0.3s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.4s ease forwards;
}

/* ==========================================
   LIST VIEW MODE (Archive Pages)
   Like ranking-list on homepage
   ========================================== */
.channels-list-view {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.channels-list-view .ranking-item {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
}

.channels-list-view .ranking-item:hover {
    border-color: var(--primary-light);
    background: var(--bg-primary);
}

/* Channel list item specific */
.channel-list-item .ranking-channel {
    flex: 1;
}

.channel-list-item .ranking-avatar {
    width: 48px;
    height: 48px;
}

.channel-list-item .ranking-name a {
    color: var(--text-primary);
    text-decoration: none;
}

.channel-list-item .ranking-name a:hover {
    color: var(--primary-color);
}

.channel-list-item .verified-badge {
    color: var(--verified-color);
    width: 16px;
    height: 16px;
}

.channel-list-item .official-badge {
    color: var(--official-color);
    width: 16px;
    height: 16px;
}

.channel-list-item .ranking-growth {
    color: var(--success);
}

/* Clickable list item */
a.ranking-item.is-clickable {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.ranking-item.is-clickable:hover {
    border-color: var(--primary-color);
    transform: translateX(4px);
}

a.ranking-item.is-clickable .ranking-name {
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

a.ranking-item.is-clickable:hover .ranking-name {
    color: var(--primary-color);
}

a.ranking-item.is-clickable .btn-open-channel {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

a.ranking-item.is-clickable .btn-open-channel i {
    opacity: 0;
    transform: translateX(-5px);
    transition: all var(--transition-fast);
}

a.ranking-item.is-clickable:hover .btn-open-channel i {
    opacity: 1;
    transform: translateX(0);
}

/* Ranking item with position (homepage top channels) */
a.ranking-item.is-clickable .ranking-position {
    transition: all var(--transition-fast);
}

a.ranking-item.is-clickable:hover .ranking-position {
    transform: scale(1.1);
}

/* List view responsive */
@media (max-width: 768px) {
    .channels-list-view .ranking-item {
        flex-wrap: wrap;
        padding: var(--space-md);
        gap: var(--space-md);
    }
    
    .channels-list-view .ranking-channel {
        flex: 1 1 100%;
    }
    
    .channels-list-view .ranking-stats {
        flex: 1;
        gap: var(--space-lg);
    }
    
    .channels-list-view .ranking-actions {
        flex-shrink: 0;
    }
    
    .channels-list-view .btn-open-channel {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.8125rem;
    }
}

/* Rating stat golden star */
.channel-stat.rating-stat .channel-stat-icon {
    color: #f59e0b;
    opacity: 1;
}

/* Growth positive highlight */
.channel-stat-growth.positive {
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

/* ============================================
   CARD ENHANCEMENTS - MINIMAL DATA STATE
============================================ */

/* Когда в карточке нет блока статистики */
.channel-card:not(:has(.channel-stats)) .channel-card-footer {
    margin-top: auto;
    padding-top: var(--space-lg);
}

.channel-card:not(:has(.channel-stats)) .channel-description {
    margin-bottom: auto;
}

/* Минимальная высота карточки */
.channel-card {
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.channel-card-header {
    flex-shrink: 0;
}

.channel-description {
    flex-grow: 1;
}

.channel-stats {
    flex-shrink: 0;
}

.channel-card-footer {
    flex-shrink: 0;
    margin-top: auto;
}

/* Если только 1 статистика - выравниваем по центру */
.channel-stats:has(.channel-stat:only-child) {
    justify-content: flex-start;
}

.channel-stats:has(.channel-stat:only-child) .channel-stat {
    background: rgba(13, 148, 136, 0.05);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
}

/* Карточка без описания */
.channel-card:not(:has(.channel-description)) .channel-card-header {
    margin-bottom: auto;
}

/* Улучшенный placeholder когда нет данных */
.channel-card .no-stats-placeholder {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.channel-card .no-stats-placeholder i {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

/* Placeholder для описания */
.channel-description .description-placeholder {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.875rem;
}

/* Header action button style */
.header-action-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    position: relative;
}

.header-action-btn i,
.header-action-btn svg {
    width: 22px;
    height: 22px;
}

.header-action-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.header-action-btn i {
    width: 20px;
    height: 20px;
}

.favorites-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #ef4444;
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   COMPACT STATUS BADGES (for cards)
============================================ */
.channel-status-badges {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    display: flex;
    gap: 4px;
    z-index: 5;
}

.status-badge {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-badge i {
    width: 14px;
    height: 14px;
}

.badge-verified-mini {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.badge-official-mini {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.badge-scam {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    animation: pulse-scam 2s ease-in-out infinite;
}

@keyframes pulse-scam {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Scam card styling */
.channel-card.is-scam {
    border-color: rgba(239, 68, 68, 0.3);
}

.channel-card.is-scam::before {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    opacity: 1;
}

.scam-warning {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-md);
    color: #dc2626;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.scam-warning i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Scam Alert Compact (on single channel page) */
.scam-alert-compact {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: var(--radius-md);
    color: #dc2626;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-top: var(--space-sm);
}

.scam-alert-compact i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Category badge in hero */
.hero-badge-item.category-badge {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

/* ============================================
   ADAPTIVE GRID FOR FEWER ITEMS
============================================ */
.resource-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-md);
}

/* 1 item - full width */
.resource-type-grid:has(.resource-type-card:only-child) {
    grid-template-columns: 1fr;
    max-width: 300px;
}

/* 2 items */
.resource-type-grid:has(.resource-type-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
    max-width: 500px;
}

/* 3 items */
.resource-type-grid:has(.resource-type-card:nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
}

/* Quick links adaptive */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
}

/* ============================================
   RATING WIDGET (Star voting)
============================================ */
.widget-rating {
    background: var(--bg-secondary);
}

.rating-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.rating-stars-interactive {
    display: flex;
    gap: 2px;
    padding: 8px 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
}

.star-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.star-btn svg {
    width: 28px;
    height: 28px;
    transition: all 0.15s ease;
}

/* Пустая звезда по умолчанию */
.star-btn .star-empty {
    color: #d1d5db;
    stroke-width: 1.5;
}

.star-btn .star-filled {
    position: absolute;
    color: #f59e0b;
    fill: #f59e0b;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
}

/* При наведении - золотая заливка */
.star-btn.hovered .star-filled {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.4));
}

.star-btn.hovered .star-empty {
    opacity: 0;
}

/* Выбранные звёзды - заполненные */
.star-btn.active .star-filled {
    opacity: 1;
    transform: scale(1);
}

.star-btn.active .star-empty {
    opacity: 0;
}

/* Пульсация при клике */
.star-btn.clicked .star-filled {
    animation: starPulse 0.4s ease;
}

@keyframes starPulse {
    0% { transform: scale(1); }
    30% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Подсказка при наведении */
.rating-hover-label {
    height: 24px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #f59e0b;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.2s ease;
}

.rating-hover-label.visible {
    opacity: 1;
    transform: translateY(0);
}

.rating-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.rating-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-value.updated {
    animation: ratingBounce 0.5s ease;
}

@keyframes ratingBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.rating-count {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.rating-user-info {
    font-size: 0.8125rem;
    color: var(--success);
    text-align: center;
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--bg-tertiary);
}

/* ============================================
   SHARE MODAL
============================================ */
.share-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: var(--space-lg);
    animation: fadeIn 0.2s ease;
}

.share-modal {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    max-width: 360px;
    width: 100%;
    position: relative;
    animation: slideUp 0.3s ease;
}

.share-modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.share-modal-close:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.share-modal h3 {
    margin-bottom: var(--space-lg);
    font-size: 1.25rem;
}

.share-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.share-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.share-modal-btn i, .share-modal-btn svg {
    width: 20px;
    height: 20px;
}

.share-modal-btn.vk {
    background: #0077ff;
    color: white;
}

.share-modal-btn.vk:hover {
    background: #0066dd;
}

.share-modal-btn.ok {
    background: #f97316;
    color: white;
}

.share-modal-btn.ok:hover {
    background: #ea580c;
}

.share-modal-btn.max {
    background: #4f46e5;
    color: white;
}

.share-modal-btn.max:hover {
    background: #4338ca;
}

.share-modal-btn.max img {
    border-radius: 4px;
}

.share-modal-btn.copy {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.share-modal-btn.copy:hover {
    background: var(--primary-color);
    color: white;
}

.share-modal-buttons--grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

/* ============================================
   COOKIE BANNER - RESPONSIVE
============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--bg-tertiary);
    box-shadow: 0 -4px 30px rgba(0,0,0,0.15);
    z-index: 9999;
    padding: var(--space-lg);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.cookie-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.cookie-btn {
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    white-space: nowrap;
}

.cookie-accept {
    background: var(--primary-color);
    color: white;
}

.cookie-accept:hover {
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
}

.cookie-decline {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.cookie-decline:hover {
    background: var(--bg-primary);
}

/* Cookie Mobile */
@media (max-width: 768px) {
    .cookie-banner {
        padding: var(--space-md);
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
    
    .cookie-icon {
        font-size: 2rem;
    }
    
    .cookie-text p {
        font-size: 0.8125rem;
    }
    
    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        padding: var(--space-md);
    }
}

/* ============================================
   DESKTOP CARD IMPROVEMENTS
============================================ */
@media (min-width: 768px) {
    /* Action кнопка появляется при наведении */
    .channel-card .channel-card-actions {
        position: absolute;
        top: var(--space-lg);
        right: var(--space-lg);
        opacity: 0;
        transform: translateY(-5px);
        transition: all 0.25s ease;
        z-index: 10;
    }
    
    .channel-card:hover .channel-card-actions {
        opacity: 1;
        transform: translateY(0);
    }
    
    .channel-card .channel-action-btn {
        width: 42px;
        height: 42px;
        border-radius: var(--radius-md);
        background: var(--bg-primary);
        border: 1px solid var(--bg-tertiary);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .channel-card .channel-action-btn:hover {
        background: #fef2f2;
        border-color: #fca5a5;
        color: #ef4444;
        transform: scale(1.1);
    }
    
    .channel-card .channel-action-btn i {
        width: 20px;
        height: 20px;
    }
}

/* ============================================
   CTA SECTION
============================================ */
.cta-section {
    padding: var(--space-2xl) 0;
}

.cta-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    padding: var(--space-2xl) var(--space-3xl);
    background: var(--primary-color);
    border-radius: var(--radius-md);
    color: white;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(13, 148, 136, 0.4);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.cta-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-icon i {
    width: 40px;
    height: 40px;
    color: white;
}

.cta-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.cta-content h2 {
    color: white;
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
}

.cta-content p {
    opacity: 0.9;
    max-width: 500px;
    font-size: 1.0625rem;
}

.cta-btn {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-2xl);
    background: white;
    color: var(--primary-color);
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1.0625rem;
    white-space: nowrap;
    transition: all var(--transition-fast);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn i {
    width: 20px;
    height: 20px;
}

.cta-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: var(--space-xl);
    }
    
    .cta-icon {
        display: none;
    }
}

/* ============================================
   SEO SECTION
============================================ */
.seo-section {
    background: var(--bg-secondary);
    padding: var(--space-2xl) 0;
}

/* ============================================
   ARCHIVE HEADER
============================================ */
.breadcrumbs-section {
    background: var(--bg-secondary);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--bg-tertiary);
}

/* Breadcrumbs section mobile */
@media (max-width: 576px) {
    .breadcrumbs-section {
        padding: var(--space-sm) 0;
    }
    
    .breadcrumbs-section .breadcrumbs {
        font-size: 0.75rem;
        gap: var(--space-xs);
        flex-wrap: wrap;
    }
    
    .breadcrumbs-section .breadcrumb-item a {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }
    
    .breadcrumbs-section .breadcrumb-item a i {
        width: 12px !important;
        height: 12px !important;
    }
    
    .breadcrumbs-section .breadcrumb-separator i {
        width: 10px !important;
        height: 10px !important;
    }
}

.archive-header {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

/* Decorative background pattern */
.archive-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.1;
    pointer-events: none;
}

.archive-header-content {
    position: relative;
    z-index: 1;
}

.archive-title {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-sm);
}

/* Category Icon in Archive Header */
.archive-header-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.archive-header-icon i {
    width: 28px;
    height: 28px;
}

.archive-count {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: var(--space-xs) var(--space-md);
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    border: 1px solid var(--bg-tertiary);
}

.archive-description {
    color: var(--text-secondary);
    margin-top: var(--space-md);
    max-width: 700px;
    font-size: 1.0625rem;
    line-height: 1.6;
}

/* Subcategories in Archive Header */
.archive-subcategories {
    margin-top: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.subcategory-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.subcategory-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: var(--bg-primary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.subcategory-pill:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(13, 148, 136, 0.05);
}

.subcategory-pill i {
    width: 14px;
    height: 14px;
}

/* Collapsible Subcategories */
.subcategory-hidden {
    display: none !important;
}

.subcategories-collapsible.expanded .subcategory-hidden {
    display: inline-flex !important;
}

.subcategories-expand-btn {
    cursor: pointer;
    background: var(--primary-color);
    color: white;
    border: none;
}

.subcategories-expand-btn:hover {
    background: var(--primary-dark);
}

.subcategories-expand-btn .expand-icon {
    transition: transform var(--transition-fast);
}

.subcategories-collapsible.expanded .subcategories-expand-btn .expand-icon {
    transform: rotate(180deg);
}

.subcategories-collapsible.expanded .subcategories-expand-btn .expand-text {
    display: none;
}

.subcategories-collapsible.expanded .subcategories-expand-btn .collapse-text {
    display: inline !important;
}

/* ============================================
   OFFICIAL FILTER CHECKBOX
============================================ */
.official-filter {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-primary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.official-filter:hover {
    border-color: var(--official-color);
    color: var(--official-color);
}

.official-filter input[type="checkbox"] {
    display: none;
}

.official-filter .filter-checkbox-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.official-filter .filter-checkbox-icon i {
    width: 14px;
    height: 14px;
}

.official-filter input[type="checkbox"]:checked + .filter-checkbox-icon {
    background: var(--official-color);
    color: white;
}

.official-filter:has(input[type="checkbox"]:checked) {
    border-color: var(--official-color);
    background: rgba(16, 185, 129, 0.1);
    color: var(--official-color);
}

/* Archive stats mini block */
.archive-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--bg-tertiary);
}

.archive-stat {
    text-align: center;
}

.archive-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.archive-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .archive-header {
        padding: var(--space-xl) 0;
    }
    
    .archive-header-icon {
        width: 48px;
        height: 48px;
    }
    
    .archive-header-icon i {
        width: 24px;
        height: 24px;
    }
    
    .archive-stats {
        gap: var(--space-lg);
    }
    
    .archive-stat-value {
        font-size: 1.25rem;
    }
}

/* ============================================
   CATEGORIES FILTER
============================================ */
.categories-filter-section {
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--bg-tertiary);
}

.categories-filter {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

/* Collapsible Categories */
.categories-collapsible .category-hidden {
    display: none;
}

.categories-collapsible.expanded .category-hidden {
    display: flex;
}

.categories-expand-btn {
    cursor: pointer;
    background: var(--bg-secondary) !important;
    border: 1px solid var(--bg-tertiary) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.categories-expand-btn:hover {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    background: rgba(13, 148, 136, 0.05) !important;
}

.categories-expand-btn .expand-icon,
.categories-expand-btn svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    transition: transform var(--transition-fast);
}

.categories-expand-btn .expand-text,
.categories-expand-btn .collapse-text {
    font-size: 0.9375rem;
    line-height: 1;
}

.categories-collapsible.expanded .categories-expand-btn .expand-icon {
    transform: rotate(180deg);
}

.categories-collapsible.expanded .categories-expand-btn .expand-text {
    display: none !important;
}

.categories-collapsible.expanded .categories-expand-btn .collapse-text {
    display: inline !important;
}

/* Categories Toggle Button (front-page) */
.categories-toggle-wrapper {
    margin-top: var(--space-md);
    text-align: center;
}

.categories-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.categories-toggle-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(13, 148, 136, 0.05);
}

.categories-toggle-btn i {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.categories-toggle-btn .toggle-text-more,
.categories-toggle-btn .toggle-text-less {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.categories-toggle-btn[data-expanded="true"] i {
    transform: rotate(180deg);
}

.categories-grid.categories-collapsible .category-hidden {
    display: none;
}

.categories-grid.categories-collapsible.expanded .category-hidden {
    display: flex;
}

/* ============================================
   FILTERS SECTION
============================================ */
.filters-section {
    padding: var(--space-lg) 0;
}

.view-toggle {
    display: flex;
    gap: 2px;
}

.view-toggle .sort-btn {
    padding: var(--space-sm);
}

.view-toggle .sort-btn i {
    width: 18px;
    height: 18px;
}

/* ============================================
   NO RESULTS
============================================ */
.no-results {
    text-align: center;
    padding: var(--space-3xl);
}

.no-results-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-results-icon i {
    width: 40px;
    height: 40px;
    color: var(--text-muted);
}

.no-results h2 {
    margin-bottom: var(--space-sm);
}

.no-results p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.btn-primary:hover {
    box-shadow: var(--shadow-lg);
}

/* ============================================
   SINGLE CHANNEL STYLES
============================================ */
.channel-content-section {
    padding-top: 0;
}

.channel-content-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--space-xl);
    align-items: start;
}

.channel-content-grid > * {
    min-width: 0;
}

@media (max-width: 992px) {
    .channel-content-grid {
        grid-template-columns: 1fr;
    }
}

/* Content Blocks */
.content-block {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    min-width: 0;
    overflow: hidden;
}

.content-block h2,
.content-block h3 {
    margin-bottom: var(--space-md);
}

.channel-full-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

.channel-full-description p {
    margin-bottom: var(--space-md);
}

/* Tags */
.channel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.channel-tag {
    padding: var(--space-xs) var(--space-md);
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.channel-tag:hover {
    background: var(--primary-color);
    color: white;
}

/* Info Table */
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid var(--bg-tertiary);
}

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

.info-table td {
    padding: var(--space-md) 0;
}

.info-label {
    color: var(--text-muted);
    width: 40%;
}

.info-value {
    font-weight: 500;
}

.info-value a {
    color: var(--primary-color);
}

/* How-to Block (FAQ Schema) */
.howto-block h3 {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.howto-block h3 i {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.howto-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.howto-step {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-tertiary);
    transition: all var(--transition-fast);
}

.howto-step:hover {
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.howto-step-number {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.howto-step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 var(--space-xs);
    color: var(--text-primary);
}

.howto-step-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.howto-cta {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--bg-tertiary);
}

.btn-subscribe-inline {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.btn-subscribe-inline:hover {
    box-shadow: var(--shadow-lg);
}

.btn-subscribe-inline i {
    width: 18px;
    height: 18px;
}

/* Copy Options in How-to */
.copy-options {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-top: var(--space-sm);
}

.copy-or {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.copy-name-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--primary-color);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.copy-name-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.copy-name-btn i {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.copy-name-btn:hover i {
    opacity: 1;
}

.copy-name-btn.copied {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.copy-name-btn.copy-name-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

.copy-name-btn.copy-name-link:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* Share Block */
.share-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.share-buttons--4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.share-btn {
    justify-content: center;
    text-decoration: none;
    border: none;
}

.share-vk {
    background: #0077ff;
    color: white;
}

.share-vk:hover {
    background: #0066dd;
}

.share-ok {
    background: #f97316;
    color: white;
}

.share-ok:hover {
    background: #ea580c;
}

.share-max {
    background: #4f46e5;
    color: white;
}

.share-max:hover {
    background: #4338ca;
}

.share-max img {
    border-radius: 4px;
}

.share-copy {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--bg-tertiary);
}

.share-copy:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.share-btn:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

/* Sidebar Widgets */
.widget-cta {
    background: var(--primary-color);
    border: none;
}

.widget-cta .widget-content {
    text-align: center;
    color: white;
}

.widget-cta h3 {
    color: white;
    margin-bottom: var(--space-sm);
}

.widget-cta p {
    opacity: 0.9;
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
}

.widget-cta .btn-open-max {
    background: white;
    color: var(--primary-color);
    width: 100%;
    justify-content: center;
}

.widget-cta-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.widget-cta-icon i {
    width: 28px;
    height: 28px;
}

.widget-report {
    background: var(--bg-secondary);
    border: 1px dashed var(--bg-tertiary) !important;
}

.widget-report .widget-content {
    text-align: center;
    padding: var(--space-lg);
}

.widget-report .widget-content p {
    margin-bottom: var(--space-md);
}

.report-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--bg-tertiary);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    width: 100%;
}

.report-link i {
    width: 16px;
    height: 16px;
}

.report-link:hover {
    color: var(--error);
    border-color: var(--error);
    background: rgba(239, 68, 68, 0.08);
}

/* Bot CTA Widget - Premium Design */
.widget.widget-cta-bot {
    position: relative;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: none !important;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.widget.widget-cta-bot .widget-cta-bot-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 0% 0%, rgba(255,255,255,0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(0,0,0,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.widget.widget-cta-bot .widget-content {
    position: relative;
    z-index: 1;
    padding: var(--space-xl);
    color: white;
}

.widget.widget-cta-bot .widget-cta-bot-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.widget.widget-cta-bot .widget-cta-bot-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    flex-shrink: 0;
}

.widget.widget-cta-bot .widget-cta-bot-icon i {
    width: 26px;
    height: 26px;
    color: white !important;
}

.widget.widget-cta-bot .widget-cta-bot-title h3 {
    color: white !important;
    font-size: 1.125rem;
    margin: 0;
    line-height: 1.2;
}

.widget.widget-cta-bot .widget-cta-bot-title span {
    color: rgba(255,255,255,0.8) !important;
    font-size: 0.8125rem;
    display: block;
}

.widget.widget-cta-bot .widget-cta-bot-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
}

.widget.widget-cta-bot .widget-cta-bot-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: white !important;
    font-size: 0.8125rem;
}

.widget.widget-cta-bot .widget-cta-bot-feature i {
    width: 16px;
    height: 16px;
    color: rgba(255,255,255,0.8) !important;
}

.widget.widget-cta-bot .widget-cta-bot-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: white !important;
    color: #059669 !important;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.widget.widget-cta-bot .widget-cta-bot-btn:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: #047857 !important;
}

.widget.widget-cta-bot .widget-cta-bot-btn i {
    width: 20px;
    height: 20px;
    color: #059669 !important;
}

.widget.widget-cta-bot .qr-code-block {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.2);
}

.widget.widget-cta-bot .qr-toggle-btn {
    color: rgba(255,255,255,0.8) !important;
}

.widget.widget-cta-bot .qr-toggle-btn:hover {
    color: white !important;
    background: rgba(255,255,255,0.1);
}

.widget.widget-cta-bot .qr-code-container {
    background: rgba(255,255,255,0.15);
}

.widget.widget-cta-bot .qr-hint {
    color: rgba(255,255,255,0.7) !important;
}

/* Channel CTA Widget - Premium Design */
.widget.widget-cta-channel {
    position: relative;
    background: var(--primary-color) !important;
    border: none !important;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.widget.widget-cta-channel .widget-cta-channel-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 0% 0%, rgba(255,255,255,0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(0,0,0,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.widget.widget-cta-channel .widget-content {
    position: relative;
    z-index: 1;
    padding: var(--space-xl);
    color: white;
}

.widget.widget-cta-channel .widget-cta-channel-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.widget.widget-cta-channel .widget-cta-channel-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    flex-shrink: 0;
}

.widget.widget-cta-channel .widget-cta-channel-icon i {
    width: 26px;
    height: 26px;
    color: white !important;
}

.widget.widget-cta-channel .widget-cta-channel-title h3 {
    color: white !important;
    font-size: 1.125rem;
    margin: 0;
    line-height: 1.2;
}

.widget.widget-cta-channel .widget-cta-channel-title span {
    color: rgba(255,255,255,0.8) !important;
    font-size: 0.8125rem;
    display: block;
}

.widget.widget-cta-channel .widget-cta-channel-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
}

.widget.widget-cta-channel .widget-cta-channel-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: white !important;
    font-size: 0.8125rem;
}

.widget.widget-cta-channel .widget-cta-channel-feature i {
    width: 16px;
    height: 16px;
    color: rgba(255,255,255,0.8) !important;
}

.widget.widget-cta-channel .widget-cta-channel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: white !important;
    color: var(--primary-color) !important;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.widget.widget-cta-channel .widget-cta-channel-btn:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: var(--primary-dark) !important;
}

.widget.widget-cta-channel .widget-cta-channel-btn i {
    width: 20px;
    height: 20px;
    color: var(--primary-color) !important;
}

.widget.widget-cta-channel .qr-code-block {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.2);
}

.widget.widget-cta-channel .qr-toggle-btn {
    color: rgba(255,255,255,0.8) !important;
}

.widget.widget-cta-channel .qr-toggle-btn:hover {
    color: white !important;
    background: rgba(255,255,255,0.1);
}

.widget.widget-cta-channel .qr-code-container {
    background: rgba(255,255,255,0.15);
}

.widget.widget-cta-channel .qr-hint {
    color: rgba(255,255,255,0.7) !important;
}

/* Download MAX Widget */
.widget-download {
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid rgba(13, 148, 136, 0.2);
}

.widget-download .widget-content {
    text-align: center;
}

.widget-download-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    background: var(--primary-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.widget-download-icon i {
    width: 24px;
    height: 24px;
}

.widget-download h4 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.widget-download p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.widget-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-sm) var(--space-lg);
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.widget-download-btn:hover {
    box-shadow: var(--shadow-lg), var(--shadow-md);
}

.widget-download-btn i {
    width: 18px;
    height: 18px;
}

/* ============================================
   MOBILE MENU
============================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-secondary);
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-inner {
    padding: var(--space-lg);
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--bg-tertiary);
    margin-bottom: var(--space-lg);
}

.mobile-menu-close {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    transition: all var(--transition-fast);
}

.mobile-menu-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.mobile-menu-close i,
.mobile-menu-close svg {
    width: 28px;
    height: 28px;
}

.mobile-search {
    margin-bottom: var(--space-lg);
}

.mobile-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: background var(--transition-fast);
}

.mobile-nav-link:hover {
    background: var(--bg-tertiary);
}

.mobile-nav-link i,
.mobile-nav-link svg {
    width: 22px;
    height: 22px;
    color: var(--text-muted);
}

/* Mobile menu with submenus */
.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-item {
    position: relative;
}

.mobile-menu-item .mobile-nav-link {
    flex: 1;
}

.mobile-menu-item.has-children {
    display: flex;
    flex-wrap: wrap;
}

.mobile-menu-item.has-children > .mobile-nav-link {
    flex: 1;
}

.mobile-submenu-toggle {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mobile-submenu-toggle i {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.mobile-submenu-toggle:hover {
    color: var(--primary-color);
}

.mobile-menu-item.open .mobile-submenu-toggle i {
    transform: rotate(180deg);
}

/* Mobile submenu */
.mobile-sub-menu {
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin-top: var(--space-xs);
    overflow: hidden;
}

.mobile-menu-item.open > .mobile-sub-menu {
    display: block;
}

.mobile-sub-menu .mobile-nav-link {
    padding: var(--space-sm) var(--space-md) var(--space-sm) var(--space-2xl);
    font-size: 0.9375rem;
}

.mobile-sub-menu .mobile-nav-link:hover {
    background: var(--bg-secondary);
}

/* Ensure favorites link always shows */
.mobile-nav-favorites {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--bg-tertiary);
}

.mobile-menu-footer {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--bg-tertiary);
    margin-top: var(--space-lg);
}

.mobile-menu-footer .btn-add-channel {
    width: 100%;
    justify-content: center;
}

/* ============================================
   FORM STYLES (Add Channel Page)
============================================ */
.add-channel-section .container {
    max-width: 800px;
}

.add-form-steps {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.form-step {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
}

.form-step.active {
    color: var(--primary-color);
}

.form-step.completed {
    color: var(--success);
}

.form-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.form-step.active .form-step-number {
    background: var(--primary-color);
    color: white;
}

.form-step.completed .form-step-number {
    background: var(--success);
    color: white;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

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

.form-error {
    color: var(--error);
    font-size: 0.8125rem;
    margin-top: var(--space-xs);
}

.form-success-message {
    text-align: center;
    padding: var(--space-2xl);
}

.form-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
}

.form-success-icon i {
    width: 40px;
    height: 40px;
}

/* ============================================
   DARK THEME ADJUSTMENTS
============================================ */
[data-theme="dark"] {
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .channel-avatar-placeholder {
    background: var(--primary-color);
}

[data-theme="dark"] .hero-section::before {
    opacity: 0.1;
}

[data-theme="dark"] .theme-icon-light {
    display: none;
}

[data-theme="dark"] .theme-icon-dark {
    display: block !important;
}

/* ============================================
   LIST VIEW - CLEAN TABLE STYLE
============================================ */

/* Таблица */
.channels-grid.list-view {
    display: table !important;
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    grid-template-columns: none !important;
}

/* Строка */
.channels-grid.list-view .channel-card {
    display: table-row !important;
    background: var(--bg-primary) !important;
    transition: background 0.2s ease !important;
}

.channels-grid.list-view .channel-card:hover {
    background: var(--bg-secondary) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Убираем лишнее */
.channels-grid.list-view .channel-card::before,
.channels-grid.list-view .channel-card::after {
    display: none !important;
}

/* Ячейки */
.channels-grid.list-view .channel-card-header,
.channels-grid.list-view .channel-stats,
.channels-grid.list-view .channel-card-actions {
    display: table-cell !important;
    vertical-align: middle !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid var(--bg-tertiary) !important;
}

.channels-grid.list-view .channel-card:last-child .channel-card-header,
.channels-grid.list-view .channel-card:last-child .channel-stats,
.channels-grid.list-view .channel-card:last-child .channel-card-actions {
    border-bottom: none !important;
}

/* Header ячейка */
.channels-grid.list-view .channel-card-header {
    width: auto !important;
    margin: 0 !important;
}

/* Внутри header - flex */
.channels-grid.list-view .channel-card-header > * {
    display: inline-flex !important;
    vertical-align: middle !important;
}

.channels-grid.list-view .channel-avatar {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    margin-right: 12px !important;
    vertical-align: middle !important;
    display: inline-block !important;
}

.channels-grid.list-view .channel-info {
    display: inline-block !important;
    vertical-align: middle !important;
}

.channels-grid.list-view .channel-name {
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    margin: 0 0 2px 0 !important;
    line-height: 1.3 !important;
}

.channels-grid.list-view .channel-name a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.channels-grid.list-view .name-badge {
    width: 15px !important;
    height: 15px !important;
}

.channels-grid.list-view .channel-meta-line {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.channels-grid.list-view .channel-username {
    font-size: 0.8125rem !important;
    color: var(--text-muted) !important;
}

.channels-grid.list-view .channel-category {
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
    text-decoration: none !important;
}

.channels-grid.list-view .channel-category:hover {
    color: var(--primary-color) !important;
}

.channels-grid.list-view .channel-description {
    display: none !important;
}

/* Stats ячейка */
.channels-grid.list-view .channel-stats {
    width: 180px !important;
    white-space: nowrap !important;
    text-align: right !important;
    border: none !important;
    margin: 0 !important;
}

.channels-grid.list-view .channel-stat {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-left: 16px !important;
    padding: 0 !important;
    background: none !important;
}

.channels-grid.list-view .channel-stat:first-child {
    margin-left: 0 !important;
}

.channels-grid.list-view .channel-stat-icon {
    display: inline-flex !important;
    width: 16px !important;
    height: 16px !important;
    color: var(--text-muted) !important;
}

.channels-grid.list-view .channel-stat-value {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
}

.channels-grid.list-view .channel-stat-growth,
.channels-grid.list-view .channel-stat::after {
    display: none !important;
}

/* Actions ячейка */
.channels-grid.list-view .channel-card-actions {
    width: 100px !important;
    text-align: right !important;
    white-space: nowrap !important;
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
}

.channels-grid.list-view .channel-action-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: var(--bg-tertiary) !important;
    border: none !important;
    color: var(--text-muted) !important;
    margin-left: 4px !important;
    transition: all 0.2s ease !important;
}

.channels-grid.list-view .channel-action-btn:first-child {
    margin-left: 0 !important;
}

.channels-grid.list-view .channel-action-btn:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #ef4444 !important;
}

.channels-grid.list-view .channel-action-btn i {
    width: 16px !important;
    height: 16px !important;
}

/* Footer скрыт */
.channels-grid.list-view .channel-card-footer {
    display: none !important;
}

/* Badges */
.name-badge {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.name-badge.verified {
    color: var(--verified-color, #3b82f6);
}

.name-badge.official {
    color: var(--official-color, #10b981);
}

.channel-meta-line {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.channels-grid.list-view .channel-status-badges,
.channels-grid.list-view .scam-warning {
    display: none !important;
}

/* Кнопка открыть */
.list-open-link {
    display: none;
}

.channels-grid.list-view .list-open-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    background: var(--primary-color) !important;
    color: white !important;
    border-radius: 8px !important;
    margin-left: 4px !important;
    transition: all 0.2s ease !important;
}

.channels-grid.list-view .list-open-link:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3) !important;
}

.channels-grid.list-view .list-open-link i {
    width: 16px !important;
    height: 16px !important;
}

/* Mobile */
@media (max-width: 768px) {
    .channels-grid.list-view {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .channels-grid.list-view .channel-card {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 12px !important;
        background: var(--bg-secondary) !important;
        border-radius: var(--radius-md) !important;
    }
    
    .channels-grid.list-view .channel-card-header,
    .channels-grid.list-view .channel-stats,
    .channels-grid.list-view .channel-card-actions {
        display: flex !important;
        padding: 0 !important;
        border: none !important;
        width: auto !important;
    }
    
    .channels-grid.list-view .channel-card-header {
        flex: 1 !important;
        align-items: center !important;
        gap: 10px !important;
    }
    
    .channels-grid.list-view .channel-avatar {
        width: 36px !important;
        height: 36px !important;
        margin: 0 !important;
    }
    
    .channels-grid.list-view .channel-stats {
        display: none !important;
    }
    
    .channels-grid.list-view .channel-action-btn {
        width: 28px !important;
        height: 28px !important;
        margin-left: 2px !important;
    }
    
    .channels-grid.list-view .list-open-link {
        width: 28px !important;
        height: 28px !important;
        margin-left: 2px !important;
    }
}

/* ============================================
   BOT CARD STYLES
============================================ */
.bot-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
}

.badge-free {
    padding: 2px var(--space-sm);
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--success);
}

.badge-inline {
    padding: 2px var(--space-sm);
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--info);
    font-family: var(--font-mono);
}

/* ============================================
   STICKER CARD STYLES
============================================ */
.stickers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-lg);
}

.sticker-card {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.sticker-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.sticker-badge-official {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: var(--official-color);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    font-weight: 600;
    z-index: 1;
}

.sticker-badge-official i {
    width: 12px;
    height: 12px;
}

.sticker-preview {
    position: relative;
    aspect-ratio: 1;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sticker-preview > a > img,
.sticker-preview > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sticker-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    width: 100%;
    height: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.sticker-preview-grid img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--bg-secondary);
    border-radius: 4px;
}

.sticker-preview-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--text-muted);
}

.sticker-preview-placeholder i {
    width: 48px;
    height: 48px;
}

.sticker-type-badge {
    position: absolute;
    bottom: var(--space-sm);
    left: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    font-weight: 500;
}

.sticker-info {
    padding: var(--space-md);
}

.sticker-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticker-title a:hover {
    color: var(--primary-color);
}

.sticker-author {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.sticker-category {
    display: inline-block;
    padding: 2px var(--space-sm);
    background: rgba(13, 148, 136, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary-color);
}

.sticker-stats {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    border-top: 1px solid var(--bg-tertiary);
}

.sticker-stat {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.sticker-stat i {
    width: 14px;
    height: 14px;
}

.sticker-actions {
    padding: var(--space-sm) var(--space-md) var(--space-md);
}

.btn-add-sticker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.btn-add-sticker:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.btn-add-sticker i {
    width: 16px;
    height: 16px;
}

/* ============================================
   CHAT RULES BLOCK
============================================ */
.chat-rules {
    background: var(--bg-tertiary);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ============================================
   BOT FEATURES BLOCK
============================================ */
.bot-features {
    line-height: 1.8;
    color: var(--text-secondary);
}

.bot-features p {
    margin-bottom: var(--space-md);
}

.bot-features ul,
.bot-features ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
}

.bot-features li {
    margin-bottom: var(--space-sm);
}

/* ============================================
   ARCHIVE TITLE ICON
============================================ */
.archive-title i {
    color: var(--primary-color);
    margin-right: var(--space-sm);
}

/* ============================================
   RESPONSIVE STICKERS
============================================ */
@media (max-width: 576px) {
    .stickers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .sticker-info {
        padding: var(--space-sm);
    }
    
    .sticker-title {
        font-size: 0.875rem;
    }
}

/* ============================================
   MOBILE TOP CHANNELS - Hide buttons
============================================ */
@media (max-width: 768px) {
    .ranking-actions {
        display: none !important;
    }
    
    .ranking-item {
        padding: var(--space-sm) var(--space-md);
    }
    
    .ranking-position {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .ranking-avatar {
        width: 36px;
        height: 36px;
    }
    
    .ranking-name {
        font-size: 0.9375rem;
    }
    
    .ranking-category {
        font-size: 0.75rem;
    }
    
    /* Make ranking item clickable on mobile */
    .ranking-item {
        cursor: pointer;
    }
}

/* ============================================
   CLICKABLE CARDS
============================================ */
.channel-card.clickable-card {
    cursor: pointer;
}

.channel-card.clickable-card:active {
    transform: scale(0.99);
}

/* ============================================
   STATS BLOCK REDESIGN (Single page)
============================================ */
.channel-stats-block {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-tertiary);
}

.channel-stats-block .stat-item {
    flex: 1 1 auto;
    min-width: 120px;
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--bg-tertiary);
}

.stats-disclaimer {
    width: 100%;
    margin-top: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.stats-disclaimer i {
    width: 14px;
    height: 14px;
    color: #f59e0b;
    flex-shrink: 0;
    margin-top: 1px;
}

@media (max-width: 768px) {
    .channel-stats-block {
        gap: var(--space-sm);
        padding: var(--space-md);
    }
    
    .channel-stats-block .stat-item {
        flex: 1 1 calc(50% - var(--space-sm));
        min-width: 100px;
        padding: var(--space-sm);
    }
    
    .stat-item-value {
        font-size: 1.25rem !important;
    }
}

/* ============================================
   MAX LINKS - No follow style
============================================ */
.max-link-protected {
    position: relative;
}

/* ============================================
   PRINT STYLES
============================================ */
@media print {
    .site-header,
    .site-footer,
    .channel-card-actions,
    .share-block,
    .mobile-menu,
    .btn-add-channel {
        display: none !important;
    }
    
    .channel-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ============================================
   MOBILE IMPROVEMENTS
============================================ */
@media (max-width: 576px) {
    /* Улучшаем карточки на мобильных */
    .channel-card {
        padding: var(--space-md) !important;
        min-height: auto !important;
    }
    
    .channel-card-header {
        gap: var(--space-sm);
    }
    
    .channel-avatar {
        width: 44px !important;
        height: 44px !important;
    }
    
    .channel-name {
        font-size: 0.9375rem !important;
    }
    
    .channel-description {
        font-size: 0.875rem;
        -webkit-line-clamp: 2;
    }
    
    .channel-stats {
        gap: var(--space-md);
    }
    
    .channel-card-footer {
        gap: var(--space-sm);
        margin-top: var(--space-md);
        padding-top: var(--space-md);
    }
    
    .channel-link-details,
    .channel-link-max {
        padding: var(--space-sm);
        font-size: 0.8125rem;
    }
    
    /* Hero секция на мобильных */
    .hero-section {
        padding: var(--space-xl) 0;
    }
    
    .hero-stats {
        gap: var(--space-md);
    }
    
    .hero-stat-value {
        font-size: 1.5rem;
    }
    
    /* Быстрые ссылки */
    .quick-link-card {
        padding: var(--space-md);
    }
    
    .quick-link-icon {
        width: 44px;
        height: 44px;
    }
    
    .quick-link-content h3 {
        font-size: 0.9375rem;
    }
    
    /* Section headers */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   HOVER STATES IMPROVEMENTS
============================================ */
@media (hover: hover) {
    .channel-card:hover {
    }
    
    .category-pill:hover {
    }
}

/* Touch devices - no transform on hover */
@media (hover: none) {
    .channel-card:hover {
        transform: none;
    }
    
    .channel-card:active {
        transform: scale(0.98);
    }
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
============================================ */
/* Focus states */
.channel-card:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.category-pill:focus,
.btn-primary:focus,
.btn-open-max:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   BLOG / NEWS STYLES
============================================ */
.blog-page {
    padding: var(--space-2xl) 0 var(--space-3xl);
    min-height: 60vh;
}

.blog-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.blog-header h1 {
    margin-bottom: var(--space-sm);
}

.blog-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Card */
.blog-card {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 20px 40px rgba(13, 148, 136, 0.1);
    border-color: rgba(13, 148, 136, 0.2);
}

.blog-card-image {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-card-content {
    padding: var(--space-lg);
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    font-size: 0.8125rem;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-muted);
}

.blog-date i {
    width: 14px;
    height: 14px;
}

.blog-category {
    padding: 4px 10px;
    background: rgba(13, 148, 136, 0.1);
    border-radius: var(--radius-full);
    color: var(--primary-color);
    font-weight: 500;
}

.blog-card-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--text-primary);
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9375rem;
}

.blog-card-link i {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.blog-card-link:hover i {
    transform: translateX(4px);
}

/* ============================================
   SINGLE POST STYLES
============================================ */
.single-post {
    padding: var(--space-xl) 0 var(--space-3xl);
}

.single-post > .container {
    max-width: 800px;
}

/* Post Header */
.post-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    font-size: 0.875rem;
}

.post-date {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-muted);
}

.post-date i {
    width: 16px;
    height: 16px;
}

.post-category {
    padding: 4px 12px;
    background: rgba(13, 148, 136, 0.1);
    border-radius: var(--radius-full);
    color: var(--primary-color);
    font-weight: 500;
}

.post-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.post-excerpt {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Featured Image */
.post-featured-image {
    margin-bottom: var(--space-xl);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

/* Post Content */
.post-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.post-content h2 {
    font-size: 1.75rem;
    margin: var(--space-xl) 0 var(--space-md);
    color: var(--text-primary);
}

.post-content h3 {
    font-size: 1.375rem;
    margin: var(--space-lg) 0 var(--space-md);
    color: var(--text-primary);
}

.post-content p {
    margin-bottom: var(--space-md);
}

.post-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: var(--space-lg) 0;
}

.post-content ul,
.post-content ol {
    margin: var(--space-md) 0;
    padding-left: var(--space-xl);
}

.post-content li {
    margin-bottom: var(--space-sm);
}

.post-content blockquote {
    margin: var(--space-lg) 0;
    padding: var(--space-lg);
    background: var(--bg-tertiary);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--bg-tertiary);
}

.post-tag {
    padding: var(--space-xs) var(--space-md);
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.post-tag:hover {
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary-color);
}

/* Post Share */
.post-share {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--bg-tertiary);
}

.post-share > span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.post-share-buttons {
    display: flex;
    gap: var(--space-sm);
}

.share-btn-small {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-btn-small i,
.share-btn-small svg {
    width: 18px;
    height: 18px;
}

.share-btn-small.vk {
    background: #0077ff;
    color: white;
}

.share-btn-small.ok {
    background: #f97316;
    color: white;
}

.share-btn-small.max {
    background: #4f46e5;
    color: white;
}

.share-btn-small.copy {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.share-btn-small:hover {
    transform: scale(1.1);
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--bg-tertiary);
}

.post-nav-link {
    padding: var(--space-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

.post-nav-link:hover {
    border-color: var(--primary-light);
    background: var(--bg-tertiary);
}

.post-nav-link.next {
    text-align: right;
}

.nav-label {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
}

.post-nav-link.next .nav-label {
    justify-content: flex-end;
}

.nav-label i {
    width: 14px;
    height: 14px;
}

.nav-title {
    font-weight: 600;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.empty-state-icon i {
    width: 40px;
    height: 40px;
}

.empty-state h2 {
    margin-bottom: var(--space-sm);
}

.empty-state p {
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .post-title {
        font-size: 1.75rem;
    }
    
    .post-excerpt {
        font-size: 1rem;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   RATING PAGE STYLES
============================================ */
.rating-page {
    padding: var(--space-2xl) 0 var(--space-3xl);
    min-height: 60vh;
}

.rating-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.rating-header-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.3);
}

.rating-header-icon i {
    width: 40px;
    height: 40px;
}

.rating-header h1 {
    margin-bottom: var(--space-sm);
}

.rating-header > p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
}

.rating-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
}

.rating-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Rating Table */
.rating-table-wrapper {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.rating-table {
    width: 100%;
    border-collapse: collapse;
}

.rating-table th {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--bg-tertiary);
}

.rating-table td {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--bg-tertiary);
    vertical-align: middle;
}

.rating-table tr:last-child td {
    border-bottom: none;
}

.rating-table tr:hover {
    background: rgba(13, 148, 136, 0.03);
}

/* Top 3 styling */
.rating-table tr.top-1 .position-badge {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: white;
}

.rating-table tr.top-2 .position-badge {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: white;
}

.rating-table tr.top-3 .position-badge {
    background: linear-gradient(135deg, #cd7f32, #b8860b);
    color: white;
}

.rating-table tr.is-scam {
    background: rgba(239, 68, 68, 0.03);
}

.position-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.875rem;
}

/* Channel Cell */
.channel-cell {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.channel-avatar-mini {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-tertiary);
}

.channel-avatar-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.channel-info-mini {
    min-width: 0;
}

.channel-name-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: 600;
    color: var(--text-primary);
}

.channel-name-link:hover {
    color: var(--primary-color);
}

.badge-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.badge-icon.official { color: #10b981; }
.badge-icon.verified { color: #3b82f6; }
.badge-icon.scam { color: #ef4444; }

.channel-username-mini {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Category Tag */
.category-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(13, 148, 136, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--primary-color);
}

.no-category,
.no-rating {
    color: var(--text-muted);
}

/* Subscribers */
.subscribers-value {
    font-weight: 700;
    font-size: 1rem;
}

.growth-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: var(--space-xs);
}

.growth-badge.positive {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.growth-badge.negative {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Rating Stars Mini */
.rating-stars-mini {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: 600;
}

.star-icon.filled {
    width: 16px;
    height: 16px;
    color: #f59e0b;
    fill: #f59e0b;
}

/* Open Button Mini */
.btn-open-mini {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

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

.btn-open-mini i {
    width: 18px;
    height: 18px;
}

/* Rating Table Responsive */
@media (max-width: 768px) {
    .rating-table th,
    .rating-table td {
        padding: var(--space-sm) var(--space-md);
    }
    
    .col-category,
    .col-rating {
        display: none;
    }
    
    .channel-avatar-mini {
        width: 32px;
        height: 32px;
    }
}

/* ============================================
   DOWNLOAD PAGE STYLES
============================================ */
.download-page {
    min-height: 60vh;
}

.download-hero {
    position: relative;
    padding: 80px 0 60px;
    text-align: center;
    overflow: hidden;
}

.download-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 148, 136, 0.1) 0%, transparent 100%);
}

.download-hero-android .download-hero-bg {
    background: linear-gradient(180deg, rgba(61, 220, 132, 0.1) 0%, transparent 100%);
}

.download-hero-ios .download-hero-bg,
.download-hero-macos .download-hero-bg {
    background: linear-gradient(180deg, rgba(100, 100, 100, 0.1) 0%, transparent 100%);
}

.download-hero-windows .download-hero-bg {
    background: linear-gradient(180deg, rgba(0, 164, 239, 0.1) 0%, transparent 100%);
}

.download-hero-linux .download-hero-bg {
    background: linear-gradient(180deg, rgba(248, 181, 0, 0.1) 0%, transparent 100%);
}

.download-hero-content {
    position: relative;
    z-index: 1;
}

.download-logo {
    margin-bottom: 24px;
}

.download-logo svg {
    width: 72px;
    height: 72px;
}

.download-platform-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: 20px;
    margin-bottom: 24px;
}

.download-platform-badge i,
.download-platform-badge svg {
    width: 40px;
    height: 40px;
    color: var(--text-primary);
}

.download-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.download-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.download-requirements {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Download Grid */
.download-platforms {
    padding: 60px 0 80px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.download-group h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.download-group h2 i {
    width: 22px;
    height: 22px;
    color: var(--text-muted);
}

.download-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

.download-card:hover {
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.download-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
}

.download-card-icon i {
    width: 24px;
    height: 24px;
}

.download-card-android .download-card-icon {
    background: linear-gradient(135deg, #3DDC84, #2ecc71);
    color: white;
}

.download-card-ios .download-card-icon {
    background: linear-gradient(135deg, #555, #333);
    color: white;
}

.download-card-windows .download-card-icon {
    background: linear-gradient(135deg, #00a4ef, #0078d4);
    color: white;
}

.download-card-macos .download-card-icon {
    background: linear-gradient(135deg, #666, #444);
    color: white;
}

.download-card-linux .download-card-icon {
    background: linear-gradient(135deg, #f8b500, #e5a700);
    color: #333;
}

.download-card-info {
    flex: 1;
}

.download-card-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.download-card-info p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.download-card > i:last-child {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.download-card:hover > i:last-child {
    transform: translateX(4px);
    color: var(--primary-color);
}

/* Download Buttons */
.download-buttons-section {
    padding: 40px 0 80px;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.download-buttons-centered {
    justify-content: center;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 28px;
    background: var(--bg-secondary);
    border: 2px solid var(--bg-tertiary);
    border-radius: 16px;
    color: var(--text-primary);
    min-width: 200px;
    transition: all 0.2s ease;
}

.download-btn:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.2);
}

.download-btn-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-btn-icon svg,
.download-btn-icon i {
    width: 28px;
    height: 28px;
}

.download-btn-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.download-btn-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.download-btn-name {
    font-size: 1.125rem;
    font-weight: 600;
}

.download-btn-large {
    min-width: 260px;
}

/* Button Colors */
.download-btn-google:hover { border-color: #3DDC84; box-shadow: 0 10px 30px rgba(61, 220, 132, 0.2); }
.download-btn-rustore:hover { border-color: #00c8ff; box-shadow: 0 10px 30px rgba(0, 200, 255, 0.2); }
.download-btn-huawei:hover { border-color: #ff0000; box-shadow: 0 10px 30px rgba(255, 0, 0, 0.1); }
.download-btn-apple:hover { border-color: #999; }
.download-btn-windows:hover { border-color: #00a4ef; box-shadow: 0 10px 30px rgba(0, 164, 239, 0.2); }
.download-btn-macos:hover { border-color: #999; }
.download-btn-linux:hover { border-color: #f8b500; box-shadow: 0 10px 30px rgba(248, 181, 0, 0.15); }

/* Featured Button */
.download-btn-featured {
    min-width: 280px;
    background: var(--bg-secondary);
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.2);
}

.download-btn-featured:hover {
    background: rgba(13, 148, 136, 0.1);
    box-shadow: 0 15px 40px rgba(13, 148, 136, 0.25);
}

.download-btn-arrow {
    margin-left: auto;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.download-btn-arrow i {
    width: 18px;
    height: 18px;
}

.download-btn:hover .download-btn-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* Download Badges */
.download-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.download-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.download-badge i {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

/* Section Header */
.download-section-header {
    text-align: center;
    margin-bottom: 32px;
}

.download-section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.download-section-header p {
    color: var(--text-secondary);
}

/* Requirements Box */
.download-requirements-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 500px;
    margin: 32px auto 0;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    text-align: left;
}

.download-requirements-box > i {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.download-requirements-box strong {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.download-requirements-box p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

/* Platform Badges */
.download-platform-badge-android { background: linear-gradient(135deg, rgba(61, 220, 132, 0.15), rgba(61, 220, 132, 0.05)); }
.download-platform-badge-android svg { color: #3DDC84; }
.download-platform-badge-ios { background: linear-gradient(135deg, rgba(100, 100, 100, 0.15), rgba(100, 100, 100, 0.05)); }
.download-platform-badge-windows { background: linear-gradient(135deg, rgba(0, 164, 239, 0.15), rgba(0, 164, 239, 0.05)); }
.download-platform-badge-windows svg { color: #00a4ef; }
.download-platform-badge-macos { background: linear-gradient(135deg, rgba(100, 100, 100, 0.15), rgba(100, 100, 100, 0.05)); }
.download-platform-badge-linux { background: linear-gradient(135deg, rgba(248, 181, 0, 0.15), rgba(248, 181, 0, 0.05)); }
.download-platform-badge-linux i { color: #f8b500; }

/* Hero Glow */
.download-hero-glow {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(13, 148, 136, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.download-hero-android .download-hero-glow { background: radial-gradient(ellipse, rgba(61, 220, 132, 0.2) 0%, transparent 70%); }
.download-hero-ios .download-hero-glow { background: radial-gradient(ellipse, rgba(150, 150, 150, 0.15) 0%, transparent 70%); }
.download-hero-windows .download-hero-glow { background: radial-gradient(ellipse, rgba(0, 164, 239, 0.2) 0%, transparent 70%); }
.download-hero-macos .download-hero-glow { background: radial-gradient(ellipse, rgba(150, 150, 150, 0.15) 0%, transparent 70%); }
.download-hero-linux .download-hero-glow { background: radial-gradient(ellipse, rgba(248, 181, 0, 0.15) 0%, transparent 70%); }

/* Features Section (platform pages) */
.download-features-section {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.download-features-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.download-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.download-feature-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    transition: transform 0.2s ease;
}

.download-feature-item:hover {
}

.download-feature-item .download-feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-feature-item .download-feature-icon i {
    width: 24px;
    height: 24px;
    color: white;
}

.download-feature-content h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.download-feature-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* SEO Section */
.download-seo-section {
    padding: var(--space-2xl) 0;
    background: var(--bg-secondary);
}

.download-seo-section .seo-content {
    max-width: 1000px;
}

.download-seo-content {
    max-width: 800px;
    margin: 0 auto;
}

.download-seo-content h2 {
    margin-bottom: 20px;
}

.download-seo-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.download-seo-content p:last-child {
    margin-bottom: 0;
}

/* Other Platforms Section */
.download-other-section {
    padding: 40px 0 60px;
    text-align: center;
}

.download-other-section h3 {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.download-other-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.download-other-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.download-other-links a i {
    width: 16px;
    height: 16px;
}

.download-other-links a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(13, 148, 136, 0.05);
}

/* Web Version Section */
.download-web-section {
    padding: 0 0 40px;
    margin-top: -20px;
}

.download-web-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 32px;
    background: rgba(13, 148, 136, 0.1);
    border: 2px solid rgba(13, 148, 136, 0.3);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.download-web-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.2);
}

.download-web-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.download-web-icon i {
    width: 28px;
    height: 28px;
    color: white;
}

.download-web-info {
    flex: 1;
}

.download-web-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.download-web-info p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
}

.download-web-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.download-web-btn i {
    width: 16px;
    height: 16px;
}

.download-web-card:hover .download-web-btn {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

/* Format Note */
.download-formats-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 16px;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .download-web-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
    
    .download-web-info h3 {
        font-size: 1.125rem;
    }
    
    .download-web-info p {
        font-size: 0.875rem;
    }
}

/* Install Section (Linux) */
.download-install-section {
    padding: 60px 0;
}

.download-install-section h2 {
    text-align: center;
    margin-bottom: 32px;
}

.download-install-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.download-install-tab {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.download-install-tab h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    margin-bottom: 12px;
}

.download-install-tab h3 i {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
}

.download-code-block {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    overflow-x: auto;
}

.download-code-block code {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-primary);
    white-space: nowrap;
}

/* Download Features */
.download-features {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.download-features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
}

.download-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.download-feature {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
}

.download-feature:hover {
}

.download-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    border-radius: 16px;
    margin-bottom: 20px;
}

.download-feature-icon i {
    width: 32px;
    height: 32px;
    color: white;
}

.download-feature h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.download-feature p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .download-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .download-hero { padding: 60px 0 40px; }
    .download-hero h1 { font-size: 1.75rem; }
    .download-grid { grid-template-columns: 1fr; gap: 32px; }
    .download-buttons { flex-direction: column; align-items: center; }
    .download-btn { width: 100%; max-width: 320px; }
    .download-features-grid { grid-template-columns: 1fr; }
    .download-features-list { grid-template-columns: 1fr; }
    .download-install-tabs { grid-template-columns: 1fr; }
    .download-badges { gap: 8px; flex-wrap: wrap; justify-content: center; }
    .download-badge { padding: 6px 12px; font-size: 0.8125rem; }
    .download-other-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 576px) {
    .download-hero { padding: 40px 0 30px; }
    .download-hero h1 { font-size: 1.5rem; }
    .download-subtitle { font-size: 1rem; }
    .download-logo svg,
    .download-platform-badge { width: 56px; height: 56px; }
    .download-platform-badge i,
    .download-platform-badge svg { width: 32px; height: 32px; }
    .download-card { padding: 12px; gap: 12px; }
    .download-card-icon { width: 40px; height: 40px; }
    .download-card-icon svg { width: 20px; height: 20px; }
    .download-card-info h3 { font-size: 1rem; }
    .download-card-info p { font-size: 0.75rem; }
    .download-group h2 { font-size: 1rem; }
    .download-platforms { padding: 40px 0 50px; }
    .download-btn { padding: 14px 20px; font-size: 0.9375rem; }
    .download-feature { padding: 20px 16px; }
    .download-feature-icon { width: 48px; height: 48px; }
    .download-feature-icon i { width: 24px; height: 24px; }
    .download-feature h3 { font-size: 1rem; }
    .download-feature p { font-size: 0.8125rem; }
    .download-seo-content { padding: var(--space-lg); }
    .download-seo-content h2 { font-size: 1.25rem; }
    .download-requirements-box { 
        flex-direction: column; 
        text-align: center;
        padding: var(--space-md);
    }
    .download-other-links a { 
        padding: 8px 16px; 
        font-size: 0.875rem;
    }
}

/* ==========================================
   RATING PAGE STYLES (TOP CHANNELS)
   ========================================== */
.rating-page {
    min-height: 100vh;
}

/* Rating Hero */
.rating-hero {
    position: relative;
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.rating-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.rating-hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.rating-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(13, 148, 136, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(13, 148, 136, 0.08) 0%, transparent 50%);
}

.rating-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.rating-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--primary-color);
    border-radius: var(--radius-full);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: var(--space-lg);
}

.rating-hero-badge i {
    width: 18px;
    height: 18px;
}

.rating-hero-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.rating-hero-highlight {
    color: var(--primary-color);
}

.rating-hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.rating-hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.rating-hero-stat {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-tertiary);
}

.rating-hero-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(13, 148, 136, 0.1);
    border-radius: var(--radius-md);
    color: var(--primary-color);
}

.rating-hero-stat-icon i {
    width: 24px;
    height: 24px;
}

.rating-hero-stat-info {
    text-align: left;
}

.rating-hero-stat-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}

.rating-hero-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Rating Podium (Top 3) */
.rating-podium {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    align-items: end;
}

.podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--bg-tertiary);
    transition: all var(--transition-normal);
    text-decoration: none;
    color: inherit;
}

.podium-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.podium-1 {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border-color: rgba(251, 191, 36, 0.3);
    padding-bottom: var(--space-2xl);
}

.podium-2 {
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.1) 0%, rgba(107, 114, 128, 0.05) 100%);
    border-color: rgba(156, 163, 175, 0.3);
}

.podium-3 {
    background: linear-gradient(135deg, rgba(180, 83, 9, 0.1) 0%, rgba(146, 64, 14, 0.05) 100%);
    border-color: rgba(180, 83, 9, 0.3);
}

.podium-medal {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
}

.podium-1 .podium-medal {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.podium-2 .podium-medal {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
    color: white;
}

.podium-3 .podium-medal {
    background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
    color: white;
}

.podium-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: var(--space-md);
    border: 3px solid var(--bg-tertiary);
}

.podium-1 .podium-avatar {
    width: 100px;
    height: 100px;
    border-color: #fbbf24;
}

.podium-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podium-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.podium-1 .podium-name {
    font-size: 1.125rem;
}

.podium-category {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.podium-subscribers {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: 600;
    color: var(--primary-color);
}

.podium-subscribers i {
    width: 16px;
    height: 16px;
}

.podium-growth {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8125rem;
    color: var(--success);
    margin-top: var(--space-xs);
}

.podium-growth i {
    width: 14px;
    height: 14px;
}

/* Rating List */
.rating-list-wrapper {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--bg-tertiary);
    overflow: hidden;
}

.rating-list {
    display: flex;
    flex-direction: column;
}

.rating-list-item {
    display: grid;
    grid-template-columns: 60px 1fr auto auto 40px;
    gap: var(--space-md);
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--bg-tertiary);
    transition: all var(--transition-fast);
    text-decoration: none;
    color: inherit;
}

.rating-list-item:last-child {
    border-bottom: none;
}

.rating-list-item:hover {
    background: var(--bg-tertiary);
}

.rating-list-item.is-scam {
    background: rgba(239, 68, 68, 0.05);
}

.rating-list-position {
    text-align: center;
}

.position-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.875rem;
}

.rating-list-channel {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-width: 0;
}

.rating-list-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.rating-list-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rating-list-info {
    min-width: 0;
}

.rating-list-name {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.rating-list-username {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.rating-list-category {
    display: none;
}

.rating-list-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.rating-list-subscribers {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: 600;
}

.rating-list-subscribers i {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
}

.rating-list-growth {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
}

.rating-list-growth.positive {
    color: var(--success);
}

.rating-list-growth.negative {
    color: var(--error);
}

.rating-list-growth i {
    width: 14px;
    height: 14px;
}

.rating-list-action {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rating-list-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.rating-list-item:hover .rating-list-arrow {
    background: var(--primary-color);
    color: white;
}

.rating-list-arrow i {
    width: 16px;
    height: 16px;
}

/* Rating SEO Section */
.rating-seo-section {
    padding: var(--space-2xl) 0;
    background: var(--bg-secondary);
}

.rating-seo-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.rating-seo-content h2 {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.rating-seo-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

/* Rating List - Name Truncation */
.podium-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.rating-list-name {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Rating Page Responsive */
@media (max-width: 992px) {
    .rating-podium {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .podium-1 .podium-avatar {
        width: 80px;
        height: 80px;
    }
    
    .rating-list-category {
        display: none;
    }
    
    .podium-name {
        max-width: 150px;
    }
}

@media (max-width: 768px) {
    .rating-hero {
        padding: var(--space-xl) 0;
    }
    
    .rating-hero-badge {
        padding: var(--space-xs) var(--space-md);
        font-size: 0.8125rem;
    }
    
    .rating-hero-title {
        font-size: 1.5rem;
    }
    
    .rating-hero-subtitle {
        font-size: 0.9375rem;
    }
    
    .rating-hero-stats {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-sm);
    }
    
    .rating-hero-stat {
        width: 100%;
        padding: var(--space-sm) var(--space-md);
    }
    
    .rating-hero-stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .rating-hero-stat-icon i {
        width: 20px;
        height: 20px;
    }
    
    .rating-hero-stat-value {
        font-size: 1rem;
    }
    
    /* Mobile Podium - Same style as list but highlighted */
    .rating-podium {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-bottom: var(--space-lg);
        background: var(--bg-secondary);
        border-radius: var(--radius-md);
        border: 1px solid var(--bg-tertiary);
        overflow: hidden;
    }
    
    .podium-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: var(--space-md);
        gap: var(--space-sm);
        border-radius: 0;
        border: none;
        border-bottom: 1px solid var(--bg-tertiary);
        background: transparent;
        width: 100%;
    }
    
    .podium-item:last-child {
        border-bottom: none;
    }
    
    .podium-item:hover {
        transform: none;
        box-shadow: none;
        background: rgba(13, 148, 136, 0.05);
    }
    
    .podium-1 {
        order: 0;
        padding: var(--space-md);
        background: linear-gradient(90deg, rgba(251, 191, 36, 0.08) 0%, transparent 100%);
    }
    
    .podium-2 {
        order: 1;
        background: linear-gradient(90deg, rgba(156, 163, 175, 0.08) 0%, transparent 100%);
    }
    
    .podium-3 {
        order: 2;
        background: linear-gradient(90deg, rgba(180, 83, 9, 0.08) 0%, transparent 100%);
    }
    
    .podium-medal {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
        margin: 0;
        flex-shrink: 0;
    }
    
    .podium-avatar {
        width: 44px;
        height: 44px;
        margin: 0;
        flex-shrink: 0;
    }
    
    .podium-1 .podium-avatar {
        width: 44px;
        height: 44px;
    }
    
    .podium-info {
        flex: 1;
        min-width: 0;
    }
    
    .podium-name {
        font-size: 0.9375rem;
        justify-content: flex-start;
        text-align: left;
        max-width: none;
        -webkit-line-clamp: 1;
        margin-bottom: 0;
    }
    
    .podium-1 .podium-name {
        font-size: 0.9375rem;
    }
    
    .podium-category {
        display: none;
    }
    
    .podium-subscribers {
        font-size: 0.8125rem;
        justify-content: flex-end;
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .podium-subscribers i {
        display: none;
    }
    
    .podium-growth {
        display: none;
    }
    
    /* Mobile Rating List */
    .rating-list-wrapper {
        border-radius: var(--radius-lg);
    }
    
    .rating-list-item {
        display: flex;
        align-items: center;
        gap: var(--space-sm);
        padding: var(--space-sm) var(--space-md);
    }
    
    .rating-list-position {
        flex-shrink: 0;
    }
    
    .position-number {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .rating-list-channel {
        flex: 1;
        min-width: 0;
        gap: var(--space-sm);
    }
    
    .rating-list-avatar {
        width: 40px;
        height: 40px;
    }
    
    .rating-list-info {
        min-width: 0;
        flex: 1;
    }
    
    .rating-list-name {
        font-size: 0.875rem;
    }
    
    .rating-list-username {
        display: none;
    }
    
    .rating-list-stats {
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
        flex-shrink: 0;
    }
    
    .rating-list-subscribers {
        font-size: 0.8125rem;
    }
    
    .rating-list-subscribers i {
        width: 14px;
        height: 14px;
    }
    
    .rating-list-growth {
        font-size: 0.6875rem;
    }
    
    .rating-list-growth i {
        width: 12px;
        height: 12px;
    }
    
    .rating-list-action {
        display: none;
    }
}

/* ==========================================
   TITLE "в MAX" / "для MAX" HIGHLIGHT
   ========================================== */
.title-type-label {
    color: var(--primary-color);
    font-weight: inherit;
}

.title-in-max,
.title-for-max {
    display: inline-block;
    color: var(--primary-color);
    font-weight: inherit;
    margin-left: var(--space-xs);
}

.channel-hero-title .title-in-max,
.sticker-hero-title .title-for-max {
    font-size: 0.85em;
    opacity: 0.9;
}

/* ==========================================
   STICKER PAGE STYLES
   ========================================== */

/* Sticker Hero */
.sticker-hero {
    background: var(--bg-secondary);
    padding: var(--space-lg) 0;
}

.sticker-hero-row {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xl);
}

.sticker-hero-main {
    flex: 1;
    min-width: 0;
}

.sticker-hero-side {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-md);
}

.sticker-count-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: rgba(13, 148, 136, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    color: var(--primary-color);
}

.sticker-count-badge i {
    width: 18px;
    height: 18px;
}

.sticker-count-badge strong {
    color: var(--primary-color);
}

.sticker-actions-row {
    display: flex;
    gap: var(--space-sm);
}

.sticker-action-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-primary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.sticker-action-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.sticker-action-btn i {
    width: 16px;
    height: 16px;
}

.sticker-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.sticker-hero-badges .type-badge {
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary-color);
}

.sticker-hero-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.sticker-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

/* Sticker Meta Inline */
.sticker-meta-inline {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.sticker-meta-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.sticker-meta-item i {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

.sticker-meta-item strong {
    color: var(--text-primary);
}

/* Sticker Type Filter */
.sticker-type-filter {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.sticker-type-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.sticker-type-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.sticker-type-btn.active {
    background: var(--primary-color);
    border-color: transparent;
    color: white;
}

.sticker-type-btn i {
    width: 16px;
    height: 16px;
}

.filters-bar-compact {
    justify-content: center;
}

.sticker-author-line {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: var(--space-lg);
}

.sticker-author-line i {
    width: 16px;
    height: 16px;
}

.sticker-author-line a {
    color: var(--primary-color);
}

.sticker-stats-row {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.sticker-stat-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
}

.sticker-stat-item i {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.sticker-stat-item strong {
    color: var(--text-primary);
}

.sticker-actions {
    display: flex;
    gap: var(--space-sm);
}

/* Sticker Gallery */
.sticker-gallery-section {
    padding: var(--space-lg) 0;
}

.sticker-gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.sticker-gallery-header h2 {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.25rem;
    margin: 0;
}

.sticker-gallery-header h2 i {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.sticker-gallery-count {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.sticker-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--space-md);
}

.sticker-gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    transition: all var(--transition-fast);
    padding: var(--space-sm);
}

.sticker-gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.sticker-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--space-sm);
}

.sticker-main-preview {
    max-width: 400px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-secondary);
}

.sticker-main-preview img {
    width: 100%;
    height: auto;
}

/* Sticker How-To Section - Grid Layout */
.sticker-howto-section {
    padding: var(--space-lg) 0;
}

.sticker-howto-section.section {
    padding: var(--space-lg) 0;
}

.sticker-howto-title {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.sticker-howto-title h2 {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    margin: 0;
}

.sticker-howto-title h2 i {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
}

.sticker-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.sticker-step-card {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    transition: all var(--transition-fast);
}

.sticker-step-card:hover {
    border-color: var(--primary-color);
}

.step-card-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.step-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-sm);
    background: rgba(13, 148, 136, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card-icon i {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.sticker-step-card h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.sticker-step-card p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.sticker-copy-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}

.copy-block-label {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.sticker-howto-note-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(13, 148, 136, 0.05);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.sticker-howto-note-compact i {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Legacy sticker-howto-card styles */
.sticker-howto-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--bg-tertiary);
    padding: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

.sticker-howto-header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--bg-tertiary);
}

.sticker-howto-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.sticker-howto-icon i {
    width: 32px;
    height: 32px;
    color: white;
}

.sticker-howto-header h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.sticker-howto-subtitle {
    color: var(--text-muted);
    margin: 0;
}

.sticker-howto-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.sticker-howto-step {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.0625rem;
    margin-bottom: var(--space-xs);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.step-content strong {
    color: var(--primary-color);
    background: rgba(13, 148, 136, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

/* Copy Sticker Name Button */
.copy-sticker-name {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-primary);
    border: 2px dashed var(--primary-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-top: var(--space-md);
    width: 100%;
    text-align: left;
}

.copy-sticker-name:hover {
    background: rgba(13, 148, 136, 0.05);
    border-style: solid;
}

.copy-name-text {
    flex: 1;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.0625rem;
}

.copy-name-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    color: white;
    transition: all var(--transition-fast);
}

.copy-name-icon i {
    width: 16px;
    height: 16px;
}

.copy-name-success {
    display: none;
    align-items: center;
    gap: var(--space-xs);
    color: var(--success);
    font-weight: 600;
}

.copy-name-success i {
    width: 16px;
    height: 16px;
}

.copy-sticker-name.copied .copy-name-icon {
    display: none;
}

.copy-sticker-name.copied .copy-name-success {
    display: flex;
}

.copy-hint {
    display: block;
    margin-top: var(--space-xs);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.copy-sticker-name.copied + .copy-hint {
    visibility: hidden;
}

.sticker-howto-notes {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.sticker-howto-note {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
}

.sticker-howto-note i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.sticker-howto-note.info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.sticker-howto-note.info i {
    color: var(--info);
}

.sticker-howto-note.tip {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.sticker-howto-note.tip i {
    color: #f59e0b;
}

.sticker-howto-note strong {
    display: block;
    margin-bottom: var(--space-xs);
}

.sticker-howto-note p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

/* Sticker Description Section */
.sticker-description-section {
    padding: var(--space-xl) 0;
}

.sticker-description-section h2 {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
}

.sticker-description-section h2 i {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.sticker-full-description {
    line-height: 1.8;
    color: var(--text-secondary);
}

.sticker-full-description p {
    margin-bottom: var(--space-md);
}

/* Sticker Tags Section */
.sticker-tags-section {
    padding: var(--space-lg) 0;
}

/* Sticker FAQ Section */
.sticker-faq-section {
    padding: var(--space-lg) 0;
    background: var(--bg-secondary);
}

.sticker-faq-section.section {
    padding: var(--space-lg) 0;
}

.sticker-faq-header {
    text-align: center;
    margin-bottom: var(--space-md);
}

.sticker-faq-header h2 {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
}

.sticker-faq-header h2 i {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
}

.sticker-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.sticker-faq-item {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-tertiary);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.sticker-faq-item:hover {
    border-color: var(--primary-color);
}

.sticker-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-lg);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.sticker-faq-question:hover {
    color: var(--primary-color);
}

.sticker-faq-question i {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform var(--transition-fast);
}

.sticker-faq-item.active .sticker-faq-question i {
    transform: rotate(180deg);
}

.sticker-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sticker-faq-answer p {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Sticker Report Widget */
.sticker-report-section {
    padding: var(--space-lg) 0;
}

.sticker-report-widget {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--bg-tertiary);
    flex-wrap: wrap;
}

.sticker-report-widget p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9375rem;
}

/* Sticker Page Responsive */
@media (max-width: 992px) {
    .sticker-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sticker-hero-row {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .sticker-hero-side {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        flex-wrap: wrap;
    }
    
    .sticker-hero-title {
        font-size: 1.5rem;
    }
    
    .sticker-stats-row {
        flex-wrap: wrap;
        gap: var(--space-md);
    }
    
    .sticker-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
    }
    
    .sticker-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
    
    .sticker-step-card {
        padding: var(--space-md) var(--space-sm);
    }
    
    .sticker-step-card h3 {
        font-size: 0.875rem;
    }
    
    .sticker-step-card p {
        font-size: 0.75rem;
    }
    
    .step-card-icon {
        width: 40px;
        height: 40px;
    }
    
    .step-card-icon i {
        width: 20px;
        height: 20px;
    }
    
    .sticker-copy-block {
        flex-direction: column;
        align-items: stretch;
    }
    
    .copy-sticker-name {
        width: 100%;
    }
    
    .sticker-howto-card {
        padding: var(--space-lg);
    }
    
    .sticker-howto-header {
        flex-direction: column;
        text-align: center;
    }
    
    .sticker-howto-step {
        gap: var(--space-md);
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .sticker-faq-question {
        padding: var(--space-md);
        font-size: 0.9375rem;
    }
    
    .sticker-faq-answer p {
        padding: 0 var(--space-md) var(--space-md);
    }
    
    .sticker-report-widget {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   GLOBAL MOBILE OVERFLOW FIX
============================================ */
@media (max-width: 768px) {
    /* Container padding for mobile */
    .container {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }
    
    /* Header mobile fixes */
    .site-header .container {
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
    }
    
    /* Hero section text overflow */
    .hero-title,
    .archive-header h1,
    .single-title,
    .page-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Card action buttons */
    .channel-card-footer {
        flex-direction: column;
    }
    
    .channel-link-details,
    .channel-link-max,
    .channel-link-full {
        width: 100%;
    }
}

/* ============================================
   MOBILE ACTION BUTTONS - BIGGER ICONS
============================================ */
@media (max-width: 768px) {
    /* Card action buttons (favorite, share) */
    .channel-card-actions {
        opacity: 1;
    }
    
    .channel-action-btn {
        width: 40px;
        height: 40px;
        border-radius: var(--radius-md);
    }
    
    .channel-action-btn i {
        width: 20px;
        height: 20px;
    }
    
    /* Favorite page remove button */
    .favorite-card .remove-favorite {
        width: 44px;
        height: 44px;
        opacity: 1;
    }
    
    .favorite-card .remove-favorite i {
        width: 22px;
        height: 22px;
    }
    
    /* Share buttons */
    .share-btn-small {
        width: 44px;
        height: 44px;
    }
    
    .share-btn-small i,
    .share-btn-small svg {
        width: 22px;
        height: 22px;
    }
    
    /* Header favorite link */
    .header-action-btn {
        width: 44px;
        height: 44px;
    }
    
    .header-action-btn i {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .container {
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
    }
    
    /* Smaller font sizes */
    h1 {
        font-size: 1.5rem !important;
    }
    
    h2 {
        font-size: 1.25rem !important;
    }
    
    h3 {
        font-size: 1.125rem !important;
    }
    
    /* Reduce spacing */
    .section {
        padding: var(--space-xl) 0;
    }
    
    /* Smaller buttons */
    .btn,
    button {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.875rem;
    }
}

/* ============================================
   STICKERS PROMO BLOCK
============================================ */
.stickers-promo-section {
    padding: var(--space-2xl) 0;
}

.stickers-promo-block {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    background: var(--primary-color);
    border-radius: var(--radius-md);
    padding: var(--space-2xl) var(--space-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(13, 148, 136, 0.3);
}

.stickers-promo-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.stickers-promo-decoration {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    opacity: 0.9;
}

.stickers-promo-decoration-right {
    order: 3;
}

.promo-emoji {
    font-size: 2rem;
    animation: float-emoji 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.promo-emoji:nth-child(1) { animation-delay: 0s; }
.promo-emoji:nth-child(2) { animation-delay: 0.3s; }
.promo-emoji:nth-child(3) { animation-delay: 0.6s; }
.promo-emoji:nth-child(4) { animation-delay: 0.9s; }
.promo-emoji:nth-child(5) { animation-delay: 1.2s; }

@keyframes float-emoji {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.stickers-promo-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.stickers-promo-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stickers-promo-title i {
    width: 28px;
    height: 28px;
    color: #ffd700;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.stickers-promo-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.stickers-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: #fff;
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.stickers-promo-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    background: #fff;
    color: var(--primary-color);
}

.stickers-promo-btn i {
    width: 20px;
    height: 20px;
}

/* Responsive Promo Block */
@media (max-width: 992px) {
    .stickers-promo-block {
        padding: var(--space-xl);
    }
    
    .stickers-promo-title {
        font-size: 1.5rem;
    }
    
    .promo-emoji {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .stickers-promo-decoration {
        display: none;
    }
    
    .stickers-promo-block {
        padding: var(--space-xl) var(--space-lg);
    }
    
    .stickers-promo-title {
        font-size: 1.35rem;
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .stickers-promo-text {
        font-size: 1rem;
    }
    
    .stickers-promo-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .stickers-promo-section {
        padding: var(--space-xl) 0;
    }
    
    .stickers-promo-block {
        padding: var(--space-lg);
        border-radius: var(--radius-lg);
    }
    
    .stickers-promo-title {
        font-size: 1.2rem;
    }
    
    .stickers-promo-text {
        font-size: 0.95rem;
    }
}

/* ============================================
   DOWNLOAD PROMO BLOCK (Universal)
============================================ */
.download-promo-section {
    padding: var(--space-2xl) 0;
}

.download-promo-block {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    background: var(--primary-color);
    border-radius: var(--radius-md);
    padding: var(--space-xl) var(--space-2xl);
    overflow: hidden;
}

.download-promo-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.download-promo-icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.download-promo-icon i {
    width: 36px;
    height: 36px;
}

.download-promo-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.download-promo-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 var(--space-sm) 0;
}

.download-promo-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.5;
}

.download-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: white;
    color: var(--primary-color);
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.download-promo-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: var(--primary-dark);
}

.download-promo-btn i {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .download-promo-block {
        flex-direction: column;
        text-align: center;
        padding: var(--space-xl);
    }
    
    .download-promo-icon {
        width: 60px;
        height: 60px;
    }
    
    .download-promo-icon i {
        width: 28px;
        height: 28px;
    }
    
    .download-promo-title {
        font-size: 1.25rem;
    }
    
    .download-promo-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   BOT PAGE STYLES
============================================ */

/* Bot Hero Grid */
.bot-hero-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--space-2xl);
    align-items: start;
    overflow: hidden;
}

.bot-hero-left {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.bot-avatar-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.bot-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bot-official-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.bot-official-badge i {
    width: 20px;
    height: 20px;
}

.bot-action-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.btn-open-bot {
    width: 100%;
    justify-content: center;
}

.bot-secondary-actions {
    display: flex;
    gap: var(--space-sm);
}

.btn-icon-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm);
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-icon-action:hover {
    background: var(--bg-tertiary);
    color: var(--primary);
    border-color: var(--primary-light);
}

.btn-icon-action i {
    width: 20px;
    height: 20px;
}

/* Bot Hero Right */
.bot-hero-right {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    min-width: 0;
    overflow: hidden;
}

.bot-hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--space-sm);
}

.bot-hero-username {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

/* Bot Badges */
.bot-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.bot-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
}

.bot-badge i {
    width: 14px;
    height: 14px;
}

.bot-badge-official {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.15) 100%);
    color: #d97706;
}

.bot-badge-access {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.bot-badge-public {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.bot-badge-private {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.bot-badge-category {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.bot-badge-category:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Bot Hero Excerpt */
.bot-hero-excerpt {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Bot Meta Grid */
.bot-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-tertiary);
}

.bot-meta-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs);
}

.bot-meta-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bot-meta-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Bot Content Section */
.bot-content-section {
    overflow-x: hidden;
}

.bot-content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--space-xl);
    align-items: start;
    max-width: 100%;
}

/* Desktop: 2-column layout with sidebar */
@media (min-width: 993px) {
    .bot-content-grid {
        grid-template-columns: 1fr 350px;
        grid-template-rows: auto auto auto;
    }
    
    .bot-cta-block {
        grid-column: 2;
        grid-row: 1;
    }
    
    .bot-about-block {
        grid-column: 1;
        grid-row: 1;
    }
    
    .bot-howto-block {
        grid-column: 1;
        grid-row: 2;
    }
    
    .bot-similar-block {
        grid-column: 2;
        grid-row: 2;
    }
    
    .bot-tags-block {
        grid-column: 1 / -1;
        grid-row: 3;
    }
}

.bot-main-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.content-block-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.content-block-title i {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.bot-full-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.bot-full-description img {
    max-width: 100%;
    height: auto;
}

.bot-full-description a {
    word-break: break-all;
}

/* Bot How-To Block */
.bot-howto-block.content-block {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid var(--bg-tertiary);
    overflow: hidden;
}

.bot-howto-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.bot-howto-step {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50%;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--space-2xs) 0;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Copy Bot Name Button */
.copy-bot-name {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-2xs) var(--space-sm);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--primary);
    cursor: pointer;
    transition: all var(--transition-base);
}

.copy-bot-name:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

.copy-bot-name i {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.copy-bot-name.copied {
    background: var(--success);
    color: white;
    border-color: var(--success);
}

/* Bot Tags */
.bot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.bot-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all var(--transition-base);
}

.bot-tag:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Bot Sidebar */
.bot-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* Widget Styles */
.widget {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.widget-header {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--bg-tertiary);
}

.widget-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.widget-title i {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.widget-content {
    padding: var(--space-md);
}

.widget-bot-cta {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    color: white;
    border: none;
}

.widget-bot-cta-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-bot-cta-icon i {
    width: 30px;
    height: 30px;
}

.widget-bot-cta h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 var(--space-sm) 0;
}

.widget-bot-cta p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0 0 var(--space-lg) 0;
}

.widget-bot-cta .btn-open-max {
    background: white;
    color: #059669;
    width: 100%;
    justify-content: center;
}

.widget-bot-cta .btn-open-max:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Similar Items */
.similar-items-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.similar-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-base);
}

.similar-item:hover {
    background: var(--bg-tertiary);
}

.similar-item-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.similar-item-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.similar-item-info {
    flex: 1;
    min-width: 0;
}

.similar-item-name {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.similar-item-name .official-icon {
    width: 14px;
    height: 14px;
    color: #f59e0b;
    flex-shrink: 0;
}

.similar-item-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Bot Card Styles */
.bot-card .bot-badges {
    margin-top: var(--space-xs);
}


/* Bots Promo Block */
.bots-promo-section {
    padding: var(--space-2xl) 0;
}

.bots-promo-block {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.3);
}

.bots-promo-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.bots-promo-icon i {
    width: 40px;
    height: 40px;
}

.bots-promo-content {
    flex: 1;
}

.bots-promo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 var(--space-sm) 0;
}

.bots-promo-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 var(--space-lg) 0;
    line-height: 1.6;
}

.bots-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: white;
    color: #059669;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.bots-promo-btn:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.bots-promo-btn i {
    width: 18px;
    height: 18px;
}

/* Bot Page Responsive */
@media (max-width: 992px) {
    .bot-hero-grid {
        grid-template-columns: 150px 1fr;
        gap: var(--space-xl);
    }
    
    .bot-avatar-wrapper {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 768px) {
    .bot-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .bot-hero-left {
        align-items: center;
    }
    
    .bot-avatar-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .bot-action-buttons {
        width: 100%;
        max-width: 100%;
    }
    
    .btn-open-bot {
        width: 100%;
        justify-content: center;
    }
    
    .bot-secondary-actions {
        justify-content: center;
    }
    
    .bot-hero-title {
        justify-content: center;
        font-size: 1.5rem;
        flex-wrap: wrap;
    }
    
    .bot-hero-badges {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .bot-meta-grid {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .bot-meta-item {
        min-width: auto;
    }
    
    .widget-bot-cta {
        padding: var(--space-lg);
    }
    
    .widget-bot-cta-icon {
        width: 50px;
        height: 50px;
    }
    
    .widget-bot-cta-icon i {
        width: 24px;
        height: 24px;
    }
    
    .widget-bot-cta h3 {
        font-size: 1.1rem;
    }
    
    .widget-bot-cta p {
        font-size: 0.9rem;
    }
    
    /* How-to steps responsive */
    .bot-howto-steps {
        gap: var(--space-md);
    }
    
    .bot-howto-step {
        padding: var(--space-md);
        gap: var(--space-md);
    }
    
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        flex-shrink: 0;
    }
    
    .step-content h4 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    /* Copy button responsive */
    .copy-bot-name {
        display: inline-flex;
        flex-wrap: wrap;
        word-break: break-all;
    }
    
    /* Similar items responsive */
    .similar-items-list {
        gap: var(--space-xs);
    }
    
    .similar-item {
        padding: var(--space-sm);
        gap: var(--space-sm);
    }
    
    .similar-item-avatar {
        width: 36px;
        height: 36px;
    }
    
    .similar-item-name {
        font-size: 0.9rem;
    }
    
    .similar-item-desc {
        font-size: 0.8rem;
    }
    
    /* Tags responsive */
    .bot-tags {
        gap: var(--space-xs);
    }
    
    .bot-tag {
        font-size: 0.85rem;
        padding: var(--space-xs) var(--space-sm);
    }
    
    .bots-promo-block {
        flex-direction: column;
        text-align: center;
        padding: var(--space-xl);
    }
    
    .bots-promo-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .bot-hero-title {
        font-size: 1.25rem;
    }
    
    .bot-hero-username {
        font-size: 0.9rem;
    }
    
    .bot-badge {
        font-size: 0.75rem;
        padding: var(--space-xs) var(--space-sm);
    }
    
    .bot-howto-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .content-block-title {
        font-size: 1.1rem;
    }
    
    .content-block-title i {
        width: 20px;
        height: 20px;
    }
}

/* ============================================
   CHAT CTA WIDGET - Premium Design
============================================ */
.widget.widget-cta-chat {
    position: relative;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
    border: none !important;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.widget.widget-cta-chat .widget-cta-chat-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 0% 0%, rgba(255,255,255,0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(0,0,0,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.widget.widget-cta-chat .widget-content {
    position: relative;
    z-index: 1;
    padding: var(--space-xl);
    color: white;
}

.widget.widget-cta-chat .widget-cta-chat-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.widget.widget-cta-chat .widget-cta-chat-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    flex-shrink: 0;
}

.widget.widget-cta-chat .widget-cta-chat-icon i {
    width: 26px;
    height: 26px;
    color: white !important;
}

.widget.widget-cta-chat .widget-cta-chat-title h3 {
    color: white !important;
    font-size: 1.125rem;
    margin: 0;
    line-height: 1.2;
}

.widget.widget-cta-chat .widget-cta-chat-title span {
    color: rgba(255,255,255,0.8) !important;
    font-size: 0.8125rem;
    display: block;
}

.widget.widget-cta-chat .widget-cta-chat-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
}

.widget.widget-cta-chat .widget-cta-chat-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: white !important;
    font-size: 0.8125rem;
}

.widget.widget-cta-chat .widget-cta-chat-feature i {
    width: 16px;
    height: 16px;
    color: rgba(255,255,255,0.8) !important;
}

.widget.widget-cta-chat .widget-cta-chat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: white !important;
    color: #059669 !important;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.widget.widget-cta-chat .widget-cta-chat-btn:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: #047857 !important;
}

.widget.widget-cta-chat .widget-cta-chat-btn i {
    width: 20px;
    height: 20px;
    color: #059669 !important;
}

.widget.widget-cta-chat .qr-code-block {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.2);
}

.widget.widget-cta-chat .qr-toggle-btn {
    color: rgba(255,255,255,0.8) !important;
}

.widget.widget-cta-chat .qr-toggle-btn:hover {
    color: white !important;
    background: rgba(255,255,255,0.1);
}

.widget.widget-cta-chat .qr-code-container {
    background: rgba(255,255,255,0.15);
}

.widget.widget-cta-chat .qr-hint {
    color: rgba(255,255,255,0.7) !important;
}

/* ============================================
   SIDEBAR SIMILAR ITEMS - NAME TRUNCATION
============================================ */
.similar-channel-name {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.similar-channel-name:hover {
    color: var(--primary-color);
}

.similar-channel-subs {
    font-size: 0.8125rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   SEO CONTENT BLOCKS - ARCHIVE PAGES
============================================ */
.seo-content {
    max-width: 1200px;
    margin: 0 auto;
}

.seo-content-block {
    margin-bottom: var(--space-2xl);
}

.seo-content-block h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.seo-content-block h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.seo-content-block p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    font-size: 1rem;
}

.seo-content-block p:last-child {
    margin-bottom: 0;
}

.seo-content-block a {
    color: var(--primary-color);
    text-decoration: none;
}

.seo-content-block a:hover {
    text-decoration: underline;
}

/* Features Grid */
.seo-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.seo-features-grid.seo-features-3 {
    grid-template-columns: repeat(3, 1fr);
}

.seo-feature {
    padding: var(--space-lg);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    position: relative;
}

.seo-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: var(--space-lg);
    right: var(--space-lg);
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    border-radius: 0 0 3px 3px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.seo-feature:hover {
    border-color: rgba(var(--primary-color-rgb, 99, 102, 241), 0.3);
    box-shadow: 0 8px 32px rgba(var(--primary-color-rgb, 99, 102, 241), 0.08);
}

.seo-feature:hover::before {
    opacity: 1;
}

.seo-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 99, 102, 241), 0.08) 0%, rgba(var(--primary-color-rgb, 99, 102, 241), 0.15) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    transition: all var(--transition-normal);
}

.seo-feature:hover .seo-feature-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    box-shadow: 0 4px 16px rgba(var(--primary-color-rgb, 99, 102, 241), 0.3);
}

.seo-feature-icon i {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    transition: color var(--transition-normal);
}

.seo-feature:hover .seo-feature-icon i {
    color: white;
}

.seo-feature h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.seo-feature p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.seo-feature-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-md);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-fast);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(var(--primary-color-rgb, 99, 102, 241), 0.08);
    border-radius: var(--radius-md);
}

.seo-feature-link:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

.seo-feature-link::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.seo-feature-link:hover::after {
    transform: translateX(2px);
}

/* Benefits List */
.seo-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.seo-benefit {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.seo-benefit:hover {
    transform: translateX(4px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(var(--primary-color-rgb, 99, 102, 241), 0.1);
}

.seo-benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 99, 102, 241), 0.1) 0%, rgba(var(--primary-color-rgb, 99, 102, 241), 0.2) 100%);
    color: var(--primary-color);
    border-radius: var(--radius-lg);
    position: relative;
}

.seo-benefit-icon i {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.seo-benefit strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.seo-benefit p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Steps */
.seo-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.seo-step {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.seo-step-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
}

.seo-step strong {
    display: block;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.seo-step p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Categories Grid */
.seo-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.seo-category-item {
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.seo-category-item strong {
    display: block;
    font-size: 1rem;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.seo-category-item p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Tags */
.seo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.seo-tag {
    display: inline-flex;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.seo-tag:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* FAQ */
.seo-faq {
    background: var(--bg-secondary);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.seo-faq h2 {
    margin-bottom: var(--space-lg);
}

.seo-faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: var(--space-md) 0;
}

.seo-faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.seo-faq-item summary {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    transition: color var(--transition-fast);
}

.seo-faq-item summary::-webkit-details-marker {
    display: none;
}

.seo-faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-muted);
    transition: transform var(--transition-fast);
}

.seo-faq-item[open] summary::after {
    content: '−';
}

.seo-faq-item summary:hover {
    color: var(--primary-color);
}

.seo-faq-item p {
    padding: var(--space-sm) 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Links Grid (Internal linking) - Redesigned */
.seo-links {
    margin-top: var(--space-2xl);
    padding: var(--space-xl);
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 99, 102, 241), 0.03) 0%, rgba(var(--primary-color-rgb, 99, 102, 241), 0.08) 100%);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(var(--primary-color-rgb, 99, 102, 241), 0.1);
}

.seo-links h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.seo-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.seo-link-card {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.seo-link-card:hover {
    box-shadow: 0 8px 24px rgba(var(--primary-color-rgb, 99, 102, 241), 0.15);
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

.seo-link-card i {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.seo-link-card:hover i {
    color: white;
}

.seo-link-card span {
    line-height: 1.3;
}

/* CTA Block */
.seo-cta-block {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    text-align: center;
    color: white;
}

.seo-cta-block h2 {
    color: white;
    margin-bottom: var(--space-sm);
}

.seo-cta-block p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-md);
}

.seo-cta-block p:last-child {
    margin-bottom: 0;
}

.seo-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: white;
    color: var(--primary-color) !important;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none !important;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.seo-cta-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-hover) !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .seo-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .seo-features-grid.seo-features-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .seo-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .seo-links-grid {
        gap: var(--space-xs);
    }
    
    .seo-link-card {
        padding: var(--space-xs) var(--space-md);
        font-size: 0.875rem;
    }
    
    .seo-link-card i {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 768px) {
    .seo-content-block h2 {
        font-size: 1.375rem;
    }
    
    .seo-content-block p {
        font-size: 0.9375rem;
    }
    
    .seo-features-grid,
    .seo-features-grid.seo-features-3 {
        grid-template-columns: 1fr;
    }
    
    .seo-feature {
        padding: var(--space-md);
    }
    
    .seo-feature-icon {
        width: 44px;
        height: 44px;
    }
    
    .seo-feature-icon i {
        width: 22px;
        height: 22px;
    }
    
    .seo-benefit-icon {
        width: 44px;
        height: 44px;
    }
    
    .seo-benefit-icon i {
        width: 22px;
        height: 22px;
    }
    
    .seo-benefits {
        grid-template-columns: 1fr;
    }
    
    .seo-benefit {
        padding: var(--space-md);
    }
    
    .seo-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .seo-faq {
        padding: var(--space-lg);
    }
    
    .seo-faq-item summary {
        font-size: 1rem;
    }
    
    .seo-cta-block {
        padding: var(--space-lg);
    }
    
    .seo-links {
        padding: var(--space-lg);
    }
    
    .seo-links-grid {
        gap: var(--space-xs);
    }
    
    .seo-link-card {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.8125rem;
    }
    
    .seo-link-card i {
        width: 16px;
        height: 16px;
    }
    
    .seo-step {
        padding: var(--space-md);
    }
    
    .seo-step-num {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ========================================
   Info Pages (About, Contacts, Privacy, Terms)
======================================== */

.info-page {
    min-height: 60vh;
}

/* Info Hero */
.info-hero {
    position: relative;
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

.info-hero-compact {
    padding: var(--space-2xl) 0;
}

.info-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.info-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(var(--primary-color-rgb, 99, 102, 241), 0.08) 0%, 
        rgba(var(--primary-color-rgb, 99, 102, 241), 0.02) 50%,
        transparent 100%);
}

.info-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(var(--primary-color-rgb, 99, 102, 241), 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.5;
}

.info-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.info-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    box-shadow: 0 12px 32px rgba(var(--primary-color-rgb, 99, 102, 241), 0.25);
}

.info-hero-icon i {
    width: 40px;
    height: 40px;
    color: white;
}

.info-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.info-hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Info Content Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-2xl);
    align-items: start;
}

.info-main {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

/* Info Block */
.info-block {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
}

.info-block h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.info-block p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.info-block p:last-child {
    margin-bottom: 0;
}

/* Info Features */
.info-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.info-feature {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.info-feature:hover {
    background: var(--bg-tertiary);
    transform: translateX(4px);
}

.info-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 99, 102, 241), 0.1) 0%, rgba(var(--primary-color-rgb, 99, 102, 241), 0.2) 100%);
    border-radius: var(--radius-lg);
}

.info-feature-icon i {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.info-feature-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.info-feature-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Info Sidebar */
.info-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    position: sticky;
    top: var(--space-xl);
}

.info-stats-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
}

.info-stats-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.info-stats-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.info-stat-item {
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.info-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--space-xs);
}

.info-stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Info CTA Card */
.info-cta-card {
    background: var(--bg-primary);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.info-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
}

.info-cta-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.info-cta-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.5;
}

.info-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark, #0f766e) 100%);
    color: #ffffff !important;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none !important;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.4);
    border: none;
}

.info-cta-btn:hover {
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.5);
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--primary-dark, #0f766e) 0%, #0a5f56 100%);
}

.info-cta-btn i {
    width: 18px;
    height: 18px;
    color: #ffffff;
}

/* Contacts Grid */
.contacts-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    max-width: 900px;
    margin: 0 auto;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.contact-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-normal);
}

.contact-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.contact-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 99, 102, 241), 0.1) 0%, rgba(var(--primary-color-rgb, 99, 102, 241), 0.2) 100%);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.contact-card-icon i {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.contact-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.contact-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    transition: gap var(--transition-fast);
}

.contact-link:hover {
    gap: var(--space-sm);
}

.contact-link i {
    width: 16px;
    height: 16px;
}

/* Contact Info Block */
.contact-info-block {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
}

.contact-info-block h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

/* Contact FAQ */
.contact-faq {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-faq-item {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.contact-faq-item summary {
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition-fast);
    list-style: none;
}

.contact-faq-item summary::-webkit-details-marker {
    display: none;
}

.contact-faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: transform var(--transition-fast);
}

.contact-faq-item[open] summary::after {
    content: '−';
}

.contact-faq-item summary:hover {
    background: var(--bg-tertiary);
}

.contact-faq-item p {
    padding: 0 var(--space-lg) var(--space-md);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Legal Content (Privacy, Terms) */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
}

.legal-section {
    margin-bottom: var(--space-2xl);
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid rgba(var(--primary-color-rgb, 99, 102, 241), 0.1);
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul {
    margin: var(--space-md) 0;
    padding-left: var(--space-xl);
}

.legal-section li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.legal-section li:last-child {
    margin-bottom: 0;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Info Pages Responsive */
@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .info-stats-card,
    .info-cta-card {
        flex: 1;
        min-width: 280px;
    }
    
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .info-hero {
        padding: var(--space-2xl) 0;
    }
    
    .info-hero-icon {
        width: 64px;
        height: 64px;
    }
    
    .info-hero-icon i {
        width: 32px;
        height: 32px;
    }
    
    .info-hero-title {
        font-size: 1.75rem;
    }
    
    .info-hero-subtitle {
        font-size: 1rem;
    }
    
    .info-block {
        padding: var(--space-lg);
    }
    
    .info-sidebar {
        flex-direction: column;
    }
    
    .info-stats-card,
    .info-cta-card {
        min-width: auto;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: var(--space-lg);
    }
    
    .legal-content {
        padding: var(--space-lg);
    }
    
    .legal-section h2 {
        font-size: 1.125rem;
    }
}
