:root {
    --primary-pink: #ffb6c1; /* Light Pink */
    --hot-pink: #ff69b4; /* Hot Pink */
    --deep-pink: #ff1493; /* Deep Pink */
    --red-bow: #ff3b3b;
    --bg-pink: #ffe6ea;
    --text-dark: #4a4a4a;
    --text-light: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.85);
}

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

body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--bg-pink);
    background-image: radial-gradient(var(--primary-pink) 10%, transparent 10%),
                      radial-gradient(var(--primary-pink) 10%, transparent 10%);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

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

.particle {
    position: absolute;
    bottom: -50px;
    color: var(--hot-pink);
    opacity: 0.6;
    animation: float-up linear infinite;
}

@keyframes float-up {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.container {
    width: 100%;
    max-width: 480px;
    padding: 2rem;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 40px;
    box-shadow: 0 8px 32px rgba(255, 182, 193, 0.3);
    margin: 2rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.profile-header {
    text-align: center;
    margin-bottom: 2rem;
}

.avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--text-light);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.3);
}

.bow-icon {
    position: absolute;
    top: -5px;
    right: -15px;
    font-size: 2.5rem;
    color: var(--red-bow);
    transform: rotate(15deg);
    filter: drop-shadow(2px 4px 4px rgba(0,0,0,0.1));
    animation: wiggle 3s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(15deg); }
    50% { transform: rotate(5deg) scale(1.1); }
}

.username {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    color: var(--deep-pink);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.bio {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    background-color: var(--card-bg);
    border-radius: 30px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.2);
}

.link-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.3);
    border-color: var(--hot-pink);
    background-color: white;
}

.link-icon {
    font-size: 1.4rem;
    color: var(--hot-pink);
    width: 30px;
    text-align: center;
}

.link-text {
    flex-grow: 1;
    text-align: center;
    font-family: 'Quicksand', sans-serif;
}

.link-arrow {
    color: var(--primary-pink);
    transition: transform 0.3s ease;
}

.link-card:hover .link-arrow {
    transform: translateX(5px);
    color: var(--hot-pink);
}

/* Special styling for main Fanvue link */
.main-link {
    background: linear-gradient(135deg, var(--hot-pink), var(--deep-pink));
    color: white;
    border: none;
}

.main-link .link-icon, 
.main-link .link-arrow {
    color: white;
}

.main-link:hover {
    background: linear-gradient(135deg, var(--deep-pink), var(--hot-pink));
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.4);
}

.footer {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--hot-pink);
    font-weight: 600;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 182, 193, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 30px;
    text-align: center;
    max-width: 90%;
    width: 400px;
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.3);
    border: 3px solid var(--primary-pink);
    animation: modal-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modal-pop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.modal-icon {
    font-size: 3rem;
    color: var(--red-bow);
    margin-bottom: 1rem;
    animation: wiggle 2s ease-in-out infinite;
}

.modal-content h2 {
    font-family: 'Fredoka One', cursive;
    color: var(--deep-pink);
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.5;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cancel-btn {
    background-color: var(--bg-pink);
    color: var(--text-dark);
    border: 2px solid var(--primary-pink);
}

.cancel-btn:hover {
    background-color: var(--primary-pink);
    transform: translateY(-2px);
}

.proceed-btn {
    background: linear-gradient(135deg, var(--red-bow), var(--deep-pink));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.3);
}

.proceed-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.5);
    background: linear-gradient(135deg, var(--deep-pink), var(--red-bow));
}
