/* ===== 页面标题区域 ===== */
.page-hero {
    padding: 180px 0 100px;
    background: var(--dark-bg);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--primary-color);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0, 210, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(87, 185, 210, 0.05) 0%, transparent 50%),
        linear-gradient(rgba(0, 210, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--primary-color), transparent);
    box-shadow: 0 0 20px var(--primary-color);
}

.page-hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 8px;
    font-weight: 900;
    text-shadow: 0 0 30px rgba(0, 210, 255, 0.3);
}

.page-hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== 关于我们页面样式 ===== */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--primary-color);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    box-shadow: 
        0 0 40px rgba(0, 210, 255, 0.2),
        inset 0 0 30px rgba(0, 210, 255, 0.05);
}

.about-content p, .about-content ol, .about-content ul {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem 0;
}

.about-content ol {
    list-style: decimal;
    margin-left: 2rem;
}

.about-content ul {
    list-style: disc;
    margin-left: 2rem;
}

/* 时间线样式 */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-content {
    padding-right: 3rem;
}

.timeline-item:nth-child(even) .timeline-content {
    padding-left: 3rem;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 团队成员网格 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 0;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

.team-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

.team-card:hover {
    background: rgba(0, 210, 255, 0.05);
    box-shadow: 
        0 2px 10px rgba(0, 210, 255, 0.3),
        inset 0 0 10px rgba(0, 210, 255, 0.1);
}

.team-card:hover::before {
    opacity: 1;
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: rgba(0, 210, 255, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    clip-path: polygon(25% 0, 75% 0, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0 75%, 0 25%);
    box-shadow: 
        0 0 25px rgba(0, 210, 255, 0.4),
        inset 0 0 20px rgba(0, 210, 255, 0.1);
    transition: all 0.3s ease;
}

.team-card:hover .team-avatar {
    background: rgba(0, 210, 255, 0.2);
    box-shadow: 
        0 0 40px rgba(0, 210, 255, 0.6),
        inset 0 0 30px rgba(0, 210, 255, 0.2);
}

/* 联队展示样式 */
.team-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-showcase-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 210, 255, 0.3);
    padding: 2rem;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    box-shadow: 
        0 0 30px rgba(0, 210, 255, 0.2),
        inset 0 0 20px rgba(0, 210, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-showcase-card:hover {
    box-shadow: 
        0 2px 10px rgba(0, 210, 255, 0.3),
        inset 0 0 5px rgba(0, 210, 255, 0.1);
    border-color: var(--primary-color);
}

.team-showcase-card:hover::before {
    opacity: 1;
}

.team-showcase-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 0;
    clip-path: polygon(25% 0, 75% 0, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0 75%, 0 25%);
    border: 2px solid var(--primary-color);
    overflow: hidden;
    position: relative;
    box-shadow: 
        0 0 25px rgba(0, 210, 255, 0.4),
        inset 0 0 20px rgba(0, 210, 255, 0.1);
    transition: all 0.3s ease;
}

.team-showcase-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-showcase-card:hover .team-showcase-avatar img {
    transform: none;
}

.team-showcase-card:hover .team-showcase-avatar {
    box-shadow: 
        0 0 40px rgba(0, 210, 255, 0.6),
        inset 0 0 30px rgba(0, 210, 255, 0.2);
}

.team-showcase-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.team-showcase-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.team-showcase-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.team-showcase-info-item {
    text-align: center;
}

.team-showcase-info-label {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.team-showcase-info-value {
    color: var(--text-light);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .team-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-showcase-card {
        padding: 1.5rem;
    }
    
    .team-showcase-info {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
}

.team-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.team-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 规则内容 */
.rules-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.rule-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 0;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 0 100%);
}

.rule-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rule-item:hover {
    border-color: var(--primary-color);
    box-shadow: 
        0 1px 10px rgba(0, 210, 255, 0.3),
        inset 0 0 5px rgba(0, 210, 255, 0.05);
}

.rule-item:hover::before {
    opacity: 0.5;
}

.rule-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.rule-item h3 i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.rule-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 招募页面样式 */
.join-conditions {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--primary-color);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    box-shadow: 
        0 0 40px rgba(0, 210, 255, 0.2),
        inset 0 0 30px rgba(0, 210, 255, 0.05);
}

.join-conditions h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.join-conditions ol {
    list-style: decimal;
    margin-left: 2rem;
    color: var(--text-secondary);
    line-height: 2;
}

.join-conditions li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.join-conditions a {
    color: var(--accent-color);
    text-decoration: underline;
    word-break: break-all;
}

.join-conditions a:hover {
    color: var(--primary-color);
}

/* 联系方式卡片 */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: var(--card-bg);
    padding: 2rem;
    border: 1px solid var(--primary-color);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: 
        0 2px 10px rgba(0, 210, 255, 0.3),
        inset 0 0 5px rgba(0, 210, 255, 0.1);
}

.contact-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-card a {
    color: var(--accent-color);
    word-break: break-all;
}

.contact-card a:hover {
    color: var(--primary-color);
}

/* 友情链接样式 */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.link-card {
    background: var(--card-bg);
    padding: 2rem;
    border: 1px solid var(--border-color);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    text-align: center;
    transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
    position: relative;
}

.link-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--primary-color);
    opacity: 0;
    transition: opacity 0.18s ease;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

.link-card:hover {
    box-shadow: 
        0 2px 10px rgba(0, 210, 255, 0.3),
        inset 0 0 5px rgba(0, 210, 255, 0.1);
}

.link-card:hover::before {
    opacity: 1;
}

.link-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 210, 255, 0.1);
    border: 2px solid var(--primary-color);
    clip-path: polygon(25% 0, 75% 0, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0 75%, 0 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: 
        0 0 20px rgba(0, 210, 255, 0.3),
        inset 0 0 15px rgba(0, 210, 255, 0.05);
    transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.link-card:hover .link-icon {
    background: rgba(0, 210, 255, 0.2);
    box-shadow: 
        0 0 30px rgba(0, 210, 255, 0.5),
        inset 0 0 20px rgba(0, 210, 255, 0.1);
}

.link-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.link-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.link-url {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-color);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    font-size: 0.9rem;
    max-width: 100%;
    overflow: hidden;
}

.link-url a {
    display: block;
    width: 100%;
    max-width: 100%;
    color: inherit !important;
    text-decoration: none !important;
    line-height: 1.45;
    text-align: center;
    overflow-wrap: anywhere;
}

.link-url:hover {
    background: var(--accent-color);
    color: var(--dark-bg);
    box-shadow: 0 0 20px rgba(87, 185, 210, 0.5);
    transform: translateY(-1px);
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .page-hero {
        padding: calc(154px + env(safe-area-inset-top)) 0 80px;
    }

    .page-hero h1 {
        font-size: 3.1rem;
        letter-spacing: 5px;
    }

    .page-hero p {
        font-size: 1.1rem;
    }

    .team-grid,
    .links-grid,
    .contact-cards,
    .rules-content {
        grid-template-columns: 1fr;
    }

    .team-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 140px 0 60px;
    }

    .page-hero h1 {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .page-hero p {
        font-size: 1rem;
    }
    
    .timeline::before {
        left: 24px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 2rem;
    }
    
    .timeline-item .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        padding-right: 0;
        padding-left: 0;
    }
    
    .timeline-icon {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
    
    .about-content {
        padding: 1.5rem;
    }

    .about-content p,
    .about-content ol,
    .about-content ul {
        line-height: 1.85;
    }

    .join-conditions {
        padding: 1.5rem;
    }

    .join-conditions h3 {
        font-size: 1.5rem;
    }

    .join-conditions li {
        font-size: 1rem;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-card,
    .link-card,
    .team-card,
    .team-showcase-card,
    .rule-item {
        padding: 1.5rem;
    }

    .contact-card i,
    .link-icon {
        width: 72px;
        height: 72px;
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .link-url {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0.7rem 0.9rem;
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: calc(120px + env(safe-area-inset-top)) 0 50px;
    }

    .page-hero h1 {
        font-size: 1.95rem;
        letter-spacing: 2px;
    }

    .page-hero p {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .about-content {
        padding: 1.2rem;
    }

    .about-content ol,
    .about-content ul {
        margin-left: 1.2rem;
    }

    .join-conditions {
        padding: 1.2rem;
    }

    .join-conditions ol {
        margin-left: 1.2rem;
    }

    .contact-card,
    .link-card {
        padding: 1.5rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .timeline-content p,
    .join-conditions li,
    .contact-card p,
    .link-card p {
        font-size: 0.92rem;
    }
}
