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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

.container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    contain: layout style;
}

.profile {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    display: block;
}

.name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.bio {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.email-link {
    font-size: 14px;
    margin-top: 8px;
}

.email-link a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.email-link a:hover,
.email-link a:focus {
    opacity: 1;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 18px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.link-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background: white;
}

.link-item:active {
    transform: translateY(0);
}

.link-item:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.link-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.link-text {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
}

.link-arrow {
    font-size: 20px;
    opacity: 0.5;
    flex-shrink: 0;
}

.link-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.link-logo img {
    height: 24px;
    width: auto;
    object-fit: contain;
}


/* Tablet and Desktop */
@media (min-width: 768px) {
    .container {
        max-width: 500px;
    }
    
    .link-item {
        padding: 20px 24px;
    }
    
    .link-text {
        font-size: 18px;
    }
}

