@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600&family=Patrick+Hand&display=swap');

:root {
    --primary-color: #9D73FF;
    /* Playful Purple */
    --secondary-color: #FF85B3;
    /* Hot Pink */
    --accent-color: #4ECDC4;
    /* Teal */
    --yellow-color: #FFD8A8;
    /* Soft Orange/Yellow */
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Patrick Hand', cursive;
    /* Or 'Fredoka' light for better readability if needed, but Patrick Hand is cute */
}

body {
    font-family: 'Fredoka', sans-serif;
    /* Default to Fredoka for readability */
    font-weight: 400;
    background-color: #FFF5F9;
    /* Very light pinkish white */
    color: #4A4A4A;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html {
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
}

.navbar {
    background: white !important;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 4px 15px rgba(157, 115, 255, 0.15);
    padding: 1rem 2rem;
}

.navbar-brand {
    font-size: 1.8rem;
    color: var(--secondary-color) !important;
    text-shadow: 2px 2px 0px #FFD8A8;
}

.nav-link {
    font-size: 1.2rem;
    color: #666 !important;
    margin: 0 10px;
    transition: all 0.3s ease;
    border-radius: 20px;
    padding: 8px 15px !important;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--primary-color);
    color: white !important;
    transform: translateY(-2px);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    border-radius: 30px;
    padding: 80px 40px;
    color: white;
    box-shadow: 0 10px 30px rgba(161, 140, 209, 0.3);
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1.5rem;
    font-family: var(--font-body);
}

/* Cards */
.card-hover {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card-hover:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(157, 115, 255, 0.2);
}

.card-img-top {
    border-radius: 20px 20px 0 0;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 5px;
    background: var(--secondary-color);
    border-radius: 10px;
}

.btn-kid {
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    box-shadow: 0 4px 10px rgba(232, 62, 140, 0.3);
    transition: transform 0.2s;
}

.btn-kid:hover {
    background-color: #FF5C9D;
    transform: scale(1.05);
    color: white;
}

/* Footer */
footer {
    background: white;
    margin-top: 50px;
    padding: 40px 0;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    position: relative !important;
    width: 100%;
    flex-shrink: 0;
}

/* Social Features */
.card-hover .card-img-top,
.card-hover iframe,
.card-hover video {
    transition: transform 0.5s ease;
}

.card-hover:hover .card-img-top,
.card-hover:hover iframe,
.card-hover:hover video {
    transform: scale(1.05);
}

.like-btn {
    cursor: pointer;
    transition: transform 0.2s;
    border: none;
    background: transparent;
    color: #e25555;
    font-size: 1.5rem;
}

.like-btn:hover {
    transform: scale(1.2);
}

.like-btn.liked {
    color: #ff0000;
}

/* Modal Styles */
.modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    color: white;
    border-bottom: none;
}

.modal-body {
    background: #FFF5F9;
}