/* =========================
   About Page
========================= */

body {
    overflow: hidden;
}

main {
    overflow-y: auto;
    height: calc(100vh - 50px);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

main::-webkit-scrollbar {
    display: none;
}

/* =========================
   About — Profile Header
========================= */

.about-profile {
    padding-bottom: 2rem;
    display: flex;
    align-items: flex-end;
    gap: 16px;
}

.profile-header {
    flex-shrink: 0;
}

.profile-title {
    font-size: 28px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.profile-sub {
    font-size: 14px;
    color: var(--text-tertiary);
    font-weight: 300;
    margin: 0;
}

/* =========================
   Tabs
========================= */

.profile-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.profile-tabs .btn {
    background-color: var(--primary-100);
    color: var(--primary-900);
    font-size: 13px;
}

.profile-tab-active {
    border: 1px solid var(--primary-600) !important;
}

/* =========================
   Profile Overview
========================= */

.gkp {
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
}

.profile-overview {
    display: flex;
    gap: 12px;
    height: 312px;
    width: 100%;
}

/* Media Grid */

.media-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    width: 500px;
    flex-shrink: 0;
    height: 312px;
    border-radius: 16px;
    overflow: hidden;
}

.media-primary {
    grid-row: 1 / 3;
}

.media-primary img,
.media-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-primary img { border-radius: 16px 0 0 16px; }
.top img           { border-radius: 0 16px 0 0; }
.bottom img        { border-radius: 0 0 16px 0; }

/* Recent Post */

.recent-post {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 16px;
    background-color: var(--bg-surface);
    overflow: hidden;
    width: 220px;
    flex-shrink: 0;
}

.recent-post > img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.description {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.platform-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.platform-logo {
    display: flex;
    align-items: center;
    gap: 6px;
}

.platform-logo img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.platform-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

.platform-username {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 300;
    margin: 0;
}

.description-text p {
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 300;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Profile Meta */

.profile-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
    height: 312px;
}

/* Other Infos */

.other-infos {
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex-shrink: 0;
}

.age,
.full-name {
    flex: 1;
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-tertiary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.age-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin: 0;
    line-height: 1;
}

.info-sub {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 300;
    margin: 0;
}

.full-name-info {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* Recent Featuring */

.recent-featuring {
    flex: 1;
    min-height: 0;
}

.video-card {
    height: 100%;
    display: flex;
    flex-direction: row;
    border-radius: 16px;
    border: 1px solid var(--border);
    background-color: var(--bg-surface);
    overflow: hidden;
}

.video-card-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px 14px;
    flex: 1;
    min-width: 0;
}

.video-card-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.video-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

.video-description {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-secondary);
    font-weight: 300;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-platform {
    display: flex;
    align-items: center;
    gap: 6px;
}

.video-platform img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    flex-shrink: 0;
}

.video-card-thumb {
    width: 55%;
    flex-shrink: 0;
}

.video-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================
   Introduction Section
========================= */

.intro-section {
    padding: 25px 0;
}

.intro-heading {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin: 0 0 16px;
}

.intro-text {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-secondary);
    font-weight: 300;
    width: 100%;
    margin: 0 0 32px;
}

/* Moments */

.moments {
    display: flex;
    gap: 0;
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    background-color: var(--bg-surface);
    margin-bottom: 32px;
}

.moment-img {
    width: 50%;
    flex-shrink: 0;
    min-height: 360px;
}

.moment-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px 0 0 16px;
}

.moment-info {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-left: 1px solid var(--border);
}

.moment-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin: 0;
}

.moment-date {
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 300;
    margin: 0;
}

.moment-desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-secondary);
    font-weight: 300;
    margin: 0;
}

/* =========================
   Socials Section
========================= */

.socials-section {
    padding: 25px 0;
}

.socials-grid {
    display: flex;
    gap: 0;
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 50px;
}

.social-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 14px;
    text-decoration: none;
}

.social-card:last-child {
    width: 100%;
    align-items: center;
}

.social-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    text-align: center;
}

.social-handle {
    background-color: var(--bg-surface);
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: 25px;
    gap: 6px;
    width: 100%;
    align-items: center;
}

.social-handle img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.social-handle span {
    font-size: 11px;
    color: var(--text-tertiary);
    font-weight: 300;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =========================
   Footer Breadcrumb
========================= */

.footer-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 16px;
}

.breadcrumb-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    opacity: 0.6;
}

.breadcrumb-sep {
    font-size: 14px;
    color: var(--text-tertiary);
}

.breadcrumb-current {
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 300;
}

/* =========================
   Mobile
========================= */

@media (max-width: 767px) {
    .about-profile {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-overview {
        flex-direction: column;
        height: auto;
    }

    .media-grid {
        width: 100%;
        height: 220px;
    }

    .recent-post {
        width: 100%;
    }

    .profile-meta {
        height: auto;
    }

    .recent-featuring {
        height: 160px;
    }

    .moments {
        flex-direction: column;
    }

    .moment-img {
        width: 100%;
        min-height: 220px;
    }

    .moment-info {
        border-left: none;
        border-top: 1px solid var(--border);
        padding: 20px;
    }

    .socials-grid {
        flex-wrap: wrap;
    }

    .social-card {
        flex: 1 1 calc(33.33% - 1px);
        border-bottom: 1px solid var(--border);
    }
}