/* === RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --gradient-start: #00B4E6;
    --gradient-end: #A855F7;
    --text-primary: #1a1a2e;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --max-width: 1368px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* === CONTAINER === */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* === HEADER === */
.header {
    width: 100%;
    max-width: 1370px;
    margin: 0 auto;
    background: rgba(207, 218, 230, 0.34);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(84, 150, 213, 0.3);
    border-radius: 20px;
    position: sticky;
    top: 12px;
    z-index: 100;
    transition: all 0.3s ease;
}

.header::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    height: 20px;
    background: linear-gradient(90deg, #00B4E6, #A855F7);
    filter: blur(15px);
    opacity: 0.2;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 180, 230, 0.3);
}

.logo-icon svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 12px;
    color: var(--text-muted);
}

.nav {
    display: flex;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 15px;
    background: linear-gradient(135deg, #00B4E6, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    z-index: -1;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #00B4E6, #A855F7);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-link svg {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.nav-link:hover::before {
    /* Фон остается белым */
}

.nav-link:hover svg {
    opacity: 1;
}

.nav-link.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: initial;
    -webkit-text-fill-color: white;
    background-clip: initial;
    color: white;
}

.nav-link.active::before {
    display: none;
}

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

.nav-link.active svg {
    opacity: 1;
}

/* === BURGER MENU === */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 34px;
    height: 34px;
    cursor: pointer;
    padding: 9px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
}

.burger-menu::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: white;
    z-index: -1;
    transition: all 0.3s ease;
}

.burger-menu::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 2px;
    background: linear-gradient(135deg, #00B4E6, #A855F7);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.burger-menu:hover {
    background: transparent;
}

.burger-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, #00B4E6, #A855F7);
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === BREADCRUMBS === */
.breadcrumbs {
    padding: 16px 0;
    margin-top: 30px;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--gradient-start);
}

.breadcrumbs span {
    margin: 0 8px;
}

/* === MAIN CONTENT === */
.main {
    flex: 1;
    padding: 0;
}

.main > .container {
    margin-top: 15px;
}

/* Каталог каналов, ботов, страница категории и каталог стикеров - без отступа сверху */
.category-page .main > .container,
.bots-catalog-page .main > .container,
.stickers-catalog-page .main > .container,
.channels-main-catalog .main > .container {
    margin-top: 0;
}

.category-page .catalog-header,
.bots-catalog-page .catalog-header,
.stickers-catalog-page .catalog-header,
.channels-main-catalog .catalog-header {
    margin-top: 0;
}

/* === CHANNEL PAGE CARD === */
.channel-page-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 32px;
}

.channel-header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.channel-page-card .channel-avatar {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.channel-info {
    flex: 1;
    min-width: 0;
}

.channel-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 10px;
}

.channel-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 180, 230, 0.35);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 180, 230, 0.45);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
}

.channel-page-card .channel-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    background: transparent;
    border: 1px solid rgba(0, 180, 230, 0.15);
    transition: all 0.2s;
}

.channel-page-card .channel-category span {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.channel-page-card .channel-category:hover {
    background: linear-gradient(135deg, rgba(0, 180, 230, 0.15), rgba(168, 85, 247, 0.15));
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-1px);
}

/* === STATS HIGHLIGHT (Channel Page) === */
.channel-page-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 16px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.channel-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
}

.bot-description {
    margin-top: 16px;
}

/* === STATS ROW (Channel Page) === */
.channel-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 20px 0;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 180, 230, 0.08), rgba(168, 85, 247, 0.08));
    border: 1px solid rgba(0, 180, 230, 0.15);
    min-width: 157px;
}

.stat-badge svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.stat-badge .stat-content {
    display: flex;
    flex-direction: column;
}

.stat-badge .stat-number {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-badge .stat-text {
    font-size: 12px;
    color: var(--text-muted);
}

/* === CONTENT SECTIONS === */
.content-section {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 24px;
}

.content-section h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.content-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.content-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 12px;
}

.content-section > p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.7;
}

.content-section ul {
    list-style: none;
    margin: 16px 0;
}

.content-section li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.content-section li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
}

.content-section li strong {
    color: var(--text-primary);
}

/* === SIMILAR CHANNELS === */
.similar-channels {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.similar-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.2s;
}

.similar-card:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.similar-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.similar-info {
    flex: 1;
    min-width: 0;
}

.similar-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.similar-subs {
    font-size: 13px;
    color: var(--text-muted);
}

/* === CHANNELS GRID === */
.channels-grid,
.active-channels-grid,
.similar-channels-grid,
.other-bots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

/* === CHANNEL CARD (List Item) === */
.channel-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.channel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--gradient-end);
}

.channel-card-header {
    display: flex;
    gap: 14px;
    margin-bottom: 12px;
}

.channel-card .channel-avatar {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
}

.channel-card .channel-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.channel-card .channel-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    margin: 0 0 6px 0; /* сброс дефолтных margin у h3 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.channel-card .channel-category {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent !important;
    background-clip: text;
    position: relative;
    color: transparent;
}

.channel-card .channel-category::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: white;
    z-index: -1;
}

.channel-card .channel-category::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 6px;
    padding: 1px;
    background: linear-gradient(135deg, #00B4E6, #A855F7);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.channel-card .channel-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.channel-card .channel-stats {
    display: flex;
    gap: 8px;
    padding: 0;
    border: none;
    margin: 0;
}

.channel-card .channel-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    background: transparent;
    border: 1px solid rgba(0, 180, 230, 0.15);
    padding: 6px 12px;
    border-radius: 8px;
    background-image: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.channel-card .channel-stats .stat-item svg {
    width: 14px;
    height: 14px;
    stroke: url(#statGrad);
}

/* === CATEGORIES GRID === */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    background: var(--bg-card);
    border-radius: 16px;
    text-align: center;
    transition: all 0.2s;
    border: 1px solid var(--border-color);
}

.category-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    border-color: var(--gradient-end);
}

.category-card .category-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.category-card .category-count {
    font-size: 14px;
    color: var(--text-muted);
}

/* === FOOTER === */
/* FOOTER - Обновленный стиль */

.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    margin-top: auto;
}

/* Однострочный футер */
.footer-line {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* Копирайт */
.footer-copy p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    white-space: nowrap;
}

/* Группы ссылок */
.footer-nav,
.footer-legal {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Прижимаем правые ссылки вправо на десктопе */
.footer-legal {
    margin-left: auto;
}

.footer-nav a,
.footer-legal a {
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.2s;
    white-space: nowrap;
}

/* Градиент при наведении */
.footer-nav a:hover,
.footer-legal a:hover {
    background: linear-gradient(135deg, #00B4E6, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Адаптив для планшетов */
@media (max-width: 992px) {
    .footer-line {
        gap: 20px;
        justify-content: center;
    }
    
    /* Копирайт в конец */
    .footer-copy {
        order: 3;
        width: 100%;
        text-align: center;
        padding-top: 16px;
        border-top: 1px solid var(--border-color);
    }
    
    .footer-nav {
        order: 1;
    }
    
    .footer-legal {
        order: 2;
        margin-left: 0;
    }
    
    .footer-nav,
    .footer-legal {
        justify-content: center;
        gap: 16px;
    }
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .footer {
        padding: 20px 0;
    }
    
    .footer-line {
        flex-direction: column;
        gap: 16px;
    }
    
    /* Копирайт в самый низ */
    .footer-copy {
        order: 3;
        width: auto;
        border-top: none;
        padding-top: 0;
        margin-top: 8px;
        padding-top: 16px;
        border-top: 1px solid var(--border-color);
    }
    
    .footer-nav {
        order: 1;
    }
    
    .footer-legal {
        order: 2;
    }
    
    .footer-copy p {
        font-size: 13px;
    }
    
    .footer-nav,
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-nav a,
    .footer-legal a {
        font-size: 13px;
    }
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--bg-card);
    transition: all 0.2s;
}

.pagination a:hover {
    background: var(--bg-light);
    color: var(--text-primary);
}

.pagination .active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
}

/* === RESPONSIVE - TABLET === */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .channels-grid,
    .active-channels-grid,
    .similar-channels-grid,
    .other-bots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .channel-top-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .content-section {
        padding: 24px;
    }
    
    .content-section h1 {
        font-size: 24px;
    }
}

/* === RESPONSIVE - MOBILE === */
@media (max-width: 1400px) {
    .header {
        margin: 0 16px;
        width: auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 8px 20px rgba(0, 180, 230, 0.15);
        padding: 20px;
        flex-direction: column;
        gap: 8px;
    }
    
    .nav.active {
        display: flex;
        margin-top: 1px;
        border-radius: 20px;
    }
    
    .nav-link {
        width: 100%;
        justify-content: center;
    }
    
    .nav-link::before {
        background: white;
    }
    
    .header-inner {
        padding: 16px 24px;
    }
    
    .nav {
        width: 100%;
        justify-content: center;
        order: 3;
        margin-top: 12px;
    }
    
    .nav-link {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .main {
        padding: 16px 0 32px;
    }

    /* Убираем верхний padding на каталогах */
    .category-page .main,
    .bots-catalog-page .main,
    .stickers-catalog-page .main,
    .channels-main-catalog .main {
        padding: 0 0 32px;
    }
    
    .content-section {
        padding: 20px;
        border-radius: 16px;
        margin-bottom: 16px;
    }
    
    .content-section h1 {
        font-size: 22px;
    }
    
    .content-section h2 {
        font-size: 18px;
    }
    
    /* Channels Grid - 1 column on mobile */
    .channels-grid,
    .active-channels-grid,
    .similar-channels-grid,
    .other-bots-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .channel-card {
    min-width: 0;
    overflow: hidden;
        padding: 16px;
    }
    
    .channel-card-header {
        gap: 12px;
    }
    
    .channel-card .channel-avatar {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }
    
    .channel-card .channel-name {
        font-size: 15px;
    }
    
    .channel-card .channel-desc {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .channel-card .channel-stats {
        flex-wrap: wrap;
    }
    
    .channel-card .channel-stats .stat-item {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    /* Categories Grid */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .category-card {
        padding: 16px;
    }
    
    .category-card .category-name {
        font-size: 14px;
    }
    
    .category-card .category-count {
        font-size: 12px;
    }
    
    /* Channel Page */
    .channel-page-card {
        padding: 20px;
        border-radius: 16px;
    }
    
    .channel-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .channel-page-card .channel-avatar {
        width: 100px;
        height: 100px;
    }
    
    .channel-title {
        font-size: 22px;
    }
    
    .channel-top-row {
        align-items: center;
    }
    
    .channel-page-stats {
        justify-content: center;
    }
    
    .stat {
        align-items: center;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .channel-page-card .channel-category {
        margin: 0 auto;
    }
    
    .channel-stats-row {
        justify-content: center;
    }
    
    .stat-badge {
        padding: 10px 16px;
    }
    
    .stat-badge .stat-number {
        font-size: 20px;
    }
    
    .similar-channels {
        grid-template-columns: 1fr;
    }
    
    .main > .container {
        margin-top: 0;
    }
}

/* === RESPONSIVE - SMALL MOBILE === */
@media (max-width: 480px) {
    .logo-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    
    .logo-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .logo-title {
        font-size: 18px;
    }
    
    .logo-subtitle {
        font-size: 11px;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .nav-link svg {
        width: 16px;
        height: 16px;
    }
    
    .content-section {
        padding: 16px;
    }
    
    .content-section h1 {
        font-size: 20px;
    }
    
    .content-section h2 {
        font-size: 17px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .channel-page-card .channel-avatar {
        width: 80px;
        height: 80px;
        border-radius: 18px;
    }
    
    .channel-title {
        font-size: 20px;
    }
    
    .stat-value {
        font-size: 22px;
    }
    
    .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
}
/* === CATALOG FILTERS === */
.catalog-header {
    margin-top: 30px;
    margin-bottom: 30px;
}

.catalog-header h1 {
    margin-bottom: 10px;
}

.catalog-description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.catalog-filters {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
}

.filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 180px;
}

.filter-group label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group .filter-label {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--text-muted) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 !important;
    padding: 0;
    line-height: normal;
    display: block;
}

.filter-select {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-main);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.filter-select:hover,
.filter-select:focus {
    border-color: var(--gradient-start);
    outline: none;
}

.btn-reset {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid rgba(0, 180, 230, 0.3);
    border-radius: 10px;
    color: var(--gradient-start);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-reset:hover {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-color: transparent;
}

.results-count {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-muted);
}

/* === CHANNELS SECTION === */
.channels-section {
    margin-bottom: 40px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.page-link:hover {
    border-color: var(--gradient-start);
    color: var(--gradient-start);
}

.page-link.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-color: transparent;
}

.page-dots {
    color: var(--text-muted);
    padding: 0 4px;
}

/* === SEO TEXT === */
.seo-text {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.seo-text h2 {
    font-size: 20px;
    margin-bottom: 12px;
}

.seo-text p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === MOBILE FILTERS === */
@media (max-width: 768px) {
    .catalog-filters {
        padding: 16px;
    }
    
    .filters-row {
        gap: 12px;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .btn-reset {
        width: 100%;
        text-align: center;
    }
    
    .pagination {
        gap: 6px;
    }
    
    .page-link {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .catalog-header h1 {
        font-size: 24px;
    }
    
    .catalog-description {
        font-size: 14px;
    }
}
/* === CATALOG FILTERS === */
.catalog-header {
    margin-bottom: 30px;
}

.catalog-header h1 {
    margin-bottom: 10px;
}

.catalog-description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.catalog-filters {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
}

.filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 180px;
}

.filter-group label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-main);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.filter-select:hover,
.filter-select:focus {
    border-color: var(--gradient-start);
    outline: none;
}

.btn-reset {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid rgba(0, 180, 230, 0.3);
    border-radius: 10px;
    color: var(--gradient-start);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-reset:hover {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-color: transparent;
}

.results-count {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-muted);
}

/* === CHANNELS SECTION === */
.channels-section {
    margin-bottom: 40px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.page-link:hover {
    border-color: var(--gradient-start);
    color: var(--gradient-start);
}

.page-link.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-color: transparent;
}

.page-dots {
    color: var(--text-muted);
    padding: 0 4px;
}

/* === SEO TEXT === */
.seo-text {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.seo-text h2 {
    font-size: 20px;
    margin-bottom: 12px;
}

.seo-text p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === MOBILE FILTERS === */
@media (max-width: 768px) {
    .catalog-filters {
        padding: 16px;
    }
    
    .filters-row {
        gap: 12px;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .btn-reset {
        width: 100%;
        text-align: center;
    }
    
    .pagination {
        gap: 6px;
    }
    
    .page-link {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .catalog-header h1 {
        font-size: 24px;
    }
    
    .catalog-description {
        font-size: 14px;
    }
}
/* === CATALOG FILTERS === */
.catalog-header {
    margin-bottom: 30px;
}

.catalog-header h1 {
    margin-bottom: 10px;
}

.catalog-description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.catalog-filters {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
}

.filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 180px;
}

.filter-group label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sort-group {
    display: flex;
    gap: 8px;
}

.sort-group .filter-select {
    flex: 1;
}

.sort-order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-main);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.sort-order-btn:hover {
    border-color: var(--gradient-start);
    color: var(--gradient-start);
}

.sort-order-btn svg {
    transition: transform 0.2s;
}

.sort-order-btn svg.rotated {
    transform: rotate(180deg);
}

.filter-select {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-main);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.filter-select:hover,
.filter-select:focus {
    border-color: var(--gradient-start);
    outline: none;
}

.btn-reset {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid rgba(0, 180, 230, 0.3);
    border-radius: 10px;
    color: var(--gradient-start);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-reset:hover {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-color: transparent;
}

.results-count {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-muted);
}

/* === CHANNELS SECTION === */
.channels-section {
    margin-bottom: 40px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.page-link:hover {
    border-color: var(--gradient-start);
    color: var(--gradient-start);
}

.page-link.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-color: transparent;
}

.page-dots {
    color: var(--text-muted);
    padding: 0 4px;
}

/* === SEO TEXT === */
.seo-text {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.seo-text h2 {
    font-size: 20px;
    margin-bottom: 12px;
}

.seo-text p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === MOBILE FILTERS === */
@media (max-width: 768px) {
    .catalog-filters {
        padding: 16px;
    }
    
    .filters-row {
        gap: 12px;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .sort-group {
        width: 100%;
    }
    
    .btn-reset {
        width: 100%;
        text-align: center;
    }
    
    .pagination {
        gap: 6px;
    }
    
    .page-link {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .catalog-header h1 {
        font-size: 24px;
    }
    
    .catalog-description {
        font-size: 14px;
    }
}
/* === HOMEPAGE STYLES === */

/* Hero Section */
.hero {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, rgba(0, 180, 230, 0.05), rgba(168, 85, 247, 0.05));
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Hero Search */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}

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

.hero-stat-value {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-alt {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
}

.section-action {
    text-align: center;
    margin-top: 40px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    border: 1px solid rgba(0, 180, 230, 0.3);
    color: var(--gradient-start);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-color: transparent;
}

/* Categories Grid - Homepage */
.categories-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.category-card-home {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.category-card-home:hover {
    border-color: var(--gradient-start);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 180, 230, 0.1);
}

.category-icon {
    font-size: 24px;
    line-height: 1;
}

.category-name-home {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-count-home {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-light);
    padding: 4px 8px;
    border-radius: 6px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-content h3 {
    font-size: 20px;
    margin: 30px 0 16px;
}

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

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gradient-start);
    font-weight: 600;
}

/* Feature Cards */
.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.feature-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 40px 0 60px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .hero-stat-value {
        font-size: 24px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .categories-grid-home {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .category-card-home {
        padding: 12px;
    }
    
    .category-icon {
        font-size: 20px;
    }
    
    .category-name-home {
        font-size: 13px;
    }
    
    .category-count-home {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }
    
    .hero-search {
        flex-direction: column;
    }
    
    .hero-search-btn {
        padding: 14px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .categories-grid-home {
        grid-template-columns: 1fr;
    }
}
/* === CATALOG FILTERS === */
.catalog-header {
    margin-bottom: 30px;
}

.catalog-header h1 {
    margin-bottom: 10px;
}

.catalog-description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.catalog-filters {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
}

/* Search Row */
.search-row {
    margin-bottom: 20px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 14px 44px 14px 48px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-main);
    color: var(--text-primary);
    font-size: 15px;
    transition: border-color 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: var(--gradient-start);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-clear {
    position: absolute;
    right: 16px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    transition: color 0.2s;
}

.search-clear:hover {
    color: var(--text-primary);
}

.filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 180px;
}

.filter-group label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sort-group {
    display: flex;
    gap: 8px;
}

.sort-group .filter-select {
    flex: 1;
}

.sort-order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-main);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.sort-order-btn:hover {
    border-color: var(--gradient-start);
    color: var(--gradient-start);
}

.sort-order-btn svg {
    transition: transform 0.2s;
}

.sort-order-btn svg.rotated {
    transform: rotate(180deg);
}

.filter-select {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-main);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.filter-select:hover,
.filter-select:focus {
    border-color: var(--gradient-start);
    outline: none;
}

.btn-reset {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid rgba(0, 180, 230, 0.3);
    border-radius: 10px;
    color: var(--gradient-start);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-reset:hover {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-color: transparent;
}

.results-count {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-muted);
}

/* === CHANNELS SECTION === */
.channels-section {
    margin-bottom: 40px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.page-link:hover {
    border-color: var(--gradient-start);
    color: var(--gradient-start);
}

.page-link.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-color: transparent;
}

.page-dots {
    color: var(--text-muted);
    padding: 0 4px;
}

/* === SEO TEXT === */
.seo-text {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.seo-text h2 {
    font-size: 20px;
    margin-bottom: 12px;
}

.seo-text p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === MOBILE FILTERS === */
@media (max-width: 768px) {
    .catalog-filters {
        padding: 16px;
    }
    
    .filters-row {
        gap: 12px;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .sort-group {
        width: 100%;
    }
    
    .btn-reset {
        width: 100%;
        text-align: center;
    }
    
    .pagination {
        gap: 6px;
    }
    
    .page-link {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .catalog-header h1 {
        font-size: 24px;
    }
    
    .catalog-description {
        font-size: 14px;
    }
}

/* === STICKERS SECTION === */

/* Catalog Meta */
.catalog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.catalog-count {
    font-size: 14px;
    color: var(--text-secondary);
}

.catalog-count strong {
    color: var(--text-primary);
}

/* Stickers Grid */
.stickers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Sticker Card */
.sticker-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sticker-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--gradient-start);
}

.sticker-card-image {
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(0, 180, 230, 0.05), rgba(168, 85, 247, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sticker-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sticker-card-info {
    padding: 16px;
    text-align: center;
}

.sticker-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticker-card-count {
    font-size: 13px;
    color: var(--text-muted);
}

/* Sticker Page Header */
.sticker-header {
    margin-bottom: 32px;
}

.sticker-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sticker-lead {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.sticker-meta {
    display: flex;
    gap: 12px;
}

.sticker-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(0, 180, 230, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(0, 180, 230, 0.2);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gradient-start);
}

/* Sticker Gallery */
.sticker-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 40px;
}

.sticker-gallery-item {
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(0, 180, 230, 0.03), rgba(168, 85, 247, 0.03));
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.sticker-gallery-item:hover {
    background: linear-gradient(135deg, rgba(0, 180, 230, 0.08), rgba(168, 85, 247, 0.08));
    transform: scale(1.05);
}

.sticker-gallery-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Sticker Instruction */
.sticker-instruction {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
}

.sticker-instruction h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.sticker-instruction p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.sticker-instruction ol {
    margin: 0 0 16px 0;
    padding-left: 24px;
}

.sticker-instruction li {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 8px;
}

.sticker-instruction li::marker {
    color: var(--gradient-start);
    font-weight: 600;
}

/* Other Stickers Section */
.other-stickers {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.other-stickers h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

/* Pagination for Stickers */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.pagination-btn:hover {
    border-color: var(--gradient-start);
    color: var(--gradient-start);
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.pagination-page:hover {
    border-color: var(--gradient-start);
    color: var(--gradient-start);
}

.pagination-page.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-color: transparent;
}

.pagination-dots {
    color: var(--text-muted);
    padding: 0 8px;
}

/* === STICKERS RESPONSIVE === */
@media (max-width: 768px) {
    .stickers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .sticker-card-image {
        padding: 16px;
    }
    
    .sticker-card-info {
        padding: 12px;
    }
    
    .sticker-card-title {
        font-size: 14px;
    }
    
    .sticker-header h1 {
        font-size: 26px;
    }
    
    .sticker-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 16px;
    }
    
    .sticker-instruction {
        padding: 20px;
    }
    
    .sticker-instruction h2 {
        font-size: 18px;
    }
    
    .other-stickers .stickers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stickers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .other-stickers .stickers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sticker-card-image {
        padding: 12px;
    }
    
    .sticker-card-info {
        padding: 10px;
    }
    
    .sticker-card-title {
        font-size: 13px;
    }
    
    .sticker-card-count {
        font-size: 12px;
    }
    
    .sticker-header h1 {
        font-size: 22px;
    }
    
    .sticker-lead {
        font-size: 14px;
    }
    
    .sticker-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 12px;
    }
    
    .sticker-gallery-item {
        padding: 8px;
    }
    
    .pagination-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .pagination-page {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

/* === STICKERS SECTION (UPDATED) === */

/* Catalog Meta */
.catalog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.catalog-count {
    font-size: 14px;
    color: var(--text-secondary);
}

.catalog-count strong {
    color: var(--text-primary);
}

/* Stickers Grid */
.stickers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Sticker Card */
.sticker-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sticker-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--gradient-start);
}

.sticker-card-image {
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(0, 180, 230, 0.05), rgba(168, 85, 247, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sticker-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sticker-card-info {
    padding: 16px;
    text-align: center;
}

.sticker-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticker-card-count {
    font-size: 13px;
    color: var(--text-muted);
}

/* Sticker Page Card (белая подложка) */
.sticker-page-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 32px;
}

/* Sticker Page Header */
.sticker-header {
    margin-bottom: 0;
}

.sticker-top-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.sticker-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.sticker-lead {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Плашка количества стикеров (как категория канала) */
.sticker-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    background: transparent;
    border: 1px solid rgba(0, 180, 230, 0.15);
    transition: all 0.2s;
}

.sticker-count-badge span {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sticker-count-badge:hover {
    background: linear-gradient(135deg, rgba(0, 180, 230, 0.15), rgba(168, 85, 247, 0.15));
    border-color: rgba(168, 85, 247, 0.3);
}

/* Sticker Gallery */
.sticker-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 40px;
}

.sticker-gallery-item {
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(0, 180, 230, 0.03), rgba(168, 85, 247, 0.03));
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.sticker-gallery-item:hover {
    background: linear-gradient(135deg, rgba(0, 180, 230, 0.08), rgba(168, 85, 247, 0.08));
    transform: scale(1.05);
}

.sticker-gallery-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Sticker Instruction */
.sticker-instruction {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
}

.sticker-instruction h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.sticker-instruction p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.sticker-instruction ol {
    margin: 0 0 16px 0;
    padding-left: 24px;
}

.sticker-instruction li {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 8px;
}

.sticker-instruction li::marker {
    color: var(--gradient-start);
    font-weight: 600;
}

/* Other Stickers Section */
.other-stickers {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.other-stickers h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

/* Pagination for Stickers */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.pagination-btn:hover {
    border-color: var(--gradient-start);
    color: var(--gradient-start);
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.pagination-page:hover {
    border-color: var(--gradient-start);
    color: var(--gradient-start);
}

.pagination-page.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-color: transparent;
}

.pagination-dots {
    color: var(--text-muted);
    padding: 0 8px;
}

/* === STICKERS RESPONSIVE === */
@media (max-width: 768px) {
    .stickers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .sticker-card-image {
        padding: 16px;
    }
    
    .sticker-card-info {
        padding: 12px;
    }
    
    .sticker-card-title {
        font-size: 14px;
    }
    
    .sticker-page-card {
        padding: 20px;
        border-radius: 16px;
    }
    
    .sticker-header h1 {
        font-size: 22px;
    }
    
    .sticker-top-row {
        gap: 12px;
    }
    
    .sticker-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 16px;
    }
    
    .sticker-instruction {
        padding: 20px;
    }
    
    .sticker-instruction h2 {
        font-size: 18px;
    }
    
    .other-stickers .stickers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stickers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .other-stickers .stickers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sticker-card-image {
        padding: 12px;
    }
    
    .sticker-card-info {
        padding: 10px;
    }
    
    .sticker-card-title {
        font-size: 13px;
    }
    
    .sticker-card-count {
        font-size: 12px;
    }
    
    .sticker-page-card {
        padding: 16px;
    }
    
    .sticker-header h1 {
        font-size: 20px;
    }
    
    .sticker-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .sticker-lead {
        font-size: 14px;
    }
    
    .sticker-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 12px;
    }
    
    .sticker-gallery-item {
        padding: 8px;
    }
    
    .pagination-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .pagination-page {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

/* === FIX: Сброс градиента для заголовка стикерпака === */
.sticker-header h1 {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    background-clip: unset !important;
    color: var(--text-primary) !important;
}

/* === FIX: Стиль количества стикеров в карточках (как категория канала) === */
.sticker-card-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    background: transparent;
    border: 1px solid rgba(0, 180, 230, 0.15);
    background-image: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === FIX: Название канала + плашка категории в одной строке === */
.channel-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.channel-title-row .channel-title {
    margin-bottom: 0;
}

.channel-title-row .channel-category {
    margin: 0;
}

@media (max-width: 768px) {
    .channel-title-row {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .channel-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* === FIX: Увеличение размера стикеров в галерее === */
.sticker-gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
}

@media (max-width: 768px) {
    .sticker-gallery {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
    }
}

@media (max-width: 480px) {
    .sticker-gallery {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)) !important;
    }
}

/* === FIX: Увеличение размера стикеров в галерее === */
.sticker-gallery {
    grid-template-columns: repeat(auto-fill, minmax(144px, 1fr)) !important;
}

/* Inline H2 для описания каталога */
.catalog-description-inline {
    display: inline !important;
    font-size: 16px !important;
    font-weight: normal !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--text-secondary) !important;
}

@media (max-width: 768px) {
    .sticker-gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)) !important;
    }
}

@media (max-width: 480px) {
    .sticker-gallery {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)) !important;
    }
}

/* === FIX: Градиентные цифры в инструкции стикерпака === */
.sticker-instruction ol {
    list-style: none;
    padding-left: 0;
    counter-reset: step-counter;
}

.sticker-instruction ol li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    counter-increment: step-counter;
}

.sticker-instruction ol li::before {
    content: counter(step-counter) ".";
    position: absolute;
    left: 0;
    font-weight: 600;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === FIX: Центрирование "не найдено" в гридах === */
.stickers-grid .no-results,
.channels-grid .no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

/* === FIX: Белые иконки в активных nav-link === */
.nav-link.active svg path {
    fill: white !important;
}
/* =============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ ГЛАВНОЙ СТРАНИЦЫ
   Добавить в конец style.css
   ============================================= */

/* === BOTS GRID === */
.bots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.bot-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 0;
    overflow: hidden;
}

.bot-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--gradient-start);
}

.bot-avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(0, 180, 230, 0.1), rgba(168, 85, 247, 0.1));
}

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

.bot-info {
    flex: 1;
    min-width: 0;
}

.bot-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bot-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === STICKERS GRID HOME === */
.stickers-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.sticker-card-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sticker-card-home:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--gradient-start);
}

.sticker-preview {
    width: 120px;
    height: 120px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticker-preview img {
    max-width: 100%;
    max-height: 84%;
    object-fit: contain;
}

.sticker-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* === DOWNLOAD SECTION === */
.download-section {
    background: linear-gradient(135deg, rgba(0, 180, 230, 0.08), rgba(168, 85, 247, 0.08));
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.download-text h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.download-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.download-step {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.step-number {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    font-weight: 600;
    font-size: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

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

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.store-btn:hover {
    border-color: var(--gradient-start);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 180, 230, 0.15);
}

.store-icon {
    font-size: 28px;
    line-height: 1;
}

.store-info {
    display: flex;
    flex-direction: column;
}

.store-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.download-footer {
    margin-top: 32px;
    text-align: center;
}

.official-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gradient-start);
    text-decoration: none;
    transition: opacity 0.2s;
}

.official-link:hover {
    opacity: 0.8;
}

/* === ABOUT BLOCK === */
.about-block {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-main h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-main h3 {
    font-size: 20px;
    margin: 32px 0 16px;
    color: var(--text-primary);
}

.about-main p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* === FAQ SECTION === */
.faq-section {
    background: var(--bg-card);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

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

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    transition: color 0.2s;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: 400;
    color: var(--gradient-start);
    transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
    content: '−';
}

.faq-question:hover {
    color: var(--gradient-start);
}

.faq-answer {
    padding: 0 0 24px;
    animation: fadeIn 0.3s ease;
}

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

.faq-answer p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    margin: 12px 0;
    padding-left: 24px;
}

.faq-answer li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.faq-answer a {
    color: var(--gradient-start);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .download-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .bots-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .bot-card {
        padding: 16px;
    }
    
    .bot-avatar {
        width: 48px;
        height: 48px;
    }
    
    .stickers-grid-home {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .sticker-card-home {
        padding: 16px 12px;
    }
    
    .sticker-preview {
        width: 60px;
        height: 60px;
    }
    
    /* Увеличиваем изображение стикера на мобильных */
    .sticker-preview img {
        width: 126%;
        height: 126%;
        max-width: none;
        max-height: none;
        object-fit: contain;
    }
    
    .sticker-name {
        font-size: 12px;
    }
    
    .download-buttons {
        grid-template-columns: 1fr;
    }
    
    .download-text h2 {
        font-size: 24px;
    }
    
    .about-main h2 {
        font-size: 24px;
    }
    
    .about-main h3 {
        font-size: 18px;
    }
    
    .faq-question {
        font-size: 15px;
        padding: 20px 0;
    }
    
    .faq-answer p,
    .faq-answer li {
        font-size: 14px;
    }
    
    /* Скрываем "Все →" в разделах ботов и стикеров на мобильных */
    .bots-stickers-row .view-link {
        display: none;
    }
    
    /* Показываем кнопки "Все чат-боты" и "Все стикеры" на мобильных */
    .mobile-only-button {
        display: block;
    }

}

/* Скрываем кнопки "Все чат-боты" и "Все стикеры" на десктопе */
@media (min-width: 769px) {
    .mobile-only-button {
        display: none;
    }
    
    /* Скрываем только стикеры 7-12 на десктопе (новые добавленные 13+ будут видны) */
    .stickers-grid-home .sticker-card-home:nth-child(n+7):nth-child(-n+12) {
        display: none;
    }
}

@media (max-width: 480px) {
    .stickers-grid-home {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .sticker-card-home {
        padding: 14px 10px;
    }
    
    .sticker-preview {
        width: 50px;
        height: 50px;
        margin-bottom: 8px;
    }
    
    /* Увеличиваем изображение стикера на маленьких экранах */
    .sticker-preview img {
        width: 126%;
        height: 126%;
        max-width: none;
        max-height: none;
        object-fit: contain;
    }
    
    .store-btn {
        padding: 14px 16px;
    }
    
    .store-icon {
        font-size: 24px;
    }
    
    .store-name {
        font-size: 14px;
    }
}

/* === HOMEPAGE OPTIMIZATIONS === */

/* Section Header with Button on Right */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.section-header-left {
    flex: 1;
}

.section-header-left h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.section-header-left .section-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
}

.section-header-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* Categories Grid 4 Columns */
.categories-grid-home-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .section-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .categories-grid-home-4col {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .section-header-left h2 {
        font-size: 24px;
    }
    
    .categories-grid-home-4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .section-header-left h2 {
        font-size: 20px;
    }
    
    .section-header-left .section-subtitle {
        font-size: 13px;
    }
    
    .categories-grid-home-4col {
        grid-template-columns: 1fr;
    }
}

/* === HOMEPAGE REDESIGN - COMPACT HERO === */
.hero-compact {
    background: var(--bg-card);
    padding: 48px 0;
    border-bottom: 1px solid var(--border-color);
}

.hero-compact h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    text-align: center;
}

.hero-lead {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Compact */
.about-compact {
    background: linear-gradient(135deg, rgba(0, 180, 230, 0.05), rgba(168, 85, 247, 0.05));
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.about-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.about-features-compact {
    display: flex;
    gap: 24px;
    flex-shrink: 0;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 12px;
    min-width: 100px;
}

.feature-icon {
    font-size: 32px;
}

.feature-item span:last-child {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

/* FAQ Compact */
.faq-compact {
    max-width: 900px;
    margin: 0 auto;
}

.faq-compact h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 32px 0;
    text-align: center;
}

/* SEO Text Section */
.seo-text-section {
    background: var(--bg-light);
}

.seo-text-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 24px 0;
}

.seo-text-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 16px 0;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        gap: 24px;
    }
    
    .about-features-compact {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-compact h1 {
        font-size: 28px;
    }
    
    .hero-lead {
        font-size: 16px;
    }
    
    .about-text h2 {
        font-size: 24px;
    }
    
    .about-features-compact {
        gap: 12px;
    }
    
    .feature-item {
        min-width: 80px;
        padding: 16px 12px;
    }
    
    .feature-icon {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-compact {
        padding: 32px 0;
    }
    
    .hero-compact h1 {
        font-size: 24px;
    }
    
    .hero-lead {
        font-size: 15px;
    }
    
    .about-features-compact {
        flex-direction: column;
        width: 100%;
    }
    
    .feature-item {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
}

/* Section Title Centered (for FAQ) */
.section-title-center {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin: 0 0 40px 0;
}

@media (max-width: 768px) {
    .section-title-center {
        font-size: 28px;
        margin: 0 0 32px 0;
    }
}

@media (max-width: 480px) {
    .section-title-center {
        font-size: 24px;
        margin: 0 0 24px 0;
    }
}

/* ====================================
   НОВЫЙ ДИЗАЙН ГЛАВНОЙ - МИНИМАЛИЗМ
   ==================================== */

/* Minimal Hero */
.hero-minimal {
    background: var(--bg-card);
    padding: 60px 0 40px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-minimal h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
}

.hero-stats-inline {
    display: flex;
    justify-content: center;
    gap: 32px;
    font-size: 16px;
    color: var(--text-muted);
}

.hero-stats-inline span {
    position: relative;
}

.hero-stats-inline span:not(:last-child)::after {
    content: "·";
    position: absolute;
    right: -18px;
    color: var(--border-color);
}

/* 3 Columns Layout */
.content-grid .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--max-width);
}

.content-column {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.column-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.view-all {
    font-size: 14px;
    color: var(--gradient-start);
    font-weight: 500;
    transition: opacity 0.2s;
}

.view-all:hover {
    opacity: 0.7;
}

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

/* Mini Cards */
.mini-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    background: var(--bg-light);
    transition: all 0.2s;
}

.mini-card:hover {
    background: #f1f5f9;
    transform: translateX(4px);
}

.mini-avatar {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.mini-info {
    flex: 1;
    min-width: 0;
}

.mini-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-stat {
    font-size: 12px;
    color: var(--text-muted);
}

.mini-desc {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Categories Compact */
.categories-compact {
    padding: 40px 0;
}

.section-header-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header-simple h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.view-all-btn {
    font-size: 16px;
    color: var(--gradient-start);
    font-weight: 500;
    transition: opacity 0.2s;
}

.view-all-btn:hover {
    opacity: 0.7;
}

.categories-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.category-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

.category-mini:hover {
    border-color: var(--gradient-start);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 180, 230, 0.1);
}

.cat-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.cat-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.cat-count {
    font-size: 13px;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* About Ultra Compact */
.about-ultra-compact {
    padding: 40px 0;
}

.about-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.about-text-compact {
    flex: 1;
}

.about-text-compact h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.about-text-compact p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.download-compact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.download-mini-btns {
    display: flex;
    gap: 12px;
}

.dl-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.dl-btn:hover {
    opacity: 0.9;
}

.official-link-compact {
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.official-link-compact:hover {
    color: var(--gradient-start);
}

/* FAQ Minimal */
.faq-minimal {
    padding: 40px 0;
}

.faq-minimal h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px 0;
}

.faq-compact-list {
    display: grid;
    gap: 12px;
    max-width: 800px;
}

.faq-item-compact {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 20px;
}

.faq-item-compact summary {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item-compact summary::-webkit-details-marker {
    display: none;
}

.faq-item-compact summary::after {
    content: "+";
    font-size: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.faq-item-compact[open] summary::after {
    content: "−";
}

.faq-item-compact p {
    margin: 12px 0 0 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* SEO Collapsed */
.seo-collapsed {
    padding: 40px 0;
}

.seo-expandable {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.seo-expandable summary {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
}

.seo-expandable summary::-webkit-details-marker {
    display: none;
}

.seo-content {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.seo-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.seo-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 12px 0;
}

.seo-content ul {
    margin: 0 0 16px 0;
    padding-left: 20px;
}

.seo-content li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .content-grid .container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .categories-mini-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .download-compact {
        width: 100%;
        align-items: flex-start;
    }
    
    .download-mini-btns {
        width: 100%;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .hero-minimal h1 {
        font-size: 32px;
    }
    
    .hero-stats-inline {
        flex-direction: column;
        gap: 8px;
    }
    
    .hero-stats-inline span::after {
        display: none;
    }
    
    .categories-mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header-simple h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-minimal {
        padding: 40px 0 32px;
    }
    
    .hero-minimal h1 {
        font-size: 26px;
    }
    
    .categories-mini-grid {
        grid-template-columns: 1fr;
    }
    
    .download-mini-btns {
        flex-direction: column;
    }
    
    .dl-btn {
        width: 100%;
        text-align: center;
    }
}

/* ====================================
   ИСПРАВЛЕННЫЙ ДИЗАЙН ГЛАВНОЙ
   ==================================== */

/* Hero Fixed */
.hero-fixed {
    background: linear-gradient(135deg, rgba(0, 180, 230, 0.03), rgba(168, 85, 247, 0.03));
    padding: 32px 0;
    border-bottom: 1px solid var(--border-color);
}

.hero-content-fixed {
    text-align: center;
    margin-bottom: 24px;
}

.hero-fixed h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    letter-spacing: -0.01em;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

.hero-stats-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}


.stat-value {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Channels Featured (with accent) */
.channels-featured {
    background: var(--bg-light);
    padding: 48px 0;
}

.top-channels-section {
    background: var(--bg-light);
    padding: 48px 0;
    border-top: 1px solid var(--border-color);
}

/* Bots + Stickers Row */
.bots-stickers-row {
    padding: 48px 0;
    background: var(--bg-light);
}

.two-column-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.column-block {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border-color);
}

.column-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.column-header-inline h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.view-link {
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s;
    background: linear-gradient(135deg, #00B4E6, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.view-link:hover {
    opacity: 0.7;
}

/* Categories Section */
.categories-section {
    padding: 48px 0;
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.02), transparent);
    border-top: 2px solid rgba(168, 85, 247, 0.1);
}

/* About MAX Section */
.about-max-section {
    padding: 48px 0;
    background: var(--bg-card);
}

.about-max-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-max-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.about-max-content > p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 32px 0;
}

.download-section-inline h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 20px 0;
}

.download-buttons-inline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.official-link-center {
    display: inline-block;
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.official-link-center:hover {
    color: var(--gradient-start);
}

/* FAQ Centered */
.faq-centered-section {
    padding: 48px 0;
    background: linear-gradient(180deg, rgba(0, 180, 230, 0.02), transparent);
}

.section-title-center {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin: 0 0 32px 0;
}

.faq-list-centered {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* SEO Text Section */
.seo-text-section {
    padding: 48px 0;
    background: var(--bg-light);
}

.seo-text-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px 0;
}

.seo-text-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 28px 0 16px 0;
}

.seo-text-section p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.seo-text-section ul {
    margin: 0 0 20px 0;
    padding-left: 24px;
}

.seo-text-section li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .two-column-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons-inline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-fixed h1 {
        font-size: 26px;
    }
    
    .hero-desc {
        font-size: 15px;
    }
    
    .stat-card {
        min-width: 110px;
        padding: 14px 20px;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .download-buttons-inline {
        grid-template-columns: 1fr;
    }
    
    .section-title-center {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-fixed {
        padding: 24px 0;
    }
    
    .hero-fixed h1 {
        font-size: 22px;
    }
    
    .hero-stats-cards {
        gap: 12px;
    }
    
    .stat-card {
        flex: 1;
        min-width: 0;
        padding: 12px 16px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 11px;
    }
}

/* ====================================
   ФИНАЛЬНАЯ СТРУКТУРА - НОВЫЕ СТИЛИ
   ==================================== */

/* Section Header Center */
.section-header-center {
    text-align: left;
    margin-bottom: 40px;
}

.section-header-center h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.section-subtitle-center {
    font-size: 16px;
    color: var(--text-muted);
}

/* All 42 Categories Grid */
.categories-all-section {
    padding: 48px 0;
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.03), transparent);
}

.categories-grid-all {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.category-card-all {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.25s ease;
}

.category-card-all:hover {
    border-color: var(--gradient-end);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.12);
}

.category-icon-all {
    font-size: 28px;
    flex-shrink: 0;
}

.category-info-all {
    flex: 1;
    min-width: 0;
}

.category-name-all {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-count-all {
    font-size: 13px;
    color: var(--text-muted);
}

/* About + FAQ Row */
.about-faq-row {
    padding: 48px 0;
    background: var(--bg-card);
}

.about-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.about-column,
.faq-column {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-color);
}

.about-column h2,
.faq-column h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.about-column > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 20px 0;
}

/* About Features List */
/* Key Advantages - Карточки преимуществ */
.key-advantages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.advantage-card {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.2s ease;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #00B4E6, #A855F7);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.advantage-card:hover {
    transform: translateY(-2px);
}

.advantage-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #00B4E6, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.advantage-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Download Compact */
.download-compact-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.download-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.dl-btn-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.dl-btn-compact:hover {
    opacity: 0.9;
}

.dl-btn-compact span {
    font-size: 16px;
}

.official-link-small {
    display: inline-block;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    width: 100%;
    transition: color 0.2s;
}

.official-link-small:hover {
    color: var(--gradient-start);
}

/* FAQ Compact in Column */
.faq-compact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item-small {
    display: flex;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.faq-item-small:hover {
    border-color: var(--gradient-start);
    box-shadow: 0 4px 12px rgba(0, 180, 230, 0.08);
}

.faq-item-small:last-child {
    margin-bottom: 0;
}

.faq-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #00B4E6, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border: 2px solid;
    border-image: linear-gradient(135deg, #00B4E6, #A855F7) 1;
    border-radius: 8px;
}

.faq-content {
    flex: 1;
}

.faq-item-small h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.faq-item-small p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* MAX Features List */
.max-features-list {
    margin: 16px 0;
    padding-left: 20px;
}

.max-features-list li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

/* Portal Features Section */
.portal-features-section {
    padding: 48px 0;
    background: var(--bg-light);
}

.portal-features-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 24px 0;
}

.portal-features-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 32px 0 16px 0;
}

.portal-features-section p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.portal-features-section ul {
    margin: 0 0 20px 0;
    padding-left: 24px;
}

.portal-features-section li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .categories-grid-all {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-faq-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .key-advantages {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header-center h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .categories-grid-all {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .category-card-all {
        padding: 14px;
    }
    
    .category-icon-all {
        font-size: 24px;
    }
    
    .category-name-all {
        font-size: 14px;
    }
    
    .key-advantages {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .download-grid-compact {
        grid-template-columns: 1fr;
    }
    
    .section-header-center h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .categories-grid-all {
        grid-template-columns: 1fr;
    }
    
    .about-column,
    .faq-column {
        padding: 24px 20px;
    }
    
    .portal-features-section h2 {
        font-size: 24px;
    }
}

/* ====================================

/* ====================================
   ФИНАЛЬНЫЕ ИСПРАВЛЕНИЯ
   ==================================== */

/* Section Action Full */
.section-action-full {
    margin-top: 32px;
    text-align: center;
}

/* Popular Categories */
.categories-popular-section {
    padding: 48px 0;
    background: var(--bg-card);
}

.categories-grid-popular {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 0;
}

.category-card-popular {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.25s ease;
}

.category-card-popular:hover {
    border-color: var(--gradient-end);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.12);
}

.category-icon-popular {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon-popular svg {
    width: 100%;
    height: 100%;
}

.category-info-popular {
    flex: 1;
    min-width: 0;
}

.category-name-popular {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-count-popular {
    font-size: 13px;
    color: var(--text-muted);
}

/* SVG Feature Icons */
/* ====================================
   STAT CARD - С ГРАДИЕНТНОЙ ОБВОДКОЙ
   ==================================== */

.stat-card {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 16px 28px;
    min-width: 140px;
    text-align: center;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #00B4E6, #A855F7);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}

/* ====================================
   BUTTON - БЕЛАЯ С ГРАДИЕНТНОЙ ОБВОДКОЙ
   ==================================== */

.btn-full-width {
    position: relative;
    display: block;
    width: 100%;
    padding: 14px 32px;
    background: white;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #00B4E6, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-full-width::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    padding: 2px;
    background: linear-gradient(135deg, #00B4E6, #A855F7);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.btn-full-width:hover {
    background: linear-gradient(135deg, #00B4E6, #A855F7);
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: white;
    background-clip: border-box;
}

.btn-full-width:hover::before {
    display: none;
}

/* ====================================
   RESPONSIVE
   ==================================== */

@media (max-width: 992px) {
    .categories-grid-popular {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-grid-popular {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .category-card-popular {
        padding: 14px;
    }
    
    .category-icon-popular {
        width: 28px;
        height: 28px;
    }
    
    .category-name-popular {
        font-size: 14px;
    }
    
    .btn-full-width {
        font-size: 15px;
        padding: 12px 24px;
    }
    
    .stat-card {
        min-width: 110px;
        padding: 14px 20px;
    }
    
    .stat-value {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .categories-grid-popular {
        grid-template-columns: 1fr;
    }
    
    .channels-grid,
    .stickers-grid,
    .bots-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        flex: 1;
        min-width: 0;
        padding: 12px 16px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 11px;
    }
}

/* Other Stickers Grid - копия стилей stickers-grid для динамической подгрузки */
.other-stickers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* ========================================
   КНОПКА "ОТКРЫТЬ В MAX" НА СТРАНИЦЕ КАНАЛА
   Перемещение кнопки после описания на мобильных
   ======================================== */

/* По умолчанию (мобильные) - кнопка после описания, на всю ширину */
.channel-action-btn {
    width: 100%;
    justify-content: center;
}

/* На планшетах и десктопе (>768px) - кнопка визуально возвращается наверх */
@media (min-width: 769px) {
    .channel-page-card .channel-header {
        position: relative;
    }
    
    .channel-page-card .channel-action-btn {
        position: absolute !important;
        top: 0 !important;
        right: 0px !important;
        width: auto !important;
        margin-top: 0 !important;
    }
    
    .channel-top-row {
        padding-right: 200px !important;
    }
}


/* ====================================
   ЛОГОТИП - ПРОСТАЯ КАРТИНКА
   ==================================== */

/* Основной контейнер логотипа */
.logo {
    display: flex;
    align-items: center;
}

/* Контейнер с картинкой и субтитлом */
.logo-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

/* Картинка логотипа */
.logo-image {
    max-height: 27px;
    height: auto;
    width: auto;
    display: block;
}

/* Субтитл под логотипом */
.logo-subtitle {
    font-size: 10.7px;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.2;
    margin: 0;
    padding: 0;
}

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .logo-image {
        max-height: 25px;
    }
    
    .logo-subtitle {
        font-size: 10px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .logo-image {
        max-height: 23px;
    }
    
    .logo-subtitle {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        max-height: 21px;
    }
    
    .logo-subtitle {
        font-size: 8px;
    }
}

/* ====================================
   КОНЕЦ СТИЛЕЙ ЛОГОТИПА
   ==================================== */
