:root {
    --gold: #D4AF37; /* 经典金 */
    --gold-bright: #FFD700; /* 亮金 */
    --black: #0a0a0a; /* 深黑 */
    --dark-grey: #1a1a1a;
    --text-white: #f0f0f0;
    --text-grey: #a0a0a0;
    --glass: rgba(26, 26, 26, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--black);
    color: var(--text-white);
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('https://images.unsplash.com/photo-1542751371-adc38448a05e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80'); /* 背景图 */
    background-size: cover;
    background-attachment: fixed;
    overflow-x: hidden;
}

/* 标题字体 */
h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(0,0,0,0.9);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--gold);
}

.logo span {
    font-family: 'Orbitron';
    font-weight: 700;
    color: var(--gold);
    font-size: 1.2rem;
    margin-left: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

/* 首页 Hero */
.hero {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    background: linear-gradient(to right, #fff, var(--gold));
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.hero h2 {
    color: var(--text-grey);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.btn-gold {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s;
    margin-top: 20px;
}

.btn-gold:hover {
    background: var(--gold);
    color: var(--black);
    box-shadow: 0 0 15px var(--gold);
}

/* 通用 Section */
.section-container {
    padding: 80px 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--gold);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 10px auto 0;
}

/* 关于我们 */
.about-card {
    background: var(--glass);
    padding: 40px;
    border-left: 5px solid var(--gold);
    backdrop-filter: blur(10px);
}

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

.stats-row {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    text-align: center;
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--gold);
}

/* 成员列表 Grid */
.roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.player-card {
    background: linear-gradient(145deg, #111, #161616);
    border: 1px solid #333;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.player-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.card-img-box {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 2px solid var(--gold);
}

.card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-card h3 {
    color: var(--text-white);
    margin-bottom: 5px;
}

.player-role {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: bold;
}

/* 弹窗 Modal 样式 */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.9); 
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #1a1a1a;
    margin: 5% auto; 
    padding: 30px;
    border: 1px solid var(--gold);
    width: 80%;
    max-width: 900px;
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: var(--gold);
}

/* 详情页布局 */
.player-detail-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
}

.player-info-side {
    flex: 1;
    min-width: 250px;
    text-align: center;
    border-right: 1px solid #333;
}

.player-avatar-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--gold);
    margin: 0 auto 20px;
    overflow: hidden;
}

.player-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-list {
    list-style: none;
    text-align: left;
    margin-top: 30px;
    padding-left: 20px;
}

.info-list li {
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

.info-list span:first-child {
    color: var(--text-grey);
}

.player-stats-side {
    flex: 2;
    min-width: 300px;
}

.player-stats-side h3 {
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.stats-text-summary {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.mini-stat {
    background: #000;
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid #333;
    text-align: center;
}

.mini-stat .label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-grey);
}

.mini-stat .val {
    display: block;
    font-size: 1.5rem;
    color: var(--gold);
    font-family: 'Orbitron';
}

footer {
    text-align: center;
    padding: 40px;
    background: var(--black);
    color: var(--text-grey);
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .player-detail-layout { flex-direction: column; }
    .player-info-side { border-right: none; border-bottom: 1px solid #333; padding-bottom: 20px;}
}
