/* style.css */

/* 全局样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-image: url('https://ak.hypergryph.com/images/world/mobile.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: -1;
}

/* 头部样式 */
header {
    color: #000000;
    padding: 10px 0;
    text-align: center;
}

/* 主内容样式 */
main {
    padding: 20px;
}

/* 链接样式 */
a {
    text-decoration: none;
    color: #333;
}

/* 图片链接样式 */
.image-link {
    display: inline-block;
    margin: 10px;
}

/* 图片样式 */
.image-link img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.image-link img:hover {
    transform: scale(1.1);
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 10px 0;
    color: #000000;
    position: relative;
    bottom: 0;
    width: 100%;
}

.operator-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.operator-links a {
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.operator-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.operator-links img {
    width: 100%;
    height: auto;
    max-width: 100px;
    display: block;
    margin: 0 auto;
}

h2 {
    text-align: center;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

tr:nth-child(even) {
    background-color: white;
}

tr:nth-child(odd) {
    background-color: #f2f2f2;
}

td, th {
    border-bottom: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #4CAF50;
    color: white;
}

/* 表格中的图片样式 */
table td img {
    width: 60px;  /* 设置图片宽度 */
    height: auto; /* 保持宽高比 */
}

.operator-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.operator-card {
    display: flex;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-link:hover {
    text-decoration: none;
}

.operator-avatar {
    flex: 0 0 80px;
    margin-right: 15px;
}

.operator-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.operator-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.operator-name {
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 0 8px 0;
    color: #333;
}

.operator-mastery, .operator-module, .operator-level {
    margin: 4px 0;
    color: #666;
    font-size: 0.9em;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .operator-cards {
        grid-template-columns: 1fr;
    }
}