.profile-social-page {
    overflow-x: hidden;
    background: linear-gradient(180deg, #0a0e27 0%, #1a1f2e 50%, #0f1419 100%);
    min-height: 100vh;
}

.profile-social-page *,
.profile-social-page *::before,
.profile-social-page *::after {
    box-sizing: border-box;
}

/* Container */
.profile-social {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
}

/* Cover Photo Section */
.profile-cover {
    position: relative;
    width: 100%;
    height: 340px;
    background: linear-gradient(135deg, rgba(0, 207, 255, .1) 0%, rgba(79, 172, 254, .08) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 340"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(0,207,255,.03)" stroke-width="1"/></pattern></defs><rect width="1200" height="340" fill="url(%23grid)"/></svg>');
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.profile-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 39, .4) 100%);
    pointer-events: none;
}

/* Header */
.profile-header {
    position: relative;
    z-index: 10;
    padding: 0 20px 20px;
    margin-top: -80px;
    display: flex;
    gap: 24px;
    align-items: flex-end;
}

.profile-avatar-section {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.profile-avatar-large {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid #0a0e27;
    background: #00cfff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0, 207, 255, .25);
    overflow: hidden;
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    flex-grow: 1;
    padding-bottom: 8px;
}

.profile-name {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.profile-title {
    margin: 4px 0 0;
    font-size: .95rem;
    color: #7fe9ff;
    font-weight: 600;
}

.profile-meta {
    margin-top: 8px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: .85rem;
    color: #b9d4e8;
}

.profile-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-meta-item strong {
    color: #7fe9ff;
}

.profile-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: auto;
}

/* Buttons */
.profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 16px;
    border: 1px solid rgba(126, 233, 255, .3);
    border-radius: 6px;
    background: rgba(0, 8, 18, .6);
    color: #f0fbff;
    font: 700 12px/1 "IBM Plex Mono", monospace;
    text-decoration: none;
    cursor: pointer;
    transition: all .16s ease;
    white-space: nowrap;
}

.profile-btn:hover {
    background: rgba(0, 8, 18, .8);
    border-color: rgba(126, 233, 255, .5);
    transform: translateY(-1px);
}

.profile-btn--primary {
    background: #00cfff;
    border-color: #00cfff;
    color: #03101a;
}

.profile-btn--primary:hover {
    background: #00b8ff;
    border-color: #00b8ff;
}

/* Main Content Area */
.profile-container {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 20px;
    padding: 20px;
}

.profile-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Bio Section */
.profile-section {
    padding: 20px;
    background: rgba(0, 8, 18, .94);
    border: 1px solid rgba(126, 233, 255, .18);
    border-radius: 8px;
}

.profile-section-title {
    margin: 0 0 16px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(126, 233, 255, .12);
}

.profile-bio {
    color: #d6eaff;
    line-height: 1.7;
    font-size: .95rem;
}

/* Stats Section */
.profile-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: rgba(126, 233, 255, .12);
    border: 1px solid rgba(126, 233, 255, .12);
    border-radius: 8px;
    overflow: hidden;
}

.profile-stat {
    padding: 16px 12px;
    text-align: center;
    background: rgba(0, 4, 10, .98);
    transition: all .16s ease;
}

.profile-stat:hover {
    background: rgba(0, 8, 18, 1);
}

.profile-stat-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #00cfff;
    line-height: 1;
}

.profile-stat-label {
    display: block;
    margin-top: 8px;
    font-size: .75rem;
    color: #b9d4e8;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Activity Feed */
.profile-activity {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-activity-item {
    padding: 16px;
    background: rgba(0, 8, 18, .94);
    border: 1px solid rgba(126, 233, 255, .12);
    border-radius: 8px;
    transition: all .16s ease;
}

.profile-activity-item:hover {
    background: rgba(0, 8, 18, 1);
    border-color: rgba(126, 233, 255, .24);
}

.profile-activity-title {
    margin: 0 0 6px;
    font-weight: 600;
    color: #ffffff;
    font-size: .95rem;
}

.profile-activity-desc {
    margin: 0;
    color: #b9d4e8;
    font-size: .85rem;
}

.profile-activity-time {
    margin-top: 8px;
    color: #7fe9ff;
    font-size: .75rem;
}

/* Empty State */
.profile-empty {
    padding: 40px 20px;
    text-align: center;
    color: #8fa6ba;
    background: rgba(0, 8, 18, .94);
    border: 1px dashed rgba(126, 233, 255, .18);
    border-radius: 8px;
}

/* Sidebar */
.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-card {
    padding: 20px;
    background: rgba(0, 8, 18, .94);
    border: 1px solid rgba(126, 233, 255, .18);
    border-radius: 8px;
}

.profile-card-title {
    margin: 0 0 16px;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(126, 233, 255, .12);
}

.profile-card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-card-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d6eaff;
    font-size: .9rem;
    line-height: 1.5;
}

.profile-card-item strong {
    color: #7fe9ff;
    display: block;
}

.profile-card-item a {
    color: #00cfff;
    text-decoration: none;
    font-weight: 600;
    transition: color .16s ease;
}

.profile-card-item a:hover {
    color: #7fe9ff;
}

/* No Content */
.profile-nocontent {
    padding: 60px 20px;
    text-align: center;
    background: rgba(0, 8, 18, .94);
    border: 1px dashed rgba(126, 233, 255, .18);
    border-radius: 8px;
    color: #8fa6ba;
}

.profile-nocontent p {
    margin: 0;
    font-size: .95rem;
}

/* Responsive */
@media (max-width: 980px) {
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-info {
        padding-bottom: 0;
    }

    .profile-actions {
        margin-left: 0;
        justify-content: center;
        width: 100%;
    }

    .profile-avatar-large {
        width: 140px;
        height: 140px;
        font-size: 3rem;
    }

    .profile-name {
        font-size: 1.6rem;
    }

    .profile-container {
        grid-template-columns: 1fr;
    }

    .profile-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-header {
        padding: 0 15px 15px;
        margin-top: -60px;
    }

    .profile-cover {
        height: 240px;
    }

    .profile-avatar-large {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }

    .profile-name {
        font-size: 1.4rem;
    }

    .profile-actions {
        gap: 8px;
    }

    .profile-btn {
        padding: 0 12px;
        font-size: 11px;
        min-height: 32px;
    }
}

@media (max-width: 640px) {
    .profile-social {
        padding-bottom: 20px;
    }

    .profile-container {
        padding: 15px;
        gap: 15px;
    }

    .profile-cover {
        height: 180px;
        margin-top: -15px;
    }

    .profile-header {
        padding: 0 15px 15px;
        margin-top: -50px;
    }

    .profile-avatar-large {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }

    .profile-name {
        font-size: 1.2rem;
    }

    .profile-meta {
        font-size: .8rem;
        gap: 8px;
    }

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

    .profile-section,
    .profile-card {
        padding: 16px;
    }

    .profile-section-title,
    .profile-card-title {
        font-size: 1rem;
    }
}
