@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Google+Sans+Flex:opsz,slnt,wdth,wght,GRAD,ROND@6..144,-10..0,25..151,1..1000,0..100,0..100&display=swap');

:root {
    --background: #121016;
    --surface: #1d1b20;
    --surface-variant: #2d2a33;
    --primary: #8859ff;
    --primary-container: #4527a0;
    --on-primary: #ffffff;
    --on-surface: #e6e1e5;
    --on-surface-variant: #cac4d0;
    --outline: #49454f;
    --highlight-color: #8859ff;
    --highlight-bg: #f2edff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    font-family: 'Google Sans Flex', sans-serif;
    -webkit-user-drag: none;
}

*::selection {
    color: var(--highlight-color);
    background: var(--highlight-bg);
}

body {
    min-height: 100vh;
    background: var(--background);
    color: var(--on-surface);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 70px 15px 30px;
    gap: 1.5rem;
}

/* Cookie shapes styling matching homepage and utility page exactly */
.pfp-wrapper {
    width: clamp(80px, 8vw, 100px);
    height: clamp(80px, 8vw, 100px);
    clip-path: url('#active-clip');
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.pfp-icon-content {
    width: 100%;
    height: 100%;
    background: var(--primary-container); /* Theme-responsive icon background */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.pfp-icon-content svg {
    width: 42%;
    height: 42%;
    color: var(--on-primary-container, #ffffff);
}

/* Portal Layout matching other portals */
.portal-container {
    width: 100%;
    max-width: 850px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.back-link {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--on-surface-variant);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
}

.back-link:hover {
    color: var(--on-surface);
}

.back-link svg {
    transition: transform 0.2s ease;
}

.back-link:hover svg {
    transform: translateX(-4px);
}

.portal-header {
    text-align: center;
}

.portal-title {
    font-size: 3rem;
    font-weight: 800;
    font-variation-settings: 'ROND' 100, 'wdth' 85;
    color: var(--on-surface);
    margin-bottom: 0.5rem;
    user-select: none;
    -webkit-user-select: none;
}

.portal-header p {
    font-size: 1.05rem;
    color: var(--on-surface-variant);
    font-weight: 500;
    max-width: 500px;
    margin: 0 auto;
}

/* Content Area styling */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

/* Material 3 Card style matching site design standards (no shadow, border outline) */
.about-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 24px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    font-variation-settings: 'ROND' 100, 'wdth' 80;
    user-select: none;
    -webkit-user-select: none;
}

.about-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--on-surface-variant);
    user-select: none;
    -webkit-user-select: none;
}

.intro-card p {
    user-select: text;
    -webkit-user-select: text;
}

/* Socials Grid and Items */
.socials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .socials-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .portal-title {
        font-size: 2.2rem;
    }
    
    .back-link {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 0.5rem;
    }
    
    body {
        padding-top: 30px;
    }
}

.social-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
}

.social-item:hover {
    background-color: var(--surface-variant);
    border-color: var(--primary);
}

.social-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--on-surface-variant);
}

.social-handle {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    font-variation-settings: 'ROND' 100, 'wdth' 80;
}
