.member-hero {
    position: relative;
    background: linear-gradient(165deg, #0f172a 0%, #0b1120 45%, #0c1929 100%);
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
    overflow: hidden;
}

.member-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.member-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #22d3ee, #34d399, transparent);
    opacity: 0.5;
}

.member-hero .container {
    position: relative;
    z-index: 1;
}

.member-hero h1 {
    color: #f1f5f9;
}

.member-hero .badge {
    background: rgba(14, 165, 233, 0.12) !important;
    color: #22d3ee !important;
    border: 1px solid rgba(56, 189, 248, 0.2);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-weight: 500;
}

.member-photo-wrap {
    display: inline-block;
    position: relative;
    margin-bottom: 1.5rem;
}

.member-photo-inner {
    position: relative;
    display: inline-block;
}

.member-photo-ring {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 2px dashed rgba(34, 211, 238, 0.25);
    animation: ring-spin 20s linear infinite;
}

@keyframes ring-spin {
    to { transform: rotate(360deg); }
}

.member-photo-shadow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 20px;
    background: radial-gradient(ellipse, rgba(34, 211, 238, 0.2), transparent);
    filter: blur(8px);
    pointer-events: none;
}

.member-photo {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    padding: 10px;
    border: 3px solid rgba(56, 189, 248, 0.3);
    background: #151f32;
    object-fit: cover;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 32px rgba(34, 211, 238, 0.12);
    position: relative;
    z-index: 1;
}

.back-link {
    transition: all 0.2s ease;
    color: #38bdf8 !important;
}

.back-link:hover {
    transform: translateX(4px);
    color: #22d3ee !important;
}

section.py-5.bg-light {
    background: #111827 !important;
}

.contribution-box {
    border-radius: 20px;
    border: 1px solid rgba(56, 189, 248, 0.15);
    background: linear-gradient(160deg, #151f32 0%, #1a2740 100%);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.contribution-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #22d3ee, #34d399);
    opacity: 0.7;
}

.contribution-box h3 {
    color: #22d3ee;
}

.contribution-box .text-muted {
    color: #94a3b8 !important;
}

.contribution-list li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
    color: #94a3b8;
}

.contribution-list li::marker {
    color: #34d399;
}

footer.bg-dark,
.site-footer {
    background: linear-gradient(180deg, #111827 0%, #070b14 100%) !important;
    border-top: 1px solid rgba(56, 189, 248, 0.15);
    color: #94a3b8 !important;
}

@media (max-width: 575px) {
    .member-hero.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .member-hero .container.py-4 {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }

    .member-photo {
        width: 220px;
        height: 220px;
        padding: 8px;
        border-width: 2px;
    }

    .member-photo-ring {
        inset: -8px;
    }

    .member-hero .display-6 {
        font-size: 1.35rem;
    }

    .member-hero .badge {
        font-size: 0.75rem !important;
    }

    .contribution-box {
        padding: 1.25rem !important;
        border-radius: 16px;
    }

    .contribution-box h3 {
        font-size: 1.1rem;
    }

    .contribution-list {
        padding-right: 1.25rem;
        font-size: 0.9rem;
    }
}
