/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Lora', JetBrains Mono, sans-serif;
    background: #262626;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out;
}

.profile-image {
    margin-bottom: 20px;
}

.profile-image img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid rgba(71, 64, 240, 0.6);
    box-shadow: 
        0 0 20px rgba(71, 64, 240, 0.4),
        0 0 40px rgba(71, 64, 240, 0.2),
        0 0 60px rgba(71, 64, 240, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.profile-image img::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, #4740F0, #6366f1, #8b5cf6, #4740F0);
    border-radius: 50%;
    z-index: -1;
    animation: glowRotate 3s linear infinite;
    opacity: 0.3;
}

.profile-image img:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 30px rgba(71, 64, 240, 0.6),
        0 0 60px rgba(71, 64, 240, 0.4),
        0 0 90px rgba(71, 64, 240, 0.2),
        0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(71, 64, 240, 0.9);
}

.profile-name {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-bio {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.profile-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.3rem;
}

.profile-location i {
    font-size: 1.3rem;
}

/* Links Section */
.links-section {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    margin-bottom: 18px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.link-card::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-card:hover::before {
    left: 100%;
}

.link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(71, 64, 240, 0.2);
    background: rgba(255, 255, 255, 1);
    border-color: #4740F0;
}

.link-card.primary-link {
    background: #4740F0;
    color: white;
    border: none;
}

.link-card.primary-link:hover {
    background: #3a35d0;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(71, 64, 240, 0.3);
}

.link-card i:first-child {
    margin-right: 16px;
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

.link-card span {
    flex: 1;
}

.link-arrow {
    margin-left: auto;
    font-size: 1.3rem;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.link-card:hover .link-arrow {
    transform: translateX(4px);
}

/* Social Media Section */
.social-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .profile-name {
        font-size: 2.8rem;
    }
    
    .profile-bio {
        font-size: 1.3rem;
    }
    
    .link-card {
        padding: 18px 22px;
        font-size: 1.3rem;
    }
    
    .social-section {
        gap: 15px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
            font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .profile-name {
        font-size: 1.7rem;
    }
    
    .profile-bio {
        font-size: 1.2rem;
        max-width: 300px;
    }
    
    .link-card {
        padding: 16px 20px;
        font-size: 1.2rem;
    }
    
    .social-section {
        gap: 12px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .link-card {
        background: rgba(30, 30, 30, 0.95);
        color: #f0f0f0;
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .link-card:hover {
        background: rgba(40, 40, 40, 1);
    }
}

/* Focus styles for accessibility */
.link-card:focus,
.social-icon:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Loading animation for profile image */
.profile-image img {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}



@keyframes backgroundShift {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-20px) translateY(-10px);
    }
    50% {
        transform: translateX(10px) translateY(-20px);
    }
    75% {
        transform: translateX(-15px) translateY(15px);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.8;
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-40px) translateX(-5px) rotate(180deg);
        opacity: 0.9;
    }
    75% {
        transform: translateY(-20px) translateX(15px) rotate(270deg);
        opacity: 1;
    }
    100% {
        transform: translateY(0px) translateX(0px) rotate(360deg);
        opacity: 0.8;
    }
}

@keyframes glowRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes profileFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

