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

:root {
    --primary-color: #0066cc;
    --secondary-color: #00a8e8;
    --accent-color: #ff6b35;
    --text-dark: #1a1a2e;
    --text-light: #4a4a68;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --gold: #ffd700;
    --silver: #c0c0c0;
    --bronze: #cd7f32;
    --width:1400px;
}

body {
    
    /* background: linear-gradient(135deg, #e8f4fc 0%, #f0f8ff 50%, #e6f3ff 100%); */

    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    min-height: 100vh;
        background: url(../images/banner.webp) no-repeat 50% -140px;
        /* 背景图banner.webp等比缩小 50% */
        background-size: 120%;





}

#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: #fff;
    font-size: 1em;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation: fall linear infinite;
    opacity: 0.8;
}

@keyframes fall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    30% {
        opacity: 0.8;
    }
    50% {
        opacity: 0;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.header {
    /* background: linear-gradient(135deg, rgba(0, 102, 204, 0.95) 0%, rgba(0, 168, 232, 0.95) 100%); */

   
    /* backdrop-filter: blur(10px); */
    position: sticky;
    top: 0;
    z-index: 100;
    /* box-shadow: 0 4px 20px rgba(0, 102, 204, 0.3); */
    /* animation: slideDown 0.6s ease-out; */
    /* height:10px; */
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-content {
    width: var(--width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo h1 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
}

.logo p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 10px;
    backdrop-filter: blur(5px);
    border-radius: 20px;
    /*background: rgba(0, 52, 255, 0.2);*/
    background: rgba(0, 168, 232, 0.2);
}

.nav a {
    color: white;
    /* color: var(--primary-color); */
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.nav a:hover::before {
    width: 300px;
    height: 300px;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav a.active {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
}

.main {
    width: var(--width);
    margin: 0 auto;
    padding: 2rem;
    animation: fadeInUp 0.8s ease-out;
    padding-top: 360px;
}

.hero {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.6) 0%, rgba(0, 168, 232, 0.6) 100%);
    
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    color: white;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 102, 204, 0.3);
    /* animation: fadeInUp 0.8s ease-out; */
    /* 宽度 80%居中显示 */
    margin: 3rem auto;
    width: 80%;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.hero-countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    min-width: 100px;
    animation: pulse 2s ease-in-out infinite;
}

.countdown-item:nth-child(2) {
    animation-delay: 0.2s;
}

.countdown-item:nth-child(3) {
    animation-delay: 0.4s;
}

.countdown-item:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.countdown-label {
    display: block;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.news-carousel {
    margin-bottom: 3rem;
    /* animation: fadeInUp 0.8s ease-out; */
    animation-delay: 0.1s;
}

.carousel-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: 680px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.carousel-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f4fc 0%, #d0e8f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: var(--secondary-color);
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 3rem 2rem 2rem;
}

.carousel-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.carousel-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.5);
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: var(--primary-color);
}

.indicator.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    transform: scale(1.2);
}

.section-news,
.section-photos,
.section-videos,
.section-medals {
    margin-bottom: 3rem;
    /* animation: fadeInUp 0.8s ease-out; */
}

.section-news {
    animation-delay: 0.2s;
}

.section-photos {
    animation-delay: 0.4s;
}

.section-videos {
    animation-delay: 0.6s;
}

.section-medals {
    animation-delay: 0.8s;
}

.section-header {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}

.section-header h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 20px;
}

.more-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-link {
    text-decoration: none;
    display: block;
}

.news-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f4fc 0%, #d0e8f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--secondary-color);
}

.news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 1.5rem;
}

.news-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.news-content h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-date {
    color: var(--text-light);
    font-size: 0.85rem;
    opacity: 0.7;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.photo-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.photo-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.photo-placeholder {
    height: 250px;
    background: linear-gradient(135deg, #e8f4fc 0%, #d0e8f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--secondary-color);
}

.photo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.photo-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    /* animation: fadeIn 0.3s ease; */
}

.modal-content {
    margin: 5% auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    /* animation: zoomIn 0.3s ease; */
}

@keyframes zoomIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 30px;
    font-size: 1.2rem;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


.photo-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1rem 1rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-card:hover .photo-info {
    transform: translateY(0);
}

.photo-info span {
    font-size: 1.1rem;
    font-weight: 500;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.video-link {
    text-decoration: none;
    display: block;
}

.video-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 310px;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    z-index: 10;
}

.video-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1.2);
    background: white;
}

.video-card h4 {
    padding: 1rem 1rem 0.5rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-card p {
    padding: 0 1rem 1rem;
    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.medals-table {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.medals-table table {
    width: 100%;
    border-collapse: collapse;
}

.medals-table th {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.2rem;
    text-align: center;
    font-weight: 600;
}

.medals-table td {
    padding: 1rem 1.2rem;
    text-align: center;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
}

.medals-table tr:hover td {
    background: #f8f9fa;
}

.rank-1 {
    background: linear-gradient(135deg, #ffd700, #ffed4a) !important;
    color: white;
    font-weight: 700;
}

.rank-2 {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8) !important;
    color: white;
    font-weight: 700;
}

.rank-3 {
    background: linear-gradient(135deg, #cd7f32, #e8a862) !important;
    color: white;
    font-weight: 700;
}

.gold {
    color: var(--gold);
    font-weight: 700;
}

.silver {
    color: var(--silver);
    font-weight: 700;
}

.bronze {
    color: var(--bronze);
    font-weight: 700;
}

.total {
    font-weight: 700;
    color: var(--primary-color);
}

.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    color: white;
    padding: 2rem 0rem 2rem;
    /* margin-top: 4rem; */
}

.footer-content {
    width: var(--width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    width: var(--width);
    margin: 0 auto;
    
    /*padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);*/
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.page-header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.9) 0%, rgba(0, 168, 232, 0.9) 100%);
    border-radius: 20px;
    margin-bottom: 3rem;
    color: white;
    box-shadow: 0 10px 40px rgba(0, 102, 204, 0.3);
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.news-filter {
    margin-bottom: 2rem;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-item {
    display: flex;
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 200px;
    height: 100%;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-item-image {
    width: 300px;
    height:200px;
    flex-shrink: 0;
}

.news-item-image .news-placeholder {
    height: 100%;
    min-height: 200px;
}

.news-item-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-item-content .news-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    align-self: flex-start;
}

.news-item-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.news-item-content h3 a {
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.news-item-content h3 a:hover {
    color: var(--primary-color);
}

.news-item-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.news-item-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
    opacity: 0.7;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination-btn {
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.pagination-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

.pagination-btn.next {
    width: auto;
    padding: 0 1.5rem;
}

.pagination-ellipsis {
    display: flex;
    align-items: center;
    color: var(--text-light);
    padding: 0 0.5rem;
}

.photos-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.photos-page-grid .photo-card {
    /* height: 300px; */
    cursor: pointer;
}

.photos-page-grid .photo-placeholder {
    height: 100%;
}

.videos-page-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.videos-page-grid .video-placeholder {
    /* height: 220px; */
}

.video-meta {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.85rem;
}

.video-duration {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    font-size: 0.8rem;
}

.video-views {
    opacity: 0.7;
}

.medals-full-table {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.medals-full-table table {
    width: 100%;
    border-collapse: collapse;
}

.medals-full-table th {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.2rem;
    text-align: center;
    font-weight: 600;
}

.medals-full-table td {
    padding: 1rem 1.2rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.medals-full-table tr:hover td {
    background: #f8f9fa;
}

.medals-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.medals-summary-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.medals-summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.medals-summary-icon {
    font-size: 3rem;
}

.medals-summary-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.medals-summary-label {
    display: block;
    font-size: 1rem;
    color: var(--text-light);
}

.medals-by-sport {
    margin-top: 3rem;
}

.medals-by-sport h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.medals-by-sport h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.medals-by-sport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.sport-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.sport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.sport-card h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.sport-medals {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.sport-gold,
.sport-silver,
.sport-bronze {
    font-size: 1.5rem;
    font-weight: 700;
}

.sport-gold {
    color: var(--gold);
}

.sport-silver {
    color: var(--silver);
}

.sport-bronze {
    color: var(--bronze);
}

.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.load-more-btn {
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.4);
}

.load-more-btn:active {
    transform: translateY(0);
}

.load-more-btn.hidden {
    display: none;
}

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

:root {
    --primary-color: #0066cc;
    --secondary-color: #00a8e8;
    --accent-color: #ff6b35;
    --text-dark: #1a1a2e;
    --text-light: #4a4a68;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --gold: #ffd700;
    --silver: #c0c0c0;
    --bronze: #cd7f32;
    --width:1400px;
}

body {
    
    /* background: linear-gradient(135deg, #e8f4fc 0%, #f0f8ff 50%, #e6f3ff 100%); */

    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    min-height: 100vh;
        background: url(../images/banner.webp) no-repeat 50% -140px;
        /* 背景图banner.webp等比缩小 50% */
        background-size: 120%;





}

#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: #fff;
    font-size: 1em;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation: fall linear infinite;
    opacity: 0.8;
}

@keyframes fall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    30% {
        opacity: 0.8;
    }
    50% {
        opacity: 0;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.header {
    /* background: linear-gradient(135deg, rgba(0, 102, 204, 0.95) 0%, rgba(0, 168, 232, 0.95) 100%); */

   
    /* backdrop-filter: blur(10px); */
    position: sticky;
    top: 0;
    z-index: 100;
    /* box-shadow: 0 4px 20px rgba(0, 102, 204, 0.3); */
    /* animation: slideDown 0.6s ease-out; */
    /* height:10px; */
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-content {
    width: var(--width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo h1 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
}

.logo p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 10px;
    backdrop-filter: blur(5px);
    border-radius: 20px;
    /*background: rgba(0, 52, 255, 0.2);*/
    background: rgba(0, 168, 232, 0.2);
}

.nav a {
    color: white;
    /* color: var(--primary-color); */
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.nav a:hover::before {
    width: 300px;
    height: 300px;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav a.active {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
}

.main {
    width: var(--width);
    margin: 0 auto;
    padding: 2rem;
    animation: fadeInUp 0.8s ease-out;
    padding-top: 360px;
}

.hero {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.6) 0%, rgba(0, 168, 232, 0.6) 100%);
    
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    color: white;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 102, 204, 0.3);
    /* animation: fadeInUp 0.8s ease-out; */
    /* 宽度 80%居中显示 */
    margin: 3rem auto;
    width: 80%;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.hero-countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    min-width: 100px;
    animation: pulse 2s ease-in-out infinite;
}

.countdown-item:nth-child(2) {
    animation-delay: 0.2s;
}

.countdown-item:nth-child(3) {
    animation-delay: 0.4s;
}

.countdown-item:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.countdown-label {
    display: block;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.news-carousel {
    margin-bottom: 3rem;
    /* animation: fadeInUp 0.8s ease-out; */
    animation-delay: 0.1s;
}

.carousel-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: 680px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.carousel-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f4fc 0%, #d0e8f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: var(--secondary-color);
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 3rem 2rem 2rem;
}

.carousel-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.carousel-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.5);
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: var(--primary-color);
}

.indicator.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    transform: scale(1.2);
}

.section-news,
.section-photos,
.section-videos,
.section-medals {
    margin-bottom: 3rem;
    /* animation: fadeInUp 0.8s ease-out; */
}

.section-news {
    animation-delay: 0.2s;
}

.section-photos {
    animation-delay: 0.4s;
}

.section-videos {
    animation-delay: 0.6s;
}

.section-medals {
    animation-delay: 0.8s;
}

.section-header {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}

.section-header h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 20px;
}

.more-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-link {
    text-decoration: none;
    display: block;
}

.news-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f4fc 0%, #d0e8f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--secondary-color);
}

.news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 1.5rem;
}

.news-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.news-content h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-date {
    color: var(--text-light);
    font-size: 0.85rem;
    opacity: 0.7;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.photo-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.photo-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.photo-placeholder {
    height: 250px;
    background: linear-gradient(135deg, #e8f4fc 0%, #d0e8f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--secondary-color);
}

.photo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.photo-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    /* animation: fadeIn 0.3s ease; */
}

.modal-content {
    margin: 5% auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    /* animation: zoomIn 0.3s ease; */
}

@keyframes zoomIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 30px;
    font-size: 1.2rem;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


.photo-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1rem 1rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-card:hover .photo-info {
    transform: translateY(0);
}

.photo-info span {
    font-size: 1.1rem;
    font-weight: 500;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.video-link {
    text-decoration: none;
    display: block;
}

.video-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 310px;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    z-index: 10;
}

.video-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1.2);
    background: white;
}

.video-card h4 {
    padding: 1rem 1rem 0.5rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-card p {
    padding: 0 1rem 1rem;
    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.medals-table {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.medals-table table {
    width: 100%;
    border-collapse: collapse;
}

.medals-table th {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.2rem;
    text-align: center;
    font-weight: 600;
}

.medals-table td {
    padding: 1rem 1.2rem;
    text-align: center;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
}

.medals-table tr:hover td {
    background: #f8f9fa;
}

.rank-1 {
    background: linear-gradient(135deg, #ffd700, #ffed4a) !important;
    color: white;
    font-weight: 700;
}

.rank-2 {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8) !important;
    color: white;
    font-weight: 700;
}

.rank-3 {
    background: linear-gradient(135deg, #cd7f32, #e8a862) !important;
    color: white;
    font-weight: 700;
}

.gold {
    color: var(--gold);
    font-weight: 700;
}

.silver {
    color: var(--silver);
    font-weight: 700;
}

.bronze {
    color: var(--bronze);
    font-weight: 700;
}

.total {
    font-weight: 700;
    color: var(--primary-color);
}

.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    color: white;
    padding: 2rem 0rem 2rem;
    /* margin-top: 4rem; */
}

.footer-content {
    width: var(--width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    width: var(--width);
    margin: 0 auto;
    /* padding-top: 2rem;*/
    /* border-top: 1px solid rgba(255, 255, 255, 0.1);*/
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.page-header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.9) 0%, rgba(0, 168, 232, 0.9) 100%);
    border-radius: 20px;
    margin-bottom: 3rem;
    color: white;
    box-shadow: 0 10px 40px rgba(0, 102, 204, 0.3);
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.news-filter {
    margin-bottom: 2rem;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-item {
    display: flex;
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 200px;
    height: 100%;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-item-image {
    width: 300px;
    height:200px;
    flex-shrink: 0;
}

.news-item-image .news-placeholder {
    height: 100%;
    min-height: 200px;
}

.news-item-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-item-content .news-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    align-self: flex-start;
}

.news-item-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.news-item-content h3 a {
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.news-item-content h3 a:hover {
    color: var(--primary-color);
}

.news-item-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.news-item-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
    opacity: 0.7;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination-btn {
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.pagination-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

.pagination-btn.next {
    width: auto;
    padding: 0 1.5rem;
}

.pagination-ellipsis {
    display: flex;
    align-items: center;
    color: var(--text-light);
    padding: 0 0.5rem;
}

.photos-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.photos-page-grid .photo-card {
    /* height: 300px; */
    cursor: pointer;
}

.photos-page-grid .photo-placeholder {
    height: 100%;
}

.videos-page-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.videos-page-grid .video-placeholder {
    /* height: 220px; */
}

.video-meta {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.85rem;
}

.video-duration {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    font-size: 0.8rem;
}

.video-views {
    opacity: 0.7;
}

.medals-full-table {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.medals-full-table table {
    width: 100%;
    border-collapse: collapse;
}

.medals-full-table th {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.2rem;
    text-align: center;
    font-weight: 600;
}

.medals-full-table td {
    padding: 1rem 1.2rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.medals-full-table tr:hover td {
    background: #f8f9fa;
}

.medals-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.medals-summary-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.medals-summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.medals-summary-icon {
    font-size: 3rem;
}

.medals-summary-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.medals-summary-label {
    display: block;
    font-size: 1rem;
    color: var(--text-light);
}

.medals-by-sport {
    margin-top: 3rem;
}

.medals-by-sport h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.medals-by-sport h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.medals-by-sport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.sport-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.sport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.sport-card h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.sport-medals {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.sport-gold,
.sport-silver,
.sport-bronze {
    font-size: 1.5rem;
    font-weight: 700;
}

.sport-gold {
    color: var(--gold);
}

.sport-silver {
    color: var(--silver);
}

.sport-bronze {
    color: var(--bronze);
}

.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.load-more-btn {
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.4);
}

.load-more-btn:active {
    transform: translateY(0);
}

.load-more-btn.hidden {
    display: none;
}

