:root {
    --primary-color: #1a73e8;
    --primary-dark: #0d47a1;
    --secondary-color: #34a853;
    --accent-color: #ea4335;
    --text-light: #ffffff;
    --card-bg: rgba(30, 30, 30, 0.85);
    --card-hover: rgba(40, 40, 50, 0.9);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.4);
    --border-radius: 16px;
}

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

body {
    font-family: 'Inter', 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    background: #000;
}

/* 视频背景 */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 15, 30, 0.9) 0%, rgba(10, 25, 50, 0.8) 100%);
    opacity: 0.5;
}

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(15, 15, 30, 0.95);
    padding: 15px 5%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.25);
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 主内容 */
.main-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 120px 5% 50px;
}

.page-background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.85) 0%, rgba(15, 20, 40, 0.75) 100%);
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 面包屑 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 6px;
}

.breadcrumb-item:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(26, 115, 232, 0.15);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
}

/* 视图切换器 */
.view-switcher {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px;
    border-radius: 50px;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.view-btn {
    padding: 10px 24px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.view-btn.active {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

/* 页面标题 */
.page-header-content {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
}

/* 返回按钮 */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
}

/* 卡片容器 */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    animation: fadeIn 0.5s ease;
}

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

/* 通用卡片样式 */
.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    background: var(--card-hover);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
}

.card-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(26, 115, 232, 0.2);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    border: 1px solid rgba(26, 115, 232, 0.3);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.card-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 15px;
}

.card-stats {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.stat i {
    color: var(--primary-color);
    font-size: 16px;
}

.card-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    opacity: 0;
    transform: translateX(-10px);
}

.card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
    background: var(--primary-color);
}

/* 区域卡片特殊样式 */
.area-card .card-image {
    height: 280px;
}

.area-card.west .card-badge { background: rgba(52, 168, 83, 0.2); color: #34a853; border-color: rgba(52, 168, 83, 0.3); }
.area-card.central .card-badge { background: rgba(234, 67, 53, 0.2); color: #ea4335; border-color: rgba(234, 67, 53, 0.3); }
.area-card.east .card-badge { background: rgba(251, 188, 5, 0.2); color: #fbbc05; border-color: rgba(251, 188, 5, 0.3); }

/* 楼宇卡片 */
.building-card .card-image {
    height: 280px;
}

.building-card .card-badge {
    background: rgba(26, 115, 232, 0.2);
    color: var(--primary-color);
    border: 1px solid rgba(26, 115, 232, 0.3);
}

/* 楼层卡片 */
.floor-card {
    text-align: center;
    padding: 40px 30px;
}

.floor-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.floor-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.floor-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* 面积分类卡片 */
.size-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    position: relative;
}

.size-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.size-card:hover .size-icon {
    transform: scale(1.1) rotate(5deg);
}

.size-card .card-badge {
    margin-bottom: 12px;
}

.size-card .card-title {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.size-card .card-subtitle {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.size-card .card-stats {
    width: 100%;
    justify-content: center;
    margin-top: auto;
    padding-top: 20px;
}

/* 面积视图中的位置信息 */
.size-location {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* 房源卡片 */
.unit-card {
    cursor: default;
    display: flex;
    flex-direction: column;
    height: auto;               /* 由内容撑开 */
}

.unit-card .card-image {
    height: 240px;             /* 保留，Swiper 内部会覆盖 */
}

.unit-card:hover {
    transform: translateY(-4px);
}

.unit-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.unit-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.unit-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.unit-status.available {
    background: rgba(52, 168, 83, 0.2);
    color: #34a853;
    border: 1px solid rgba(52, 168, 83, 0.3);
}

.unit-status.reserved {
    background: rgba(234, 67, 53, 0.2);
    color: #ea4335;
    border: 1px solid rgba(234, 67, 53, 0.3);
}

.unit-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.spec {
    text-align: center;
}

.spec-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.spec-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.unit-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 10px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.unit-action {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.unit-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.4);
}

/* ===== 房源卡片双按钮布局 ===== */
.unit-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.unit-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.unit-btn.primary {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.unit-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.4);
}

.unit-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.unit-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* 已出租状态按钮样式 */
.unit-btn.disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

/* ===== 参数信息弹窗 ===== */
.params-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.params-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    padding: 30px;
    overflow-y: auto;
    box-shadow: var(--shadow-hover);
    animation: modalFadeIn 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
}

.modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: white;
    transform: scale(1.1);
}

.modal-body {
    color: rgba(255, 255, 255, 0.9);
}

.param-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.param-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.param-value {
    font-weight: 600;
    color: white;
    text-align: right;
}

.modal-body .unit-desc {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* 页脚 */
.footer {
    background: rgba(10, 10, 20, 0.95);
    padding: 50px 5% 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4, .footer-social h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

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

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    transition: var(--transition);
}

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

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* 移动端菜单 */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 20, 0.98);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    padding: 20px;
}

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

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-menu-header h3 {
    font-size: 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link.active {
    color: var(--primary-color);
}

/* 响应式 */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .unit-specs {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .view-switcher {
        width: 100%;
        justify-content: center;
    }
    
    .view-btn {
        flex: 1;
        justify-content: center;
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .size-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ===== 精选房源卡片样式（与index.html第3屏一致） ===== */
.property-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.property-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

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

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.08);
}

.property-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.property-tag.available {
    background: rgba(52, 168, 83, 0.2);
    color: #34a853;
    border: 1px solid rgba(52, 168, 83, 0.3);
}

.property-tag.reserved {
    background: rgba(234, 67, 53, 0.2);
    color: #ea4335;
    border: 1px solid rgba(234, 67, 53, 0.3);
}

.property-content {
    padding: 25px;
}

.property-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    line-height: 1.3;
}

.property-specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.spec-item i {
    color: var(--primary-color);
    font-size: 14px;
}

.property-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.property-action-btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.property-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.4);
}

/* 覆盖之前的unit-card样式，使用property-card代替 */
.cards-container.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
}

@media (max-width: 768px) {
    .property-showcase,
    .cards-container.property-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 房源卡片 Swiper 轮播样式 ===== */
.unit-card .unit-swiper {
    width: 100%;
    height: 240px;
    margin: 0;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    overflow: hidden;
}

.unit-card .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 分页器（小圆点）样式 – 深色背景 */
.unit-card .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.unit-card .swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 20px;
    border-radius: 10px;
}

/* 导航箭头样式 – 桌面端显示，移动端隐藏 */
.unit-card .swiper-button-prev,
.unit-card .swiper-button-next {
    color: white;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    backdrop-filter: blur(2px);
}

.unit-card .swiper-button-prev:after,
.unit-card .swiper-button-next:after {
    font-size: 16px;
    font-weight: bold;
}

.unit-card .swiper-button-prev {
    left: 5px;
}

.unit-card .swiper-button-next {
    right: 5px;
}

/* 移动端隐藏导航箭头（手势滑动足够） */
@media (max-width: 768px) {
    .unit-card .swiper-button-prev,
    .unit-card .swiper-button-next {
        display: none;
    }
}