/* ===== Home Page Specific Styles ===== */

/* ===== Scroll Animation Styles ===== */
/* 基础动画类 - 优化：使用 transform 和 opacity 实现 GPU 加速 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* 滑动进入动画 */
.animate-slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-slide-up.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-slide-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-slide-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* 缩放进入动画 */
.animate-scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-scale-in.animated {
    opacity: 1;
    transform: scale(1);
}

/* 交错动画 - 用于卡片列表 */
.animate-stagger {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-stagger.animated {
    opacity: 1;
    transform: translateY(0);
}

/* 淡入动画 */
.animate-fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.animate-fade-in.animated {
    opacity: 1;
}

/* 弹跳进入动画 */
.animate-bounce-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55),
                transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.animate-bounce-in.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Carousel - 科幻汇聚效果 */
.hero-carousel {
    position: relative;
    height: 550px;
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%);
    opacity: 0;
    visibility: hidden;
    transition: visibility 0s 1s;
}

.carousel-item.active {
    opacity: 1;
    visibility: visible;
    transition: visibility 0s 0s;
}

/* 左侧文字 - 从左向中间汇聚 */
.carousel-item.active .carousel-text {
    animation: textConverge 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

/* 右侧图片 - 从右向中间汇聚 */
.carousel-item.active .carousel-image {
    animation: imageConverge 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

/* 图片扫描线效果 */
.carousel-item.active .carousel-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45,153,211,0.15), rgba(133,45,136,0.1), transparent);
    animation: imageScan 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
    z-index: 3;
}

/* 文字左侧发光条 */
.carousel-item.active .carousel-text-inner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-pink), var(--primary-blue), var(--primary-purple));
    border-radius: 3px;
    box-shadow: 0 0 12px var(--primary-pink), 0 0 24px var(--primary-blue);
    animation: glowLine 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

/* 逐级入场动画 */
.carousel-item.active .carousel-badge {
    animation: textReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.carousel-item.active .carousel-title {
    animation: textReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.carousel-item.active .carousel-subtitle {
    animation: textReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

.carousel-item.active .carousel-desc {
    animation: textReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

.carousel-item.active .carousel-btn {
    animation: textReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.75s both;
}

@keyframes textConverge {
    0% {
        opacity: 0;
        transform: translateX(-120px) skewX(-3deg);
        filter: brightness(2) blur(4px);
    }
    40% {
        filter: brightness(1.3) blur(1px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) skewX(0);
        filter: brightness(1) blur(0);
    }
}

@keyframes imageConverge {
    0% {
        opacity: 0;
        transform: translateX(120px) skewX(3deg) scale(1.1);
        filter: brightness(2) saturate(0);
    }
    40% {
        filter: brightness(1.3) saturate(0.6);
    }
    100% {
        opacity: 1;
        transform: translateX(0) skewX(0) scale(1);
        filter: brightness(1) saturate(1);
    }
}

@keyframes imageScan {
    0% { left: -60%; }
    100% { left: 120%; }
}

@keyframes glowLine {
    0% { height: 0; opacity: 0; }
    50% { opacity: 1; }
    100% { height: 80%; opacity: 1; }
}

@keyframes textReveal {
    0% {
        opacity: 0;
        transform: translateX(-30px);
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

.carousel-content {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-text {
    flex: 1;
    padding: 4rem 8% 4rem 8%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    margin-left: -5%;
}

.carousel-text-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-left: 3.5rem;
    position: relative;
}

.carousel-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-pink) 0%, #ff6b9d 100%);
    padding: 0.4rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    align-self: flex-start;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(221,0,124,0.4);
}

.carousel-title {
    font-size: 2.6rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.carousel-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.carousel-desc {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.8;
}

.carousel-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    color: white;
    padding: 0.9rem 2.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    align-self: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(155,47,174,0.4);
}

.carousel-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(155,47,174,0.6);
}

.carousel-image {
    flex: 1.2;
    position: relative;
    overflow: hidden;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    margin-left: -8%;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(155,47,174,0.8);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(221,0,124,0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 1.5rem;
}

.carousel-next {
    right: 1.5rem;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 2rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.25);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.hero-countdown {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.countdown-item {
    text-align: center;
    background: rgba(255,255,255,0.2);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    min-width: 100px;
}

.countdown-value {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
}

.countdown-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-btn {
    padding: 0.8rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(133,45,136,0.4);
}

.hero-btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.3);
}

/* Live Banner */
.live-banner {
    background: linear-gradient(90deg, #ff4757 0%, #ff6b81 100%);
    padding: 0.75rem 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.live-dot {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.live-text {
    font-weight: 600;
}

.live-match {
    font-weight: 500;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--dark-green);
}

.view-all {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.3s ease;
}

.view-all:hover {
    gap: 0.6rem;
}

/* Today Matches */
.today-matches {
    padding: 3rem 5%;
    background: #f8f9fa;
}

.matches-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.match-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.match-date {
    font-size: 0.85rem;
    color: #666;
}

.match-status {
    font-size: 0.75rem;
    padding: 0.2rem 0.7rem;
    border-radius: 10px;
}

.status-live {
    background: #ff4757;
    color: white;
}

.status-upcoming {
    background: #e5e5e5;
    color: #666;
}

.status-finished {
    background: #10b981;
    color: white;
}

.match-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.match-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.team-flag {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eee;
}

.team-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    text-align: center;
}

.match-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0 1.5rem;
}

.score-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-purple);
}

.score-divider {
    width: 2px;
    height: 2rem;
    background: #ddd;
}

.match-vs {
    font-size: 0.75rem;
    color: #999;
}

.match-stadium {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #999;
}

/* Focus Match */
.focus-match {
    padding: 3rem 5%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.focus-match .section-title {
    color: white;
}

.focus-match-container {
    background: linear-gradient(135deg, rgba(133,45,136,0.2), rgba(221,19,126,0.2));
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.focus-team {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.focus-flag {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.3);
    margin-bottom: 1rem;
}

.focus-team-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
}

.focus-team-abbr {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.focus-score {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.focus-score-value {
    font-size: 4rem;
    font-weight: bold;
    color: white;
}

.focus-score-divider {
    font-size: 2rem;
    color: rgba(255,255,255,0.5);
}

.focus-info {
    text-align: center;
    margin-top: 1rem;
}

.focus-time {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
}

.focus-stadium {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.focus-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.focus-btn {
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

}

.focus-btn-primary {
    background: white;
    color: var(--primary-purple);
}

.focus-btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.focus-btn-live {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255,71,87,0.4);
    animation: pulse 2s infinite;
    border-radius: 25px 0 0 25px;
}

.focus-btn-live.active {
    animation: none;
    box-shadow: 0 4px 20px rgba(255,71,87,0.5);
}

.focus-btn-replay {
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 0 25px 25px 0;
    border-left: 1px solid rgba(255,255,255,0.2);
}

.focus-btn-replay:hover {
    background: rgba(255,255,255,0.2);
}

.btn-group {
    display: flex;
    border-radius: 25px;
    overflow: hidden;
}

.focus-btn:hover {
    transform: translateY(-2px);
}

/* Highlights */
.highlights {
    padding: 3rem 5%;
    background: #0f0f1a;
}

.highlights .section-header {
    margin-bottom: 2rem;
}

.highlights .section-title {
    color: white;
}

.highlights .view-all {
    color: var(--primary-pink);
}

.highlights-main {
    display: grid;
    grid-template-columns: 3fr 1.2fr;
    gap: 1.75rem;
    margin-bottom: 2rem;
}

.highlight-featured {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 18px;
    overflow: hidden;
}

.highlight-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlight-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.featured-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    color: white;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.featured-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.featured-desc {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.play-button-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.play-button-large:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button-large::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid var(--primary-purple);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 3px;
}

.highlight-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-card {
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.content-card h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.highlight-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.2s;
}

.highlight-list li:last-child {
    border-bottom: none;
}

.highlight-list li:hover {
    transform: translateX(5px);
}

.highlight-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.highlight-list li span:last-child {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    line-height: 1.4;
}

.highlight-stats {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.highlight-stats .stat-item {
    text-align: center;
}

.highlight-stats .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-purple);
    margin-bottom: 0.25rem;
}

.highlight-stats .stat-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
}

.highlight-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumbnail-item {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.thumbnail-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.thumbnail-item:hover img {
    transform: scale(1.05);
}

.thumbnail-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: background 0.3s;
}

.thumbnail-item:hover .thumbnail-overlay {
    background: rgba(0,0,0,0.6);
}

.thumbnail-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.8rem 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.thumbnail-title {
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 0.75rem;
}

.thumbnail-duration {
    color: rgba(255,255,255,0.8);
    font-size: 0.75rem;
    background: rgba(255,255,255,0.15);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.video-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: #1a1a2e;
    border-radius: 16px;
    padding: 1.5rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
    z-index: 10;

}

.modal-close:hover {
    background: rgba(221,19,126,0.8);
    transform: rotate(90deg);
}

.modal-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

#modal-video {
    width: 100%;
    height: 450px;
    border-radius: 10px;
}

.play-button-small {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button-small::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 12px solid var(--primary-purple);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 2px;
}

/* Today Scores - Reference Fig 2 */
.today-scores {
    padding: 3rem 5%;
    background: #f5f7fa;
    position: relative;
    overflow: hidden;
}

.today-scores.empty-state-section {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-empty {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.section-empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(155,47,174,0.1) 0%, rgba(221,0,124,0.1) 100%);
    border-radius: 50%;
    font-size: 4rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.section-empty-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-purple);
    margin-bottom: 0.75rem;
}

.section-empty-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.section-empty-action {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.section-empty-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155,47,174,0.3);
}

/* Dark theme empty state */
.live-schedule.empty-state-section {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.live-schedule .section-empty {
    position: relative;
    z-index: 1;
}

.live-schedule .section-empty-title {
    color: white;
}

.live-schedule .section-empty-desc {
    color: rgba(255,255,255,0.7);
}

.live-schedule .section-empty-icon {
    background: linear-gradient(135deg, rgba(155,47,174,0.2) 0%, rgba(221,0,124,0.2) 100%);
}

.live-schedule .section-empty-action {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.live-schedule .section-empty-action:hover {
    background: rgba(255,255,255,0.15);
    box-shadow: 0 6px 20px rgba(155,47,174,0.2);
}

.today-scores::before {
    content: 'MATCH CENTER';
    position: absolute;
    top: 12%;
    left: 10%;
    font-size: 4rem;
    font-weight: bold;
    color: rgba(155, 47, 174, 0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 1.8rem;
    color: var(--dark-green);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    border-radius: 2px;
}

.view-all {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scores-main {
    display: flex;
    gap: 3rem;
    position: relative;
    z-index: 1;
    width: 80%;
    margin: 0 auto;
}

.scores-image-section {
    flex: 1.2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.scores-main-image {
    width: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.soccer-ball {
    width: 80px;
    height: 80px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.scores-list {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.score-card {
    background: white;
    border-radius: 15px;
    padding: 0.8rem 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr 40px 60px 40px 1fr auto;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid transparent;
    transition: box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.score-card:hover {
    box-shadow: 0 4px 20px rgba(155, 47, 174, 0.1);
    border-left-color: var(--primary-purple);
}

.score-card.live {
    border-left-color: #ff4757;
    background: linear-gradient(90deg, rgba(255,71,87,0.05) 0%, white 100%);
}

.score-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-weight: bold;
    width: 3.8rem;
    text-align: center;
}

.badge-live {
    background: #ff4757;
    color: white;
}

.badge-complete {
    background: #2ed573;
    color: white;
}

.badge-upcoming {
    background: #ffa502;
    color: white;
}

.team-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
}

.team-flag {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0e0e0;
}

.team-name {
    font-weight: bold;
    font-size: 0.95rem;
    color: var(--dark-green);
}

.score-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-purple);
}

.vs-text {
    font-size: 0.8rem;
    color: #999;
    font-weight: 500;
    padding: 0.2rem 0.6rem;
    background: rgba(150,150,150,0.1);
    border-radius: 12px;
    border: 1px solid rgba(150,150,150,0.2);
}

.match-row {
    display: contents;
}

.score-container {
    display: contents;
}

.match-info {
    font-size: 0.85rem;
    color: #999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}

.score-footer {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #666;
}

/* Live Schedule - Reference Fig 3 */
.live-schedule {
    background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%);
    padding: 3rem 5%;
    position: relative;
    overflow: hidden;
}

.live-schedule::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(155,47,174,0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(221,0,124,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.live-schedule .section-title {
    color: white;
    position: relative;
    z-index: 1;
}

.live-schedule .view-all {
    color: var(--primary-pink);
    position: relative;
    z-index: 1;
}

/* 横向滚动赛程列表 */
.schedule-scroll-container {
    margin-top: 2rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(155,47,174,0.8);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
    z-index: 10;
    opacity: 0;
    visibility: hidden;

}

.schedule-scroll-container:hover .scroll-btn {
    opacity: 1;
    visibility: visible;
}

.scroll-btn:hover {
    background: rgba(155,47,174,0.95);
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn-left {
    left: 10px;
}

.scroll-btn-right {
    right: 10px;
}

.schedule-scroll-wrapper {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0.5rem 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.schedule-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.schedule-card {
    flex: 0 0 auto;
    width: 280px;
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.2rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    cursor: pointer;

}

.schedule-card:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(155,47,174,0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(155,47,174,0.15);
}

.schedule-card.live {
    background: linear-gradient(135deg, rgba(255,71,87,0.15) 0%, rgba(255,107,129,0.05) 100%);
    border-color: rgba(255,71,87,0.3);
    box-shadow: 0 0 20px rgba(255,71,87,0.15);
}

.schedule-card.active {
    background: linear-gradient(135deg, rgba(155,47,174,0.2) 0%, rgba(221,0,124,0.1) 100%);
    border-color: var(--primary-purple);
    box-shadow: 0 0 25px rgba(155,47,174,0.3);
    transform: scale(1.02);
}

.schedule-card-date {
    text-align: center;
    margin-bottom: 1rem;
}

.schedule-card-day {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
}

.schedule-card-month {
    font-size: 0.75rem;
    color: #999;
}

.schedule-card-content {
    text-align: center;
}

.live-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    animation: pulse 1.5s infinite;
}

.upcoming-badge {
    display: inline-block;
    background: rgba(255,165,2,0.2);
    color: #ffa502;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
}

.schedule-card-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.schedule-card-teams span {
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
}

.schedule-card-score {
    color: var(--primary-purple);
    font-size: 1.1rem;
    font-weight: bold;
}

.schedule-card-time {
    color: #999;
    font-size: 0.9rem;
}

.schedule-card-stadium {
    display: block;
    color: #999;
    font-size: 0.8rem;
}

/* 焦点比赛展示区 */
.focus-match-section {
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.focus-match-content {
    background: linear-gradient(135deg, rgba(155,47,174,0.15) 0%, rgba(221,0,124,0.1) 100%);
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(155,47,174,0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.focus-match-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(155,47,174,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.focus-teams-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.focus-team-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.focus-team-flag {
    width: 100px;
    height: 70px;
    object-fit: cover;
}

.focus-team-name {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.focus-score-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.focus-score {
    font-size: 4.5rem;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.live-dot {
    width: 12px;
    height: 12px;
    background: #ff4757;
    border-radius: 50%;
    animation: pulse 1s infinite;

}

.focus-period {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.focus-info-bar {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 1;
}

.focus-info-bar span {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.focus-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.focus-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.focus-btn-primary {
    background: white;
    color: var(--primary-purple);
}

.focus-btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.focus-btn-live {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255,71,87,0.4);
    animation: pulse 2s infinite;
    border-radius: 25px 0 0 25px;
}

.focus-btn-live.active {
    animation: none;
    box-shadow: 0 4px 20px rgba(255,71,87,0.5);
}

.focus-btn-replay {
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 0 25px 25px 0;
    border-left: 1px solid rgba(255,255,255,0.2);
}

.focus-btn-replay:hover {
    background: rgba(255,255,255,0.2);
}

.btn-group {
    display: flex;
    border-radius: 25px;
    overflow: hidden;
}

.focus-btn:hover {
    transform: translateY(-2px);
}

/* Highlights - Reference Fig 4 */
.highlights {
    padding: 3rem 5%;
    background: #0f0f1a;
}

.highlights .section-header {
    margin-bottom: 2rem;
}

.highlights .section-title {
    color: white;
}

.highlights .view-all {
    color: var(--primary-pink);
}

.highlights-main {
    display: grid;
    grid-template-columns: 3fr 1.2fr;
    gap: 1.75rem;
    margin-bottom: 2rem;
}

.highlight-featured {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 18px;
    overflow: hidden;
}

.highlight-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlight-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.featured-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    color: white;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.featured-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.featured-desc {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.play-button-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.play-button-large:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button-large::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid var(--primary-purple);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 3px;
}

.highlight-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-card {
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.content-card h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.highlight-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.2s;
}

.highlight-list li:last-child {
    border-bottom: none;
}

.highlight-list li:hover {
    transform: translateX(5px);
}

.highlight-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.highlight-list li span:last-child {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    line-height: 1.4;
}

.highlight-stats {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.highlight-stats .stat-item {
    text-align: center;
}

.highlight-stats .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-purple);
    margin-bottom: 0.25rem;
}

.highlight-stats .stat-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
}

.highlight-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumbnail-item {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.thumbnail-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.thumbnail-item:hover img {
    transform: scale(1.05);
}

.thumbnail-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: background 0.3s;
}

.thumbnail-item:hover .thumbnail-overlay {
    background: rgba(0,0,0,0.6);
}

.thumbnail-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.8rem 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.thumbnail-title {
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 0.75rem;
}

.thumbnail-duration {
    color: rgba(255,255,255,0.8);
    font-size: 0.75rem;
    background: rgba(255,255,255,0.15);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* News Section */
.news-section {
    padding: 3rem 5%;
    background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%);
}

.news-section .section-title {
    color: white;
}

.news-section .view-all {
    color: var(--primary-pink);
}

.news-main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.news-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-featured-link, .news-thumbnail-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-featured {
    display: flex;
    gap: 1.5rem;
    background: #1a1a2e;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-featured-link:hover .news-featured {
    transform: translateY(-5px);
}

.news-thumbnail-item {
    background: #1a1a2e;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-thumbnail-link:hover .news-thumbnail-item {
    transform: translateY(-3px);
}

.news-featured-image {
    width: 60%;
    object-fit: cover;
}

.news-featured-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-category {
    display: inline-block;
    background: var(--primary-purple);
    color: white;
    padding: 0.2rem 0.7rem;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

.news-featured-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.news-meta {
    color: #999;
    font-size: 0.85rem;
}

.news-side-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-side-item {
    display: flex;
    gap: 1rem;
    cursor: pointer;
    transition: transform 0.3s;
    padding: 0.75rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
}

.news-side-item:hover {
    transform: translateX(5px);
    background: rgba(255,255,255,0.1);
    color: inherit;
}

.news-side-image {
    width: 130px;
    height: 76px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.news-side-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-side-title {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-side-date {
    color: #999;
    font-size: 0.8rem;
}

.news-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 100%;
}

.news-thumbnail-link {
    display: block;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.news-thumbnail-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    background: #1a1a2e;
}

.news-thumbnail-item:hover {
    transform: translateY(-3px);
}

.news-thumbnail-image {
    width: 100%;
    height: 166px;
    object-fit: cover;
}

.news-thumbnail-title {
    padding: 1rem;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Notices Section */
.notices-section {
    padding: 3rem 5%;
    background: #f5f7fa;
    position: relative;
    overflow: hidden;
}

.notices-section::before {
    content: 'NOTICES';
    position: absolute;
    top: 12%;
    left: 10%;
    font-size: 4rem;
    font-weight: bold;
    color: rgba(133, 45, 136, 0.05);
}

.notices-container {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.notices-section .section-title {
    color: var(--dark-green);
}

.notices-carousel {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.notices-prev,
.notices-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-purple);
    background: white;
    color: var(--primary-purple);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);

}

.notices-prev:hover,
.notices-next:hover {
    background: var(--primary-purple);
    color: white;
    transform: scale(1.1);
}

.notices-track {
    display: flex;
    gap: 1.2rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
}

.notices-track::-webkit-scrollbar {
    display: none;
}

.notice-card-link {
    flex: 0 0 auto;
    width: 320px;
    text-decoration: none;
    color: inherit;
    display: block;
}

.notice-card {
    flex: 0 0 auto;
    width: 320px;
    background: white;
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-purple);

}

.notice-card-link:hover .notice-card {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.notice-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.notice-badge-blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.notice-badge-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.notice-badge-orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.notice-badge-purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.notice-content {
    display: block;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.notice-time {
    color: #999;
    font-size: 0.8rem;
}

/* Resource Services */
.resource-services {
    padding: 1.75rem 5%;
    background: #fafbfc;
}

.services-intro {
    text-align: center;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto 1.25rem;
    padding: 0 1rem;
}

.resource-services .section-title {
    color: #444;
    font-size: 1.25rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 1.2rem;
    text-align: center;
    border: 1px solid #eee;
    transition: background 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}

.service-card:hover {
    background: #f8f9fa;
    border-color: #ddd;
}

.service-icon-wrapper {
    width: 42px;
    height: 42px;
    margin: 0 auto 0.6rem;
    border-radius: 8px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.service-icon {
    font-size: 1.8rem;
}

.service-info {
    margin-bottom: 1rem;
}

.service-title {
    font-weight: bold;
    color: var(--dark-green);
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
}

.service-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.service-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.service-stats .stat-item {
    text-align: center;
}

.service-stats .stat-value {
    display: block;
    font-size: 1.15rem;
    font-weight: 600;
    color: #555;
}

.service-stats .stat-label {
    font-size: 0.65rem;
    color: #999;
}

.service-btn {
    display: inline-block;
    background: #f0f0f0;
    color: #666;
    padding: 0.4rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.75rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.service-btn:hover {
    background: #e5e5e5;
    color: #444;
}

/* Culture Travel */
.culture-travel {
    padding: 1.75rem 5%;
    background: #f5f6f7;
}

.culture-travel .section-title {
   /* margin-left: 5%; */
   color: var(--dark-green);
}

/* ============== 苏州特色介绍模块 ============== */
.suzhou-intro {
    position: relative;
    background: linear-gradient(180deg, #1a3a6e 0%, #0d2855 100%);
    border-radius: 0;
    padding: 0;
    margin: 2rem 0 3rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(13, 40, 85, 0.3);
}

.suzhou-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 320px;
    background: url('../images/travel/4.png') center/cover no-repeat;
    z-index: 1;
}

.suzhou-intro::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 320px;
    background: linear-gradient(180deg, transparent 0%, #0d2855 100%);
    z-index: 2;
}

.suzhou-intro-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 3;
}

/* 几何三角形装饰 */
.suzhou-geo-shape {
    position: absolute;
    pointer-events: none;
    z-index: 4;
}

/* 左侧几何图形 */
.suzhou-geo-left-pink {
    top: 50px;
    left: -25px;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 80px solid #ec4899;
    transform: rotate(-15deg);
    opacity: 0.9;
}

.suzhou-geo-left-blue {
    top: 120px;
    left: -40px;
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 120px solid #2563eb;
    transform: rotate(-8deg);
    opacity: 0.85;
}

/* 中间偏上的小紫色三角形 */
.suzhou-geo-center-top {
    top: 30px;
    left: 35%;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 40px solid #7c3aed;
    transform: rotate(180deg);
    opacity: 0.75;
}

/* 右侧几何图形 */
.suzhou-geo-right-purple {
    bottom: 40px;
    right: -50px;
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 150px solid #7c3aed;
    transform: rotate(12deg);
    opacity: 0.75;
}

.suzhou-geo-right-cyan {
    bottom: 60px;
    right: -20px;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 90px solid #06b6d4;
    transform: rotate(-10deg);
    opacity: 0.8;
}

/* 右下角额外的小三角形 */
.suzhou-geo-bottom-right {
    bottom: 20px;
    right: 50px;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid #ec4899;
    transform: rotate(30deg);
    opacity: 0.6;
}

.suzhou-floating-icon {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.25;
    filter: blur(1px);
    animation: suzhouFloat 8s ease-in-out infinite paused;
}

.suzhou-intro:has(.animated) .suzhou-floating-icon,
.suzhou-intro.animated .suzhou-floating-icon {
    animation-play-state: running;
}

.suzhou-icon-1 {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    font-size: 3rem;
}

.suzhou-icon-2 {
    top: 60%;
    left: 5%;
    animation-delay: 2s;
    font-size: 2.5rem;
}

.suzhou-icon-3 {
    top: 20%;
    right: 12%;
    animation-delay: 4s;
    font-size: 3.5rem;
}

.suzhou-icon-4 {
    top: 70%;
    right: 8%;
    animation-delay: 6s;
    font-size: 2.5rem;
}

@keyframes suzhouFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(8deg); }
}

.suzhou-intro-content {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
}

.suzhou-intro-text {
    color: white;
}

.suzhou-intro-tag {
    display: inline-block;
    font-family: 'Titillium Web', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: white;
    padding: 0.35rem 0.9rem;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 4px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.suzhou-intro-text.animated .suzhou-intro-tag {
    opacity: 1;
    transform: translateY(0);
}

.suzhou-intro-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}

.suzhou-intro-text.animated .suzhou-intro-title {
    opacity: 1;
    transform: translateY(0);
}

.suzhou-intro-title-main {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.1;
    color: white;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.suzhou-intro-text.animated .suzhou-intro-title-main {
    opacity: 1;
    transform: translateY(0);
}

.suzhou-intro-desc {
    font-size: 0.95rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2rem;
    text-align: justify;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.suzhou-intro-text.animated .suzhou-intro-desc {
    opacity: 1;
    transform: translateY(0);
}

.suzhou-intro-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.suzhou-intro-text.animated .suzhou-intro-stats {
    opacity: 1;
    transform: translateY(0);
}

.suzhou-stat {
    text-align: center;
    padding: 0.9rem 0.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(124, 58, 237, 0.15) 100%);
    border-radius: 8px;
    border: 1px solid rgba(37, 99, 235, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.suzhou-intro-text.animated .suzhou-stat {
    opacity: 1;
    transform: scale(1);
}

.suzhou-intro-text.animated .suzhou-stat:nth-child(1) { transition-delay: 0.5s; }
.suzhou-intro-text.animated .suzhou-stat:nth-child(2) { transition-delay: 0.6s; }
.suzhou-intro-text.animated .suzhou-stat:nth-child(3) { transition-delay: 0.7s; }
.suzhou-intro-text.animated .suzhou-stat:nth-child(4) { transition-delay: 0.8s; }

.suzhou-stat:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(124, 58, 237, 0.2) 100%);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
    border-color: rgba(37, 99, 235, 0.35);
}

.suzhou-stat-num {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #60a5fa;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.suzhou-stat-unit {
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 1px;
    color: #818cf8;
}

.suzhou-stat-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.5px;
}

.suzhou-intro-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    padding: 0.75rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    border: 1px solid rgba(37, 99, 235, 0.2);
    opacity: 0;
    transform: translateY(15px);
}

.suzhou-intro-text.animated .suzhou-intro-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

.suzhou-intro-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.45);
}

.suzhou-intro-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.suzhou-intro-btn:hover svg {
    transform: translateX(4px);
}

.suzhou-intro-image {
    position: relative;
    height: 480px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.suzhou-image-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(37, 99, 235, 0.15);
    opacity: 0;
    transform: translateX(30px);
}

.suzhou-intro-image.animated .suzhou-image-card {
    opacity: 1;
    transform: translateX(0);
}

.suzhou-intro-image.animated .suzhou-card-1 { transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s; }
.suzhou-intro-image.animated .suzhou-card-2 { transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s; }
.suzhou-intro-image.animated .suzhou-card-3 { transition: opacity 0.6s ease 0.7s, transform 0.6s ease 0.7s; }

.suzhou-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.suzhou-image-card:hover img {
    transform: scale(1.08);
}

.suzhou-image-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(37, 99, 235, 0.3);
    border-color: rgba(37, 99, 235, 0.35);
}

.suzhou-card-1 {
    flex: 1.3;
    margin-left: 0;
    z-index: 3;
}

.suzhou-card-2 {
    flex: 1.1;
    margin-left: 25px;
    margin-right: -18px;
    z-index: 2;
}

.suzhou-card-3 {
    flex: 0.95;
    margin-left: 15px;
    z-index: 1;
}

.suzhou-image-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    color: #fff;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: translateY(8px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    letter-spacing: 0.5px;

}

.suzhou-image-card:hover .suzhou-image-label {
    transform: translateY(0);
    opacity: 1;
}

/* ============== 文旅推荐卡片模块 ============== */
.travel-section {
    margin-top: 3rem;
}

.travel-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.travel-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2B3B89;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #2B3B89 0%, #852D88 50%, #DD137E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    letter-spacing: 1px;
}

.travel-section-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #2B3B89, #852D88, #DD137E);
    margin: 0.8rem auto 0.5rem;
    border-radius: 2px;
    position: relative;
}

.travel-section-line::before,
.travel-section-line::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background: #DD137E;
    border-radius: 50%;
    transform: translateY(-50%);
}

.travel-section-line::before {
    left: -15px;
}

.travel-section-line::after {
    right: -15px;
}

.travel-section-subtitle {
    font-family: 'Titillium Web', sans-serif;
    font-size: 0.8rem;
    color: #999;
    letter-spacing: 4px;
    font-weight: 500;
}

.travel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    width: 100%;
}

.travel-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(43, 59, 137, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.travel-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
    width: 340px;
}

.travel-card-link:hover .travel-card {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(133, 45, 136, 0.25);
}

.travel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2B3B89, #852D88, #DD137E);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 5;
}

.travel-card-link:hover .travel-card::before {
    transform: scaleX(1);
}

.travel-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(133,45,136,0.12) 0%, rgba(45,153,211,0.12) 100%);
    color: #852D88;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(133, 45, 136, 0.2);
    position: absolute;
    left: 20px;
    top: 20px;
}

.travel-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
    flex-shrink: 0;
}

.travel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.travel-card-link:hover .travel-image {
    transform: scale(1.15);
}

.travel-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(43, 59, 137, 0.85) 0%, rgba(133, 45, 136, 0.85) 50%, rgba(221, 19, 126, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.travel-card-link:hover .travel-image-overlay {
    opacity: 1;
}

.travel-explore {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid #fff;
    border-radius: 25px;
    transform: translateY(20px);
    transition: transform 0.4s ease, background 0.4s ease;

}

.travel-card-link:hover .travel-explore {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.35);
}

.travel-content {
    padding: 1.25rem;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.travel-title {
    font-weight: 700;
    color: #2B3B89;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
    margin-top: 40px;
}

.travel-card-link:hover .travel-title {
    color: #DD137E;
}

.travel-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
    min-height: 2.72rem; /* 2 行 * 1.36rem (line-height * font-size) */
}

.travel-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.78rem;
    color: #999;
    padding-top: 0.75rem;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
    justify-content: space-between;
}

.travel-meta span:nth-child(2) {
    /* display: none; */
}

/* Chat Modal */
.chat-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.chat-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-modal-content {
    background: var(--dark-green);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    padding: 2rem;
    text-align: center;
}

.chat-modal-content h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.chat-modal-content p {
    color: #999;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.chat-qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-close-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.chat-close-btn:hover {
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-carousel {
        height: 60vh;
        min-height: 400px;
    }
    
    .carousel-title {
        font-size: 2.2rem;
    }
    
    .carousel-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .focus-match-container {
        flex-direction: column;
        text-align: center;
    }

    .highlights-main {
        grid-template-columns: 1fr;
    }

    .news-main-content {
        grid-template-columns: 1fr;
    }

    .news-featured {
        flex-direction: column;
    }

    .news-featured-image {
        width: 100%;
        height: 200px;
    }

    .highlight-thumbnails,
    .news-thumbnails,
    .services-grid,
    .travel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .suzhou-intro {
        padding: 2.5rem 1.5rem;
    }

    .suzhou-intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .suzhou-intro-title {
        font-size: 2rem;
    }

    .suzhou-intro-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .suzhou-intro-image {
        height: 380px;
    }

    .travel-section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 55vh;
        min-height: 350px;
    }
    
    .carousel-content {
        flex-direction: column;
    }
    
    .carousel-text {
        padding: 2rem 5%;
        background: rgba(0,0,0,0.6);
    }
    
    .carousel-text-inner {
        max-width: 100%;
        text-align: center;
    }
    
    .carousel-title {
        font-size: 1.6rem;
    }
    
    .carousel-subtitle {
        font-size: 1rem;
    }
    
    .carousel-desc {
        font-size: 0.9rem;
    }
    
    .carousel-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        flex: none;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
    
    .carousel-prev {
        left: 1rem;
    }
    
    .carousel-next {
        right: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .suzhou-intro {
        padding: 1.5rem 1rem;
    }

    .suzhou-intro-title {
        font-size: 1.6rem;
    }

    .suzhou-intro-desc {
        font-size: 0.85rem;
    }

    .suzhou-intro-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .suzhou-stat {
        padding: 0.75rem 0.25rem;
    }

    .suzhou-stat-num {
        font-size: 1.4rem;
    }

    .suzhou-intro-image {
        height: 320px;
    }

    .travel-grid {
        grid-template-columns: 1fr;
    }

    .travel-image-wrapper {
        height: 180px;
    }

    .hero-countdown {
        gap: 1rem;
    }

    .countdown-item {
        min-width: 70px;
        padding: 1rem 1.25rem;
    }

    .countdown-value {
        font-size: 1.8rem;
    }

    .matches-container {
        grid-template-columns: 1fr;
    }

    .focus-score-value {
        font-size: 2.5rem;
    }

    .highlight-thumbnails,
    .news-thumbnails,
    .services-grid,
    .travel-grid {
        grid-template-columns: 1fr;
    }

    .notices-carousel {
        flex-direction: column;
    }

    .notices-track {
        width: 100%;
    }

    /* ===== 首页移动端补充适配 ===== */

    /* 今日比分区域 */
    .scores-main {
        flex-direction: column !important;
        width: 100% !important;
        gap: 1.5rem !important;
    }

    .scores-image-section {
        display: none !important;
    }

    .scores-list {
        flex: none !important;
        width: 100% !important;
    }

    .score-card {
        grid-template-columns: auto 1fr auto auto auto 1fr auto !important;
        padding: 0.6rem 0.8rem !important;
        gap: 0.3rem !important;
        font-size: 0.85rem !important;
    }

    .team-flag {
        width: 30px !important;
        height: 30px !important;
    }

    .team-name {
        font-size: 0.8rem !important;
    }

    .score-text {
        font-size: 1.3rem !important;
    }

    .score-badge {
        font-size: 0.6rem !important;
        padding: 0.15rem 0.4rem !important;
        width: auto !important;
    }

    /* 实时赛程区域 */
    .schedule-scroll-container {
        margin-top: 1rem !important;
    }

    .schedule-card {
        width: 240px !important;
        padding: 1rem !important;
    }

    .schedule-card-day {
        font-size: 1.4rem !important;
    }

    /* 焦点比赛 */
    .focus-match-section {
        margin-top: 1.5rem !important;
    }

    .focus-match-content {
        padding: 1.5rem 1rem !important;
        border-radius: 16px !important;
    }

    .focus-teams-row {
        gap: 1rem !important;
    }

    .focus-team-flag {
        width: 60px !important;
        height: 42px !important;
    }

    .focus-team-name {
        font-size: 0.9rem !important;
    }

    .focus-score {
        font-size: 2.5rem !important;
    }

    .focus-period {
        font-size: 0.75rem !important;
    }

    .focus-info-bar span {
        font-size: 0.8rem !important;
    }

    .focus-actions {
        flex-direction: column !important;
        gap: 0.75rem !important;
        margin-top: 1rem !important;
    }

    .btn-group {
        width: 100% !important;
    }

    .btn-group .focus-btn {
        flex: 1 !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 0.6rem 0.5rem !important;
        font-size: 0.8rem !important;
    }

    .focus-btn-secondary {
        width: 100% !important;
        text-align: center !important;
    }

    /* 通知区域 */
    .notice-card-link {
        width: 260px !important;
    }

    .notice-card {
        width: 260px !important;
        padding: 1rem !important;
    }

    .notices-prev,
    .notices-next {
        width: 32px !important;
        height: 32px !important;
        font-size: 1.2rem !important;
    }

    /* 精彩集锦 */
    .highlights-main {
        grid-template-columns: 1fr !important;
    }

    .highlight-featured {
        aspect-ratio: 16/10 !important;
    }

    .featured-title {
        font-size: 1.1rem !important;
    }

    .play-button-large {
        width: 50px !important;
        height: 50px !important;
    }

    .play-button-large::after {
        border-left-width: 14px !important;
        border-top-width: 8px !important;
        border-bottom-width: 8px !important;
    }

    .content-card {
        padding: 1.2rem !important;
    }

    .content-card h3 {
        font-size: 1rem !important;
    }

    .highlight-stats .stat-value {
        font-size: 1.5rem !important;
    }

    /* Section header */
    .section-header {
        margin-bottom: 1.2rem !important;
    }

    .section-title {
        font-size: 1.3rem !important;
    }

    .view-all {
        font-size: 0.85rem !important;
    }

    /* 苏州介绍区域 */
    .suzhou-intro-title-main {
        font-size: 1.3rem !important;
    }

    .suzhou-intro-desc {
        font-size: 0.8rem !important;
        line-height: 1.6 !important;
    }

    .suzhou-image-card {
        position: static !important;
        width: 100% !important;
        margin-bottom: 0.75rem;
    }

    .suzhou-image-card img {
        height: 150px !important;
        object-fit: cover !important;
        border-radius: 12px !important;
    }

    .suzhou-intro-image {
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .suzhou-intro-btn {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.85rem !important;
    }

    /* 文旅推荐 */
    .travel-section-title {
        font-size: 1.2rem !important;
    }

    .travel-content {
        padding: 0.8rem !important;
    }

    .travel-title {
        font-size: 1rem !important;
    }

    .travel-desc {
        font-size: 0.8rem !important;
    }

    /* 轮播图文字区域 */
    .carousel-text {
        clip-path: none !important;
        margin-left: 0 !important;
        padding: 1.5rem 5% !important;
    }

    .carousel-text-inner {
        padding-left: 0 !important;
    }

    .carousel-badge {
        font-size: 0.75rem !important;
        padding: 0.3rem 0.8rem !important;
        margin-bottom: 0.8rem !important;
        align-self: center !important;
    }

    .carousel-title {
        font-size: 1.4rem !important;
    }

    .carousel-subtitle {
        font-size: 0.9rem !important;
    }

    .carousel-desc {
        font-size: 0.8rem !important;
        margin-bottom: 1rem !important;
        display: none !important;
    }

    .carousel-btn {
        padding: 0.6rem 1.5rem !important;
        font-size: 0.85rem !important;
        align-self: center !important;
    }

    .carousel-indicators {
        bottom: 1rem !important;
    }

    .indicator {
        width: 8px !important;
        height: 8px !important;
    }

    .indicator.active {
        width: 20px !important;
    }

    /* 空状态 */
    .section-empty-icon {
        font-size: 2.5rem !important;
    }

    .section-empty-title {
        font-size: 1.1rem !important;
    }

    .section-empty-desc {
        font-size: 0.8rem !important;
    }
}
/* Hero Carousel */
        /* .hero-carousel {
            position: relative;
            height: 550px;
            overflow: hidden;
        }

        .carousel-item {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%);
            opacity: 0;
        }

        .carousel-item.active {
            opacity: 1;
        }

        .carousel-item.active .carousel-text {
            animation: slideInLeft 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }

        .carousel-item.active .carousel-image {
            animation: slideInRight 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }

        /* 优化：移除 filter: blur()，改用 opacity 实现淡入效果 */
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .carousel-content {
            display: flex;
            width: 100%;
            height: 100%;
            position: relative;
        }

        .carousel-text {
            flex: 1;
            padding: 4rem 8% 4rem 8%;
            color: white;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            z-index: 2;
            clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
            margin-left: -5%;
            
        }

        .carousel-text-inner {
            display: flex;
            flex-direction: column;
            justify-content: center;
            height: 100%;
            padding-left: 3.5rem;
        }

        .carousel-badge {
            display: inline-block;
            background: linear-gradient(135deg, var(--primary-pink) 0%, #ff6b9d 100%);
            padding: 0.4rem 1.2rem;
            border-radius: 25px;
            font-size: 0.85rem;
            margin-bottom: 1.5rem;
            align-self: flex-start;
            font-weight: 500;
            box-shadow: 0 4px 15px rgba(221,0,124,0.4);
        }

        .carousel-title {
            font-size: 2.6rem;
            font-weight: bold;
            margin-bottom: 1rem;
            line-height: 1.2;
            text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
        }

        .carousel-subtitle {
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
            background: linear-gradient(90deg, #fff 0%, #ccc 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .carousel-desc {
            font-size: 1rem;
            opacity: 0.9;
            margin-bottom: 2rem;
            max-width: 600px;
            line-height: 1.8;
        }

        .carousel-btn {
            display: inline-block;
            background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
            color: white;
            padding: 0.9rem 2.2rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            align-self: flex-start;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 4px 20px rgba(155,47,174,0.4);
        
        }

        .carousel-btn:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 30px rgba(155,47,174,0.6);
        }

        .carousel-image {
             flex: 1.2;
            position: relative;
            overflow: hidden;
            clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
            margin-left: -8%;
        }

        .carousel-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .carousel-indicators {
            position: absolute;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 0.75rem;
        }

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255,255,255,0.3);
            cursor: pointer;
            transition: width 0.3s ease, border-radius 0.3s ease, background 0.3s ease;
        }

        .indicator.active {
            background: white;
            width: 30px;
            border-radius: 6px;
        }

        .carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background: rgba(155,47,174,0.8);
            border: none;
            border-radius: 50%;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
            transition: transform 0.3s ease, background 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
        
        }

        .carousel-nav:hover {
            background: rgba(221,0,124,0.8);
            transform: translateY(-50%) scale(1.1);
        }

        .carousel-prev {
            left: 1.5rem;
        }

        .carousel-next {
            right: 1.5rem;
        }