/* members-style.css */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --primary-dark: #1a0a2e;
    --primary: #2d0a4a;
    --primary-light: #3d1266;
    --accent: #9c27b0;
    --accent-light: #ba68c8;
    --accent-dark: #7b1fa2;
    --text: #e0d6eb;
    --text-secondary: #b39ddb;
    --success: #4caf50;
    --warning: #ff9800;
    --error: #f44336;
    --terminal-bg: rgba(10, 5, 24, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* 背景效果 */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><rect width="100%" height="100%" fill="black"/><circle cx="10%" cy="15%" r="1" fill="white"/><circle cx="25%" cy="7%" r="1" fill="white"/><circle cx="40%" cy="22%" r="1" fill="white"/><circle cx="75%" cy="5%" r="1" fill="white"/><circle cx="85%" cy="18%" r="1" fill="white"/><circle cx="95%" cy="12%" r="1" fill="white"/><circle cx="15%" cy="85%" r="1" fill="white"/><circle cx="30%" cy="92%" r="1" fill="white"/><circle cx="55%" cy="88%" r="1" fill="white"/><circle cx="70%" cy="95%" r="1" fill="white"/><circle cx="90%" cy="82%" r="1" fill="white"/></svg>');
    z-index: -2;
}

.nebula {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(93, 28, 133, 0.3) 0%, transparent 40%), 
                radial-gradient(circle at 80% 70%, rgba(125, 39, 177, 0.3) 0%, transparent 40%);
    z-index: -1;
    animation: nebulaPulse 20s infinite alternate;
}

@keyframes nebulaPulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
header {
    background-color: rgba(26, 10, 46, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--accent);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--text);
}

.logo i {
    color: var(--accent-light);
    margin-right: 10px;
    font-size: 1.8rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

nav ul li a:hover, 
nav ul li a.active {
    color: var(--accent-light);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-light);
    animation: borderPulse 2s infinite;
}

@keyframes borderPulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.server-status {
    display: flex;
    align-items: center;
    background: rgba(156, 39, 176, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid var(--accent);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-dot.online {
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 页面标题区域 */
.page-header {
    padding: 150px 0 60px;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-light);
    text-shadow: 0 0 15px rgba(156, 39, 176, 0.7);
}

.page-header h1 i {
    margin-right: 15px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--text-secondary);
}

.search-filter {
    display: flex;
    max-width: 800px;
    margin: 0 auto;
    gap: 15px;
}

.search-filter input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 30px;
    border: 2px solid var(--accent);
    background: rgba(26, 10, 46, 0.5);
    color: var(--text);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.search-filter input:focus {
    border-color: var(--accent-light);
    box-shadow: 0 0 15px rgba(186, 104, 200, 0.5);
}

.search-filter button {
    padding: 12px 30px;
    border-radius: 30px;
    background: var(--accent);
    color: white;
    border: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-filter button:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(186, 104, 200, 0.5);
}

/* 成员展示区域 */
.members-section {
    padding: 50px 0 100px;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.member-card {
    background: rgba(45, 10, 74, 0.5);
    border: 1px solid var(--accent);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeIn 0.6s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(156, 39, 176, 0.4);
    border-color: var(--accent-light);
}

.member-avatar {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.member-card:hover .member-avatar img {
    transform: scale(1.1);
}

.member-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(26, 10, 46, 0.8);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.member-status.online::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    display: inline-block;
}

.member-status.offline::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #aaa;
    display: inline-block;
}

.member-info {
    padding: 20px;
}

.member-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.member-name span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: rgba(156, 39, 176, 0.2);
    padding: 3px 10px;
    border-radius: 15px;
}

.member-role {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(76, 175, 80, 0.2);
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 15px;
    color: #4caf50;
}

.member-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    min-height: 80px;
}

.member-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(156, 39, 176, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-light);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* 页脚 */
footer {
    background: rgba(10, 5, 24, 0.9);
    padding: 70px 0 20px;
    border-top: 1px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent-light);
}

.footer-col p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent-light);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(156, 39, 176, 0.2);
    color: var(--text);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(156, 39, 176, 0.2);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .members-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(26, 10, 46, 0.95);
        flex-direction: column;
        padding: 20px 0;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .server-status {
        display: none;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .search-filter {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .members-grid {
        grid-template-columns: 1fr;
    }
    
    .member-card {
        max-width: 350px;
        margin: 0 auto;
    }
}