/* 基础样式重置 */
/* 全局尺寸规范 */
:root {
    /* 网站标准尺寸 */
    --site-width: 1920px;
    --site-height: 1080px;
    
    /* 主体内容区域宽度 */
    --content-width: 1200px;
    
    /* 导航栏高度范围 */
    --navbar-height-min: 60px;
    --navbar-height-max: 100px;
    
    /* Banner高度范围 */
    --banner-height-min: 300px;
    --banner-height-max: 823px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-image: url('../image/bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-y: visible;  /* 明确设置为visible */
}

/* 霓虹光效背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 105, 180, 0.2) 0%, transparent 60%);
    z-index: -1;
}

/* 头部导航 */
.header {
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 105, 180, 0.3);
    height: 80px;
    min-height: var(--navbar-height-min);
    max-height: var(--navbar-height-max);
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo img {
    max-height: 40px;
}

.logo-text {
    font-size: 12px;
    font-weight: normal;
    color: #ff69b4;
    margin-top: 4px;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-item a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-item a:hover {
    color: #ff69b4;
}

.nav-item a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #ff69b4, #00ffff);
    transition: width 0.3s ease;
}

.nav-item a:hover::after {
    width: 100%;
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}

/* 主内容区 */
.main-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 40px 20px;
    overflow: visible;  /* 明确设置为visible以确保内容可以溢出 */
}

/* 内容区域容器 */
.content-section {
    /* 设置内容区域底部外边距为60像素，确保与下方元素有足够间距 */
    margin-bottom: 60px;
    overflow: visible;  /* 明确设置为visible */
}

.content-section h2 {
    /* 设置h2标题的字体大小为32像素 */
    font-size: 32px;
    /* 设置h2标题底部外边距为24像素，与下方内容保持距离 */
    margin-bottom: 24px;
    /* 设置h2标题的文字颜色为淡灰色（接近白色） */
    color: #f8f8f8;
    /* 添加文字阴影效果：第一个阴影（水平偏移0，垂直偏移0，模糊半径15px，半透明粉色）和第二个阴影（水平偏移0，垂直偏移0，模糊半径5px，半透明白色） */
    text-shadow: 0 0 15px rgba(255, 105, 180, 0.5), 0 0 5px rgba(255, 255, 255, 0.3);
    /* 设置h2标题底部内边距为10像素，为下方边框留出空间 */
    padding-bottom: 10px;
    /* 设置h2标题底部边框：宽度为2像素，实线样式，颜色为透明度30%的粉色 */
    border-bottom: 2px solid rgba(255, 105, 180, 0.3);
    /* 设置h2标题为相对定位，为其伪元素提供定位参考 */
    position: relative;
    /* 设置h2标题为内联块级元素，使其宽度仅包裹内容 */
    display: inline-block;
}

.content-section h2::before {
    /* 创建一个空内容的伪元素 */
    content: '';
    /* 设置伪元素为绝对定位 */
    position: absolute;
    /* 将伪元素定位在h2元素底部边缘（100%高度位置） */
    top: 100%;
    /* 将伪元素左侧对齐h2元素的左侧 */
    left: 0;
    /* 设置伪元素宽度与h2元素相同 */
    width: 100%;
    /* 设置伪元素高度为1像素 */
    height: 1px;
    /* 设置伪元素背景为线性渐变：从左到右，从完全透明的粉色过渡到80%透明度的粉色，再过渡到完全透明的粉色 */
    background: linear-gradient(to right, rgba(255, 105, 180, 0), rgba(255, 105, 180, 0.8), rgba(255, 105, 180, 0));
}

/* 灵活的网格系统 */
.grid {
    display: grid;
    gap: 24px;
}

/* 两列网格 */
.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* 三列网格 */
.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* 四列网格 */
.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* 英雄区域 */
.hero {
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(15px);
    padding: 80px 20px;
    border-radius: 16px;
    margin-bottom: 40px;
    text-align: center;
    border: 1px solid rgba(255, 105, 180, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: visible;  /* 修改为visible以允许下方卡片悬停时超出 */
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 105, 180, 0.1), transparent);
    animation: heroGlow 8s linear infinite;
}

@keyframes heroGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes neonGlow {
    0% { opacity: 0.7; }
    100% { opacity: 1; box-shadow: 0 0 15px rgba(255, 105, 180, 0.5); }
}

@keyframes scoreGlow {
    0% { text-shadow: 0 0 15px rgba(255, 105, 180, 0.7); }
    100% { text-shadow: 0 0 25px rgba(255, 105, 180, 1), 0 0 10px rgba(255, 105, 180, 0.5); }
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 24px;
    color: #ff69b4;
    text-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
    letter-spacing: -1px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 32px;
    color: #cccccc;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* 赛程卡片 */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

/* 赛程页面样式 - 移动到主CSS文件中 */
.schedule-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: rgba(26, 15, 40, 0.8);
    backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 105, 180, 0.3);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.schedule-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #2d2d2d, #3d3d3d);
    border: none;
    color: #ffffff;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn.active {
    background: linear-gradient(135deg, #ff69b4, #ff85c0);
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.4);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.tab-btn:hover:not(.active) {
    background: linear-gradient(135deg, #3d3d3d, #4d4d4d);
    transform: translateY(-2px);
}

.date-filter {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.date-selector {
    padding: 10px;
    background: rgba(45, 30, 60, 0.8);
    border: 1px solid rgba(255, 105, 180, 0.3);
    color: #ffffff;
    border-radius: 5px;
}

.schedule-day {
    margin-bottom: 40px;
}

.day-header {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #ff69b4;
    display: flex;
    align-items: center;
}

.schedule-card {
    background: rgba(26, 15, 40, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 105, 180, 0.3);
    position: relative;
    overflow: hidden;
}

.schedule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff69b4, #00ffff);
    animation: neonGlow 2s ease-in-out infinite;
}

.schedule-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 105, 180, 0.2);
    border-color: rgba(255, 105, 180, 0.6);
}

.schedule-card-date {
    font-size: 14px;
    color: #ff69b4;
    margin-bottom: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(255, 105, 180, 0.3);
}

.schedule-card-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.team-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d2d2d, #3d3d3d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    background-size: cover;
    background-position: center;
    border: 2px solid rgba(255, 105, 180, 0.2);
}

.schedule-card:hover .team-logo {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(255, 105, 180, 0.3);
    border-color: rgba(255, 105, 180, 0.6);
}

.team-name {
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
    color: #ffffff;
}

.match-score {
    font-size: 32px;
    font-weight: bold;
    color: #ff69b4;
    margin: 0 15px;
    text-shadow: 0 0 15px rgba(255, 105, 180, 0.7);
    animation: scoreGlow 1.5s ease-in-out infinite;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, #ff69b4, #ff85c0);
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.3), 0 0 10px rgba(255, 105, 180, 0.2);
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

/* 视频与缩略图通用样式 */
.video-player,
video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    background: #000;
}

.thumbnail-image,
.review-thumbnail img,
.team-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* 小屏优化：缩放标题与卡片间距 */
@media (max-width: 768px) {
    .content-section {
        margin-bottom: 40px;
    }
    .content-section h2 {
        font-size: 22px;
    }
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.6), 0 0 15px rgba(255, 105, 180, 0.4);
}

.btn:hover::before {
    left: 100%;
}

.btn-secondary {
    background: linear-gradient(135deg, #2d2d2d, #3d3d3d);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 8px rgba(255, 105, 180, 0.1);
    border: 1px solid rgba(255, 105, 180, 0.2);
}

.btn-secondary:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 12px rgba(255, 105, 180, 0.2);
    border-color: rgba(255, 105, 180, 0.4);
}

/* 页脚 - 固定在视口底部 */
.footer {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    margin-top: auto;
    border-top: 1px solid rgba(255, 105, 180, 0.3);
    position: relative;
    width: 100%;
}

.footer-container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 30px;
}

.footer-logo-text {
    font-size: 10px;
    font-weight: normal;
    color: #ff69b4;
    text-shadow: 0 0 5px rgba(255, 105, 180, 0.3);
    margin-top: 5px;
    text-align: center;
    line-height: 1.2;
}

.footer-links {
    display: flex;
    gap: 24px;
    margin: 20px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.footer-links a:hover {
    color: #ff69b4;
}

.footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #ff69b4, #00ffff);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}

/* 管理员链接样式 */
.admin-link {
    color: #00ffff !important;
    font-weight: 600;
    position: relative;
}

.admin-link::before {
    content: '🔒 ';
    font-size: 14px;
}

.admin-link:hover {
    color: #ff69b4 !important;
    text-shadow: 0 0 15px rgba(255, 105, 180, 0.5);
}

.copyright {
    color: #cccccc;
    font-size: 14px;
    margin-top: 20px;
    opacity: 0.7;
}



@media (max-width: 1024px) {
    .header .nav-menu {
        /* 在所有设备上都显示导航菜单 */
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-top: 10px;
    }
}

/* 积分榜样式 - 基础样式，页面特定CSS会覆盖 */
.standings-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 105, 180, 0.2);
}

.standings-table th,
.standings-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(200, 200, 200, 0.2);
    transition: all 0.3s ease;
    color: #333333;
}

.standings-table th {
    background: rgba(255, 105, 180, 0.1);
    font-weight: 600;
    color: #ff69b4;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 14px;
}

.standings-table tr:last-child td {
    border-bottom: none;
}

.standings-table tr:hover {
    background: rgba(255, 105, 180, 0.05);
}

.standings-table tr:hover td {
    color: #ff69b4;
}

/* 参赛队伍介绍卡片 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.team-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 105, 180, 0.2);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 105, 180, 0.3);
}

.team-banner {
    height: 150px;
    background: linear-gradient(135deg, #2d2d2d, #3d3d3d);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.team-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 105, 180, 0.1), transparent);
    animation: bannerGlow 8s linear infinite;
}

@keyframes bannerGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.team-info {
    padding: 24px;
    text-align: center;
}

.team-card-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff69b4, #ff85c0);
    margin: -50px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 32px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.team-card:hover .team-card-logo {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.4);
}

/* 粉丝贡献榜 - 基础样式，页面特定CSS会覆盖 */
.contribution-list {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 105, 180, 0.2);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.contribution-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(200, 200, 200, 0.2);
    transition: all 0.3s ease;
    color: #333333;
}

.contribution-item:last-child {
    border-bottom: none;
}

.contribution-item:hover {
    transform: translateX(5px);
}

.contribution-rank {
    font-size: 28px;
    font-weight: bold;
    color: #ff69b4;
    width: 40px;
    text-align: center;
}

.contribution-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    margin: 0 20px;
    border: 2px solid rgba(255, 105, 180, 0.3);
    transition: all 0.3s ease;
}

.contribution-item:hover .contribution-avatar {
    transform: scale(1.05);
    border-color: #ff69b4;
}

.contribution-info {
    flex: 1;
}

.contribution-name {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
    color: #333333;
}

.contribution-points {
    color: #ff69b4;
    font-weight: bold;
    font-size: 16px;
    text-shadow: 0 0 5px rgba(255, 105, 180, 0.3);
}

/* 规则页面样式 - 基础样式，页面特定CSS会覆盖 */
.rules-content {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.rules-content h2 {
    color: #ff69b4;
    margin: 30px 0 15px;
    font-size: 28px;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.3);
    position: relative;
    padding-bottom: 10px;
}

.rules-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #ff69b4, transparent);
}

.rules-content h3 {
    color: #ffffff;
    margin: 20px 0 10px;
    font-size: 22px;
}

.rules-content p {
    margin-bottom: 15px;
    color: #cccccc;
    line-height: 1.8;
}

.rules-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.rules-content li {
    margin-bottom: 10px;
    color: #cccccc;
    line-height: 1.6;
    position: relative;
    padding-left: 15px;
}

.rules-content li::before {
    content: '•';
    color: #ff69b4;
    position: absolute;
    left: 0;
}

/* 轮播图样式 - 桌面端固定尺寸1920x823px，移动端自适应 */
.carousel {
    position: relative;
    width: 100%;
    max-width: 1920px;
    height: auto;
    aspect-ratio: 1920/823;
    overflow: hidden;
    margin: 0 auto 40px;
    background: rgba(26, 26, 26, 0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: none;
    z-index: 1;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transform: scale(1) !important;
    transform-origin: 0 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-position: center;
    background-size: 100% 100%; /* 确保图片完全填充容器 */
    background-repeat: no-repeat;
    transform: scale(1) !important;
    transform-origin: 0 0;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
    transform: none; /* 移除缩放效果 */
}

/* 轮播图背景图片 - 固定尺寸1920x823px显示 */
.carousel-slide:nth-child(1) {
    background-image: url('../image/Banner/b.png');
    background-color: #000;
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.carousel-slide:nth-child(2) {
    background-image: url('../image/Banner/b.png');
    background-color: #000;
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.carousel-slide:nth-child(3) {
    background-image: url('../image/Banner/b.png');
    background-color: #000;
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease;
}

.carousel-slide.active .carousel-content {
    transform: translateY(0);
    opacity: 1;
}

.carousel-content h2 {
    font-size: 48px;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255, 105, 180, 0.7);
    font-weight: 800;
    letter-spacing: -1px;
}

.carousel-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 105, 180, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    border: 1px solid rgba(255, 105, 180, 0.5);
    font-size: 30px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background: rgba(255, 105, 180, 0.4);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
}

.carousel-control.prev {
    left: 30px;
}

.carousel-control.next {
    right: 30px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.3);
    border: 2px solid rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background-color: rgba(255,255,255,0.5);
    transform: scale(1.2);
}

.indicator.active {
    background-color: #ff69b4;
    border-color: #ff69b4;
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
    transform: scale(1.3);
}

.carousel-placeholder-note {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: #ff9800;
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 20;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .grid-cols-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 0 10px;
    }
    
    .nav-menu {
        margin-top: 20px;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .schedule-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .grid-cols-3,
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
    
    .standings-table th,
    .standings-table td {
        padding: 10px;
        font-size: 14px;
    }
    
    .rules-content {
        padding: 20px;
    }
    
    /* 移动端轮播图自适应样式 */
    .carousel {
        width: 100% !important;
        height: auto !important;
        max-height: 400px;
        transform: none !important;
    }
    
    .carousel-container {
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
    }
    
    .carousel-slide {
        width: 100% !important;
        height: 100% !important;
        background-size: contain !important;
        background-position: center !important;
        transform: none !important;
    }
    
    .carousel-content h2 {
        font-size: 36px;
    }
    
    .schedule-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .schedule-tabs {
        justify-content: center;
    }
    
    .date-filter {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 15px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .carousel {
        height: 300px;
    }
    
    .carousel-content {
        padding: 30px 20px;
    }
    
    .carousel-content h2 {
        font-size: 28px;
    }
    
    .carousel-content p {
        font-size: 16px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .content-section h2 {
        font-size: 24px;
    }
}

/* 个人展示小卡片样式 */
.personal-showcase {
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(15px);
    padding: 40px 20px;
    margin: 20px auto;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 105, 180, 0.3);
    position: relative;
    overflow: hidden;
}

.personal-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff69b4, #00ffff);
    border-radius: 15px 15px 0 0;
}

.personal-container {
    max-width: 1200px; /* 设置容器的最大宽度为1200像素，防止容器在大屏幕上过宽 */
    margin: 0 auto; /* 设置上下外边距为0，左右外边距自动，使容器在水平方向上居中 */
    position: relative; /* 设置定位方式为相对定位，为绝对定位的子元素提供参考 */
    overflow: hidden; /* 隐藏超出容器边界的内容 */
}

.personal-scroll-wrapper {
    overflow: hidden;
}

.personal-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    position: relative;
    width: 100%;
}

.personal-card {
    width: var(--card-width);
    height: var(--card-height);
    min-width: var(--card-width);
    max-width: var(--card-width);
    margin: 0 var(--card-margin);
    background: transparent;
    backdrop-filter: blur(10px);
    border-radius: var(--card-border-radius);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 105, 180, 0.3);
    position: relative;
    overflow: visible;
    display: inline-block;
    vertical-align: top;
}

.personal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff69b4, #00ffff);
}

.personal-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: #ff69b4;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.5);
    background: rgba(45, 30, 60, 0.9);
    z-index: 9999;
    transform-origin: center bottom;
    will-change: transform, z-index;
    animation: none;
}

.personal-card:hover .personal-image {
    box-shadow: 0 0 30px rgba(255, 105, 180, 0.5);
    border-color: #ff69b4;
}

/* 成员头像区域 - 完全填充卡片以保持4:5(8:10)比例 */
.personal-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    z-index: 1;
}

/* 已移除添加图片提示文字 */
.personal-image::after {
    content: '';
    display: none;
}

.personal-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 10px;
    text-align: center;
    z-index: 5;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
}

.personal-name {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.personal-team {
    font-size: 12px;
    color: #fff;
    text-transform: none;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.personal-card:hover .personal-name {
    text-shadow: 0 0 15px rgba(255, 105, 180, 0.7), 0 0 8px rgba(255, 255, 255, 0.5);
}

.personal-card:hover .personal-team {
    opacity: 1;
    color: #ffffff;
}

/* 控制按钮样式 */
.personal-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.9), rgba(255, 149, 208, 0.9));
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.5), 0 0 10px rgba(255, 105, 180, 0.3);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.personal-control.prev {
    left: 10px;
}

.personal-control.next {
    right: 10px;
}

.personal-control:hover {
    background-color: rgba(255, 105, 180, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.7);
}

.personal-control:active {
    transform: translateY(-50%) scale(0.95);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .personal-showcase {
        padding: 30px 15px;
    }
    
    .personal-card {
        width: var(--card-width-mobile) !important;
        height: var(--card-height-mobile) !important;
        min-width: var(--card-width-mobile) !important;
        max-width: var(--card-width-mobile) !important;
        margin: 0 10px;
        background: rgba(30, 30, 30, 0.4);
        backdrop-filter: blur(8px);
    }
    
    .personal-control {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .personal-showcase {
        padding: 20px 10px;
    }
    
    .personal-card {
        min-width: 180px;
        max-width: 180px;
        margin: 0 8px;
        padding: 15px;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 105, 180, 0.2);
    }
    
    .personal-image {
        width: 80px; /* 图片宽度，保持4:5比例 */
        height: 100px; /* 图片高度，保持4:5比例 */
        border-radius: 0; /* 确保为长方形 */
    }
    
    .personal-name {
        font-size: 18px;
    }
    
    .personal-team {
        font-size: 13px;
    }
    
    .personal-control {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

/* 打印样式 */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .header,
    .footer,
    .btn,
    .carousel-controls {
        display: none;
    }
    
    .main-content {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .schedule-card,
    .team-card,
    .contribution-list,
    .standings-table,
    .personal-card {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* 个人展示小卡片样式 */
.personal-showcase {
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(15px);
    padding: 40px 20px;
    margin: 20px auto;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 105, 180, 0.3);
    position: relative;
    overflow: hidden;
}

.personal-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff69b4, #00ffff);
    border-radius: 15px 15px 0 0;
}

.personal-container {
    max-width: 1200px; /* 设置容器的最大宽度为1200像素，防止容器在大屏幕上过宽 */
    margin: 0 auto; /* 设置上下外边距为0，左右外边距自动，使容器在水平方向上居中 */
    position: relative; /* 设置定位方式为相对定位，为绝对定位的子元素提供参考 */
    overflow: hidden; /* 隐藏超出容器边界的内容 */
}

.personal-scroll-wrapper {
    overflow: hidden;
}

.personal-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    position: relative;
    width: 100%;
}

.personal-card {
    width: 160px;
    height: 200px;
    min-width: 160px;
    max-width: 160px;
    margin: 0 10px;
    background: transparent;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 105, 180, 0.3);
    position: relative;
    overflow: visible;
    display: inline-block;
    vertical-align: top;
}

.personal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff69b4, #00ffff);
}

.personal-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: #ff69b4;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.5);
    background: rgba(45, 30, 60, 0.9);
    z-index: 9999;
    transform-origin: center bottom;
    will-change: transform, z-index;
    animation: none;
}

.personal-card:hover .personal-image {
    box-shadow: 0 0 30px rgba(255, 105, 180, 0.5);
    border-color: #ff69b4;
}

/* 成员头像区域 - 完全填充卡片以保持4:5(8:10)比例 */
.personal-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    z-index: 1;
}

/* 已移除添加图片提示文字 */
.personal-image::after {
    content: '';
    display: none;
}

.personal-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 10px;
    text-align: center;
    z-index: 5;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
}

.personal-name {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.personal-team {
    font-size: 12px;
    color: #fff;
    text-transform: none;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.personal-card:hover .personal-name {
    text-shadow: 0 0 15px rgba(255, 105, 180, 0.7), 0 0 8px rgba(255, 255, 255, 0.5);
}

.personal-card:hover .personal-team {
    opacity: 1;
    color: #ffffff;
}

/* 控制按钮样式 */
.personal-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.9), rgba(255, 149, 208, 0.9));
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.5), 0 0 10px rgba(255, 105, 180, 0.3);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.personal-control.prev {
    left: 10px;
}

.personal-control.next {
    right: 10px;
}

.personal-control:hover {
    background-color: rgba(255, 105, 180, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.7);
}

.personal-control:active {
    transform: translateY(-50%) scale(0.95);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .personal-showcase {
        padding: 30px 15px;
    }
    
    .personal-card {
        width: 180px !important;
        height: 225px !important;
        min-width: 180px !important;
        max-width: 180px !important;
        margin: 0 10px;
        background: rgba(30, 30, 30, 0.4);
        backdrop-filter: blur(8px);
    }
    
    .personal-control {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .personal-showcase {
        padding: 20px 10px;
    }
    
    .personal-card {
        min-width: 180px;
        max-width: 180px;
        margin: 0 8px;
        padding: 15px;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 105, 180, 0.2);
    }
    
    .personal-image {
        width: 80px; /* 图片宽度，保持4:5比例 */
        height: 100px; /* 图片高度，保持4:5比例 */
        border-radius: 0; /* 确保为长方形 */
    }
    
    .personal-name {
        font-size: 18px;
    }
    
    .personal-team {
        font-size: 13px;
    }
    
    .personal-control {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

/* 无限制容器样式 - 确保个人展示卡片可以完全显示 */
.unrestricted-container {
    position: relative;
    z-index: 100;
    overflow: visible;
    width: 100%;
    margin: 40px 0;
    padding: 20px;
    box-sizing: border-box;
    background-color: transparent;
}

/* 确保不受任何父元素overflow限制 */
.unrestricted-container * {
    overflow: visible !important;
    will-change: transform;
}

/* 保持与其他样式一致的个人展示卡片配置 */
.unrestricted-container .personal-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    position: relative;
    width: 100%;
}

.unrestricted-container .personal-card {
    width: 160px;
    height: 200px;
    min-width: 160px;
    max-width: 160px;
}

/* 打印样式 */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .header,
    .footer,
    .btn,
    .carousel-controls {
        display: none;
    }
    
    .main-content {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .schedule-card,
    .team-card,
    .contribution-list,
    .standings-table,
    .personal-card {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}
