:root {
    /* Colors */
    --bg-color: #f5f5f5;
    --surface-color: #ffffff;
    --text-primary: #111111;
    --text-muted: #3a3a3a;
    --text-light: rgba(17, 17, 17, 0.6);
    --border-color: rgba(17, 17, 17, 0.1);
    --hover-link: rgba(135, 206, 250, 0.2);
    --shadow-card: 0 4px 12px rgba(17, 17, 17, 0.04);
    --shadow-hover: 0 8px 20px rgba(17, 17, 17, 0.08);

    /* Fonts */
    --font-primary: 'Inter', sans-serif;

    /* Spacing */
    --page-width: 680px;
    /* Reduced width */
    --radius-card: 16px;
    /* Less rounded */
    --radius-pill: 999px;
    --radius-input: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.5;
    min-height: 100vh;
    padding: 80px 24px 64px;
    /* Reduced top padding since nav is gone */
}

/* Layout */
.container {
    max-width: var(--page-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 16px;
    width: 100%;
    max-width: 480px;
}

.profile-avatar {
    width: 100px;
    /* Smaller avatar */
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 3px solid var(--surface-color);
    box-shadow: var(--shadow-card);
}

.profile-name {
    font-family: var(--font-primary);
    /* Standard font */
    font-weight: 700;
    font-size: 1.8rem;
    /* Smaller title */
    line-height: 1.2;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
    text-transform: lowercase;
    /* Force lowercase */
}

.profile-handle {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 12px;
    opacity: 0.8;
}

.profile-bio {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: lowercase;
    /* Optional: keep bio lowercase too if desired, or remove */
}

.profile-location {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-transform: lowercase;
}

/* Links Section */
.links-section {
    width: 100%;
    max-width: 500px;
    /* Smaller width for cards */
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Tighter gap */
}

.card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 16px 20px;
    /* Smaller padding */
    box-shadow: var(--shadow-card);
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Dynamic color accent */
.card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background-color: var(--card-color, transparent);
    opacity: 0.8;
}

/* Subtle background tint */
.card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--card-color, transparent);
    opacity: 0.08;
    /* Very subtle tint */
    pointer-events: none;
}

.card-content {
    flex: 1;
    min-width: 0;
    /* Prevent text overflow issues */
}

.card-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 2px;
    display: block;
}

.card-description {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.3;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-arrow {
    opacity: 0.3;
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.card:hover .card-arrow {
    opacity: 1;
    transform: translateX(2px);
}

/* Socials Row */
.socials-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.social-link {
    color: var(--text-muted);
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 720px) {
    body {
        padding: 60px 16px 48px;
    }

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

    .card {
        padding: 16px;
    }
}