/* 新建文件：hltv-style.css */
/* 全局样式 */
body {
    background: #0f0f0f;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    min-width: 1650px;
    overflow-x: auto;
}

/* 主内容容器 */
.top20-page {
    max-width: 1200px;
    min-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    background: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    width: 1400px;
    margin: 0 auto;
}

/* 标题区域 */
.top20-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #ff5500;
}

.top20-header-title-full-list {
    font-size: 2.8rem;
    color: #ff5500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 2rem 0;
}

/* 选手展示区 */
.top20-table-wrapper {
    overflow-x: visible;
}

.table-container {
    width: 100%;
    border-collapse: collapse;
    background: #121212;
}

/* 新增选手展示卡片样式 */
.top20-award-card-bodyshot-wrapper {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 3rem 0;
    position: relative;
    padding: 2rem 0;
    flex-wrap: nowrap;
    overflow-x: visible;
}

.table-container {
    width: 1400px;
}

.top20-award-card-bodyshot {
    width: 280px;
    height: 400px;
    border-radius: 12px;
    object-fit: cover;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    width: 300px;
    height: 420px;
    flex-shrink: 0;
}

/* 添加动态透视效果 */
.top20-award-card-bodyshot:hover {
    transform: 
        perspective(1000px) 
        rotateX(5deg) 
        rotateY(-2deg)
        translateY(-20px)
        scale(1.05);
    box-shadow: 
        0 20px 40px rgba(255,85,0,0.2),
        0 0 0 2px rgba(255,85,0,0.1);
    z-index: 2;
}

/* 添加渐变遮罩层 */
.top20-award-card-bodyshot::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(180deg, 
        rgba(16,16,16,0) 0%, 
        rgba(16,16,16,0.8) 60%,
        rgba(16,16,16,0.9) 100%);
}

/* 选手信息标签 */
.player-card-info {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 1;
    transform: translateZ(30px);
}

.player-card-rank {
    font-size: 1.8rem;
    color: #ff5500;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.player-card-name {
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

/* 悬停时信息增强 */
.top20-award-card-bodyshot:hover .player-card-name {
    color: #ff884d;
}

/* 响应式调整 */

/* 动态边框动画 */
@keyframes card-glow {
    0% { box-shadow: 0 0 0 0 rgba(255,85,0,0.4); }
    100% { box-shadow: 0 0 0 8px rgba(255,85,0,0); }
}

.top20-award-card-bodyshot:hover::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 14px;
    animation: card-glow 1.5s infinite;
}

/* 表头样式 */
thead {
    background: #252525;
    border-bottom: 2px solid #ff5500;
}

th {
    padding: 1.2rem 1.5rem;
    text-align: left;
    font-weight: 600;
    color: #ff5500;
}

/* 表格行样式 */
tbody tr {
    border-bottom: 1px solid #2a2a2a;
    transition: background 0.3s ease;
}

tbody tr:hover {
    background: #252525;
}

td {
    padding: 1.2rem 1.5rem;
    vertical-align: middle;
}

/* 选手信息单元格 */
.top20-year-player-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top20-table-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #ff5500;
    object-fit: cover;
}

/* 选手昵称样式 */
.top20-year-playernick {
    font-size: 1.2rem;
    color: #ffffff;
    display: block;
    margin-bottom: 0.3rem;
}

/* 国旗样式 */
.flag {
    width: 20px;
    height: 15px;
    vertical-align: middle;
    margin-right: 0.8rem;
    border-radius: 2px;
}

/* 队伍标志样式 */
.top20-year-teamlogo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.top20-year-teamlogo:hover {
    transform: scale(1.1);
}

/* 排名数字样式 */
.top20-th-position b {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #ff5500;
    border-radius: 50%;
    font-size: 1.1rem;
}

/* 响应式处理 */

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

tbody tr {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

tbody tr:nth-child(1) { animation-delay: 0.1s; }
tbody tr:nth-child(2) { animation-delay: 0.2s; }
tbody tr:nth-child(3) { animation-delay: 0.3s; }
tbody tr:nth-child(4) { animation-delay: 0.4s; }
tbody tr:nth-child(5) { animation-delay: 0.5s; }
tbody tr:nth-child(6) { animation-delay: 0.6s; }
tbody tr:nth-child(7) { animation-delay: 0.7s; }
tbody tr:nth-child(8) { animation-delay: 0.8s; }
tbody tr:nth-child(9) { animation-delay: 0.9s; }
tbody tr:nth-child(10) { animation-delay: 1s; }

/* 链接样式 */
a {
    color: #ff5500;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff884d;
    text-decoration: underline;
}

/* 数据卡片交互效果 */
.top20-award-card-bodyshot {
    transition: transform 0.3s ease;
    border-radius: 8px;
    margin: 0 1rem;
}

.top20-award-card-bodyshot:hover {
    transform: translateY(-5px);
}