/* ===== 基础重置与变量 ===== */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #fafafa;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-tertiary: #86868b;
    --accent: #0071e3;
    --accent-hover: #0077ed;
    --border: #d2d2d7;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 顶部导航栏 ===== */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background var(--transition);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
}

.logo-mark {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #1d1d1f, #424245);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.logo-text {
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 48px;
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-primary);
    opacity: 0.85;
    transition: opacity var(--transition), color var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    opacity: 1;
    color: var(--accent);
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    padding: 0;
    color: var(--text-primary);
}

.search-btn:hover {
    color: var(--accent);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 280px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(40px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), 0 40px 80px rgba(0, 0, 0, 0.15);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
    pointer-events: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.mega-menu-inner {
    display: flex;
    gap: 32px;
}

.mega-column h4 {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.mega-column a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
    transition: color var(--transition), transform var(--transition);
}

.mega-column a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

/* ===== 搜索覆盖层 ===== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(40px);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.search-overlay.active {
    transform: translateY(0);
}

.search-box {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 600px;
    max-width: 90%;
    padding: 0 24px;
}

.search-box svg {
    color: var(--text-tertiary);
    flex-shrink: 0;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 20px;
    font-family: var(--font-sans);
    background: transparent;
    color: var(--text-primary);
}

.search-close {
    border: 1px solid var(--border);
    background: transparent;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 12px;
    color: var(--text-tertiary);
    cursor: pointer;
    font-family: var(--font-sans);
}

.search-close:hover {
    background: var(--bg-secondary);
}

/* ===== Hero 主视觉 ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 113, 227, 0.1);
    color: var(--accent);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    background: linear-gradient(135deg, #1d1d1f 0%, #424245 50%, #1d1d1f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 28px);
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 40px;
    letter-spacing: 0.02em;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* 按钮样式 */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: var(--accent);
    color: white;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--accent);
    font-size: 15px;
    font-weight: 500;
    transition: all var(--transition);
}

.btn-secondary:hover {
    color: var(--accent-hover);
    transform: translateX(4px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border: 1.5px solid var(--text-primary);
    color: var(--text-primary);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    transition: all var(--transition);
}

.btn-outline:hover {
    background: var(--text-primary);
    color: white;
}

.btn-large {
    padding: 16px 36px;
    font-size: 17px;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 16px 28px;
    color: var(--accent);
    font-size: 17px;
    font-weight: 500;
    transition: all var(--transition);
}

.btn-ghost:hover {
    color: var(--accent-hover);
}

.btn-register {
    padding: 10px 24px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-sans);
}

.btn-register:hover {
    background: var(--accent-hover);
    transform: scale(1.02);
}

.btn-watch {
    padding: 10px 24px;
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-sans);
}

.btn-watch:hover {
    border-color: var(--text-primary);
    background: var(--text-primary);
    color: white;
}

/* Hero Visual */
.hero-visual {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-card {
    position: absolute;
    border-radius: var(--radius-lg);
    opacity: 0.4;
}

.card-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: 15%;
    right: 10%;
    animation: float 8s ease-in-out infinite;
}

.card-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    bottom: 20%;
    left: 8%;
    animation: float 10s ease-in-out infinite reverse;
}

.card-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    top: 50%;
    right: 15%;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-2deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-tertiary);
    font-size: 12px;
}

.scroll-indicator span {
    display: block;
    width: 1px;
    height: 40px;
    background: var(--text-tertiary);
    animation: scrollPulse 2s ease-in-out infinite;
    transform-origin: top;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.5); }
}

/* ===== 通用区块 ===== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 113, 227, 0.1);
    color: var(--accent);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 48px;
}

/* ===== 关于我们 ===== */
.about-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    display: block;
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #1d1d1f, #424245);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== 新闻公告 ===== */
.news-section {
    padding: 120px 0;
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.news-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-card.featured {
    grid-column: span 2;
}

.news-image {
    height: 200px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.news-card.featured .news-image {
    height: 320px;
}

.news-img-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.news-img-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.news-img-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.news-img-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.news-category {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.news-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.news-body h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.news-card.featured .news-body h3 {
    font-size: 28px;
}

.news-body p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.news-link {
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
    align-self: flex-start;
    transition: all var(--transition);
}

.news-link:hover {
    color: var(--accent-hover);
    transform: translateX(4px);
}

/* ===== 管理团队 ===== */
.admin-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.admin-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.admin-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.admin-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.avatar-2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.avatar-3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.avatar-4 { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.avatar-5 { background: linear-gradient(135deg, #fa709a, #fee140); }
.avatar-6 { background: linear-gradient(135deg, #a8edea, #fed6e3); }

.avatar-initials {
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.avatar-6 .avatar-initials {
    color: var(--text-primary);
}

.admin-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.admin-role {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(0, 113, 227, 0.1);
    color: var(--accent);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
}

.admin-info p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== 赛事信息 ===== */
.events-section {
    padding: 120px 0;
    background: white;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-secondary);
    padding: 28px 32px;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.event-card:hover {
    background: #f0f0f2;
    transform: translateX(4px);
}

.event-status {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.event-status.upcoming {
    background: rgba(52, 199, 89, 0.15);
    color: #34c759;
}

.event-status.finished {
    background: rgba(142, 142, 147, 0.15);
    color: #8e8e93;
}

.event-info {
    flex: 1;
    padding: 0 24px;
}

.event-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.event-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--text-secondary);
    align-items: center;
    flex-wrap: wrap;
}

.event-team {
    font-weight: 500;
    color: var(--text-primary);
}

.event-result {
    color: var(--accent);
    font-weight: 600;
}

/* ===== 荣誉展示 ===== */
.honor-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.honor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.honor-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.honor-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.honor-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.honor-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.honor-rank {
    display: inline-block;
    padding: 4px 16px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
    color: #1d1d1f;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
}

/* ===== 招募 CTA ===== */
.recruit-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1d1d1f 0%, #424245 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.recruit-cta .btn-primary {
    background: white;
    color: var(--text-primary);
}

.recruit-cta .btn-primary:hover {
    background: var(--bg-secondary);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.recruit-cta .btn-ghost {
    color: white;
}

.recruit-cta .btn-ghost:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== 页脚 ===== */
.site-footer {
    background: var(--bg-secondary);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-tertiary);
}

.footer-icp {
    margin-top: 4px;
}

.footer-icp a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-icp a:hover {
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 12px;
    color: var(--text-tertiary);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* ===== 动画效果 ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

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

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .news-card.featured {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero {
        padding: 100px 24px 60px;
    }
    
    .about-section,
    .news-section,
    .admin-section,
    .events-section,
    .honor-section {
        padding: 80px 0;
    }
    
    .event-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 24px;
    }
    
    .event-info {
        padding: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-box {
        width: 90%;
    }
    
    .search-box input {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 16px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ===== 管理名单动态加载（配合 api/members.php） ===== */
.admin-avatar {
    overflow: hidden;
}

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

.admin-loading {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-secondary);
    padding: 48px 0;
    font-size: 14px;
}

/* ===== 后台管理入口（导航栏） ===== */
.nav-admin-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 100px;
    text-decoration: none;
    transition: color var(--transition), border-color var(--transition);
}

.nav-admin-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* ===== 管理名单分组展示 ===== */
.roster-group {
    margin-bottom: 40px;
}

.roster-group:last-child {
    margin-bottom: 0;
}

.roster-group-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 3px solid var(--accent);
}

/* 事件操作按钮兼容链接形式（动态渲染的回放按钮是 <a>） */
.event-actions .btn-watch,
.event-actions .btn-register {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ===== 新闻封面 + 标题链接 ===== */
.news-image {
    background-size: cover;
    background-position: center;
}

.news-title-link {
    color: inherit;
    text-decoration: none;
}

.news-title-link:hover {
    color: var(--accent);
}

/* ===== 管理名单 · 彩色角色标签 ===== */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.role-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 100px;
    line-height: 1.6;
}

.role-tag-blue   { background: rgba(0, 113, 227, 0.12);  color: #0071e3; }
.role-tag-green  { background: rgba(26, 127, 55, 0.12);  color: #1a7f37; }
.role-tag-purple { background: rgba(130, 80, 223, 0.12); color: #8250df; }
.role-tag-orange { background: rgba(178, 80, 0, 0.12);   color: #b25000; }
.role-tag-red    { background: rgba(215, 0, 21, 0.10);   color: #d70015; }
.role-tag-gray   { background: rgba(110, 110, 115, 0.14); color: #6e6e73; }

.roster-group-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: 1px;
}

/* ===== 新闻详情页 ===== */
.detail-body {
    background: var(--bg-secondary);
}

.detail-nav {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.detail-nav-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.detail-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
}

.detail-brand-mark {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-back {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
}

.detail-back:hover {
    color: var(--accent);
}

.detail-main {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 24px 64px;
}

.detail-article {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 48px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
    .detail-article {
        padding: 24px 20px;
    }
}

.detail-header {
    margin-bottom: 24px;
}

.detail-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    background: rgba(0, 113, 227, 0.1);
    padding: 3px 12px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.detail-header h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.35;
    margin-bottom: 12px;
}

.detail-meta {
    font-size: 13px;
    color: var(--text-tertiary);
}

.detail-summary {
    display: block;
    margin-top: 6px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.detail-cover {
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.detail-cover img {
    width: 100%;
    display: block;
}

.detail-content {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-primary);
}

.detail-content p {
    margin-bottom: 16px;
}

.detail-nocontent {
    color: var(--text-tertiary);
}

.detail-footer {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.detail-back-link {
    font-size: 13px;
    color: var(--accent);
    text-decoration: none;
}

.detail-back-link:hover {
    text-decoration: underline;
}

.detail-empty {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 64px 24px;
    text-align: center;
}

.detail-empty h1 {
    font-size: 20px;
    margin-bottom: 8px;
}

.detail-empty p {
    color: var(--text-secondary);
    font-size: 14px;
}

.detail-site-footer {
    border-top: 1px solid var(--border);
    padding: 24px;
    text-align: center;
    font-size: 12px;
    color: var(--text-tertiary);
}

.detail-site-footer a {
    color: var(--text-tertiary);
    text-decoration: none;
}
