/* === PAGE HEADER === */
.page-header {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 2rem;
    text-align: center;
    animation: fadeInDown 0.6s ease-out;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.page-header h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* === CONTENT SECTIONS === */
.content-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.section-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.section-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-card h2 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-card p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.section-card ul {
    list-style: none;
    margin-top: 1.5rem;
}

.section-card li {
    padding: 0.7rem 0;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.section-card li::before {
    content: '✨';
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* === MEMBERS GRID === */
.members-container {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.members-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    text-align: center;
}

.members-container h2 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.members-container > p {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
}

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

.member-card {
    text-align: center;
    animation: fadeInUp 0.6s ease-out forwards;
}

.member-card:nth-child(1) { animation-delay: 0.1s; }
.member-card:nth-child(2) { animation-delay: 0.2s; }
.member-card:nth-child(3) { animation-delay: 0.3s; }
.member-card:nth-child(4) { animation-delay: 0.4s; }
.member-card:nth-child(5) { animation-delay: 0.5s; }
.member-card:nth-child(6) { animation-delay: 0.6s; }
.member-card:nth-child(7) { animation-delay: 0.7s; }
.member-card:nth-child(8) { animation-delay: 0.8s; }

.member-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 0.8rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.3);
    transition: all 0.3s ease;
}

.member-card:hover .member-avatar {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
}

.member-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.member-role {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 400;
}

/* === STATS SECTION === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.95;
    font-weight: 500;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .section-card {
        padding: 2rem;
    }

    .section-card h2 {
        font-size: 1.5rem;
    }

    .members-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1.5rem;
    }

    .member-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .content-section {
        padding: 0 1rem;
    }
}
