/* ============================================
   FEMININE BLOGGER BIO LINKS TEMPLATE
   Soft, Elegant & Girly Design
   ============================================ */

/* CSS Variables */
:root {
    --pink-light: #fce4ec;
    --pink: #f8bbd9;
    --pink-dark: #f48fb1;
    --rose: #e91e63;
    --rose-gold: #b76e79;
    --blush: #ffeef0;
    --cream: #fff9fa;
    --white: #ffffff;
    --text-dark: #5d4e4e;
    --text-light: #8a7575;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Lato', -apple-system, sans-serif;
    background: var(--blush);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

/* Background */
.background {
    position: fixed;
    inset: 0;
    z-index: -1;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 249, 250, 0.7) 0%,
        rgba(255, 238, 240, 0.8) 50%,
        rgba(255, 249, 250, 0.9) 100%
    );
}

/* Floating Hearts */
.floating-hearts {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.heart {
    position: absolute;
    font-size: 16px;
    animation: floatUp 10s ease-in-out infinite;
    opacity: 0.4;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100px) rotate(20deg);
        opacity: 0;
    }
}

/* Container */
.container {
    width: 100%;
    max-width: 400px;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Profile Section */
.profile {
    text-align: center;
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Avatar */
.avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.avatar-frame {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--pink), var(--rose-gold), var(--pink-dark));
    animation: rotateGradient 4s linear infinite;
}

@keyframes rotateGradient {
    0% { background: linear-gradient(0deg, var(--pink), var(--rose-gold), var(--pink-dark)); }
    25% { background: linear-gradient(90deg, var(--pink), var(--rose-gold), var(--pink-dark)); }
    50% { background: linear-gradient(180deg, var(--pink), var(--rose-gold), var(--pink-dark)); }
    75% { background: linear-gradient(270deg, var(--pink), var(--rose-gold), var(--pink-dark)); }
    100% { background: linear-gradient(360deg, var(--pink), var(--rose-gold), var(--pink-dark)); }
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    transition: transform 0.4s ease;
}

.avatar:hover {
    transform: scale(1.05);
}

.avatar-flowers {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 24px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(10deg); }
}

/* Name */
.name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.tagline {
    font-size: 0.9rem;
    color: var(--rose-gold);
    margin-bottom: 8px;
    font-weight: 400;
}

.bio {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Links Section */
.links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 
        0 4px 15px rgba(244, 143, 177, 0.15),
        0 2px 5px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(248, 187, 217, 0.3);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease both;
}

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

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

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(244, 143, 177, 0.25),
        0 4px 10px rgba(0, 0, 0, 0.05);
    border-color: var(--pink);
}

.link-emoji {
    font-size: 1.4rem;
}

.link-text {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

.link-heart {
    font-size: 0.8rem;
    color: var(--pink-dark);
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.link-card:hover .link-heart {
    opacity: 1;
    transform: scale(1);
    animation: heartBeat 0.6s ease;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* Social Section */
.social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    color: var(--rose-gold);
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(244, 143, 177, 0.15);
    border: 1px solid rgba(248, 187, 217, 0.3);
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.1);
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    color: var(--white);
    box-shadow: 0 6px 20px rgba(244, 143, 177, 0.3);
}

/* Newsletter Section */
.newsletter {
    text-align: center;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.7s both;
}

.newsletter-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-style: italic;
}

.subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--rose), var(--rose-gold));
    color: var(--white);
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.25);
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.35);
}

.subscribe-btn i {
    transition: transform 0.3s ease;
}

.subscribe-btn:hover i {
    transform: translateX(4px);
}

/* Footer */
.footer {
    text-align: center;
    animation: fadeInUp 0.6s ease 0.8s both;
}

.footer p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 32px 20px;
    }
    
    .avatar-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .avatar-frame {
        width: 100px;
        height: 100px;
    }
    
    .name {
        font-size: 1.7rem;
    }
    
    .link-card {
        padding: 14px 16px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}

/* Selection */
::selection {
    background: var(--pink);
    color: var(--white);
}
