/* 
   VERSION 1: Pastel Dreamy
   Soft, rounded, gentle, cloud-like
*/

@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&family=Nunito:wght@300;400;500;600;700&display=swap');

:root {
    /* Soft Pastel Palette */
    --candy-pink: #FFD6E8;
    --candy-blue: #D6E8FF;
    --candy-purple: #EDD6FF;
    --candy-yellow: #FFF9D6;
    --candy-green: #D6FFE8;
    --candy-peach: #FFE8D6;
    --candy-lavender: #E8D6FF;
    --candy-mint: #D6FFF9;
    
    /* Background Colors */
    --bg-primary: #FFFBFD;
    --bg-secondary: #FFF5FA;
    --bg-card: rgba(255, 255, 255, 0.88);
    
    /* Text Colors (INCREASED CONTRAST) */
    --text-primary: #4C2A52;
    --text-secondary: #6B3D73;
    --text-light: #9B6AA3;
    
    /* Typography */
    --font-display: 'Comfortaa', cursive;
    --font-body: 'Nunito', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 20px;
    --radius-md: 30px;
    --radius-lg: 50px;
    --radius-xl: 100px;
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(
        135deg,
        #FFC1E3 0%,
        #E8D8FF 50%,
        #FAD4E6 100%
    );
    background-attachment: fixed;
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--text-primary);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 214, 232, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(214, 232, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(237, 214, 255, 0.2) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

/* Animated Sprinkles Background */
.sprinkles-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.sprinkle {
    position: absolute;
    width: 6px;
    height: 18px;
    border-radius: 10px;
    opacity: 0.5;
    animation: fall linear infinite;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(calc(100vh + 100px)) rotate(360deg);
        opacity: 0;
    }
}

/* Custom Cursor */
body {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="8" fill="%23FFD6E8" opacity="0.6"/></svg>') 12 12, auto;
}

a, button {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28"><circle cx="14" cy="14" r="10" fill="%23FFB3D9" opacity="0.8"/></svg>') 14 14, pointer;
}

/* Navigation Bar */
.candy-nav {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(30px);
    border-bottom: none;
    box-shadow: 0 8px 32px rgba(155, 123, 158, 0.15);
    z-index: 1000;
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: transparent;
}

.nav-link:hover {
    background: linear-gradient(135deg, var(--candy-pink), var(--candy-purple));
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 214, 232, 0.4);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--candy-pink), var(--candy-purple));
    color: white;
    box-shadow: 0 6px 16px rgba(255, 214, 232, 0.35);
}

/* Container */
.container {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.container-wide {
    max-width: 1200px;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin: 3rem 0 2rem;
    animation: floatIn 1s ease-out 0.3s backwards;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.candy-border {
    position: relative;
    padding: 8px;
    background: linear-gradient(135deg, var(--candy-pink), var(--candy-lavender), var(--candy-blue), var(--candy-mint));
    background-size: 400% 400%;
    border-radius: var(--radius-md);
    animation: gradientFloat 10s ease infinite;
    filter: drop-shadow(0 8px 24px rgba(155, 123, 158, 0.3));
}

@keyframes gradientFloat {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.profile-image {
    width: 480px;
    height: 600px;
    margin: 0 auto 1.5rem;
    animation: gentleBob 3s ease-in-out infinite;
}

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

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 6px solid white;
    display: block;
}

.profile-name {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.profile-bio {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 600;
    line-height: 1.6;
}

/* Links Section */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 2.5rem 0;
}

.link-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(155, 123, 158, 0.12);
    animation: floatIn 0.8s ease-out backwards;
}

.link-card:nth-child(1) { animation-delay: 0.4s; }
.link-card:nth-child(2) { animation-delay: 0.5s; }
.link-card:nth-child(3) { animation-delay: 0.6s; }
.link-card:nth-child(4) { animation-delay: 0.7s; }
.link-card:nth-child(5) { animation-delay: 0.8s; }
.link-card:nth-child(6) { animation-delay: 0.9s; }

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--candy-pink), var(--candy-purple));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.link-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(155, 123, 158, 0.25);
}

.link-card:hover::before {
    opacity: 0.2;
}

.link-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.link-text {
    flex: 1;
}

.link-arrow {
    font-size: 1.5rem;
    transition: transform 0.4s ease;
    opacity: 0.6;
}

.link-card:hover .link-arrow {
    transform: translateX(8px);
    opacity: 1;
}

/* Candy-specific hover colors */
.link-card[data-candy="lollipop"]:hover {
    box-shadow: 0 20px 50px rgba(255, 214, 232, 0.4);
}

.link-card[data-candy="bubblegum"]:hover {
    box-shadow: 0 20px 50px rgba(214, 232, 255, 0.4);
}

.link-card[data-candy="cotton-candy"]:hover {
    box-shadow: 0 20px 50px rgba(237, 214, 255, 0.4);
}

.link-card[data-candy="gummy"]:hover {
    box-shadow: 0 20px 50px rgba(214, 255, 232, 0.4);
}

.link-card[data-candy="chocolate"]:hover {
    box-shadow: 0 20px 50px rgba(255, 232, 214, 0.4);
}

.link-card[data-candy="jellybean"]:hover {
    box-shadow: 0 20px 50px rgba(255, 249, 214, 0.4);
}

/* About Page Styles */
.about-section {
    margin: 3rem 0;
    animation: floatIn 1s ease-out 0.3s backwards;
}

.page-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: var(--radius-md);
    border: none;
    box-shadow: 0 12px 48px rgba(155, 123, 158, 0.2);
}

.about-image-wrapper {
    text-align: center;
}

.about-image {
    width: 280px;
    height: 280px;
    margin: 0 auto;
    animation: gentleBob 3s ease-in-out infinite;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid white;
    display: block;
    box-shadow: 0 8px 32px rgba(155, 123, 158, 0.2);
}

.about-text {
    text-align: center;
}

.about-heading {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.bio-paragraph {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.fun-facts {
    background: linear-gradient(135deg, rgba(255, 214, 232, 0.2), rgba(237, 214, 255, 0.2));
    padding: 2rem;
    border-radius: var(--radius-md);
    margin: 2.5rem 0;
    border: none;
    box-shadow: inset 0 2px 12px rgba(155, 123, 158, 0.1);
}

.facts-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.facts-list {
    list-style: none;
    text-align: left;
    max-width: 550px;
    margin: 0 auto;
}

.facts-list li {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
    padding-left: 0.5rem;
}

.cta-section {
    margin-top: 2.5rem;
}

.cta-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.cta-button {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, var(--candy-pink), var(--candy-purple));
    color: white;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-xl);
    border: none;
    box-shadow: 0 10px 30px rgba(155, 123, 158, 0.3);
    transition: all 0.4s ease;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(155, 123, 158, 0.4);
}

/* Candy Shop Gallery Styles */
.shop-header {
    text-align: center;
    margin: 3rem 0 2rem;
    animation: floatIn 1s ease-out 0.3s backwards;
}

.shop-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 1rem;
    line-height: 1.6;
}

.candy-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.gallery-item {
    animation: floatIn 0.8s ease-out backwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.4s; }
.gallery-item:nth-child(2) { animation-delay: 0.5s; }
.gallery-item:nth-child(3) { animation-delay: 0.6s; }
.gallery-item:nth-child(4) { animation-delay: 0.7s; }
.gallery-item:nth-child(5) { animation-delay: 0.8s; }
.gallery-item:nth-child(6) { animation-delay: 0.9s; }
.gallery-item:nth-child(7) { animation-delay: 1s; }
.gallery-item:nth-child(8) { animation-delay: 1.1s; }
gallery-item:nth-child(9) { animation-delay: 1.2s; }

.gallery-content {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-md);
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(155, 123, 158, 0.15);
}

.gallery-content img,
.gallery-content video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 6px solid white;
    transition: transform 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(155, 123, 158, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: var(--radius-md);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-content {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(155, 123, 158, 0.25);
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.05);
}

.gallery-icon {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.gallery-label {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

/* Load More Button */
.load-more-section {
    text-align: center;
    margin: 4rem 0;
}

.load-more-btn {
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, var(--candy-pink), var(--candy-purple));
    color: white;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 30px rgba(155, 123, 158, 0.3);
    transition: all 0.4s ease;
}

.load-more-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(155, 123, 158, 0.4);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(155, 123, 158, 0.95);
    backdrop-filter: blur(20px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    border: none;
    font-size: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
}

.lightbox-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.lightbox-close:hover {
    transform: scale(1.1);
}

/* Footer Section */
.footer-section {
    text-align: center;
    padding: 2.5rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-text {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-links {
        gap: 0.75rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    
    .profile-name {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2.75rem;
    }
    
    .about-image {
        width: 220px;
        height: 220px;
    }
    
    .about-content {
        padding: 2rem;
    }
    
    .candy-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.25rem;
    }
    
    .profile-image {
        width: 320px;
        height: 420px;
    }
    
    .about-image {
        width: 180px;
        height: 180px;
    }
    
    .candy-gallery {
        grid-template-columns: 1fr;
    }
    
    .link-card {
        padding: 1.25rem 1.5rem;
    }
}
