.page-header {
    margin: 20px 0 55px;
}
.page-header h1 {
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
    margin: 0 0 16px;
    color: #fff;
}
.page-header p {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 620px;
    margin: 0;
}
.page-header .accent {
    color: var(--accent);
}

.section-block {
    margin-bottom: 60px;
}
.section-block:last-child {
    margin-bottom: 20px;
}
.section-label {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0 0 8px;
}
.section-sub {
    font-size: 0.92rem;
    color: var(--text-dim);
    margin: 0 0 22px;
}
.section-label + .team-grid {
    margin-top: 22px;
}

.nav-link.active {
    color: var(--accent);
}
.nav-link.active::after {
    width: 100%;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.member-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px;
    animation: slideUp 0.6s ease-out;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}


.member-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border);
    background: #0a0a0c;
}

.member-info {
    flex: 1;
    min-width: 0;
}

.member-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.member-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
}
.member-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    padding: 2px 8px;
    border-radius: 6px;
    font-family: 'Consolas', 'Monaco', monospace;
}
.member-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-dim);
    margin: 0 0 16px;
}

.member-socials {
    display: flex;
    gap: 10px;
}
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.social-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.25);
}
.social-btn svg {
    width: 16px;
    height: 16px;
}

.donator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.donator-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px;
    text-decoration: none;
    animation: slideUp 0.6s ease-out;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}


.donator-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border);
    background: #0a0a0c;
}

.donator-info {
    flex: 1;
    min-width: 0;
}

.donator-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.donator-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
}
.donator-amount {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    padding: 2px 8px;
    border-radius: 6px;
    font-family: 'Consolas', 'Monaco', monospace;
}
.donator-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-dim);
    margin: 0 0 16px;
}

.placeholder-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #1a1d23;
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.8rem;
    font-weight: 600;
}

.add-yourself {
    border-width: 2px;
    border-style: dashed;
    background: transparent;
}

.add-yourself-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.add-yourself:hover .add-yourself-btn {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.25);
}

@media (max-width: 600px) {
    .container {
        padding: 26px 18px;
    }
    .member-card,
    .donator-card {
        padding: 18px;
    }
}
