/* ============================================
   ABOUT PAGE - SIMPLE CARD LAYOUT
   ============================================ */

/* Full viewport layout - no scroll */
.about-fullscreen {
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 1100px;
    width: 100%;
}

/* Profile Card - Glassmorphic with nav-link effect */
.about-card {
    flex-shrink: 0;
    width: 280px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    backdrop-filter: blur(12px) saturate(1.2);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: visible;
}

/* Animated traveling neon glow - like nav pills */
.about-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 22px;
    background: linear-gradient(90deg,
            transparent 0%,
            transparent 40%,
            rgba(160, 160, 160, 0.4) 50%,
            transparent 60%,
            transparent 100%);
    background-size: 200% 100%;
    opacity: 0;
    filter: blur(6px);
    z-index: -1;
    pointer-events: none;
}

/* Hover state */
.about-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.about-card:hover::before {
    animation: neonTravel 2s ease-in-out infinite;
    opacity: 1;
}

@keyframes neonTravel {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Photo area */
.about-photo {
    width: 100%;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-photo:empty::after {
    content: '';
    width: 60%;
    height: 60%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.about-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.about-role {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.02em;
}

/* Bio Section - Plain text, no box */
.about-bio-section {
    flex: 0 1 600px;
    max-width: 600px;
}

.about-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.about-bio {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

/* ============================================
   RESPONSIVE - TABLET (768px - 900px)
   ============================================ */
@media (min-width: 481px) and (max-width: 900px) {
    .about-fullscreen {
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
    }

    .about-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 2rem;
    }

    .about-card {
        width: 220px;
        padding: 1.5rem;
    }

    .about-photo {
        margin-bottom: 1rem;
    }

    .about-name {
        font-size: 1.2rem;
    }

    .about-role {
        font-size: 0.75rem;
    }

    .about-bio-section {
        max-width: 80%;
    }

    .about-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .about-bio {
        font-size: 0.85rem;
        line-height: 1.7;
    }
}

/* ============================================
   RESPONSIVE - MOBILE (up to 480px)
   ============================================ */
@media (max-width: 480px) {

    /* Full viewport, centered layout */
    .about-fullscreen {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 5rem 1rem 2rem 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow-y: auto;
    }

    /* Stack vertically, ALL content centered as a group */
    .about-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 1.5rem;
        padding: 0;
        margin: 300px auto 0 auto;
    }

    /* Profile Card - centered, wider to fit name */
    .about-card {
        width: 220px;
        padding: 1.5rem;
        border-radius: 16px;
        margin: 0 auto;
        flex-shrink: 0;
    }

    .about-photo {
        border-radius: 10px;
        margin-bottom: 0.75rem;
    }

    .about-name {
        font-size: 1rem;
        margin-bottom: 0.25rem;
        white-space: normal;
    }

    .about-role {
        font-size: 0.75rem;
    }

    /* Bio Section - directly below the card */
    .about-bio-section {
        position: relative;
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        margin: 0;
        text-align: center;
        background: none;
    }

    .about-title {
        font-size: 1.1rem;
        margin: 0 0 0.5rem 0;
    }

    .about-bio {
        font-size: 0.85rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.7);
    }
}