* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 50%, #5BA3F5 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    direction: rtl;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 420px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 30px;
}

.profile-wrapper {
    margin-bottom: 20px;
}

.profile-image {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.username {
    font-size: 30px;
    font-weight: 700;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    font-family: 'Lato', sans-serif;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4A90E2;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 50%;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(74, 144, 226, 0.2);
    color: #357ABD;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

/* Links Section */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.link-button {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    padding: 16px 20px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(74, 144, 226, 0.1);
    position: relative;
    overflow: hidden;
}

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.link-button:hover::before {
    left: 100%;
}

.link-button:hover {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(53, 122, 189, 0.1) 100%);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.25);
    border-color: rgba(74, 144, 226, 0.3);
}

.link-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.link-button:hover .link-thumbnail {
    transform: scale(1.1) rotate(2deg);
}

.link-text-container {
    flex: 1;
    display: flex;
    align-items: center;
}

.link-text {
    color: #2d3748;
    font-size: 17px;
    font-weight: 600;
    text-align: right;
    font-family: 'Lato', sans-serif;
    transition: color 0.3s ease;
}

.link-button:hover .link-text {
    color: #4A90E2;
}

/* Footer Text */
.footer-text {
    text-align: center;
    margin-top: 30px;
}

.footer-text p {
    color: rgba(45, 55, 72, 0.7);
    font-size: 13px;
    line-height: 1.7;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 480px) {
    body {
        padding: 15px;
    }
    
    .container {
        max-width: 100%;
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .username {
        font-size: 26px;
    }
    
    .profile-image {
        width: 110px;
        height: 110px;
    }
    
    .link-button {
        padding: 14px 18px;
        gap: 14px;
    }
    
    .link-text {
        font-size: 16px;
    }
    
    .link-thumbnail {
        width: 52px;
        height: 52px;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
    }
}
