/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* More visible but elegant diagonal gradient */
    background: linear-gradient(
        135deg,
        #1a1a1a 0%,
        #0d0d0d 30%,
        #050505 70%,
        #000000 100%
    );
    
    color: #ffffff;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    position: relative;
}

/* Gentle breathing glow effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    
    /* Soft breathing glow from center */
    background: radial-gradient(
        ellipse at center,
        rgba(147, 51, 234, 0.02) 0%,
        rgba(147, 51, 234, 0.01) 40%,
        transparent 70%
    );
    
    /* Gentle breathing animation */
    animation: breathingGlow 5s ease-in-out infinite;
}

/* Elegant paper texture overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    
    /* Subtle organic texture pattern */
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        radial-gradient(circle at 60% 80%, rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        radial-gradient(circle at 90% 40%, rgba(255, 255, 255, 0.008) 1px, transparent 1px);
    background-size: 120px 120px, 180px 180px, 90px 90px;
    background-position: 0 0, 60px 90px, 30px 45px;
    
    opacity: 1;
}

/* Gentle breathing animation with purple tint */
@keyframes breathingGlow {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.01);
    }
}

/* Accessibility: Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    body::before {
        animation: none;
        opacity: 0.6;
        transform: scale(1);
    }
}

/* Container */
.container {
    text-align: center;
    max-width: 600px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Profile section */
.profile {
    margin-bottom: 3rem;
}

.name {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.tagline {
    font-size: 1.25rem;
    font-weight: 300;
    color: #b3b3b3;
    margin-bottom: 0;
}

/* Social links */
.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    text-decoration: none;
    color: #9333ea;
    border: 2px solid #9333ea;
    border-radius: 16px;
    background-color: rgba(147, 51, 234, 0.1);
    transition: all 0.3s ease;
    min-width: 120px;
    backdrop-filter: blur(10px);
}

.social-link:hover,
.social-link:focus {
    color: #ffffff;
    background-color: #9333ea;
    border-color: #9333ea;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.4);
}

.social-link:active {
    transform: translateY(-2px);
}

.icon {
    width: 2rem;
    height: 2rem;
    transition: all 0.3s ease;
}

/* FontAwesome icons need font-size instead of width/height */
.icon.fa-brands {
    font-size: 2.5rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive design */
@media (max-width: 768px) {
    .name {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.125rem;
    }
    
    .social-links {
        gap: 1.5rem;
    }
    
    .social-link {
        padding: 1.25rem;
        min-width: 100px;
    }
    
    .icon {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .icon.fa-brands {
        font-size: 2.2rem;
        width: 1.75rem;
        height: 1.75rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 1rem;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .profile {
        margin-bottom: 2rem;
    }
    
    .social-links {
        gap: 1rem;
        flex-direction: column;
    }
    
    .social-link {
        width: 100%;
        max-width: 200px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
        padding: 1rem 1.5rem;
    }
}

/* Focus styles for accessibility */
.social-link:focus-visible {
    outline: 2px solid #9333ea;
    outline-offset: 4px;
}

/* Hover animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.social-link:hover {
    animation: float 2s ease-in-out infinite;
}