/* ========================================
   Tiyi1.com - 通用页面样式
   ======================================== */

/* 页面头部 Banner */
.page-header {
    padding: 180px 5% 80px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.page-header-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--light-purple);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 内容区块 */
.content-section {
    padding: 6rem 5%;
}

/* 文章列表样式 */
.article-list {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background: rgba(255, 255, 255, 0.03);
    border: var(--border-tech);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--purple-glow);
}

.article-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.article-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--light-purple);
    opacity: 0.8;
}

.article-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--star-white);
    line-height: 1.4;
}

.article-summary {
    color: var(--light-purple);
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.read-more {
    color: var(--neon-blue);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.article-card:hover .read-more::after {
    transform: translateX(5px);
}

/* 详情页样式 */
.article-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 5%;
}

.detail-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: var(--border-tech);
}

.detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--star-white);
    line-height: 1.3;
}

.detail-meta {
    display: flex;
    gap: 2rem;
    color: var(--light-purple);
    font-size: 0.95rem;
    opacity: 0.8;
}

.detail-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--star-white);
}

.detail-content p {
    margin-bottom: 1.5rem;
}

.detail-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.detail-content h2 {
    font-size: 1.8rem;
    margin: 3rem 0 1.5rem;
    color: var(--light-purple);
}

.detail-content h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: var(--star-white);
}

.detail-content ul,
.detail-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.detail-content li {
    margin-bottom: 0.8rem;
}

.detail-content blockquote {
    border-left: 4px solid var(--purple-glow);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: rgba(157, 124, 216, 0.1);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--light-purple);
}

/* 相关内容 */
.related-section {
    padding: 4rem 5%;
    background: var(--gradient-primary);
    margin-top: 4rem;
}

.related-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* 关于页面 */
.about-intro {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 5%;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--star-white);
}

.about-text p {
    color: var(--light-purple);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    border: var(--border-tech);
}

/* 团队展示 */
.team-section {
    padding: 6rem 5%;
}

.team-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.team-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: var(--border-tech);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--purple-glow);
}

.team-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--star-white);
}

.team-role {
    color: var(--neon-blue);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--light-purple);
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .detail-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 140px 5% 60px;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .article-list {
        grid-template-columns: 1fr;
    }

    .detail-title {
        font-size: 1.6rem;
    }

    .detail-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 120px 5% 40px;
    }

    .content-section {
        padding: 4rem 5%;
    }
}
