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

body {
    font-family: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: background-color 0.3s ease;
}

.container {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.header-icons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.icon-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    color: #333;
}

.icon-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.profile-section {
    text-align: center;
    margin-bottom: 32px;
}

.profile-image {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-image-placeholder {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.profile-title {
    font-size: 24px;
    font-weight: 800;
    color: #D32F2F;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.profile-subtitle {
    font-size: 16px;
    color: #333;
    font-weight: 400;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    background: transparent;
}

.social-icon:hover {
    transform: scale(1.1);
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.link-card {
    background: #FFF9F0;
    border: 2px solid #D32F2F;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #D32F2F;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(211, 47, 47, 0.15);
    background: #FFF;
}

.link-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.link-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.link-icon-default {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.link-title {
    font-size: 16px;
    font-weight: 700;
    color: #D32F2F;
}

.link-menu {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #D32F2F;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.link-menu:hover {
    opacity: 1;
}

.no-links-message {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.footer {
    text-align: center;
    margin-bottom: 16px;
}

.footer-link {
    display: inline-block;
    padding: 12px 24px;
    background: #FFF;
    border: 2px solid #333;
    border-radius: 24px;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s ease;
}

.footer-link:hover {
    background: #333;
    color: #FFF;
}

.footer-links {
    text-align: center;
    font-size: 12px;
    color: #666;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #666;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .profile-title {
        font-size: 20px;
    }
    
    .link-card {
        padding: 14px 16px;
    }
    
    .link-title {
        font-size: 15px;
    }
}
