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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #e6a4c5;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 600px;
    width: 100%;
}

.card-header {
    padding: 20px;
    background: #c007a1;
    color: white;
    text-align: center;
}

.user-name {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.user-time {
    font-size: 0.8rem;
    opacity: 0.8;
    font-family: 'Courier New', monospace;
}

.card-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
}

@media (min-width: 768px) {
    .card-content {
        grid-template-columns: 150px 1fr;
    }
}

.avatar-section {
    display: flex;
    justify-content: center;
}

.avatar-figure {
    margin: 0;
}

.user-avatar {
    width: 130px;
    height: 170px;
    
    object-fit: cover;
    border: 3px solid #e9ecef;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bio-section {
    margin-bottom: 10px;
}

.user-bio {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.social-section {
    margin: 10px 0;
}

.section-title {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #c50595;
    font-weight: 600;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
}

.social-link {
    display: inline-block;
    padding: 6px 12px;
    background: #e9ecef;
    border-radius: 4px;
    text-decoration: none;
    color: #495057;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.social-link:hover,
.social-link:focus {
    background: #e02e90;
    color: white;
}

.lists-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 10px;
}

@media (min-width: 480px) {
    .lists-section {
        grid-template-columns: 1fr 1fr;
    }
}

.list-container {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.user-list {
    list-style-position: inside;
    padding-left: 5px;
}

.list-item {
    margin-bottom: 4px;
    padding: 2px 0;
    font-size: 0.9rem;
}

*:focus {
    outline: 2px solid #e02e90;
    outline-offset: 1px;
}

@media (max-width: 480px) {
    .card-header {
        padding: 15px;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .user-name {
        font-size: 1.3rem;
    }
    
    .social-links {
        justify-content: center;
    }
}