/* ==================== Home3 - Modern Premium Design ==================== */

:root {
    --h3-bg: #0a0a0f;
    --h3-bg-card: #14151a;
    --h3-bg-elevated: #1a1b22;
    --h3-text-main: #ffffff;
    --h3-text-sub: rgba(255, 255, 255, 0.65);
    --h3-text-muted: rgba(255, 255, 255, 0.4);
    --h3-accent: #00CC55;
    --h3-accent-blue: #3b82f6;
    --h3-accent-purple: #8b5cf6;
    --h3-hover-bg: rgba(255, 255, 255, 0.08);
    --h3-border: rgba(255, 255, 255, 0.08);
    --h3-gradient-primary: linear-gradient(135deg, #00CC55 0%, #3b82f6 100%);
    --h3-gradient-gold: linear-gradient(90deg, #E6CFA0 0%, #D4A047 100%);
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 40px;
    --spacing-2xl: 60px;
}

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

body.home3-theme {
    background-color: var(--h3-bg);
    color: var(--h3-text-main);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Roboto", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.5;
}

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

/* ==================== Header ==================== */
.home3-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 1000;
    transition: all 0.3s ease;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0) 100%);
}

/* 新闻页面和分类页面的 header 使用黑色背景 */
/* 新闻页面和分类页面的 header 使用黑色背景 */
body:has(.post-main) .home3-header,
body:has(.yt-main) .home3-header,
body:has(.category-page-main) .home3-header,
body.video-page .home3-header {
    background: #000000 !important;
}

/* 确保黑色背景页面的 scrolled 状态也是黑色 */
body:has(.post-main) .home3-header.scrolled,
body:has(.yt-main) .home3-header.scrolled,
body:has(.category-page-main) .home3-header.scrolled,
body.video-page .home3-header.scrolled {
    background: #000000 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.home3-header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* 当超级菜单打开时，header 背景与菜单一致 */
/* 但黑色背景页面保持黑色 */
body:has(.post-main) .home3-header:has(.home3-mega:hover),
body:has(.post-main) .home3-header:has(.home3-mega-panel:focus-within),
body:has(.post-main) .home3-header.mega-menu-open,
body:has(.yt-main) .home3-header:has(.home3-mega:hover),
body:has(.yt-main) .home3-header:has(.home3-mega-panel:focus-within),
body:has(.yt-main) .home3-header.mega-menu-open,
body:has(.category-page-main) .home3-header:has(.home3-mega:hover),
body:has(.category-page-main) .home3-header:has(.home3-mega-panel:focus-within),
body:has(.category-page-main) .home3-header.mega-menu-open,
body.video-page .home3-header:has(.home3-mega:hover),
body.video-page .home3-header:has(.home3-mega-panel:focus-within),
body.video-page .home3-header.mega-menu-open {
    background: #000000 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.home3-header:has(.home3-mega:hover),
.home3-header:has(.home3-mega-panel:focus-within),
.home3-header.mega-menu-open {
    background: rgba(16, 24, 40, 0.9) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
}

.home3-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 var(--spacing-xl);
    max-width: 1800px;
    margin: 0 auto;
    position: relative;
}

.home3-logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

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

/* Navigation */
.home3-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.home3-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--h3-text-sub);
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.home3-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--h3-gradient-primary);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.home3-nav a:hover,
.home3-nav a.active {
    color: var(--h3-text-main);
}

.home3-nav a.active::after,
.home3-nav a:hover::after {
    width: 100%;
}

/* Header Right */
.home3-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.home3-mega {
    position: relative;
}

.home3-mega-toggle {
    border: none;
    background: transparent;
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.home3-mega-toggle:hover,
.home3-mega:hover .home3-mega-toggle {
    background: rgba(255, 255, 255, 0.1);
}

.home3-mega-panel {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 70px;
    width: 100%;
    max-width: 100%;
    background: rgba(16, 24, 40, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 20px 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    z-index: 999;
    transform: none;
    /* 创建一个不可见的连接区域，防止鼠标移动时菜单关闭 */
    padding-top: 10px;
    margin-top: -10px;
}

/* 创建一个不可见的连接区域 */
.home3-mega-panel::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.home3-mega:hover .home3-mega-panel,
.home3-mega-panel:hover,
.home3-mega-panel:focus-within {
    display: block;
}

.home3-mega-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px 24px;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    width: 100%;
}

.home3-mega-column {
    padding: 8px 10px;
    border-radius: 12px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.home3-mega-column:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-1px);
}

.home3-mega-title {
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.home3-mega-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home3-mega-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 8px;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.home3-mega-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: inline-block;
}

.home3-mega-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

@media (max-width: 1024px) {
    .home3-mega-panel {
        position: fixed;
        left: 0;
        right: 0;
        top: 70px;
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
        padding: 20px 16px;
        overflow-y: auto;
        max-height: calc(100vh - 70px);
    }
    
    .home3-mega-inner {
        max-width: 100%;
        padding: 0;
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px 16px;
    }
}

/* Search Box */
.home3-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--h3-border);
    border-radius: 24px;
    padding: 0 16px;
    width: 220px;
    height: 40px;
    transition: all 0.3s ease;
}

.home3-search-box:hover,
.home3-search-box:focus-within {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    width: 280px;
}

/* 居中搜索框 - 加大宽度 */
.home3-search-center {
    width: 440px;
    flex: 1;
    max-width: 560px;
    margin: 0 40px;
}

.home3-search-center:hover,
.home3-search-center:focus-within {
    width: 560px;
}

.home3-search-box input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
    width: 100%;
    outline: none;
}

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

.home3-search-btn {
    background: transparent;
    border: none;
    color: var(--h3-text-sub);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 4px;
    transition: color 0.2s;
}

.home3-search-btn:hover {
    color: #fff;
}

/* Header Buttons */
.home3-products-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--h3-text-sub);
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.home3-products-link:hover {
    color: var(--h3-text-main);
    background: var(--h3-hover-bg);
}

.home3-contact-btn {
    background: var(--h3-gradient-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 204, 85, 0.3);
}

.home3-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 204, 85, 0.4);
}

/* Mobile Menu */
.home3-mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.home3-mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.home3-mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    padding-top: 80px;
    overflow-y: auto;
}

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

.home3-mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 40px;
    gap: 24px;
}

.home3-mobile-nav a {
    font-size: 20px;
    font-weight: 500;
    color: var(--h3-text-sub);
    padding: 12px 0;
    border-bottom: 1px solid var(--h3-border);
    transition: color 0.2s;
}

.home3-mobile-nav a:hover,
.home3-mobile-nav a.active {
    color: var(--h3-accent);
}

.home3-mobile-nav-divider {
    height: 1px;
    background: var(--h3-border);
    margin: 24px 0;
    opacity: 0.3;
}

.home3-mobile-nav-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.home3-mobile-nav-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--h3-text-main);
    margin-bottom: 8px;
}

.home3-mobile-nav-category {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home3-mobile-nav-category-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--h3-text-main);
    margin-bottom: 4px;
    padding-top: 12px;
}

.home3-mobile-nav-sub {
    font-size: 15px;
    font-weight: 400;
    color: var(--h3-text-sub);
    padding: 8px 0 8px 16px;
    border-bottom: 1px solid var(--h3-border);
    transition: color 0.2s;
}

.home3-mobile-nav-sub:hover {
    color: var(--h3-accent);
}

.home3-mobile-contact-btn {
    width: 100%;
    background: var(--h3-gradient-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 204, 85, 0.3);
    margin-top: 8px;
}

.home3-mobile-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 204, 85, 0.4);
}

/* 菜单按钮动画 */
.home3-mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.home3-mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.home3-mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ==================== LANDU Banner Overrides for Home3 ==================== */
.home3-theme .landu-banner-demo-section {
    background: var(--h3-bg);
    width: 100%;
    max-width: none;
    position: relative;
}

.home3-theme .landu-banner-demo-container {
    width: 100%;
    max-width: none;
    position: relative;
    background: var(--h3-bg);
}

.home3-theme .landu-banner-main {
    height: 700px;
    width: 100%;
    overflow: visible !important;
}

/* 让视频和背景图覆盖整个区域包括缩略图 */
.home3-theme .landu-banner-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% + 120px); /* 扩展到覆盖缩略图区域 */
    z-index: 1;
}

.home3-theme .landu-banner-slide,
.home3-theme .landu-banner-video {
    height: 100%;
}

.home3-theme .landu-gradient-overlay.gradient-bottom {
    height: calc(100% + 200px);
    bottom: -200px;
    background: linear-gradient(0deg, var(--h3-bg) 0%, var(--h3-bg) 30%, rgba(10, 10, 15, 0.8) 50%, rgba(10, 10, 15, 0.4) 70%, rgba(10, 10, 15, 0) 100%);
}

.home3-theme .landu-gradient-overlay.gradient-left {
    height: calc(100% + 120px);
    background: linear-gradient(90deg,
        var(--h3-bg) 0%,
        rgba(10, 10, 15, 0.9) 15%,
        rgba(10, 10, 15, 0.6) 40%,
        rgba(10, 10, 15, 0) 100%);
}

.home3-theme .landu-gradient-overlay.gradient-top {
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.8) 0%, rgba(10, 10, 15, 0) 100%);
}

/* Banner 内容容器 - 全宽定位 */
.home3-theme .landu-banner-content {
    padding: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    display: block !important;
    overflow: visible !important;
}

/* Banner 文字内容 - 使用与 header-inner 完全相同的居中逻辑 */
.home3-theme .landu-content-slide {
    position: absolute !important;
    bottom: -50px !important;
    /* 与 header-inner 完全相同的居中方式 */
    max-width: 1800px !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    box-sizing: border-box !important;
    transform: none !important;
    z-index: 20 !important;
}

/* 限制文字内容的实际宽度 */
.home3-theme .landu-content-slide .landu-banner-title,
.home3-theme .landu-content-slide .landu-banner-desc,
.home3-theme .landu-content-slide .landu-banner-meta {
    max-width: 600px;
}

.home3-theme .landu-content-slide .landu-banner-desc {
    margin-bottom: 12px;
}

.home3-theme .landu-content-slide .landu-subtitle-image img {
    max-height: 76px;
    width: auto;
    display: block;
    margin-bottom: 12px;
}

/* 缩略图容器 - 使用与 header-inner 完全相同的居中方式 */
.home3-theme .landu-banner-thumbnails {
    background: transparent;
    width: 100% !important;
    max-width: 1800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 60px;
    padding: 0 40px !important;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}

.home3-theme .landu-thumbnails-list {
    padding-left: 0 !important;
}

.home3-theme .landu-btn {
    background: var(--h3-accent);
}

.home3-theme .landu-btn:hover {
    background: #00b34a;
}

.home3-theme .landu-thumb-progress-inner {
    background: var(--h3-accent);
    box-shadow: 0 0 4px rgba(0, 204, 85, 0.5);
}

/* ==================== Main Content ==================== */
.home3-main-content {
    position: relative;
    z-index: 10;
    background: var(--h3-bg);
    min-height: 100vh;
    /* 使用与 header-inner 相同的居中方式 */
    max-width: 1800px;
    margin: 0 auto;
    padding: calc(var(--spacing-xl) * 2) var(--spacing-xl) var(--spacing-2xl);
}

/* ==================== Sections ==================== */
.home3-section {
    padding: 0;
    margin-bottom: var(--spacing-2xl);
}

.home3-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--h3-border);
}

.home3-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    position: relative;
    padding-left: 20px;
}

.home3-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--h3-gradient-primary);
    border-radius: 2px;
}

.home3-section-more {
    font-size: 14px;
    font-weight: 500;
    color: var(--h3-text-sub);
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--h3-hover-bg);
}

.home3-section-more:hover {
    color: var(--h3-accent);
    background: rgba(0, 204, 85, 0.1);
}

/* ==================== Tabs ==================== */
.home3-tabs {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 8px;
}

.home3-tabs::-webkit-scrollbar {
    display: none;
}

.home3-tab {
    background: var(--h3-bg-card);
    border: 1px solid var(--h3-border);
    color: var(--h3-text-sub);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 24px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.home3-tab:hover {
    background: var(--h3-bg-elevated);
    color: var(--h3-text-main);
    border-color: rgba(255, 255, 255, 0.15);
}

.home3-tab.active {
    background: var(--h3-gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 204, 85, 0.3);
}

/* ==================== Grid Scroll ==================== */
.home3-grid-scroll {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.home3-grid-scroll::-webkit-scrollbar {
    height: 6px;
}

.home3-grid-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.home3-grid-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

/* ==================== Video Cards ==================== */
.home3-card {
    flex: 0 0 280px;
    width: 280px;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: var(--h3-bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--h3-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.home3-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 204, 85, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 204, 85, 0.2);
}

.home3-card-thumb-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--h3-bg-elevated);
    overflow: hidden;
    position: relative;
}

.home3-card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home3-card:hover .home3-card-thumb-wrap img {
    transform: scale(1.08);
}

.home3-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 12px 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    display: flex;
    justify-content: flex-end;
}

.home3-card-duration {
    font-size: 12px;
    color: #fff;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.7);
    padding: 4px 8px;
    border-radius: 4px;
}

.home3-card-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home3-card-title {
    font-size: 15px;
    line-height: 1.4;
    max-height: 42px;
    overflow: hidden;
    color: #fff;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
}

.home3-card:hover .home3-card-title {
    color: var(--h3-accent);
}

.home3-card-desc {
    font-size: 13px;
    color: var(--h3-text-sub);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==================== Products Stack ==================== */
.home3-products-stack {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.home3-product-row {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.home3-product-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 28px;
    background: var(--h3-bg-card);
    border-radius: 16px;
    border: 1px solid var(--h3-border);
    position: relative;
    overflow: hidden;
}

.home3-product-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--h3-gradient-primary);
}

.home3-brand-logo {
    display: block;
    line-height: 1;
}

.home3-logo-text {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    text-transform: uppercase;
}

.home3-logo-part {
    display: inline-block;
}

.home3-logo-symbol {
    font-size: 0.34em;
    vertical-align: super;
    margin-left: 4px;
    font-weight: 600;
    opacity: 0.85;
}

/* Brand Colors */
.home3-logo-landercoll .home3-logo-blue { color: #0066cc; }
.home3-logo-landercoll .home3-logo-orange { color: #ff9900; }
.home3-logo-accurate .home3-logo-green { color: #00cc66; }
.home3-logo-accurate .home3-logo-orange { color: #ff6600; }
.home3-logo-novastar .home3-logo-blue-dark { color: #0066cc; }
.home3-logo-novastar .home3-logo-green { color: #51b551; }

.home3-product-type {
    font-size: 12px;
    color: var(--h3-text-sub);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.home3-product-info {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: var(--spacing-md);
}

.home3-product-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.home3-product-sub {
    font-size: 14px;
    color: var(--h3-text-sub);
}

.home3-product-link {
    font-size: 13px;
    color: var(--h3-text-sub);
    margin-left: auto;
    transition: color 0.2s;
}

.home3-product-link:hover {
    color: var(--h3-accent);
}

/* ==================== Loading State ==================== */
.home3-loading {
    color: var(--h3-text-sub);
    font-size: 14px;
    padding: 40px 0;
    width: 100%;
    text-align: center;
}

/* Skeleton Loader */
.skeleton-loader {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 20px;
}

.skeleton-line {
    height: 20px;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.05) 100%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

.skeleton-title { height: 32px; width: 70%; }
.skeleton-desc { height: 16px; width: 90%; }
.skeleton-desc-short { height: 16px; width: 60%; }

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

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
    .home3-header-inner {
        padding: 0 24px;
    }
    
    .home3-main-content {
        padding: var(--spacing-lg) 24px var(--spacing-xl);
    }
    
    .home3-card {
        flex: 0 0 240px;
        width: 240px;
        max-width: 240px;
    }
    
    .home3-section-title {
        font-size: 24px;
    }
    
    /* LANDU Banner */
    .home3-theme .landu-banner-main {
        height: 50vw;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .home3-header-inner {
        padding: 0 16px;
    }
    
    .home3-mobile-menu-btn {
        display: flex;
    }
    
    .home3-nav {
        display: none;
    }
    
    /* 在移动端隐藏 Channels 和 Contact 按钮 */
    .home3-mega,
    .home3-contact-btn {
        display: none !important;
    }
    
    /* 隐藏搜索框，只显示菜单按钮 */
    .home3-search-box {
        display: none;
    }
    
    .home3-mega-panel {
        padding: 16px 12px;
        max-height: calc(100vh - 70px);
    }
    
    .home3-mega-inner {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px 12px;
    }
    
    .home3-mega-column {
        padding: 6px 8px;
    }
    
    .home3-mega-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .home3-mega-links a {
        font-size: 13px;
        padding: 4px 0;
    }
    
    .home3-search-box {
        width: 40px;
        padding: 0;
        justify-content: center;
    }
    
    .home3-search-box input {
        display: none;
    }
    
    .home3-search-box.expanded {
        width: 200px;
        padding: 0 16px;
    }
    
    .home3-search-box.expanded input {
        display: block;
    }
    
    .home3-products-link {
        display: none;
    }
    
    .home3-main-content {
        padding: var(--spacing-md) 16px var(--spacing-lg);
    }
    
    .home3-section {
        margin-bottom: var(--spacing-xl);
    }
    
    .home3-section-title {
        font-size: 20px;
    }
    
    .home3-card {
        flex: 0 0 200px;
        width: 200px;
        max-width: 200px;
    }
    
    .home3-card-thumb-wrap {
        height: 112px;
    }
    
    .home3-card-title {
        font-size: 14px;
    }
    
    .home3-tabs {
        gap: 8px;
    }
    
    .home3-tab {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .home3-logo-text {
        font-size: 32px;
    }
    
    /* LANDU Banner Mobile */
    .home3-theme .landu-banner-main {
        height: 60vw;
        min-height: 300px;
    }
    
    .home3-theme .landu-banner-thumbnails {
        display: none;
    }
    
    .home3-theme .landu-content-slide {
        left: 16px;
        bottom: 40px;
        width: calc(100% - 32px);
    }
    
    .home3-theme .landu-banner-title {
        font-size: 28px;
    }
    
    .home3-theme .landu-banner-desc {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .home3-card {
        flex: 0 0 160px;
        width: 160px;
        max-width: 160px;
    }
    
    .home3-card-info {
        padding: 12px;
    }
    
    .home3-card-title {
        font-size: 13px;
    }
}
