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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    color: #334155;
    overflow-x: hidden;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    position: relative;
}

.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
    width: 200px;
    height: 200px;
    background: #7dd3fc;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 150px;
    height: 150px;
    background: #38bdf8;
    top: 60%;
    right: -10%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 100px;
    height: 100px;
    background: #0ea5e9;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.profile-section {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 20px 40px rgba(56, 189, 248, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 4px solid rgba(125, 211, 252, 0.3);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(56, 189, 248, 0.4);
}

.avatar:hover::before {
    transform: rotate(45deg) translate(100%, 100%);
}

.name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.bio {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

.links-section {
    margin-bottom: 2.5rem;
}

.link-item {
    display: block;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    color: #334155;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.1), transparent);
    transition: left 0.6s ease;
}

.link-item:hover::before {
    left: 100%;
}

.link-item:nth-child(1) { animation-delay: 0.1s; }
.link-item:nth-child(2) { animation-delay: 0.2s; }
.link-item:nth-child(3) { animation-delay: 0.3s; }
.link-item:nth-child(4) { animation-delay: 0.4s; }
.link-item:nth-child(5) { animation-delay: 0.5s; }

.link-item:hover {
    transform: translateY(-2px) scale(1.02);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(125, 211, 252, 0.4);
    box-shadow: 0 15px 30px rgba(125, 211, 252, 0.2);
    color: #0ea5e9;
}

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

.social-section {
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.social-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    color: #64748b;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(125, 211, 252, 0.2);
    position: relative;
    overflow: hidden;
}

.social-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(125, 211, 252, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.social-item:hover::before {
    width: 100%;
    height: 100%;
}

.social-item:hover {
    transform: translateY(-3px) rotate(5deg);
    color: #0ea5e9;
    border-color: rgba(125, 211, 252, 0.4);
    box-shadow: 0 10px 25px rgba(125, 211, 252, 0.3);
}

.social-item:active {
    transform: translateY(0) rotate(0deg) scale(0.95);
}

.footer {
    text-align: center;
    margin-top: 3rem;
    color: #94a3b8;
    font-size: 0.875rem;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

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

@media (max-width: 640px) {
    .container {
        padding: 1.5rem 1rem;
    }

    .avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .name {
        font-size: 1.5rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-item {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}
