/* =========================================
   ACE 团队官网样式表
   重庆九街组局团队 - 潮流暗色主题
   ========================================= */

/* ===== CSS变量定义 ===== */
:root {
    /* 颜色系统 */
    --primary-color: #8B5CF6;
    --primary-gradient: linear-gradient(135deg, #8B5CF6 0%, #A855F7 50%, #C084FC 100%);
    --secondary-color: #06B6D4;
    --accent-color: #F59E0B;
    
    /* 背景色 */
    --bg-primary: #0F0F0F;
    --bg-secondary: #1A1A1A;
    --bg-tertiary: #252525;
    
    /* 文字颜色 */
    --text-primary: #FFFFFF;
    --text-secondary: #B3B3B3;
    --text-tertiary: #8C8C8C;
    
    /* 边框和阴影 */
    --border-color: #333333;
    --shadow-primary: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-secondary: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.3);
    
    /* 字体 */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* 尺寸 */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 12px;
}

/* ===== 重置和基础样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

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

/* ===== 导航栏样式 ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 15, 15, 0.95);
    box-shadow: var(--shadow-secondary);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand a {
    font-size: 24px;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ===== Hero区域 ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 40%),
        var(--bg-primary);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-line {
    display: block;
    font-size: 0.85em;
    line-height: 1.3;
}

.hero-line:nth-child(3) {
    font-size: 0.75em;
    letter-spacing: 2px;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* ===== 按钮样式 ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-glow);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* ===== Hero视觉元素 ===== */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-cards {
    position: relative;
    width: 300px;
    height: 300px;
}

.card {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 3s;
}

.card-4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    33% {
        transform: translateY(-10px) translateX(5px);
    }
    66% {
        transform: translateY(5px) translateX(-5px);
    }
}

/* ===== 滚动指示器 ===== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== 通用区块样式 ===== */
.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== 特色区块 ===== */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== 活动预览区块 ===== */
.events-preview {
    padding: 100px 0;
}

.events-preview .section-title {
    margin-bottom: 60px;
}

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

.event-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.event-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-content {
    padding: 30px;
}

.event-tag {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.event-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.event-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-tertiary);
}

/* ===== 统计数据区块 ===== */
.stats {
    padding: 80px 0;
    background: var(--primary-gradient);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ===== 联系表单 ===== */
.contact {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.contact-item .icon {
    font-size: 24px;
}

.contact-form {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 20px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: var(--font-family);
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.contact-form button {
    width: 100%;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

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

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 10px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 14px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-tertiary);
}

/* ===== 页面标题 ===== */
.page-header {
    padding: 140px 0 80px;
    background: var(--bg-secondary);
    text-align: center;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 活动筛选 ===== */
.events-filter {
    padding: 40px 0;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-glow);
}

/* ===== 活动列表 ===== */
.events-list {
    padding: var(--section-padding);
}

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

.events-list .event-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.events-list .event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.events-list .event-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.event-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-gradient);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.events-list .event-content {
    flex: 1;
    padding: 0;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 20px;
    margin-bottom: 20px;
    width: fit-content;
}

.date-day {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.date-month {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.event-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.event-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.event-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.detail-icon {
    font-size: 16px;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.event-participants {
    display: flex;
    align-items: center;
    gap: 15px;
}

.participants-count {
    color: var(--text-secondary);
    font-size: 14px;
}

.participants-avatars {
    display: flex;
    align-items: center;
}

.participants-avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg-secondary);
    margin-left: -8px;
}

.participants-avatars img:first-child {
    margin-left: 0;
}

.more-participants {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-secondary);
    margin-left: -8px;
}

/* ===== 著名局头样式 ===== */
.famous-leaders {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    padding-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.leader-card {
    background: var(--bg-primary);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.leader-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.leader-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    flex-shrink: 0;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.leader-card:hover .leader-image img {
    transform: scale(1.05);
}

.leader-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.leader-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.leader-content h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.leader-specialty {
    font-size: 15px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.leader-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.leader-contact span {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.leader-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.leader-stats span {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
}

.leader-description {
    flex-grow: 1;
    margin-bottom: 25px;
}

.leader-description p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
    font-size: 15px;
}

.leader-description p strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* 响应式设计 - 著名局头 */
@media (max-width: 1200px) {
    .leaders-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .leaders-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 40px;
    }
    
    .leader-content {
        padding: 20px;
    }
    
    .leader-content h3 {
        font-size: 22px;
    }
    
    .leader-contact {
        padding: 12px;
    }
    
    .leader-stats {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .leader-stats span {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .leaders-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .leader-badge {
        top: 15px;
        right: 15px;
        padding: 6px 16px;
        font-size: 12px;
    }
}

/* ===== 合作酒吧页面样式 ===== */
.bars-section {
    padding: var(--section-padding);
}

.bars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.bar-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.bar-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.bar-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.bar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bar-card:hover .bar-image img {
    transform: scale(1.05);
}

.bar-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.bar-content {
    padding: 30px;
}

.bar-content h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.bar-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 16px;
}

.bar-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.bar-details .detail-item {
    font-size: 15px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* 响应式设计 - 合作酒吧 */
@media (max-width: 768px) {
    .bars-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .bar-image {
        height: 250px;
    }
    
    .bar-content {
        padding: 20px;
    }
    
    .bar-content h3 {
        font-size: 24px;
    }
    
    .bar-details {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .bar-details .detail-item {
        padding: 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .bar-image {
        height: 200px;
    }
    
    .bar-badge {
        top: 15px;
        right: 15px;
        padding: 6px 16px;
        font-size: 12px;
    }
}

/* ===== 关于我们页面 ===== */
.team-intro {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-size: 36px;
    margin-bottom: 30px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.intro-stats .stat-item h3 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.intro-stats .stat-item p {
    font-size: 16px;
    color: var(--text-secondary);
}

.intro-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-secondary);
}

/* ===== 团队价值观 ===== */
.team-values {
    padding: var(--section-padding);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== 团队成员 ===== */
.team-members {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.member-card {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.member-avatar {
    flex-shrink: 0;
}

.member-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.member-info h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.member-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 14px;
}

.member-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.member-social {
    display: flex;
    gap: 15px;
}

.member-social a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.member-social a:hover {
    color: var(--primary-color);
}

/* ===== 合作伙伴 ===== */
.partners {
    padding: var(--section-padding);
}

.partners-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
    font-size: 18px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    align-items: center;
}

.partner-logo {
    text-align: center;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
}

.partner-logo img {
    width: 100%;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%) opacity(1);
}

.partner-logo p {
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== 加入我们 ===== */
.join-us {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    text-align: center;
}

.join-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.join-content > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.join-positions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.position-card {
    padding: 30px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.position-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.position-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.position-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== 响应式设计扩展 ===== */
@media (max-width: 768px) {
    /* 导航栏优化 */
    .navbar .container {
        height: 60px;
        padding: 0 15px;
    }
    
    .nav-brand a {
        font-size: 20px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-menu a {
        font-size: 14px;
        padding: 8px 0;
        white-space: nowrap;
    }
    
    /* Hero区域优化 */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
        line-height: 1.5;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 15px;
        width: 100%;
        max-width: 280px;
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    /* 标题优化 */
    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    /* 关于我们页面优化 */
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .intro-text h2 {
        font-size: 24px;
        text-align: center;
    }
    
    .intro-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .members-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .member-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .member-avatar img {
        width: 80px;
        height: 80px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .events-list .event-card {
        flex-direction: column;
    }
    
    .events-list .event-image {
        width: 100%;
    }
    
    .event-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .filter-tabs {
        gap: 10px;
    }
    
    .filter-tab {
        padding: 10px 16px;
        font-size: 14px;
        flex: 1;
        text-align: center;
        min-width: 80px;
    }
    
    /* 联系表单优化 */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info h3 {
        font-size: 24px;
        text-align: center;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    /* 页脚优化 */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column h4 {
        margin-bottom: 15px;
    }
    
    /* 滚动优化 */
    html {
        scroll-padding-top: 60px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-line {
        font-size: 0.75em !important;
    }
    
    .hero-line:nth-child(3) {
        font-size: 0.65em !important;
        letter-spacing: 0.5px;
    }
}

/* Events Section Mobile Optimization */
@media (max-width: 768px) {
    .events-grid {
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .event-content {
        padding: 20px;
    }
    
    .event-image {
        height: 180px;
    }
    
    .event-title {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }
    
    .event-description {
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-bottom: 15px !important;
    }
    
    .event-details {
        gap: 10px;
        margin-bottom: 15px;
        padding: 15px !important;
    }
    
    .detail-item {
        font-size: 12px !important;
        padding: 8px !important;
    }
    
    .event-footer {
        gap: 15px;
    }
    
    .event-join-btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    /* 超小屏幕优化 */
    .container {
        padding: 0 15px;
    }
    
    .navbar .container {
        height: 55px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-menu a {
        font-size: 13px;
        padding: 6px 0;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
        max-width: 100%;
    }
    
    .section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .page-title {
        font-size: 26px;
    }
    
    .features-grid {
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .events-grid {
        gap: 20px;
    }
    
    .event-content {
        padding: 20px;
    }
    
    .event-title {
        font-size: 18px !important;
    }
    
    .event-details {
        grid-template-columns: 1fr;
        padding: 15px !important;
    }
    
    .event-participants {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .leaders-grid {
        gap: 25px;
    }
    
    .leader-content {
        padding: 20px;
    }
    
    .leader-content h3 {
        font-size: 20px;
    }
    
    .bars-grid {
        gap: 25px;
    }
    
    .bar-content {
        padding: 20px;
    }
    
    .bar-content h3 {
        font-size: 22px;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
}

/* 极小屏幕优化 (iPhone SE等) */
@media (max-width: 375px) {
    .nav-menu {
        gap: 12px;
    }
    
    .nav-menu a {
        font-size: 12px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 22px;
    }
}

/* ===== 通用类 ===== */
.text-center {
    text-align: center;
}
