.page-header {
    background: linear-gradient(to right, var(--primary-color), #4f46e5);
    padding: 40px 0;
    margin-bottom: 32px;
    margin-top: -24px;
    color: #fff;
}

.page-title {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-title::before {
    content: '🎯';
    font-size: 28px;
}

/* 添加副标题 */
.page-subtitle {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

/* 活动详情页特定样式 */
.detail-container {
    padding-top: 30px;
}

/* 活动头部信息 */
.activity-header {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    margin-bottom: 40px;
}

/* 主图展示区 */
.activity-gallery {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition-speed);
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
}

/* 活动信息区 */
.activity-info {
    padding: 24px;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.activity-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
    color: var(--text-color);
}

.activity-meta {
    margin-bottom: 24px;
}

.meta-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    color: var(--text-light);
}

.meta-label {
    width: 80px;
    flex-shrink: 0;
}

.meta-value {
    color: var(--text-color);
}

.price-section {
    margin: 24px 0;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.price-title {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.price-value {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
}

.action-buttons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.btn-signup {
    flex: 1;
    height: 48px;
    font-size: 16px;
    /* 添加以下属性修复文字对齐 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;  /* 移除链接下划线 */
}

.btn-signup.disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-favorite {
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-light);
}

.btn-favorite:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* 活动详情标签页 */
.detail-tabs {
    margin-top: 40px;
    border-bottom: 1px solid var(--border-color);
}

.tab-list {
    display: flex;
    gap: 32px;
    margin-bottom: -1px;
}

.tab-item {
    padding: 16px 0;
    font-size: 16px;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
}

.tab-item.active {
    color: var(--primary-color);
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

/* 活动详情内容 */
.detail-content {
    padding: 40px 0;
}

.content-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 2px;
}

.highlight-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.highlight-item {
    padding: 24px;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.highlight-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

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

/* 路线介绍 */
.route-timeline {
    position: relative;
    padding-left: 24px;
    margin-bottom: 32px;
}

.route-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border-color);
}

.route-point {
    position: relative;
    padding-bottom: 24px;
}

.route-point::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}

.route-time {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.route-location {
    font-weight: bold;
    margin-bottom: 8px;
}

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

/* 注意事项 */
.notice-list {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.notice-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.notice-title {
    font-weight: bold;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-content {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* 响应式布局 */
@media (max-width: 1024px) {
    .activity-header {
        grid-template-columns: 1fr 340px;
    }
}

@media (max-width: 768px) {
    .activity-header {
        grid-template-columns: 1fr;
    }

    .highlight-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .highlight-list {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-favorite {
        width: 100%;
    }

    .tab-list {
        gap: 16px;
    }

    .main-image {
        height: 240px;
    }
}
/* 新增两栏布局样式 */
.page-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
}

/* 右侧边栏样式 */
.sidebar {
    /*
    position: sticky;
    top: 20px;
    height: fit-content;
    */
    width: 300px;
    flex-shrink: 0;
}

.sidebar-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    overflow: hidden;
}

.sidebar-title {
    padding: 16px;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid var(--border-color);
}

.recommended-activity {
    display: flex;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s;
}

.recommended-activity:last-child {
    border-bottom: none;
}

.recommended-activity:hover {
    background-color: var(--bg-light);
}

.activity-thumb {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
    margin-right: 12px;
    flex-shrink: 0;
}

.activity-info-mini {
    flex: 1;
}

.activity-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.activity-price {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: bold;
}

/* 推广区样式 */
.promo-section {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}

.promo-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    font-weight: bold;
    color: var(--text-color);
}

.promo-content {
    padding: 16px;
}

.promo-card {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.promo-card:last-child {
    border-bottom: none;
}

.promo-image {
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.promo-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.promo-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
}

.promotion-banner {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.qr-code {
    width: 120px;
    height: 120px;
    margin: 16px auto;
    display: block;
}

.follow-text {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    padding: 0 16px 16px;
}

@media (max-width: 1024px) {
    .page-layout {
        grid-template-columns: 1fr 250px;
    }
}

@media (max-width: 768px) {
    .page-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        margin-top: 30px;
    }
}
