* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-pink: #ff69b4;
    --secondary-pink: #ffb6d9;
    --light-pink: #ffe5f3;
    --purple: #b565d8;
    --dark-purple: #6b3fa0;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-pink: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #ffdde1 100%);
    --shadow: 0 8px 32px rgba(255, 105, 180, 0.2);
    --shadow-hover: 0 12px 48px rgba(255, 105, 180, 0.35);
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0f0c29;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    z-index: -2;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 60px 70px, #fff, transparent),
        radial-gradient(1px 1px at 50px 50px, #ddd, transparent),
        radial-gradient(1px 1px at 130px 80px, #fff, transparent),
        radial-gradient(2px 2px at 90px 10px, #eee, transparent);
    background-size: 200px 200px;
    animation: twinkle 8s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 48px;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-image-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.profile-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--gradient-pink);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #0f0c29;
    box-shadow: 0 8px 32px rgba(255, 105, 180, 0.4);
}

.profile-name {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(255, 105, 180, 0.5);
}

.profile-bio {
    font-size: 18px;
    color: var(--secondary-pink);
    font-weight: 400;
    opacity: 0.95;
}

/* Links Section */
.links-section {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--light-pink);
    margin: 32px 0 16px;
    text-align: center;
    letter-spacing: 0.5px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 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.1), transparent);
    transition: left 0.5s;
}

.link-card:hover::before {
    left: 100%;
}

.link-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 255, 255, 0.3);
}

.link-card:active {
    transform: translateY(-2px) scale(1.01);
}

.link-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.link-card:hover .link-icon {
    transform: rotate(5deg) scale(1.1);
}

.link-icon svg {
    width: 28px;
    height: 28px;
}

.instagram .link-icon {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}

.tiktok .link-icon {
    background: linear-gradient(135deg, #000000 0%, #ee1d52 100%);
}

.twitter .link-icon {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

.shop-1 .link-icon,
.shop-2 .link-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.link-content {
    flex: 1;
    display: flex;
    align-items: center;
}

.link-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 1s ease-out 0.4s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 640px) {
    .container {
        padding: 32px 16px;
    }

    .profile-name {
        font-size: 28px;
    }

    .profile-bio {
        font-size: 16px;
    }

    .link-card {
        padding: 16px 20px;
    }

    .link-icon {
        width: 44px;
        height: 44px;
    }

    .link-icon svg {
        width: 24px;
        height: 24px;
    }

    .link-title {
        font-size: 16px;
    }

    .link-subtitle {
        font-size: 13px;
    }
}

@media (max-width: 380px) {
    .profile-name {
        font-size: 24px;
    }

    .link-card {
        gap: 12px;
        padding: 14px 16px;
    }

    .link-icon {
        width: 40px;
        height: 40px;
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.profile-image.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}