* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: #F7D035;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    padding: 0 16px;
    z-index: 100;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
}

.header-banner {
    flex: 1;
    height: 70px;
    overflow: hidden;
}

.header-banner img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
    font-weight: bold;
    color: #5B5758;
    text-align: center;
    letter-spacing: 8px;
    white-space: nowrap;
}

.logo {
    height: 45px;
    flex-shrink: 0;
    overflow: hidden;
}

.logo svg,
.logo img {
    height: 100%;
    object-fit: contain;
}

.logo picture source {
    height: 100%;
}

.logo-text {
    margin-left: 16px;
    display: flex;
    flex-direction: column;
}

.main-name {
    font-size: 22px;
    font-weight: bold;
    color: #FFF8DC;
    line-height: 1.2;
}

.sub-name {
    font-size: 14px;
    color: #FFF8DC;
}

.menu-toggle {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    color: #4A4647;
    display: none;
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

.header-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    text-decoration: none;
    color: #4A4647;
    border-radius: 4px;
    transition: background-color 0.2s;
    font-size: 16px;
}

.nav-link:hover {
    background-color: #E6C02E;
}

.nav-link svg {
    width: 18px;
    height: 18px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right: 16px;
    border-right: 1px solid #3E3A39;
}

.contact-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    color: #4A4647;
}

.contact-label svg {
    width: 14px;
    height: 14px;
}

.contact-phone {
    font-size: 17px;
    color: #4A4647;
    font-weight: 500;
}

.main-container {
    display: flex;
    min-height: calc(100vh - 70px);
}

.sidebar {
    width: 220px;
    background: #fff;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.05);
    padding: 16px 0;
    flex-shrink: 0;
    transition: width 0.3s;
    overflow: hidden;
    height: calc(100vh - 70px);
    overflow-y: auto;
    position: fixed;
    top: 70px;
    left: 0;
}

.sidebar.collapsed {
    width: 60px;
}

.sidebar.collapsed ~ .main-content {
    margin-left: 60px;
}

.sidebar-nav {
    list-style: none;
}

.category-item {
    position: relative;
}

.category-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    color: #333;
    transition: background-color 0.2s;
}

.category-toggle-left {
    display: flex;
    align-items: center;
    flex: 1;
    overflow: hidden;
}

.category-arrow {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 8px;
    color: #999;
    font-size: 14px;
    font-weight: bold;
}

.category-item.expanded .category-arrow {
    transform: rotate(90deg);
}

.category-toggle:hover {
    background-color: #FCCF00;
}

.category-toggle.active,
.category-item.expanded > .category-toggle {
    background-color: #F7D035;
    color: #666;
}

.category-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

.category-icon svg {
    width: 100%;
    height: 100%;
}

.category-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar.collapsed .category-name {
    display: none;
}

.subcategory-list {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.category-item.expanded .subcategory-list {
    max-height: 500px;
    opacity: 1;
    transition: max-height 0.3s ease-in, opacity 0.3s ease-in;
}

.sidebar.collapsed .subcategory-list {
    display: none;
}

.subcategory-item {
    padding-left: 48px;
}

.subcategory-link {
    display: block;
    padding: 6px 16px;
    text-decoration: none;
    color: #666;
    font-size: 15px;
    transition: background-color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.subcategory-link:hover {
    background-color: #FCCF00;
}

.subcategory-link.active {
    background-color: #F7D035;
    color: #666;
    font-weight: 500;
}

.category-item .subcategory-dropdown {
    position: absolute;
    left: 100%;
    top: 0;
    width: 180px;
    background: #fff;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    list-style: none;
    padding: 8px 0;
    display: none;
    z-index: 100;
}

.sidebar.collapsed .category-item:hover .subcategory-dropdown {
    display: block;
}

.subcategory-dropdown li a {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    white-space: nowrap;
}

.subcategory-dropdown li a:hover {
    background-color: #f8f8f8;
}

.subcategory-dropdown li a.active {
    background-color: #f8f8f8;
    color: #333;
    font-weight: 500;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-left: 220px;
    position: relative;
    z-index: 1;
    background-color: #f5f5f5;
    min-height: calc(100vh - 70px);
}

.main-content-inner {
    padding: 84px 24px 24px;
    flex: 1;
    background-color: inherit;
}

.search-section {
    max-width: 1400px;
    margin: 0 auto 32px;
}

.search-button svg {
    width: 20px;
    height: 20px;
    stroke: #333;
}

/* Banner区域 */
.banners-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 24px auto;
    max-width: 1400px;
}

.banners-wrapper > * {
    min-width: 0;
}

/* 液压计算器Banner */
.calculator-banner {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.calculator-banner:hover {
    box-shadow: 0 4px 16px rgba(247, 208, 53, 0.3);
    transform: translateY(-2px);
}

.calculator-banner-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.calculator-banner-content {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #FFFDF5 0%, #FFFFFA 100%);
    border-radius: 8px;
    gap: 16px;
}

.calculator-banner-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.calculator-banner-icon svg {
    width: 100%;
    height: 100%;
}

.calculator-banner-text {
    flex: 1;
    min-width: 0;
}

.calculator-banner-title {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.calculator-banner-desc {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.calculator-banner-arrow {
    display: none;
}

/* 功能入口 Banner（图库样本、3D图库等） */
.feature-banner {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-banner:hover {
    box-shadow: 0 4px 16px rgba(247, 208, 53, 0.3);
    transform: translateY(-2px);
}

.feature-banner-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.feature-banner-content {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #FFFDF5 0%, #FFFFFA 100%);
    border-radius: 8px;
    gap: 16px;
}

.feature-banner-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.feature-banner-icon svg {
    width: 100%;
    height: 100%;
}

.feature-banner-text {
    flex: 1;
    min-width: 0;
}

.feature-banner-title {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.feature-banner-desc {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 机荟多官网Banner */
.jhd-banner {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.jhd-banner:hover {
    box-shadow: 0 4px 16px rgba(247, 208, 53, 0.3);
    transform: translateY(-2px);
}

.jhd-banner-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.jhd-banner-content {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #FFFDF5 0%, #FFFFFA 100%);
    border-radius: 8px;
    gap: 16px;
}

.jhd-banner-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jhd-banner-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jhd-banner-text {
    flex: 1;
    min-width: 0;
}

.jhd-banner-title {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.jhd-banner-desc {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.jhd-banner-arrow {
    display: none;
}

/* 深色主题下的Banner样式 */
body.dark-theme .calculator-banner-content,
body.dark-theme .jhd-banner-content,
body.dark-theme .feature-banner-content {
    background: linear-gradient(135deg, #2a2a2a 0%, #333333 100%);
}

body.dark-theme .calculator-banner-title,
body.dark-theme .jhd-banner-title,
body.dark-theme .feature-banner-title {
    color: #fff;
}

body.dark-theme .calculator-banner-desc,
body.dark-theme .jhd-banner-desc,
body.dark-theme .feature-banner-desc {
    color: #aaa;
}

.search-section {
    width: 100%;
}

.search-banner {
    width: 100%;
    max-width: 900px;
    margin: 12px auto 0;
    aspect-ratio: 1400 / 200;
    height: auto;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .search-banner {
        aspect-ratio: 1400 / 220;
    }
}

@media (max-width: 480px) {
    .search-banner {
        aspect-ratio: 1400 / 200;
    }
}

.search-container-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
}

.search-container {
    display: flex;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    overflow: hidden;
}

.search-engine {
    width: 100px;
    padding: 18px 12px;
    border: none;
    background: #F7D035;
    font-size: 20px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    appearance: none;
    text-align: center;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 16px;
    transition: background-color 0.2s;
}

.search-engine:hover {
    background-color: #e6c230;
}

.search-input {
    flex: 1;
    padding: 18px 20px;
    border: none;
    background: #fff;
    font-size: 18px;
    outline: none;
}

.search-button {
    width: 70px;
    height: 60px;
    border: none;
    background: #fff;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.search-button:hover {
    background: #fff;
}

.search-button svg {
    width: 20px;
    height: 20px;
    stroke: #333;
}

.content-area {
    min-height: 400px;
    background-color: inherit;
    max-width: 1400px;
    margin: 0 auto;
}

.category-section {
    margin-bottom: 32px;
}

.category-title {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 2px solid #F7D035;
    margin-bottom: 16px;
}

.category-title .category-icon {
    margin-right: 12px;
}

.category-title h2 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.subcategory-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.subcategory-anchor {
    display: inline-block;
}

.subcategory-btn {
    padding: 6px 16px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 16px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: #666;
}

.subcategory-btn:hover {
    border-color: #b8860b;
    color: #b8860b;
}

.subcategory-btn.active {
    background: #F7D035;
    border-color: #F7D035;
    color: #333;
}

.more-link {
    margin-left: auto;
    padding: 6px 16px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
}

.more-link:hover {
    text-decoration: underline;
}

.websites-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.more-page .websites-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.website-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    gap: 10px;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    min-width: 0;
}

.website-card:hover {
    background-color: #F7D035;
    box-shadow: 0 0 12px rgba(247, 208, 53, 0.5);
    border-color: #F7D035;
    transform: translateY(-2px);
    z-index: 10;
}

.website-card:hover .website-desc {
    color: #666;
}

.website-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    flex-shrink: 0;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.website-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.website-info {
    flex: 1;
    min-width: 0;
}

.website-name {
    font-weight: bold;
    font-size: 15px;
    color: #333;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.website-desc {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.website-card .tooltip {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: normal;
    max-width: 250px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 1000;
    pointer-events: none;
}

.website-card:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.website-card .tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: #333;
}

/* 触底时间tip向上弹出 */
.website-card .tooltip.tooltip-up {
    top: auto;
    bottom: calc(100% + 8px);
}

.website-card .tooltip.tooltip-up::after {
    bottom: auto;
    top: 100%;
    border-bottom-color: transparent;
    border-top-color: #333;
}

.footer {
    background: #FCCF00;
    padding: 24px 64px 20px;
    margin: 0;
    position: relative;
    clear: both;
}

.footer-content {
    display: flex;
    margin-bottom: 16px;
}

.footer-left {
    width: 33.333%;
}

.footer-logo {
    width: 144px;
    margin-bottom: 8px;
}

.footer-logo svg,
.footer-logo img {
    width: 100%;
    height: auto;
}

.footer-description {
    font-size: 15px;
    color: #4A4647;
    line-height: 1.5;
}

.footer-right {
    width: 66.666%;
}

.hot-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hot-links a {
    color: #4A4647;
    text-decoration: none;
    font-size: 15px;
}

.hot-links a:hover {
    color: #3D393A;
    text-decoration: underline;
}

.hot-links .separator {
    color: #4A4647;
}

.footer-bottom {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #D4B830;
}

.footer-bottom p {
    font-size: 14px;
    color: #4A4647;
}

.footer-bottom p a {
    color: #4A4647;
    text-decoration: none;
}

.footer-bottom p a:hover {
    text-decoration: underline;
}

.footer-bottom p a img {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
    margin-right: 2px;
}

/* ========== 关于我们新页面样式 ========== */
.about-new-wrapper {
    max-width: 1100px;
    margin: 5px auto 0;
}

/* 第一/二行：图文混排（融合为一个卡片） */
.about-row {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
    background: #fff;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.about-row-pair {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-row-divider {
    height: 1px;
    background: #e8e8e8;
    margin: 0;
}

.about-row-image {
    flex: 0 0 40%;
    overflow: hidden;
}

.about-row-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.about-row-text {
    flex: 1;
}

.about-row-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.about-row-text p {
    font-size: 16px;
    line-height: 2;
    color: #555;
    white-space: pre-wrap;
}

/* 第三行：Banner */
.about-banner-row {
    width: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
}

.about-banner-row img {
    width: 100%;
    height: auto;
    display: block;
}

/* 第四行：使命愿景价值观 */
.about-mvv-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.about-mvv-card {
    background: #fff;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.about-mvv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.about-mvv-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #F7D035, #FCCF00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-mvv-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.about-mvv-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 12px;
}

.about-mvv-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    white-space: pre-wrap;
}

/* 第五行：联系电话 */
.about-phone-section {
    width: 100%;
    margin: 0 auto 40px;
    background: linear-gradient(135deg, #F7D035, #FCCF00);
    padding: 16px 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 12px rgba(247, 208, 53, 0.3);
}

.about-phone-icon {
    width: 40px;
    height: 40px;
    margin-right: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-phone-icon svg {
    width: 20px;
    height: 20px;
    color: #5B5758;
}

.about-phone-section h3 {
    font-size: 24px;
    color: #333;
    margin: 0;
}

.about-phone-section p {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    letter-spacing: 2px;
    margin: 0;
}

/* 第六行：二维码展示 */
.about-qrcodes-section {
    background: #fff;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.about-qrcodes-section h3 {
    text-align: center;
    font-size: 22px;
    color: #333;
    margin-bottom: 28px;
    position: relative;
}

.about-qrcodes-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #F7D035;
    border-radius: 2px;
}

.about-qrcodes-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.about-qrcode-item {
    text-align: center;
    flex: 0 0 auto;
    max-width: 200px;
}

.about-qrcode-img {
    width: 160px;
    height: 160px;
    margin: 0 auto 12px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.about-qrcode-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-qrcode-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.about-qrcode-desc {
    font-size: 13px;
    color: #999;
}

/* ========== 深色主题 - 关于我们 ========== */
body.dark-theme .about-row {
    background: #2a2a2a;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

body.dark-theme .about-row-divider {
    background: #444;
}

body.dark-theme .about-row-text p {
    color: #ccc;
}

body.dark-theme .about-row-title {
    color: #e0e0e0;
}

body.dark-theme .about-mvv-card {
    background: #2a2a2a;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

body.dark-theme .about-mvv-card h3 {
    color: #e0e0e0;
}

body.dark-theme .about-mvv-card p {
    color: #aaa;
}

body.dark-theme .about-phone-section {
    background: linear-gradient(135deg, #3d3520, #4d4028);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

body.dark-theme .about-phone-section h3,
body.dark-theme .about-phone-section p {
    color: #e0e0e0;
}

body.dark-theme .about-phone-icon svg {
    color: #e0e0e0;
}

body.dark-theme .about-qrcodes-section {
    background: #2a2a2a;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

body.dark-theme .about-qrcodes-section h3 {
    color: #e0e0e0;
}

body.dark-theme .about-qrcode-img {
    border-color: #444;
}

body.dark-theme .about-qrcode-title {
    color: #e0e0e0;
}

body.dark-theme .about-qrcode-desc {
    color: #888;
}

/* ========== 响应式 - 关于我们 ========== */
@media (max-width: 768px) {
    .about-row {
        gap: 20px;
        padding: 20px;
    }

    .about-banner-row {
        width: 100%;
    }

    .about-row-pair {
        flex-direction: column;
        gap: 20px;
    }

    .about-row-image {
        flex: none;
        width: 100%;
    }

    .about-mvv-section {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-phone-section {
        width: 100%;
        padding: 14px 20px;
    }

    .about-phone-section h3 {
        font-size: 16px;
        flex-shrink: 0;
    }

    .about-phone-section p {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .about-phone-icon {
        width: 32px;
        height: 32px;
        margin-right: 10px;
    }

    .about-qrcodes-grid {
        gap: 20px;
    }

    .about-qrcode-img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 1200px) {
    .websites-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .banners-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .websites-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .about-banner-row {
        width: 85%;
    }

    .more-page .websites-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 12px;
    }

    .banners-wrapper {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .logo-section {
        width: auto;
    }

    .logo-text {
        display: none;
    }

    .header-banner {
        display: none;
    }

    .header-title {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .header-nav {
        gap: 8px;
    }

    .nav-link span {
        display: none;
    }

    .sidebar {
        position: fixed;
        left: -220px;
        top: 70px;
        bottom: 0;
        z-index: 90;
        width: 220px;
        transition: left 0.3s;
    }

    .sidebar.collapsed {
        left: 0;
        width: 60px;
    }

    .sidebar.expanded {
        left: 0;
        width: 220px;
    }

    .main-content {
        margin-left: 0;
        padding: 0;
    }

    .main-content-inner {
        padding: 70px 12px 12px;
    }

    .search-container {
        border-radius: 8px;
    }

    .search-engine {
        width: 60px;
        font-size: 12px;
    }

    .websites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .more-page .websites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer {
        margin: 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
    }

    .footer-left,
    .footer-right {
        width: 100%;
    }

    .footer-left {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .footer-logo {
        margin-bottom: 0;
    }
}

/* 隐藏主题切换按钮 */
#theme-toggle {
    display: none;
}

/* 浮动按钮 */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 164px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.floating-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: #D49400;
}

.floating-btn:hover {
    background: #f0f0f0;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.floating-btn svg {
    width: 24px;
    height: 24px;
}

#back-to-top svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.floating-btn:active {
    transform: scale(0.95);
}

/* 二维码悬浮按钮 */
.qr-wrapper {
    position: relative;
}

.qr-wrapper:hover .qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 二维码弹出层 */
.qr-popup {
    position: absolute;
    right: 60px;
    bottom: 0;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 60px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 1001;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    pointer-events: none;
}

.qr-popup img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #eee;
}

.qr-popup-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.qr-popup-desc {
    font-size: 12px;
    color: #999;
    text-align: center;
}

/* 深色主题 */
body.dark-theme {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.dark-theme .header {
    background: #2a2a2a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

body.dark-theme .logo-text h1 {
    color: #FFF8DC;
}

body.dark-theme .logo-text p {
    color: #FFF8DC;
}

body.dark-theme .nav-link {
    color: #F9E076;
}

body.dark-theme .header-title {
    color: #F7D035;
}

body.dark-theme .nav-link:hover {
    background-color: #333;
}

body.dark-theme .contact-label,
body.dark-theme .contact-phone {
    color: #F7D035;
}

body.dark-theme .contact-info {
    border-right-color: #FCCF00;
}

body.dark-theme .menu-toggle {
    color: #e0e0e0;
}

body.dark-theme .search-input {
    background: #2a2a2a;
    color: #e0e0e0;
    border-color: #444;
}

body.dark-theme .search-button {
    background: #2a2a2a;
}

body.dark-theme .search-button svg {
    stroke: #ccc;
}

body.dark-theme .search-button:hover {
    background: #2a2a2a;
}

body.dark-theme .search-engine {
    background: #3d3520 url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 4px center;
    background-size: 16px;
    color: #F7D035;
    transition: background-color 0.2s;
}

body.dark-theme .search-engine:hover {
    background-color: #4d4028;
}

body.dark-theme .sidebar {
    background: #2a2a2a;
}

body.dark-theme .main-content {
    background-color: #1a1a1a;
}

body.dark-theme .main-content-inner {
    background-color: #1a1a1a;
}

body.dark-theme .content-area {
    background-color: #1a1a1a;
}

body.dark-theme .category-toggle {
    color: #e0e0e0;
}

body.dark-theme .category-toggle:hover {
    background: #333;
}

body.dark-theme .category-item.expanded > .category-toggle {
    background: inherit;
    color: #e0e0e0;
}

body.dark-theme .category-arrow {
    color: #999;
}

body.dark-theme .category-list {
    color: #ccc;
}

body.dark-theme .category-list li a {
    color: #ccc;
}

body.dark-theme .category-list li a:hover {
    background: #333;
}

body.dark-theme .category-list li.active a {
    background: #333;
    color: #F7D035;
}

body.dark-theme .subcategory-link:hover {
    background-color: #333;
}

body.dark-theme .subcategory-link.active {
    background-color: #333;
    color: #F7D035;
}

body.dark-theme .category-title {
    color: #e0e0e0;
    border-bottom-color: #444;
}

body.dark-theme .subcategory-btn {
    background: #333;
    color: #ccc;
    border-color: #444;
}

body.dark-theme .subcategory-btn:hover {
    background: rgba(212, 160, 23, 0.1);
    color: #F7D035;
    border-color: #F7D035;
}

body.dark-theme .subcategory-btn.active {
    background: rgba(212, 160, 23, 0.2);
    color: #F7D035;
    border-color: #F7D035;
}

body.dark-theme .more-link {
    color: #999;
}

body.dark-theme .more-link:hover {
    color: #F7D035;
}

body.dark-theme .subcategory-dropdown {
    background: #2a2a2a;
}

body.dark-theme .subcategory-dropdown li a {
    color: #ccc;
}

body.dark-theme .subcategory-dropdown li a:hover {
    background: #333;
}

body.dark-theme .subcategory-dropdown li a.active {
    background: #333;
    color: #F7D035;
}

body.dark-theme .website-card {
    background: #2a2a2a;
    border-color: #444;
}

body.dark-theme .website-card:hover {
    background: #333;
}

body.dark-theme .website-card .website-name {
    color: #ffffff;
}

body.dark-theme .website-card .website-desc {
    color: #999;
}

body.dark-theme .website-logo {
    background: #333;
}

body.dark-theme .footer {
    background: #1a1a1a;
}

body.dark-theme .footer-description {
    color: #999;
}

body.dark-theme .footer-bottom {
    border-top-color: #666;
}

body.dark-theme .hot-links a {
    color: #999;
}

body.dark-theme .hot-links a:hover {
    color: #F7D035;
}

body.dark-theme .copyright {
    color: #666;
}

body.dark-theme .beian {
    color: #666;
}

body.dark-theme .footer-bottom p,
body.dark-theme .footer-bottom p a {
    color: #666;
}

body.dark-theme .floating-btn {
    background: #2a2a2a;
    border-color: #444;
    color: #F7D035;
}

body.dark-theme .floating-btn:hover {
    background: #333;
}

body.dark-theme .qr-popup {
    background: #2a2a2a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

body.dark-theme .qr-popup img {
    border-color: #444;
}

body.dark-theme .qr-popup-title {
    color: #e0e0e0;
}

body.dark-theme .qr-popup-desc {
    color: #888;
}



@media (max-width: 768px) {
    .floating-buttons {
        right: 12px;
        bottom: 132px;
    }

    .floating-btn {
        width: 40px;
        height: 40px;
    }

    .floating-btn svg {
        width: 20px;
        height: 20px;
    }

    .qr-popup {
        right: 50px;
    }

    .qr-popup img {
        width: 140px;
        height: 140px;
    }
}

/* 搜索结果样式 */
.search-result-title {
    font-size: 16px;
    color: #666;
    padding: 16px 0;
    text-align: center;
}

.search-loading,
.search-no-result,
.search-error {
    text-align: center;
    padding: 60px 20px;
    font-size: 16px;
    color: #666;
}

.search-no-result {
    color: #999;
}

.search-error {
    color: #e74c3c;
}