/* =========================================================
   DEARDEN2007 PUBLIC MEMBER PROFILE
========================================================= */

.member-profile-page {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
    padding: 50px 0 90px;
}

.member-profile-hero {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 28px;
    align-items: center;

    padding: 34px;

    background:
        radial-gradient(circle at top left, rgba(40, 95, 220, 0.18), transparent 35%),
        linear-gradient(145deg, #131923, #080b10);

    border: 1px solid #303a48;
    border-radius: 24px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.45),
        0 0 25px rgba(40, 95, 220, 0.10);
}

.member-avatar {
    display: grid;
    place-items: center;

    width: 110px;
    height: 110px;

    color: #ffffff;
    font-size: 42px;
    font-weight: 900;

    background:
        linear-gradient(
            135deg,
            #3478f6,
            #173f9e
        );

    border: 2px solid #6b9fff;
    border-radius: 50%;

    box-shadow:
        0 0 28px rgba(52, 120, 246, 0.35);
}

.member-profile-eyebrow {
    display: inline-block;
    margin-bottom: 10px;

    color: #77a9ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.member-profile-hero h1 {
    margin: 0 0 8px;

    color: #ffffff;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1;
}

.member-handle {
    margin: 0 0 12px;

    color: #9fc0ff;
    font-size: 18px;
    font-weight: 800;
}

.member-since {
    margin: 0;
    color: #9ca6b3;
    font-size: 14px;
}

.member-profile-back {
    display: inline-flex;
    margin-bottom: 22px;

    color: #8fb4ff;
    font-weight: 800;
    text-decoration: none;
}

.member-profile-back:hover {
    color: #ffffff;
}

.member-profile-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    margin-top: 30px;
}

.member-panel {
    padding: 30px;

    background:
        linear-gradient(
            145deg,
            #111720,
            #080b10
        );

    border: 1px solid #303a48;
    border-radius: 20px;

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.35);
}

.member-panel h2 {
    margin: 0 0 22px;

    color: #ffffff;
    font-size: 28px;
}

.member-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.member-stat {
    padding: 22px;

    text-align: center;

    background: #0b1017;
    border: 1px solid #2e3947;
    border-radius: 14px;
}

.member-stat strong {
    display: block;
    margin-bottom: 6px;

    color: #72a5ff;
    font-size: 34px;
}

.member-stat span {
    color: #aeb7c2;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-recent-posts {
    display: grid;
    gap: 14px;
}

.member-post-card {
    display: block;
    padding: 18px 20px;

    color: #ffffff;
    text-decoration: none;

    background: #0b1017;
    border: 1px solid #2f3946;
    border-radius: 13px;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.member-post-card:hover {
    transform: translateY(-3px);
    border-color: #4e83ea;

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.28);
}

.member-post-title {
    display: block;
    margin-bottom: 8px;

    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
}

.member-post-meta {
    color: #8daee9;
    font-size: 12px;
}

.member-empty {
    margin: 0;
    color: #9da7b3;
    line-height: 1.6;
}

@media (max-width: 800px) {
    .member-profile-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .member-profile-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .member-avatar {
        margin: 0 auto;
    }

    .member-stats {
        grid-template-columns: 1fr;
    }
}