/* ============================================
   About Page Styles - 高对比度优化版
   ============================================ */

/* Page Hero */
.about-hero {
    padding: 140px 20px 80px;
    background: linear-gradient(180deg, #FAFAF8 0%, #F5F3EF 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(212, 168, 75, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(61, 156, 168, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.about-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-mascot {
    margin-bottom: 40px;
}

.mascot-avatar {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.mascot-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(212, 168, 75, 0.35);
}
}

.about-intro h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #B8922F, #3D9CA8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-subtitle {
    font-size: 1.3rem;
    color: #2D7A85;
    margin-bottom: 20px;
    font-weight: 600;
}

.intro-desc {
    font-size: 1.1rem;
    color: #2D3748;
    line-height: 1.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Main Content */
.about-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    background: #FAFAF8;
    min-height: 100vh;
}

.about-section {
    margin-bottom: 80px;
}

.about-section h2 {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

/* Mission Cards */
.mission-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mission-card:hover {
    border-color: #D4A84B;
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(212, 168, 75, 0.12);
}

.mission-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.mission-content h3 {
    color: #1a202c;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.mission-content p {
    color: #4A5568;
    line-height: 1.8;
    font-size: 1rem;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.skill-item {
    padding: 25px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.skill-item:hover {
    border-color: #3D9CA8;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(61, 156, 168, 0.12);
}

.skill-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 15px;
}

.skill-item h3 {
    color: #1a202c;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.skill-item p {
    color: #4A5568;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Tech Stack */
.tech-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.tech-category h3 {
    color: #2D7A85;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tags span {
    background: rgba(212, 168, 75, 0.15);
    color: #B8922F;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(212, 168, 75, 0.25);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #D4A84B, #3D9CA8);
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 5px;
    width: 14px;
    height: 14px;
    background: #D4A84B;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(212, 168, 75, 0.5);
}

.timeline-date {
    color: #2D7A85;
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.timeline-content {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.timeline-content h3 {
    color: #1a202c;
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.timeline-content p {
    color: #4A5568;
    font-size: 0.95rem;
}

/* CTA Section */
.about-section.cta {
    text-align: center;
    padding: 60px 30px;
    background: rgba(212, 168, 75, 0.08);
    border: 1px solid rgba(212, 168, 75, 0.2);
    border-radius: 20px;
}

.about-section.cta h2 {
    margin-bottom: 15px;
}

.about-section.cta p {
    color: #4A5568;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-btn-primary {
    background: linear-gradient(135deg, #D4A84B, #B8922F);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 15px rgba(212, 168, 75, 0.3);
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 168, 75, 0.4);
    color: #FFFFFF;
}

.cta-btn-secondary {
    background: #FFFFFF;
    color: #1a202c;
    border: 2px solid #D4A84B;
}

.cta-btn-secondary:hover {
    background: rgba(212, 168, 75, 0.1);
    color: #B8922F;
}

/* Responsive */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 1.8rem;
    }
    
    .skills-grid,
    .tech-stack {
        grid-template-columns: 1fr;
    }
    
    .mission-card {
        flex-direction: column;
        text-align: center;
    }
}

/* 留言板样式 */
.guestbook-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
    align-items: flex-start;
}
.guestbook-form {
    background: var(--bg-card);
    padding: 1.8rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.guestbook-form input, .guestbook-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.guestbook-form input:focus, .guestbook-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}
.guestbook-form button { width: 100%; }
.guestbook-messages {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 0.5rem;
}
/* 滚动条美化 */
.guestbook-messages::-webkit-scrollbar { width: 6px; }
.guestbook-messages::-webkit-scrollbar-track { background: var(--bg-secondary); border-radius: 3px; }
.guestbook-messages::-webkit-scrollbar-thumb { background: var(--accent-gold); border-radius: 3px; }

.gb-card {
    background: var(--bg-card);
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.gb-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-blue);
    border-radius: 12px 0 0 12px;
    opacity: 0.7;
}
.gb-card.admin::before {
    background: var(--accent-gold);
}
.gb-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}
.gb-name { font-weight: bold; color: var(--accent-blue); display: flex; align-items: center; gap: 0.4rem; }
.gb-time { color: var(--text-secondary); font-size: 0.85rem; }
.gb-content { color: var(--text-primary); line-height: 1.6; font-size: 0.95rem; white-space: pre-wrap; word-break: break-all; }

@media (max-width: 768px) {
    .guestbook-container { grid-template-columns: 1fr; }
}
