/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Titillium Web', 'HarmonyOS Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

:root {
    /* 主色调 */
    --primary: #852D88;
    /* 辅助色 */
    --secondary-blue: #2B3B89;
    --secondary-cyan: #2D99D3;
    --secondary-pink: #DD137E;
    --secondary-purple: #8D4493;
    /* 渐变色 */
    --gradient-primary: linear-gradient(135deg, #852D88 0%, #DD137E 100%);
    --gradient-secondary: linear-gradient(135deg, #2B3B89 0%, #2D99D3 100%);
    --gradient-accent: linear-gradient(135deg, #8D4493 0%, #DD137E 100%);
    /* 浅色背景 */
    --light-bg: #f8f4fc;
    --light-card: #ffffff;
    /* 深色背景 */
    --dark-bg: #1a1a2e;
    --dark-card: #16213e;
    --dark-green: #1a2e1f;
    /* 兼容旧变量 */
    --primary-purple: #852D88;
    --light-purple: #f8f4fc;
    --primary-pink: #DD137E;
}

body {
    line-height: 1.6;
    color: #333;
    /* background: #f5f5f5; */

}

a {
    color: inherit;
    text-decoration: none;
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ===== Header / Navigation ===== */
header {
    background: var(--gradient-primary);
    padding: 0.5rem 3%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(133, 45, 136, 0.3);
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img:first-child {
    /* width: 40px; */
    height: 30px;
    margin-right: 0.1rem;
}

.logo img {
    height: 48px;
}

.logo-text {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}
.right-flex {
    display: flex;
    align-items: center;
    gap: 5rem !important;
}
nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.96rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    transition: all 0.3s;
}

nav a:hover, nav a.active {
    background: rgba(255,255,255,0.2);
}

.lang-switch {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.2rem 0.8rem;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 15px;
    background: transparent;
    color: white;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.lang-btn.active, .lang-btn:hover {
    background: white;
    color: var(--primary-purple);
}

/* ===== Hamburger Menu ===== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

/* ===== Main Content Wrapper ===== */
.main-content {
    padding: 2rem 5%;
    max-width: 1600px;
    margin: 0 auto;
}
.main-container {
    max-width: 1600px;
    margin: 0 auto;
}

/* ===== Footer Styles ===== */
footer {
    background: var(--dark-green);
    color: white;
}

.footer-top {
    padding: 3rem 5% 1rem;
}

.footer-main {
    display: flex;
    justify-content: center;
    align-items: center;
    /* justify-content: space-between;
    align-items: flex-start;
    gap: 3rem; */
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo .sm-lo {
    width: auto;
    height: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    margin-top: 0.5rem;
}
.footer-logo img.la-lo {
    width: 90px;
    height: auto;
}

.footer-logo .sm-lo:hover {
    transform: scale(1.05);
}

.footer-tagline {
    margin-top: 0.75rem;
    font-size: 1rem;
    color: #999;
    text-align: left;
}

.footer-links-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 800px;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-block;
}

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

.footer-contact-info p {
    margin-bottom: 0.5rem;
    color: #999;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    margin: 1.5rem 0;
}

.footer-bottom-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.social-links-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-label {
    font-size: 0.9rem;
    color: #999;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 0.6rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(133, 45, 136, 0.4);
    border-color: transparent;
}

.footer-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.footer-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    color: white;
}

.phone-btn {
    background: linear-gradient(135deg, #10b981, #059669);
}

.chat-btn {
    background: var(--gradient-primary);
}

.website-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.footer-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.btn-icon {
    font-size: 1rem;
}

.footer-copyright {
    padding: 1rem 5% 0.5rem;
    /* background: rgba(0,0,0,0.2); */
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
}

.footer-complaint {
    padding: 0 5% 1rem;
    /* background: rgba(0,0,0,0.2); */
    text-align: center;
}

.footer-complaint p {
    margin: 0;
    color: rgba(255,255,255,0.15);
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    line-height: 1.6;
}

.footer-complaint a {
    color: rgba(255,255,255,0.18);
    text-decoration: none;
}

.footer-complaint a:hover {
    color: rgba(255,255,255,0.3);
}

.footer-logo-link {
    text-decoration: 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: 450px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.chat-modal-header {
    padding: 1rem 1.5rem;
    background: var(--gradient-primary);
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-modal-header h3 {
    margin: 0;
    color: white;
    font-size: 1.1rem;
}

.chat-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    border-radius: 50%;
    transition: background 0.3s;
}

.chat-modal-close:hover {
    background: rgba(255,255,255,0.2);
}

.chat-modal-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    max-width: 90%;
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
    background: var(--gradient-primary);
}

.bot-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.user .bot-avatar {
    background: var(--gradient-primary);
}

.message-content {
    display: flex;
    flex-direction: column;
}

.message-text {
    color: white;
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0.5rem 0.75rem;
    background: rgba(255,255,255,0.1);
    border-radius: 0 12px 12px 12px;
}

.chat-message.user .message-text {
    background: var(--gradient-primary);
    border-radius: 12px 0 12px 12px;
}

.message-time {
    font-size: 0.7rem;
    color: #666;
    margin-top: 0.25rem;
    padding-left: 0.75rem;
}

.chat-input-area {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.chat-input-area input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 25px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 0.9rem;
    outline: none;
}

.chat-input-area input::placeholder {
    color: #666;
}

.chat-send-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.chat-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(133, 45, 136, 0.4);
}

/* Phone Modal */
.phone-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;
}

.phone-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-modal-content {
    background: var(--dark-green);
    border-radius: 12px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.phone-modal-header {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.phone-modal-header h3 {
    margin: 0;
    color: white;
    font-size: 1.1rem;
}

.phone-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    border-radius: 50%;
    transition: background 0.3s;
}

.phone-modal-close:hover {
    background: rgba(255,255,255,0.2);
}

.phone-modal-body {
    padding: 1.5rem;
}

.current-date {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    margin-bottom: 1.25rem;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.phone-number-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.phone-icon {
    font-size: 3rem;
}

.phone-number {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    letter-spacing: 2px;
}

.phone-modal-tip {
    text-align: center;
    color: #b3b3b3;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Volunteer Info Styles */
.volunteer-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.volunteer-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    margin-bottom: 1.25rem;
}

.day-label {
    color: #b3b3b3;
    font-size: 0.9rem;
}

.day-value {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.volunteer-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.volunteer-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    transition: background 0.3s;
}

.volunteer-item:hover {
    background: rgba(255,255,255,0.1);
}

.volunteer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.volunteer-details {
    flex: 1;
}

.volunteer-name {
    color: white;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.volunteer-phone {
    color: #e5e5e5;
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.volunteer-time {
    color: #b3b3b3;
    font-size: 0.85rem;
}

.call-btn {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

.call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16,185,129,0.4);
}

/* Mobile Responsive Styles for ISF World Cup Website */
/* Media Queries for Mobile Devices */

@media screen and (max-width: 768px) {
    /* Header & Navigation - 汉堡菜单模式 */
    header {
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .header-container {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 0 !important;
        padding: 0.5rem 0% !important;
        position: relative;
    }

    .logo {
        flex: 1;
        min-width: 0;
        margin-bottom: 0;
    }

    .logo img {
        height: 28px !important;
        width: auto !important;
        margin: 0 0 !important;
    }

    .logo-text {
        font-size: 0.85rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 200px;
    }
    .hamburger {
        display: flex;
    }

    .right-flex {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(180deg, #852D88 0%, #6a1f6d 100%);
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        padding: 4rem 1.5rem 2rem !important;
        transition: right 0.3s ease;
        z-index: 105;
        box-shadow: -4px 0 20px rgba(0,0,0,0.3);
    }

    .right-flex.open {
        right: 0;
    }

    nav ul {
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
    }

    nav li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    nav a {
        display: block;
        font-size: 1rem !important;
        padding: 0.9rem 0.5rem !important;
        border-radius: 0 !important;
    }

    nav a:hover, nav a.active {
        background: rgba(255,255,255,0.15);
        border-radius: 8px;
    }

    .lang-switch {
        margin-top: 1.5rem;
        justify-content: center;
    }

    .lang-btn {
        padding: 0.4rem 1rem !important;
        font-size: 0.85rem !important;
    }

    /* 遮罩层 */
    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 99;
    }

    .mobile-overlay.show {
        display: block;
    }

    /* Main Content */
    .main-content {
        padding: 1.5rem 4% !important;
    }

    /* Schedule Page - Focus Match Section */
    .focus-match-section {
        padding: 1.25rem !important;
        margin-bottom: 2rem !important;
    }

    .focus-match-header {
        flex-direction: column !important;
        gap: 0.5rem !important;
        align-items: flex-start !important;
    }

    .focus-match-title {
        font-size: 1.2rem !important;
    }

    .focus-match-content {
        flex-direction: column !important;
        gap: 1.5rem !important;
        padding: 2rem 0 !important;
    }

    .focus-team {
        flex-direction: row !important;
        gap: 1rem !important;
    }

    .focus-team-flag {
        width: 50px !important;
        height: 50px !important;
    }

    .focus-team-name {
        font-size: 1rem !important;
    }

    .focus-score {
        font-size: 2.5rem !important;
    }

    .focus-status {
        font-size: 0.8rem !important;
    }

    .focus-actions {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .action-btn {
        width: 100% !important;
        text-align: center !important;
    }

    .focus-meta {
        font-size: 0.8rem !important;
    }

    /* Date Tabs */
    .date-tabs {
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        justify-content: center !important;
    }

    .date-tab {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
    }

    /* Schedule Cards */
    .schedule-list {
        grid-template-columns: 1fr !important;
    }

    .schedule-header {
        flex-direction: column !important;
        gap: 0.5rem !important;
        align-items: flex-start !important;
    }

    .schedule-teams {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .schedule-team {
        width: 100% !important;
        justify-content: center !important;
    }

    .schedule-score {
        font-size: 1.5rem !important;
    }

    .schedule-vs {
        font-size: 1rem !important;
        padding: 0.5rem 0 !important;
    }

    .schedule-info {
        flex-direction: column !important;
        gap: 0.5rem !important;
        align-items: flex-start !important;
    }

    /* Bracket Section */
    .bracket-container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
    }

    .bracket-round {
        width: 100% !important;
    }

    .bracket-match {
        min-width: auto !important;
        padding: 0.75rem !important;
    }

    .bracket-line {
        display: none !important;
    }

    /* Groups Container (Standings) */
    .groups-container {
        grid-template-columns: 1fr !important;
    }

    .group-card {
        padding: 1rem !important;
    }

    .standing-item {
        flex-wrap: wrap !important;
    }

    .standing-team-info {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .standing-points {
        font-size: 1rem !important;
    }

    .page-header {
        margin-bottom: 1.5rem !important;
    }

    .page-title {
        font-size: 1.8rem !important;
    }

    .page-subtitle {
        font-size: 0.9rem !important;
    }

    /* Carousel */
    .carousel {
        height: 280px !important;
    }

    .carousel-item {
        flex-direction: column !important;
        padding: 1rem !important;
        text-align: center;
    }

    .carousel-text {
        padding: 1rem 0.5rem !important;
    }

    .carousel-text h2 {
        font-size: 1.4rem !important;
    }

    .carousel-text p {
        font-size: 0.85rem !important;
        -webkit-line-clamp: 2 !important;
    }

    .carousel-image {
        width: 100% !important;
        height: 140px !important;
        margin: 0 !important;
        clip-path: none !important;
    }

    .carousel-image img {
        object-fit: cover !important;
    }

    .carousel-btn {
        padding: 0.5rem 1.5rem !important;
        font-size: 0.85rem !important;
    }

    .carousel-dots {
        bottom: 8px !important;
    }

    /* Section Titles */
    .section-title {
        font-size: 1.3rem !important;
        margin-bottom: 1rem !important;
    }

    .section-title::before {
        width: 4px !important;
        height: 20px !important;
    }

    /* Score Cards Section */
    .score-section {
        padding: 1.5rem 0 !important;
    }

    .score-header {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: flex-start !important;
    }

    .score-main {
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        margin-bottom: 1.5rem;
    }

    .score-main-image {
        width: 100% !important;
        height: auto !important;
        max-height: 200px !important;
        margin-bottom: 1rem;
    }

    .score-cards {
        width: 100% !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .score-card {
        padding: 0.8rem !important;
        grid-template-columns: auto 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 0.5rem !important;
    }

    .score-card .score-badge {
        grid-column: 1 / -1 !important;
        justify-self: flex-start !important;
        width: auto !important;
    }

    .team-item {
        flex-direction: row !important;
        gap: 0.5rem !important;
    }

    .team-flag {
        width: 32px !important;
        height: 32px !important;
    }

    .team-name {
        font-size: 0.85rem !important;
    }

    .score-text {
        font-size: 1.4rem !important;
        font-weight: bold;
    }

    .vs-text {
        font-size: 0.9rem !important;
        padding: 0 0.5rem !important;
    }

    .match-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        grid-column: 1 / -1 !important;
        width: 100% !important;
    }

    .score-container {
        display: flex !important;
        align-items: center !important;
        gap: 0.3rem !important;
    }

    .match-info {
        grid-column: 1 / -1 !important;
        font-size: 0.75rem !important;
        color: #666 !important;
        padding-top: 0.5rem !important;
        border-top: 1px solid #eee !important;
        display: flex !important;
        justify-content: space-between !important;
    }

    /* Schedule Section */
    .schedule-section {
        padding: 1.5rem 0 !important;
    }

    .schedule-tabs {
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        justify-content: center !important;
    }

    .schedule-tab {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.85rem !important;
    }

    .schedule-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .schedule-card {
        padding: 1rem !important;
    }

    /* Notice Section */
    .notice-section {
        padding: 1.5rem 0 !important;
    }

    .notice-container {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .notice-list {
        width: 100% !important;
    }

    .notice-item {
        padding: 0.75rem !important;
    }

    .notice-title {
        font-size: 0.9rem !important;
    }

    .notice-date {
        font-size: 0.75rem !important;
    }

    /* News Section */
    .news-section {
        padding: 1.5rem 0 !important;
    }

    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .featured-card {
        flex-direction: column !important;
    }

    .featured-image {
        width: 100% !important;
        height: 180px !important;
    }

    .featured-info {
        padding: 1rem !important;
    }

    .news-card {
        flex-direction: column !important;
    }

    .news-image {
        width: 100% !important;
        height: 160px !important;
    }

    /* Video Section */
    .video-section {
        padding: 1.5rem 0 !important;
    }

    .video-main {
        flex-direction: column !important;
        margin-bottom: 1rem !important;
    }

    .video-main-content {
        width: 100% !important;
        padding: 1rem !important;
    }

    .video-main-video {
        width: 100% !important;
        height: 200px !important;
    }

    .video-list {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .video-thumb {
        height: 140px !important;
    }

    /* Resource Section */
    .resource-section {
        padding: 1.5rem 0 !important;
    }

    .resource-intro {
        padding: 1rem !important;
        font-size: 0.9rem !important;
    }

    .resource-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .resource-card {
        padding: 1rem !important;
    }

    /* Culture Section */
    .culture-section {
        padding: 1.5rem 0 !important;
    }

    .culture-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .culture-card {
        padding: 1rem !important;
    }

    .culture-card h3 {
        font-size: 1rem !important;
    }

    /* Footer */
    footer {
        padding: 1.5rem 4% !important;
    }

    .footer-top {
        padding: 2rem 4% !important;
    }

    .footer-main {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .footer-brand {
        align-items: center !important;
        text-align: center;
    }

    .footer-links-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h4::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .footer-bottom-row {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .social-links-container {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .footer-actions {
        justify-content: center !important;
    }

    .footer-action-btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.8rem !important;
    }

    .footer-logo img {
        width: 60px !important;
    }

    .footer-tagline {
        text-align: center !important;
    }

    /* Index Page - Score Section */
    .score-section {
        padding: 1.5rem 0 !important;
    }

    .score-header {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: flex-start !important;
    }

    .score-main {
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        margin-bottom: 1.5rem !important;
    }

    .score-main-image {
        width: 100% !important;
        height: auto !important;
        max-height: 200px !important;
        margin-bottom: 1rem !important;
    }

    .score-cards {
        width: 100% !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .score-card {
        padding: 1rem !important;
    }

    /* Index Page - News Section */
    .news-section {
        padding: 1.5rem 2% !important;
    }

    .news-main-content {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .news-featured {
        flex-direction: column !important;
    }

    .news-featured-image {
        width: 100% !important;
        height: 200px !important;
    }

    .news-featured-content {
        padding: 1rem !important;
    }

    .news-featured-title {
        font-size: 1.1rem !important;
    }

    .news-thumbnails {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .news-thumbnail-image {
        height: 100px !important;
    }

    .news-thumbnail-title {
        font-size: 0.8rem !important;
        padding: 0.5rem !important;
    }

    .news-right {
        display: none !important;
    }

    /* Index Page - Highlights Section */
    .highlights-main {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .highlight-featured {
        height: 200px !important;
    }

    .highlight-content {
        width: 100% !important;
    }

    .video-list {
        grid-template-columns: 1fr !important;
    }

    /* Index Page - Travel Cards */
    .travel-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .travel-image-wrapper {
        height: 160px !important;
    }

    .travel-title {
        font-size: 1rem !important;
    }

    .travel-desc {
        font-size: 0.85rem !important;
        -webkit-line-clamp: 2 !important;
    }

    /* .travel-meta {
        flex-direction: column !important;
        gap: 0.25rem !important;
        font-size: 0.8rem !important;
    } */

    /* Index Page - Services */
    .services-grid {
        grid-template-columns: 1fr !important;
    }

    .service-card {
        padding: 1rem !important;
    }

    .service-icon {
        font-size: 2rem !important;
    }

    .service-title {
        font-size: 1rem !important;
    }

    .service-desc {
        font-size: 0.85rem !important;
    }

    /* Buttons */
    .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
    }

    /* Modal */
    .modal-content {
        width: 95% !important;
        padding: 1rem !important;
    }

    .modal-video {
        height: 250px !important;
    }
    .suzhou-intro-content {
        padding: 1rem !important;
    }
}

@media screen and (max-width: 480px) {
    /* Extra Small Devices */
    .page-title {
        font-size: 1.5rem !important;
    }

    /* 隐藏左边人物图片 */
    .scores-image-section {
        display: none !important;
    }

    /* 比分列表占满宽度 */
    .scores-main {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .scores-list {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* 确保页面没有横向滚动条 */
    body, html {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    .today-scores {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        overflow-x: hidden !important;
    }

    .carousel {
        height: 250px !important;
    }

    .carousel-text h2 {
        font-size: 1.2rem !important;
    }

    nav ul {
        gap: 0.25rem !important;
    }

    nav a {
        font-size: 0.75rem !important;
        padding: 0.2rem 0.4rem !important;
    }

    .score-card {
        padding: 0.6rem !important;
        gap: 0.4rem !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .match-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 0.5rem !important;
    }

    .team-item {
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.3rem !important;
        min-width: 0 !important;
    }

    .team-name {
        font-size: 0.8rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .team-flag {
        width: 28px !important;
        height: 28px !important;
        flex-shrink: 0 !important;
    }

    .score-container {
        display: flex !important;
        align-items: center !important;
        gap: 0.2rem !important;
        flex-shrink: 0 !important;
    }

    .score-text {
        font-size: 1.2rem !important;
        font-weight: bold !important;
    }

    .vs-text {
        font-size: 0.75rem !important;
        padding: 0.1rem 0.3rem !important;
        flex-shrink: 0 !important;
    }

    .score-badge {
        font-size: 0.65rem !important;
        padding: 0.15rem 0.4rem !important;
        align-self: flex-start !important;
    }

    .notice-title {
        font-size: 0.85rem !important;
        -webkit-line-clamp: 1 !important;
    }

    .resource-card, .culture-card {
        padding: 0.75rem !important;
    }

    /* News thumbnails on small screens */
    .news-thumbnails {
        grid-template-columns: 1fr !important;
    }

    .news-featured-title {
        font-size: 1rem !important;
    }

    .travel-title {
        font-size: 0.95rem !important;
    }

    .travel-desc {
        font-size: 0.8rem !important;
    }

    .section-title {
        font-size: 1.2rem !important;
    }
    .btn, nav a, .travel-btn {
        min-height: 44px !important;
        display: flex;
        align-items: center;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    /* Tablet Devices */
    .header-container {
        padding: 0.5rem 3% !important;
    }

    nav ul {
        gap: 1rem !important;
    }

    .main-content {
        padding: 2rem 3% !important;
    }

    .carousel {
        height: 320px !important;
    }

    .carousel-text h2 {
        font-size: 1.8rem !important;
    }

    .score-cards {
        flex-wrap: wrap !important;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .schedule-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

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

    .resource-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .culture-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .news-main-content {
        grid-template-columns: 1fr !important;
    }

    .news-right {
        display: block !important;
    }

    .travel-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile Touch Improvements */
@media (hover: none) and (pointer: coarse) {
    nav a:hover,
    .btn:hover,
    .news-card:hover,
    .video-card:hover,
    .resource-card:hover,
    .culture-card:hover,
    .travel-card:hover {
        transform: none !important;
    }

    .carousel-btn:active,
    .tab-btn:active,
    .travel-card:active {
        opacity: 0.8 !important;
    }

    /* Larger touch targets */
    .btn, nav a, .travel-btn {
        min-height: 44px !important;
        display: flex;
        align-items: center;
    }
}

/* Landscape Mobile */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .carousel {
        height: 200px !important;
    }

    .carousel-image {
        height: 180px !important;
    }

    .modal-video {
        height: 180px !important;
    }

    .header-container {
        padding: 0.25rem 4% !important;
    }

    nav ul {
        gap: 0.5rem !important;
    }

    nav a {
        padding: 0.2rem 0.4rem !important;
        font-size: 0.75rem !important;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .carousel,
    .modal {
        display: none !important;
    }

    .main-content {
        padding: 0 !important;
    }

    body {
        font-size: 12pt;
    }

    a {
        text-decoration: underline;
    }
}
video {
    width: 100%;
}
.end-line {
    color: #999;
    font-size: 15px;
    text-align: center;
    margin: 20px auto;
}
/* ===== 统一空状态样式 ===== */
.common-box-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 40px auto;
    width: 100%;
    border: 1px dashed #ddd;
    grid-column: 1 / -1;
    justify-self: center;
}

.common-box-empty .empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.common-box-empty .empty-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.common-box-empty .empty-desc {
    font-size: 14px;
    color: #999;
    line-height: 1.5;
}

/* 暗色背景适配 */
.dark-bg .common-box-empty,
.section-dark .common-box-empty {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-bg .common-box-empty .empty-title,
.section-dark .common-box-empty .empty-title {
    color: #fff;
}

.dark-bg .common-box-empty .empty-desc,
.section-dark .common-box-empty .empty-desc {
    color: rgba(255, 255, 255, 0.6);
}