/* ========================================
   北京百海凝慈善基金会官网样式
   主色调: #e41e15
   ======================================== */

/* CSS变量定义 */
:root {
    --primary-color: #e41e15;
    --primary-dark: #c41810;
    --primary-light: #ff3d34;
    --secondary-color: #FFD700;
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-color: #ffffff;
    --bg-light: #f8f8f8;
    --bg-gray: #f5f5f5;
    --border-color: #e5e5e5;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* 容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(228, 30, 21, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

/* ========================================
   顶部导航栏
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.logo-icon {
    width: 50px;
    height: 50px;
}

.logo-svg {
    width: 100%;
    height: 100%;
}

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

.logo-title {
    font-size: 18px;
    font-weight: 700;
    color: #c00d20;
    line-height: 1.3;
}

.logo-subtitle {
    font-size: 11px;
    color: #c00d20;
    /* text-transform: uppercase; */
    letter-spacing: 0.5px;
}

/* 导航菜单 */
.nav-list {
    display: flex;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-item a {
    display: block;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    border-radius: 4px;
}

.nav-item a:hover {
    color: var(--primary-color);
    background-color: rgba(228, 30, 21, 0.05);
}

.nav-item.active a {
    /* color: var(--primary-color); */
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* ========================================
   下拉菜单
   ======================================== */
.nav-item.has-dropdown {
    position: relative;
}

.nav-item.has-dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    margin-left: 5px;
    transition: var(--transition);
}

.nav-item.has-dropdown:hover > a::after {
    transform: rotate(180deg);
}

/* 一级下拉菜单 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background-color: #fff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    border-top: 3px solid var(--primary-color);
}

.nav-item.has-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 5px);
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-color);
    white-space: nowrap;
    border-radius: 0;
}

.dropdown-menu li a:hover {
    background-color: rgba(228, 30, 21, 0.05);
    color: var(--primary-color);
}

/* 二级下拉菜单（公益项目子菜单） */
.dropdown-menu .has-submenu > a::after {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    margin-left: 10px;
}

.dropdown-submenu {
    position: absolute;
    top: -10px;
    left: 100%;
    min-width: 200px;
    background-color: #fff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 101;
    border-left: 3px solid var(--primary-color);
}

.dropdown-menu .has-submenu:hover > .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    left: calc(100% + 5px);
}

.dropdown-submenu li a {
    padding: 8px 20px;
    font-size: 13px;
}

/* ========================================
   移动端子菜单
   ======================================== */
.mobile-nav-list .has-sub > a {
    position: relative;
}

.mobile-sub-menu {
    display: none;
    padding-left: 15px;
    background-color: #f8f8f8;
}

.mobile-nav-list .has-sub.open > .mobile-sub-menu {
    display: block;
}

.mobile-sub-menu li a {
    padding: 10px 15px;
    font-size: 14px;
    color: var(--text-light);
}

.mobile-sub-menu li a:hover {
    color: var(--primary-color);
}
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

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

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

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

/* 移动端导航 */
.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: var(--shadow);
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-list {
    padding: 20px;
}

.mobile-nav-list li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-list li:last-child {
    border-bottom: none;
}

.mobile-nav-list a {
    display: block;
    padding: 15px 10px;
    font-size: 16px;
    color: var(--text-color);
}

.mobile-nav-list li.active a {
    color: var(--primary-color);
    font-weight: 600;
}

/* ========================================
   Banner轮播区
   ======================================== */
.banner {
    position: relative;
    width: 100%;
    height: 500px;
    margin-top: 80px;
    overflow: hidden;
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url('images/banner.png');
    background-size: cover;
    background-position: center;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    padding: 0 20px;
    color: #fff;
}

.banner-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
}

.banner-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.banner-content .btn {
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* 轮播箭头 */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    transition: var(--transition);
    z-index: 10;
}

.banner-arrow:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.banner-prev {
    left: 30px;
}

.banner-next {
    right: 30px;
}

/* 轮播指示点 */
.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* ========================================
   通用区块样式
   ======================================== */
.section {
    padding: 50px 0;
}

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

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

/* ========================================
   党建领航
   ======================================== */
.party-building {
    background-color: #fee8da;
    background-image: url('images/bg.jpg');
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: auto;
    /* background-size: cover;
    background-attachment: fixed;
    position: relative; */
}

/* .party-building::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 248, 248, 0.92);
    z-index: 0;
} */

.party-building .container {
    position: relative;
    z-index: 1;
}

.party-building .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.party-icon {
    margin-bottom: 15px;
}

.party-emblem {
    width: 60px;
    height: 60px;
}

.party-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.party-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.party-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.party-card:hover .party-card-image img {
    transform: scale(1.1);
}

.party-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
}

.party-card-content {
    padding: 20px;
}

.party-card-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.party-card-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.party-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   基金会简介 + 联系我们
   ======================================== */
.about-contact {
    background-color: #fff;
}

.about-contact-grid {
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 40px;
}

.about-box,
.contact-box {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.box-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.box-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 5px;
}

.box-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.box-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

/* 统计数据 */
.about-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    background: #f5f5f5;
    padding: 20px 0px;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

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

.about-buttons {
    display: flex;
    gap: 15px;
}

/* 联系方式 */
.contact-list {
    margin-bottom: 25px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list li i {
    width: 54px;
    height: 54px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(228, 30, 21, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
}

.contact-label {
    display: block;
    font-size: 18px;
    color: #333;
    margin-bottom: 3px;
}

.contact-value {
    font-size: 14px;
    color: #999;
    font-weight: normal;
}

/* 二维码区域 */
.contact-qr {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.qr-item {
    text-align: center;
}

.qr-placeholder {
    width: 100px;
    height: 100px;
    background-color: #fff;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 40px;
}

.qr-item span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   公益项目
   ======================================== */
.projects {
    background-color: var(--bg-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.project-icon {
    /* width: 70px;
    height: 70px; */
    margin: 0 auto 20px;
    /* border-radius: 50%; */
    overflow: hidden;
}

.project-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.project-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* ========================================
   党建元素装饰条
   ======================================== */
.party-banner {
    background-image: url('images/sydb_bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 50px 0;
}

.party-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.party-emblem-large {
    width: 80px;
    height: 80px;
    opacity: 0.9;
}

.party-emblem-large svg {
    width: 100%;
    height: 100%;
}

.party-banner-text {
    text-align: center;
    color: #fff;
}

.party-banner-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.party-banner-text p {
    font-size: 16px;
    opacity: 0.9;
}

/* ========================================
   底部区域
   ======================================== */
.footer {
    background-color: #2a2a2a;
    color: #fff;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-svg {
    width: 40px;
    height: 40px;
}

.footer-logo span {
    font-size: 16px;
    font-weight: 600;
}

.footer-about p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul a:hover {
    color: var(--primary-color);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.footer-contact ul li i {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 20px 0;
}

.footer-friend-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-friend-links span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-friend-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    padding: 0 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-friend-links a:last-child {
    border-right: none;
}

.footer-friend-links a:hover {
    color: var(--primary-color);
}

.footer-copyright p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   回到顶部按钮
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

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

/* ========================================
   响应式设计
   ======================================== */

/* 平板 (768px - 1199px) */
@media (max-width: 1199px) {
    .container {
        padding: 0 30px;
    }
    
    .nav-item a {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .banner-title {
        font-size: 40px;
    }
    
    .party-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 手机 (≤767px) */
@media (max-width: 767px) {
    .container {
        padding: 0 20px;
    }
    
    /* 导航 */
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .header-content {
        height: 70px;
    }
    
    .logo-title {
        font-size: 16px;
    }
    
    .logo-subtitle {
        display: none;
    }
    
    /* Banner */
    .banner {
        height: 400px;
        margin-top: 70px;
    }
    
    .banner-title {
        font-size: 28px;
    }
    
    .banner-subtitle {
        font-size: 16px;
    }
    
    .banner-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .banner-prev {
        left: 15px;
    }
    
    .banner-next {
        right: 15px;
    }
    
    /* Section */
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    /* 党建领航 */
    .party-cards {
        grid-template-columns: 1fr;
    }
    
    /* 基金会简介 + 联系我们 */
    .about-contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-item {
        width: calc(50% - 10px);
    }
    
    .about-buttons {
        flex-direction: column;
    }
    
    .about-buttons .btn {
        width: 100%;
    }
    
    /* 公益项目 */
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-buttons {
        flex-direction: column;
    }
    
    .project-buttons .btn {
        width: 100%;
    }
    
    /* 党建装饰条 */
    .party-banner-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .party-emblem-large {
        width: 60px;
        height: 60px;
    }
    
    .party-banner-text h3 {
        font-size: 22px;
    }
    
    .party-banner-text p {
        font-size: 14px;
    }
    
    /* 底部 */
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-friend-links {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-friend-links a {
        border-right: none;
        padding: 5px 0;
    }
    
    /* 回到顶部 */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* 小屏幕手机 (≤480px) */
@media (max-width: 480px) {
    .banner {
        height: 350px;
    }
    
    .banner-title {
        font-size: 24px;
    }
    
    .banner-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .stat-number {
        font-size: 26px;
    }
    
    .contact-qr {
        flex-direction: column;
        align-items: center;
    }
}
