/* rankings.css */
body {
    font-family: 'PingFang', Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
}

.container {
    width: 94%;
    margin: 50px auto;
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 20px;  /* 圆角处理 */
    padding: 30px;
    text-align: center;
    transition: box-shadow 1.2s ease, transform 1.2s ease;  /* 时间较长，过渡柔和 */
}

.container:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);  /* 增强柔和的阴影效果 */
    transform: translateY(-3px);  /* 小幅度位移 */
}

h1 {
    font-size: 28px;
    color: #347dfb;
    margin-bottom: 20px;
    transition: color 0.8s ease;  /* 长时间的颜色过渡 */
}

h1:hover {
    color: #2456a5;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 18px;
    border-radius: 15px;  /* 表格也加上圆角 */
    overflow: hidden;  /* 避免圆角部分被内容溢出 */
}

th, td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: center;
    transition: background-color 1s ease;  /* 长时间的背景色变化 */
}

th {
    background-color: #347dfb;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

td {
    background-color: #f9f9f9;
}

tbody tr:hover td {
    background-color: #eeeeff;
    transition: background-color 0.8s ease;  /* 柔和的背景色过渡 */
}

tbody tr:nth-child(even) td {
    background-color: #f0f8ff;
}

tbody tr:nth-child(odd) td {
    background-color: #ffffff;
}

tbody tr {
    transition: transform 1s ease, border-radius 1s ease, box-shadow 1s ease;  /* 柔和的缩放和阴影变化 */
}

tbody tr:hover {
    transform: translateY(-2px);  /* 小幅度的缩放位移 */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);  /* 阴影过渡 */
    border-radius: 15px;  /* 鼠标悬停时的圆角增强 */
}
    