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

:root {
    --color-bg: #0f0f0f;
    --color-surface: #1a1a1a;
    --color-surface-hover: #252525;
    --color-text: #ffffff;
    --color-text-secondary: #a0a0a0;
    --color-text-muted: #666666;
    --color-primary: #8b5cf6;
    --color-border: #2a2a2a;
    --radius: 16px;
    --radius-sm: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 20px;
}

/* Profile */
.profile {
    text-align: center;
    margin-bottom: 32px;
}

.avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto 16px;
    object-fit: cover;
    border: 3px solid var(--color-primary);
}

.profile h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile .subtitle {
    color: var(--color-text-secondary);
    font-size: 1rem;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.social-btn {
    width: 48px;
    height: 48px;
    background: var(--color-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid var(--color-border);
}

.social-btn:hover {
    background: var(--color-surface-hover);
    transform: scale(1.05);
}

.social-btn svg {
    width: 22px;
    height: 22px;
}

/* Section */
.section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    padding-left: 4px;
}

/* Link Card */
.link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 12px;
    margin-bottom: 12px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.2s ease;
    overflow: hidden;
}

.link-card:hover {
    background: var(--color-surface-hover);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.card-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--color-bg);
}

.card-image.placeholder {
    object-fit: contain;
    padding: 12px;
    background: #222;
}

.card-content {
    flex: 1;
    min-width: 0;
}

.card-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-content p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-tag {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--color-primary);
    background: rgba(139, 92, 246, 0.15);
    padding: 3px 10px;
    border-radius: 20px;
}

/* Footer */
footer {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    margin-top: 40px;
}

footer p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 32px 16px;
    }

    .card-image {
        width: 64px;
        height: 64px;
    }

    .link-card {
        padding: 10px;
        gap: 12px;
    }

    .card-content h3 {
        font-size: 0.95rem;
    }

    .card-content p {
        font-size: 0.8rem;
    }
}
