/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables */
:root {
    --bg: #0a0a0a;
    --bg-card: #141414;
    --accent: #22d3ee;
    --accent-soft: rgba(34, 211, 238, 0.1);
    --text: #fafafa;
    --text-muted: #737373;
    --border: rgba(255, 255, 255, 0.08);
}

/* Base */
html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* Container */
.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    width: 100%;
    height: 100%;
    max-height: 600px;
}

/* Panels */
.panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

/* Left Panel - Identity */
.left-panel {
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 24px;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.name {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.title {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
}

.bio {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
}

.stats {
    display: flex;
    gap: 32px;
    margin-top: 8px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Right Panel - Details */
.right-panel {
    justify-content: center;
    gap: 32px;
}

.section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: var(--accent-soft);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(34, 211, 238, 0.2);
}

/* Highlights */
.highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.highlight {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(251, 191, 36, 0.2);
    text-decoration: none;
    transition: all 0.2s ease;
}

a.highlight:hover {
    background: rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.4);
}

/* Links */
.links {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
}

.link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
    white-space: nowrap;
}

.link:hover {
    color: var(--accent);
}

.link::after {
    content: '↗';
    margin-left: 4px;
    font-size: 0.7rem;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 20px;
    }

    .container {
        grid-template-columns: 1fr;
        max-height: none;
        height: auto;
    }

    html,
    body {
        overflow: auto;
    }

    .panel {
        padding: 32px 24px;
    }
}

@media (max-height: 700px) {
    .container {
        max-height: none;
    }

    .panel {
        padding: 24px;
    }

    .left-panel {
        gap: 16px;
    }

    .avatar {
        width: 80px;
        height: 80px;
    }

    .name {
        font-size: 1.25rem;
    }
}