@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

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

:root {
    --bg-primary: #f5f7fa;
    --bg-card: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.08);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --cat-image: #8b5cf6;
    --cat-video: #f43f5e;
    --cat-code: #3b82f6;
    --cat-write: #f59e0b;
    --cat-music: #10b981;
    --cat-chat: #6366f1;
}

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== Header ===== */
.store-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #dadce0;
    box-shadow: 0 1px 2px rgba(60,64,67,0.08);
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: nowrap;
}

.header-left {
    flex-shrink: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #5f6368;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 4px 8px;
    border-radius: 8px;
}

.brand:hover {
    background: #f1f3f4;
    color: #1a73e8;
}

.iconpark-icon:not([style*="display:none"]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    width: auto;
    height: auto;
}

.iconpark-icon svg {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: block !important;
    flex-shrink: 0 !important;
}

.cat-link .iconpark-icon svg {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
}

.tool-icon .iconpark-icon svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
}

.detail-icon .iconpark-icon svg {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
}

.category-icon .iconpark-icon svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
}

.brand-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1;
    font-size: 24px;
}

.brand-icon svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    flex-shrink: 0 !important;
}

.brand-icon .iconpark-icon svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
}

.brand-text {
    font-weight: 500;
    letter-spacing: -0.3px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.header-center {
    flex: 1;
    min-width: 0;
    max-width: 520px;
}

.search-container {
    position: relative;
    width: 100%;
}

.search-container input {
    width: 100%;
    height: 44px;
    padding: 0 44px 0 16px;
    border: 1px solid #dadce0;
    border-radius: 22px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
    background: #f8f9fa;
}

.search-container input:focus {
    background: #fff;
    border-color: #1a73e8;
    box-shadow: 0 1px 3px rgba(26,115,232,0.12);
}

.search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.header-right {
    flex-shrink: 0;
    margin-left: auto;
}

.category-nav {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
}

.cat-link {
    padding: 8px 16px;
    border-radius: 18px;
    text-decoration: none;
    color: #5f6368;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cat-link .iconpark-icon {
    display: inline-flex;
    align-items: center;
}

.cat-link .iconpark-icon svg {
    width: 14px !important;
    height: 14px !important;
}

.cat-link:hover {
    background-color: #f1f3f4;
    color: #202124;
}

.cat-link.active {
    background-color: #e8f0fe;
    color: #1967d2;
}

/* ===== Main ===== */
.main-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 24px 100px;
    width: 100%;
}

/* Section Title */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient-primary);
}

.section-header-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 28px;
    gap: 8px;
}

.section-header-centered .section-title {
    font-size: 24px;
    justify-content: center;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
    margin: 0;
}

.view-all {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== Articles (Hero Blog List) ===== */
.articles-section {
    margin-bottom: 32px;
}

.articles-list {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 8px 0;
    box-shadow: var(--shadow-sm);
}

.article-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--text-primary);
    border-bottom: 1px solid #f3f4f6;
    transition: var(--transition);
}

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

.article-item:hover {
    background: #f9fafb;
    padding-left: 24px;
}

.article-title {
    font-size: 15px;
    font-weight: 500;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-date {
    font-size: 13px;
    color: var(--text-tertiary);
    flex-shrink: 0;
    margin-left: 12px;
}

/* ===== Categories ===== */
.categories-section {
    margin-bottom: 40px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.category-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.category-card.image-gen:hover { border-color: rgba(139, 92, 246, 0.3); }
.category-card.image-gen:hover::before { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.category-card.video-gen:hover { border-color: rgba(244, 63, 94, 0.3); }
.category-card.video-gen:hover::before { background: linear-gradient(90deg, #f43f5e, #fb7185); }
.category-card.code-ide:hover { border-color: rgba(59, 130, 246, 0.3); }
.category-card.code-ide:hover::before { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.category-card.ai-write:hover { border-color: rgba(245, 158, 11, 0.3); }
.category-card.ai-write:hover::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.category-card.music-gen:hover { border-color: rgba(16, 185, 129, 0.3); }
.category-card.music-gen:hover::before { background: linear-gradient(90deg, #10b981, #34d399); }
.category-card.chat-bot:hover { border-color: rgba(6, 182, 212, 0.3); }
.category-card.chat-bot:hover::before { background: linear-gradient(90deg, #06b6d4, #22d3ee); }

.category-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 24px;
    transition: var(--transition);
}

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

.image-gen .category-icon { background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(139, 92, 246, 0.05)); }
.video-gen .category-icon { background: linear-gradient(135deg, rgba(244, 63, 94, 0.12), rgba(244, 63, 94, 0.05)); }
.code-ide .category-icon { background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.05)); }
.ai-write .category-icon { background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.05)); }
.music-gen .category-icon { background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.05)); }
.chat-bot .category-icon { background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(6, 182, 212, 0.05)); }

.category-name {
    font-size: 14px;
    font-weight: 600;
}

.category-count {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 4px;
}

/* ===== Tools Grid ===== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.tool-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border);
}

.tool-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.tool-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background: #fff;
    overflow: hidden;
}

.tool-icon .iconpark-icon svg {
    width: 20px !important;
    height: 20px !important;
}

.tool-icon img {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain;
}

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

.tool-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-company {
    font-size: 13px;
    color: var(--text-secondary);
}

.tool-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.stars {
    color: #fbbf24;
    font-size: 14px;
    letter-spacing: -1px;
}

.rating-score {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

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

.tool-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tool-tags {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
}

.tag-free { background: #dcfce7; color: #166534; }
.tag-hot { background: #fee2e2; color: #991b1b; }
.tag-new { background: #dbeafe; color: #1e40af; }

/* ===== Tool Detail Page ===== */
.tools-section {
    margin-bottom: 24px;
}

.tool-detail-section {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.detail-header {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.detail-icon {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.detail-icon .iconpark-icon svg {
    width: 36px !important;
    height: 36px !important;
}

.detail-icon img {
    width: 44px !important;
    height: 44px !important;
    object-fit: contain;
}

.detail-info {
    flex: 1;
    min-width: 260px;
}

.detail-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.detail-title {
    font-size: 26px;
    font-weight: 600;
    margin: 0;
}

.detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #667eea;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.detail-btn:hover {
    background: #5a67d8;
}

.detail-developer {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.detail-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.detail-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-users,
.detail-category {
    color: var(--text-secondary);
    font-size: 13px;
}

.detail-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 14px;
}

.detail-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.detail-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.detail-meta-item {
    padding: 18px;
    background: var(--bg-primary);
    border-radius: 10px;
}

.meta-label {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 6px;
}

.meta-value {
    font-size: 15px;
    font-weight: 500;
}

.meta-link {
    overflow: hidden;
}

.meta-href {
    color: #667eea;
    text-decoration: none;
    word-break: break-all;
}

.meta-href:hover {
    text-decoration: underline;
}

/* ===== Content Layout (sidebar + grid) ===== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #5f6368;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.mobile-menu-toggle:hover {
    background: #f1f3f4;
    color: #202124;
}

.mobile-dropdown-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.mobile-dropdown-nav.show {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.mobile-dropdown-nav .cat-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.sidebar-toggle {
    display: none;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 100;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    color: #5f6368;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}

.sidebar-toggle:hover {
    background: #f8f9fa;
    color: #202124;
}

.main-with-sidebar {
    display: flex;
    align-items: stretch;
    gap: 28px;
    position: relative;
}

.cat-page-breadcrumb {
    font-size: 13px;
    color: #5f6368;
    margin-bottom: 20px;
}

.cat-page-breadcrumb a {
    color: #1a73e8;
    text-decoration: none;
}

.cat-page-breadcrumb a:hover {
    text-decoration: underline;
}

.sidebar-nav {
    flex-shrink: 0;
    width: 220px;
    position: sticky;
    top: 80px;
    height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: thin;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 10px;
    box-shadow: 0 1px 2px rgba(60,64,67,0.04);
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: #dadce0;
    border-radius: 2px;
}

.sidebar-category-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 12px 14px 8px;
    letter-spacing: 0.3px;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 8px;
}

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

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    line-height: 1.3;
    transition: var(--transition);
}

.sidebar-item:hover {
    background: #f8f9fa;
    color: var(--text-primary);
}

.sidebar-item.active {
    background: #e8f0fe;
    color: #1967d2;
}

.sidebar-item .iconpark-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.sidebar-item .iconpark-icon svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
}

.sidebar-item .sidebar-item-name {
    flex: 1;
    min-width: 0;
}

.content-layout {
    display: flex;
    gap: 20px;
}

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

/* ===== Sub Category Tabs ===== */
.sub-category-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.sub-cat-link {
    padding: 7px 16px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.sub-cat-link:hover {
    background: #f3f4f6;
    color: var(--text-primary);
}

.sub-cat-link.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

/* ===== Category Tabs ===== */
.category-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 9px 18px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--bg-card);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-family: inherit;
}

.tab-btn:hover {
    background: #f3f4f6;
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

/* ===== Carousel ===== */
.carousel-section {
    margin-bottom: 32px;
}

.carousel-container {
    position: relative;
}

.carousel-slides-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(60px) scale(0.98);
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    z-index: 2;
}

.carousel-slide.prev {
    opacity: 0;
    transform: translateX(-60px) scale(0.98);
    z-index: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
    background: #f3f4f6;
    border-color: #667eea;
    box-shadow: var(--shadow-md);
}

.carousel-prev {
    left: -22px;
}

.carousel-next {
    right: -22px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carousel-dot:hover {
    border-color: #667eea;
}

.carousel-dot.active {
    background: #667eea;
    border-color: #667eea;
    transform: scale(1.15);
}

/* ===== Featured Banner ===== */
.featured-banner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 32px;
    cursor: pointer;
    transition: var(--transition);
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.featured-banner:hover {
    border-color: #667eea;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.banner-content {
    display: flex;
    gap: 32px;
    align-items: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.banner-image {
    flex-shrink: 0;
}

.banner-icon-large {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    flex-shrink: 0;
    overflow: hidden;
}

.banner-icon-large .iconpark-icon svg {
    width: 52px !important;
    height: 52px !important;
}

.banner-icon-large img {
    width: 64px !important;
    height: 64px !important;
    object-fit: contain;
}

.banner-text {
    flex: 1;
    min-width: 0;
}

.banner-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

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

.banner-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.banner-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* ===== Blog List Page ===== */
.blog-list-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin-bottom: 16px;
}

.blog-list-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.blog-list-item .blog-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.blog-list-item .blog-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.blog-list-item .blog-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-tertiary);
}

/* ===== Blog Detail Page ===== */
.blog-detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-detail-content h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.blog-detail-content .blog-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.blog-detail-content .blog-body {
    font-size: 15px;
    line-height: 1.9;
    color: #374151;
}

.blog-detail-content .blog-body h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 28px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f3f4f6;
}

.blog-detail-content .blog-body h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 10px;
}

.blog-detail-content .blog-body p {
    margin-bottom: 16px;
}

.blog-detail-content .blog-body ul,
.blog-detail-content .blog-body ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.blog-detail-content .blog-body li {
    margin-bottom: 6px;
}

.blog-detail-content .blog-body strong {
    font-weight: 600;
}

.blog-detail-content .blog-body em {
    font-style: italic;
    color: var(--text-secondary);
}

/* ===== Footer ===== */
.store-footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-tertiary);
    font-size: 13px;
    border-top: 1px solid var(--border);
    background: var(--bg-card);
    margin-top: 40px;
}

.store-footer a {
    color: #667eea;
    text-decoration: none;
}

/* ===== About Page ===== */
.about-section {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 40px;
    margin-bottom: 24px;
}

.about-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-align: center;
}

.about-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 24px;
}

.about-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 16px;
}

.about-highlight {
    color: #667eea;
}

.about-section-title {
    font-size: 19px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

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

.about-feature-item {
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

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

.about-submit-content {
    display: flex;
    gap: 32px;
    align-items: stretch;
}

.about-submit-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.about-submit-item {
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.about-image {
    height: 130px;
    width: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-card, .category-card, .article-item {
    animation: fadeInUp 0.5s ease forwards;
}

.tool-card:nth-child(1) { animation-delay: 0.05s; }
.tool-card:nth-child(2) { animation-delay: 0.1s; }
.tool-card:nth-child(3) { animation-delay: 0.15s; }
.tool-card:nth-child(4) { animation-delay: 0.2s; }
.tool-card:nth-child(5) { animation-delay: 0.25s; }
.tool-card:nth-child(6) { animation-delay: 0.3s; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        order: 2;
    }

    .sidebar-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: fixed !important;
        top: 70px !important;
        right: 12px !important;
        left: auto !important;
        z-index: 1000 !important;
    }

    .category-nav {
        display: none;
    }

    .mobile-dropdown-nav .cat-link {
        padding: 10px 16px;
        font-size: 14px;
    }

    .header-center {
        display: block;
        max-width: 100%;
    }

    .search-container input {
        height: 38px;
        font-size: 14px;
    }

    .header-content {
        padding: 12px 16px;
        gap: 12px;
    }

    .main-wrapper {
        padding: 16px 16px 100px;
    }

    .main-with-sidebar {
        flex-direction: column;
        gap: 16px;
    }

    .sidebar-nav {
        display: none;
        position: fixed !important;
        top: 120px;
        right: 12px;
        left: auto;
        width: 260px;
        max-height: calc(100vh - 140px);
        border-radius: 12px;
        z-index: 999;
        overflow-y: auto;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    }

    .sidebar-nav.sidebar-open {
        display: block;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .category-card {
        padding: 16px 10px;
    }

    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .category-name {
        font-size: 12px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tool-card {
        padding: 16px;
    }

    .tool-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .section-title {
        font-size: 18px;
    }

    .article-title {
        font-size: 14px;
    }

    .content-layout {
        flex-direction: column;
    }
}

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

/* ===== Hero Search Section ===== */
.hero-search-section {
    text-align: center;
    padding: 60px 20px 40px;
    max-width: 720px;
    margin: 0 auto;
}

.quick-cats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.quick-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.quick-cat-pill:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.quick-cat-pill:hover .quick-cat-icon {
    color: #fff;
}

.quick-cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: var(--transition);
}

.quick-cat-icon svg {
    width: 100%;
    height: 100%;
}

.hero-slogan {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.hero-stats {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.hero-stats span {
    font-weight: 500;
}

.hero-search-box {
    max-width: 600px;
    margin: 0 auto;
}

.hero-search-container {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: 0 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.hero-search-container:focus-within {
    border-color: #667eea;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
}

.hero-search-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-right: 12px;
}

.hero-search-container input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: var(--text-primary);
    padding: 16px 0;
    font-family: inherit;
}

.hero-search-container input::placeholder {
    color: var(--text-tertiary);
}

@media (max-width: 768px) {
    .hero-search-section {
        padding: 40px 16px 36px;
    }
    .hero-slogan {
        font-size: 26px;
    }
    .hero-stats {
        font-size: 13px;
        margin-bottom: 24px;
    }
    .hero-search-container input {
        font-size: 14px;
        padding: 14px 0;
    }
}
