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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4338ca;
    --secondary-color: #8b5cf6;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --bg-primary: rgba(17, 24, 39, 0.85);
    --bg-secondary: #0f172a;
    --surface-border: rgba(148, 163, 184, 0.12);
    --gradient-1: linear-gradient(135deg, #4338ca 0%, #7c3aed 100%);
    --gradient-2: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    --gradient-3: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top, #1e293b 0%, #020617 60%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.content {
    background: var(--bg-primary);
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 35px 80px rgba(15, 23, 42, 0.65);
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(18px);
    animation: fadeInUp 0.8s ease-out;
}

.content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.avatar-container {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    position: relative;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.avatar::before {
    content: 'CR';
    position: absolute;
}

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

.name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.links {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.github-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.github-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.github-btn:hover::before {
    left: 100%;
}

.github-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.github-btn:active {
    transform: translateY(0);
}

.github-icon {
    width: 24px;
    height: 24px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(148, 163, 184, 0.08);
    color: var(--text-primary);
    border: 1px solid rgba(148, 163, 184, 0.12);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    background: var(--gradient-1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(67, 56, 202, 0.45);
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.25;
    filter: blur(4px);
    animation: move 20s infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: var(--gradient-1);
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: var(--gradient-2);
    bottom: -100px;
    right: -100px;
    animation-delay: 5s;
}

.circle-3 {
    width: 250px;
    height: 250px;
    background: var(--gradient-3);
    top: 50%;
    right: -125px;
    animation-delay: 10s;
}

@keyframes move {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, 50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 1rem;
    }
    
    .content {
        padding: 2rem 1.5rem;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .description {
        font-size: 0.9rem;
    }
    
    .github-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

