/* --- CSS from home --- */

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

:root {
    --primary-pink: #FF4B91;
    --primary-blue: #00D7FF;
    --primary-yellow: #FFD700;
    --primary-purple: #A66CFF;
    --primary-orange: #FF7600;
    --primary-green: #00FFAB;
    --bg-cream: #F8F9FE; /* Cleaner off-white */
    --bg-light: #FFFFFF;
    --text-dark: #1A1A1B;
    --text-gray: #4B5563;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Fredoka', sans-serif;
    background-color: var(--bg-cream);
    background-image: 
        radial-gradient(var(--primary-purple) 0.5px, transparent 0.5px);
    background-size: 24px 24px;
    background-attachment: fixed;
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: 120px; /* Universal padding for fixed header */
}

@keyframes pageOpen {
    0% {
        opacity: 0;
        transform: rotateY(-120deg);
        transform-origin: left;
        filter: brightness(0.5);
    }

    70% {
        opacity: 1;
        transform: rotateY(5deg);
        filter: brightness(1.1);
    }

    100% {
        opacity: 1;
        transform: rotateY(0deg);
        transform-origin: left;
        filter: brightness(1);
    }
}

/* Floating shapes background */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.shape:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    bottom: 15%;
    left: 20%;
    animation-delay: 4s;
}

.shape:nth-child(4) {
    bottom: 25%;
    right: 10%;
    animation-delay: 6s;
}

.shape:nth-child(5) {
    top: 50%;
    left: 5%;
    animation-delay: 8s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }

    75% {
        transform: translate(20px, 30px) rotate(270deg);
    }
}

header {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10002;
    border-bottom: 1px solid var(--glass-border);
    border-radius: 0 0 40px 40px; /* Modern rounded bottom */
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

body.home-modern {
    padding-top: 0; 
}

body.drawing-page {
    padding-top: 150px; /* More space for the large title */
}

header.scrolled {
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 50px rgba(255, 75, 145, 0.1);
    border-radius: 0 0 50px 50px;
    transform: translateY(0) scale(0.98); /* Slight shrink & float effect */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: 'Baloo 2', cursive;
    font-size: 2.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
    transform: scale(1.05) rotate(-2deg);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: 'Fredoka', sans-serif;
}

.nav-links a:hover {
    background: rgba(255, 75, 145, 0.1);
    color: var(--primary-pink);
    transform: translateY(-2px);
}

.cta-btn {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-orange));
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 75, 145, 0.3);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 75, 145, 0.4);
}

/* Hero Section */
.hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 5% 4rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

.hero-content h1 {
    font-family: 'Baloo 2', cursive;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-content p {
    font-size: 1.4rem;
    color: var(--text-gray);
    margin-bottom: 3.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-orange));
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(255, 75, 145, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 75, 145, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-dark);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    border: 2px solid #E5E7EB;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-illustration {
    width: 100%;
    height: auto;
    animation: bounce 3s infinite ease-in-out;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Activity Cards Section */
.activities-section {
    max-width: 1400px;
    margin: 5rem auto;
    padding: 0 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-family: 'Gochi Hand', cursive;
    font-size: 1.5rem;
    color: var(--primary-purple);
    transform: rotate(-1deg);
    margin-bottom: 2rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: white;
    border-radius: 32px;
    padding: 3rem 2rem;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--card-color);
}

.activity-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.activity-card.pink { --card-color: var(--primary-pink); }
.activity-card.blue { --card-color: var(--primary-blue); }
.activity-card.purple { --card-color: var(--primary-purple); }
.activity-card.yellow { --card-color: var(--primary-yellow); }

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    display: inline-block;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.activity-card h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.activity-card p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.card-link {
    color: var(--card-color);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    transition: gap 0.3s;
}

.card-link:hover {
    gap: 1rem;
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, rgba(255, 75, 145, 0.05), rgba(166, 108, 255, 0.05));
    padding: 8rem 5%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-item {
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 32px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    background: white;
}

.feature-item.pink {
    background: #FFF4F8;
    border-color: var(--primary-pink);
}

.feature-item.blue {
    background: #F0FDFA;
    border-color: var(--primary-blue);
}

.feature-item.purple {
    background: #F5F3FF;
    border-color: var(--primary-purple);
}

.feature-item.yellow {
    background: #FEFCE8;
    border-color: var(--primary-yellow);
}

.feature-item:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-item:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    color: #333;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

.feature-item h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Floating Doodles */
.doodle {
    position: absolute;
    font-size: 2rem;
    opacity: 0.2;
    pointer-events: none;
    z-index: -1;
    font-family: 'Gochi Hand', cursive;
}

.doodle-1 {
    top: 15%;
    left: 5%;
    transform: rotate(-15deg);
}

.doodle-2 {
    top: 40%;
    right: 5%;
    transform: rotate(20deg);
}

.doodle-3 {
    bottom: 20%;
    left: 8%;
    transform: rotate(10deg);
}

.doodle-4 {
    top: 70%;
    right: 8%;
    transform: rotate(-10deg);
}


/* Newsletter Section */
.newsletter-section {
    max-width: 900px;
    margin: 5rem auto;
    padding: 4rem 5%;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    border-radius: 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.3);
}

.newsletter-section h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 1.2rem 1.8rem;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    font-family: 'Fredoka', sans-serif;
}

.newsletter-btn {
    background: white;
    color: var(--primary-pink);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    font-family: 'Fredoka', sans-serif;
}

.newsletter-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 6rem 5% 3rem;
    position: relative;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dark);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-about h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-about p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-gray) !important;
    margin-bottom: 2rem;
}



.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: white;
    border: 2px solid #333;
    box-shadow: 4px 4px 0px #333;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    color: #333;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
    transform: translateY(-5px) rotate(8deg);
    background: var(--primary-pink);
    color: white;
}

.footer-links h4 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--primary-pink);
    transform: translateX(5px);
}
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.footer-links a:hover {
    color: #FFE66D;
    transform: translateX(5px);
    display: inline-block;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 5%;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .newsletter-section h2 {
        font-size: 2rem;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading Animation */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Page Corner Fold Effect */
.page-corner-hint {
    position: fixed;
    bottom: -10px;
    right: -10px;
    width: 150px;
    height: 150px;
    z-index: 10002;
    cursor: pointer;
    transition: transform 0.3s;
    pointer-events: none;
}

.page-corner-hint:hover {
    transform: translate(-5px, -5px);
}

.corner-fold {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 100px 100px;
    border-color: transparent transparent var(--bg-cream) transparent;
    position: absolute;
    bottom: 0;
    right: 0;
    filter: drop-shadow(-5px -5px 10px rgba(0, 0, 0, 0.1));
}

.corner-text {
    position: absolute;
    bottom: 30px;
    right: 15px;
    transform: rotate(-45deg);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-pink);
    opacity: 0.6;
}

/* Mobile Responsiveness & Fixes */
@media (max-width: 768px) {
    .spiral-binding {
        gap: 15px !important;
        padding: 0 5px !important;
    }

    .spiral-binding div {
        width: 20px !important;
        height: 12px !important;
    }

    header {
        padding: 1.2rem 5% 1.2rem 40px !important;
    }

    .hero-content h1 {
        font-size: 2.2rem !important;
    }

    @keyframes pageOpen {
        0% {
            opacity: 0;
            transform: rotateY(-30deg);
            transform-origin: left;
        }

        100% {
            opacity: 1;
            transform: rotateY(0deg);
            transform-origin: left;
        }
    }

    .page-corner-hint {
        display: none !important;
    }

    .page-header h1 {
        font-size: 2.5rem !important;
    }

    .card-badge {
        top: -39px !important;
        right: auto !important;
    }
    section#activities {
        padding-top: 0px !important;
        margin-top: -10px;
    }
    .section-header h1{
        font-size:3rem !important;
    }
    .drawing-container{
        padding:10px !important;
    }
.container {
    padding:2px !important;
}


}
button#downloadDrawing {
    padding: 9px;
    background: transparent !important;
    border: 0px;
    font-size: 21px;
        color: #4100a3 ! IMPORTANT;
    font-weight: bold;
}
/* --- CSS from blog --- */







/* Background Shapes */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    bottom: 15%;
    left: 20%;
    animation-delay: 4s;
}

.shape:nth-child(4) {
    bottom: 25%;
    right: 10%;
    animation-delay: 6s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }

    75% {
        transform: translate(20px, 30px) rotate(270deg);
    }
}

/* Header Navigation */


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

    to {
        transform: translateY(0);
        opacity: 1;
    }
}





/* Hero Section */
.blog-hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 5% 3rem;
    text-align: center;
}

.blog-hero h1 {
    font-family: 'Baloo 2', cursive;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero p {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

/* Search Bar */
.search-container {
    max-width: 600px;
    margin: 2rem auto;
    position: relative;
}

.search-bar {
    width: 100%;
    padding: 1.2rem 3.5rem 1.2rem 1.5rem;
    border: 3px solid var(--primary-pink);
    border-radius: 50px;
    font-size: 1.1rem;
    font-family: 'Fredoka', sans-serif;
    transition: all 0.3s;
}

.search-bar:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.2);
}

.search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    pointer-events: none;
}

/* Category Filter */
.category-filter {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 5%;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    padding: 0.8rem 1.8rem;
    border: 2px solid var(--primary-pink);
    background: white;
    color: var(--primary-pink);
    border-radius: 50px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-pink);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

/* Featured Post */
.featured-section {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 5%;
}

.featured-post {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.featured-image {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.featured-image svg {
    width: 100%;
    max-width: 400px;
    animation: bounce 3s infinite ease-in-out;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-orange));
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 1.5rem;
}

.featured-content h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.post-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-content p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.read-more-btn {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-orange));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    width: fit-content;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.5);
}

/* Blog Posts Grid */
.blog-posts-section {
    max-width: 1400px;
    margin: 5rem auto;
    padding: 0 5%;
}

.section-title {
    font-family: 'Baloo 2', cursive;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
    height: 250px;
    background: linear-gradient(135deg, var(--card-color), var(--card-color-alt));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}

.blog-card.pink {
    --card-color: #FF6B9D;
    --card-color-alt: #FF9F40;
}

.blog-card.blue {
    --card-color: #4ECDC4;
    --card-color-alt: #95E1D3;
}

.blog-card.purple {
    --card-color: #A06CD5;
    --card-color-alt: #FF6B9D;
}

.blog-card.yellow {
    --card-color: #FFE66D;
    --card-color-alt: #FF9F40;
}

.blog-card.green {
    --card-color: #95E1D3;
    --card-color-alt: #4ECDC4;
}

.blog-card-content {
    padding: 2rem;
}

.card-category {
    display: inline-block;
    background: rgba(255, 107, 157, 0.1);
    color: var(--primary-pink);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-card h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.card-excerpt {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.card- .card-date {
    color: var(--text-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-read-time {
    color: var(--primary-pink);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Sidebar */
.blog-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.popular-post {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.popular-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.popular-post-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-orange));
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.popular-post-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.popular-post-content p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    background: rgba(255, 107, 157, 0.1);
    color: var(--primary-pink);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
}

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

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: white;
    text-align: center;
}

.newsletter-widget h3 {
    color: white;
}

.newsletter-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.newsletter-widget input {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    margin-bottom: 1rem;
    font-family: 'Fredoka', sans-serif;
}

.newsletter-widget button {
    width: 100%;
    padding: 1rem;
    border: 2px solid white;
    background: white;
    color: var(--primary-pink);
    border-radius: 50px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-widget button:hover {
    background: transparent;
    color: white;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 4rem 0;
}

.pagination button,
.pagination a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-pink);
    background: white;
    color: var(--primary-pink);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.pagination button:hover,
.pagination a:hover,
.pagination a.active {
    background: var(--primary-pink);
    color: white;
    transform: scale(1.1);
}

/* Footer */


.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-links h4 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-pink);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: var(--primary-pink);
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 18px;
    border: 3px solid #333;
    box-shadow: 4px 4px 0px #333;
    cursor: pointer;
    font-size: 1.6rem;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-menu-btn:active {
    transform: translate(3px, 3px) scale(0.9);
    box-shadow: 1px 1px 0px #333;
}

/* Responsive */
@media (max-width: 1200px) {
    .blog-with-sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 968px) {
    .featured-post {
        grid-template-columns: 1fr;
    }

    .blog-hero h1 {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }

    .category-filter {
        gap: 0.5rem;
    }

    .category-btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
}



/* Creative Mobile Bottom Nav - Enhanced Premium Version */
.mobile-bottom-nav {
    display: none;
    position: fixed !important;
    bottom: 20px !important;
    /* Floating effect */
    left: 20px !important;
    right: 20px !important;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    height: 70px;
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    z-index: 200000;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.05);
    pointer-events: auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

/* Nav Indicator */
.nav-indicator {
    position: absolute;
    bottom: 10px;
    height: 4px;
    width: 30px;
    background: var(--primary-pink);
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}

/* Paint splash effect behind active items */
.bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55px;
    height: 55px;
    background: currentColor;
    opacity: 0.2;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: blob-spin 4s linear infinite;
    z-index: -1;
}

@keyframes blob-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.bottom-nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    gap: 4px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 16.66%;
    z-index: 1;
    padding-top: 5px;
}

.bottom-nav-item i {
    font-size: 1.5rem;
    filter: drop-shadow(2px 2px 0px rgba(0, 0, 0, 0.05));
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bottom-nav-item span {
    font-size: 0.75rem;
    font-weight: 800;
    font-family: 'Baloo 2', cursive;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    transition: all 0.3s;
}

.bottom-nav-item:nth-child(1) {
    color: var(--primary-pink);
}

.bottom-nav-item:nth-child(2) {
    color: var(--primary-blue);
}

.bottom-nav-item:nth-child(3) {
    color: var(--primary-purple);
}

.bottom-nav-item:nth-child(4) {
    color: var(--primary-orange);
}

.bottom-nav-item.active {
    transform: translateY(-5px);
}

.bottom-nav-item.active span {
    opacity: 1;
    transform: scale(1.1);
}

.bottom-nav-item.active i {
    transform: scale(1.2) translateY(-2px);
}

.bottom-nav-item.active i {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    body {
        padding-bottom: 110px;
    }

    .mobile-bottom-nav {
        display: flex !important;
        bottom: calc(15px + env(safe-area-inset-bottom)) !important;
    }
}


/* Crafts Page Specifics */
.crafts-hero {
    padding: 6rem 5% 4rem;
    text-align: center;
    background: url('../images/bg-pattern.png');
    position: relative;
}

.category-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.category-tag.pink {
    background: #FFE6F0;
    color: var(--primary-pink);
}

.crafts-controls {
    max-width: 1200px;
    margin: -2rem auto 4rem;
    background: white;
    padding: 2rem;
    border-radius: 30px;
    border: 4px solid #333;
    box-shadow: 10px 10px 0px #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.search-container {
    flex: 1;
    position: relative;
}

.search-container i {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.search-container input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: 3px solid #eee;
    border-radius: 15px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.search-container input:focus {
    border-color: var(--primary-pink);
    outline: none;
}

.crafts-grid {
    max-width: 1200px;
    margin: 0 auto 6rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    padding: 0 5%;
}

.activity-card .card-image {
    height: 250px;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid #333;
}

.activity-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    border: 2px solid #333;
}

.inspiration-banner {
    max-width: 1200px;
    margin: 4rem auto 6rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    padding: 4rem;
    border-radius: 40px;
    border: 4px solid #333;
    box-shadow: 15px 15px 0px #333;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner-content h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.banner-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.category-filter {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    border: 3px solid #333;
    background: white;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 4px 4px 0px #333;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    transform: translateY(-3px) rotate(-2deg);
    box-shadow: 6px 6px 0px #333;
}

.filter-btn.active {
    transform: translateY(2px);
    box-shadow: 0px 0px 0px #333;
}

/* Category specific colors */
.filter-btn[data-category="all"].active {
    background: #333;
    color: white;
}

.filter-btn[data-category="paper"]:hover,
.filter-btn[data-category="paper"].active {
    background: var(--primary-pink);
    color: white;
    border-color: #333;
}

.filter-btn[data-category="recycled"]:hover,
.filter-btn[data-category="recycled"].active {
    background: var(--primary-blue);
    color: white;
    border-color: #333;
}

.filter-btn[data-category="nature"]:hover,
.filter-btn[data-category="nature"].active {
    background: #95E1D3;
    color: white;
    border-color: #333;
}




/* Community Spotlight Styles */
.community-spotlight {
    padding: 6rem 5%;
    background: rgba(255, 255, 255, 0.4);
    margin: 4rem 0;
    border-top: 4px dashed #333;
    border-bottom: 4px dashed #333;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.spotlight-item {
    background: white;
    padding: 1.5rem;
    border-radius: 30px;
    border: 3px solid #333;
    box-shadow: 8px 8px 0px #333;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.spotlight-item:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 12px 12px 0px #333;
}

.spotlight-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 20px;
    border: 3px solid #eee;
    margin-bottom: 1.5rem;
}

.spotlight-info strong {
    display: block;
    font-family: 'Baloo 2', cursive;
    font-size: 1.4rem;
    color: var(--primary-pink);
    margin-bottom: 0.3rem;
}

.spotlight-info span {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 500;
}
/* Rich Blog Post Styles */
.article-header {
    max-width: 1000px;
    margin: 6rem auto 3rem;
    text-align: center;
    padding: 0 5%;
}

.article-meta-top {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--text-gray);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.article-category {
    background: rgba(255, 107, 157, 0.1);
    color: var(--primary-pink);
    padding: 0.4rem 1rem;
    border-radius: 20px;
}

.article-header h1 {
    font-family: 'Baloo 2', cursive;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.article-excerpt {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.5rem;
    background: white;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 2px solid #f1f5f9;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.author-avatar {
    width: 45px;
    height: 45px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.article-featured-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10rem;
    margin: 2rem 0 4rem;
    border: 4px solid #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.article-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 0 5%;
}

.article-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-content h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 2.2rem;
    margin: 3rem 0 1.5rem;
}

.article-content h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content blockquote {
    background: #FFF8F0;
    border-left: 8px solid var(--primary-pink);
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 20px;
    font-size: 1.4rem;
    font-family: 'Baloo 2', cursive;
    font-style: italic;
    color: var(--primary-purple);
}

.article-content ul, .article-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.8rem;
}

.craft-project, .tips-box {
    background: white;
    padding: 2.5rem;
    border-radius: 30px;
    border: 3px solid #333;
    box-shadow: 10px 10px 0px #333;
    margin: 3rem 0;
}

.tips-box {
    border-color: var(--primary-blue);
    box-shadow: 10px 10px 0px var(--primary-blue);
    background: #f0fdfa;
}

.craft-project h4, .tips-box h4 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.craft-section {
    margin-bottom: 1.5rem;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.gallery-item {
    text-align: center;
}

.gallery-item-image {
    height: 150px;
    background: #f8fafc;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin-bottom: 0.75rem;
    border: 2px solid #e2e8f0;
}

.gallery-caption {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.author-bio {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

.author-bio-avatar {
    width: 100px;
    height: 100px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    flex-shrink: 0;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 4rem;
}

/* Sidebar for Articles */
.toc-list {
    list-style: none;
    padding: 0;
}

.toc-list li {
    margin-bottom: 1rem;
}

.toc-list a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: all 0.3s;
}

.toc-list a:hover {
    color: var(--primary-pink);
    padding-left: 5px;
}

.share-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.share-btn {
    padding: 0.8rem;
    border: 2px solid #f1f5f9;
    background: white;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.share-btn:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.cta-btn {
    background: white;
    color: var(--primary-pink);
    border: none;
    padding: 1rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.comments-section, .related-posts {
    margin-top: 6rem;
}

.comment {
    background: white;
    padding: 2rem;
    border-radius: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    margin-bottom: 2rem;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-orange));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.related-card {
    background: white;
    border-radius: 25px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 2px solid #f1f5f9;
    transition: all 0.3s;
    cursor: pointer;
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-pink);
}

.related-image {
    width: 80px;
    height: 80px;
    background: #f1f5f9;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

@media (max-width: 968px) {
    .article-header h1 {
        font-size: 2.5rem;
    }
    
    .article-container {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        display: none;
    }
}

/* Google Translate Widget Styling */
.translate-container {
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

#google_translate_element {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 5px 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

#google_translate_element:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.goog-te-gadget-simple {
    background-color: transparent !important;
    border: none !important;
    font-family: 'Fredoka', sans-serif !important;
    font-size: 0.9rem !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
}

.goog-te-gadget-simple img {
    display: none !important;
}

.goog-te-gadget-icon {
    display: none !important;
}

.goog-te-menu-value {
    color: var(--text-dark) !important;
    font-weight: 600 !important;
}

.goog-te-menu-value span {
    border-left: none !important;
}

/* Hide Google Translate Banner */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0px !important;
}

.goog-tooltip {
    display: none !important;
}

.goog-tooltip:hover {
    display: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Fix mobile bottom nav for translation */
@media (max-width: 768px) {
    .translate-container {
        display: none; /* Hide in main nav on mobile, maybe add to sidebar? */
    }
}

/* AdSense Premium Containers */
.ad-container {
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border: 2px dashed #e2e8f0;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ad-container::before {
    content: 'Advertisement';
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.ad-sidebar {
    margin: 1.5rem 0;
}

.ad-sidebar::before {
    content: 'Sponsored';
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-align: center;
}

/* Drawing Pad Styles */
.drawing-page {
    background: #fdfcf0; /* Paper-like color */
    padding: 4rem 5%;
    min-height: 100vh;
}

.drawing-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 40px;
    border: 5px solid #333;
    box-shadow: 15px 15px 0px #333;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.drawing-toolbar {
    padding: 1.5rem;
    background: #f1f5f9;
    border-bottom: 4px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.tool-group {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.tool-btn {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    border: 3px solid #333;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 3px 3px 0px #333;
}

.tool-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px #333;
}

.tool-btn.active {
    background: var(--primary-pink);
    color: white;
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px #333;
}

.color-swatch {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 3px solid #333;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-swatch:hover {
    transform: scale(1.2);
}

.color-swatch.active {
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.canvas-area {
    background: white;
    position: relative;
    cursor: crosshair;
    flex-grow: 1;
    overflow: hidden;
}

#drawingCanvas {
    width: 100%;
    height: 600px;
    display: block;
}

.canvas-controls {
    padding: 1rem;
    background: #f1f5f9;
    border-top: 2px solid #e2e8f0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.brush-size-slider {
    width: 150px;
}

@media (max-width: 768px) {
    .drawing-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    #drawingCanvas {
        height: 400px;
    }
}

/* --- Modern Hero Redesign --- */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10rem 5% 6rem; /* Increased top padding for fixed header */
    position: relative;
    overflow: hidden;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 2;
    animation: slideInLeft 1s ease-out;
}

.hero-content h1 {
    font-size: 5.5rem;
    font-family: 'Baloo 2', cursive;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.hero-content p {
    font-size: 1.4rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 550px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: zoomIn 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-illustration {
    width: 100%;
    max-width: 600px;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.1));
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

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

.floating-mascot {
    position: absolute;
    font-size: 10rem;
    top: 0;
    right: 0;
    animation: floatMascot 4s infinite ease-in-out;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

/* --- Additional Home Sections --- */
.stats-section {
    background: white;
    padding: 6rem 5%;
    border-radius: 80px;
    margin: 4rem 2rem;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-family: 'Baloo 2';
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.2rem;
    color: var(--text-gray);
    font-weight: 700;
}

.testimonials-section {
    padding: 8rem 5%;
    text-align: center;
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    max-width: 400px;
    margin: 0 auto;
    transition: 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: white;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.newsletter-section {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    padding: 8rem 5%;
    border-radius: 80px;
    margin: 4rem 2rem;
    color: white;
    text-align: center;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 3rem auto 0;
}

.newsletter-form input {
    flex: 1;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
}

.newsletter-form button {
    background: white;
    color: var(--primary-pink);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    border: none;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- Modern Drawing Pad --- */
.drawing-page {
    background: #fdfdfd;
}

.drawing-container {
    max-width: 1400px;
    margin: 0 auto 5rem;
    background: white;
    border-radius: 50px;
    box-shadow: var(--card-shadow);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border: 1px solid var(--glass-border);
}

.drawing-toolbar {
    background: var(--bg-cream);
    padding: 1.5rem;
    border-radius: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}

.tool-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.tool-btn {
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.tool-btn:hover {
    background: var(--bg-cream);
    transform: scale(1.1);
}

.tool-btn.active {
    background: var(--primary-pink);
    color: white;
    box-shadow: 0 10px 20px rgba(255, 75, 145, 0.3);
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    border: 3px solid transparent;
}

.color-swatch:hover {
    transform: scale(1.2) rotate(10deg);
}

.color-swatch.active {
    border-color: #333;
    transform: scale(1.1);
}

.canvas-area {
    width: 100%;
    height: 600px;
    background: white;
    border-radius: 30px;
    border: 10px solid var(--bg-cream);
    overflow: hidden;
    cursor: crosshair;
}

#drawingCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* --- Kid-Friendly Animations --- */
@keyframes bounceSmall {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}

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

.animate-bounce { animation: bounceSmall 3s infinite ease-in-out; }
.animate-wiggle:hover { animation: wiggle 0.5s ease-in-out; }
.animate-float { animation: floatAround 5s infinite ease-in-out; }
.animate-slide-up { animation: slideUpFade 0.8s ease-out forwards; }

/* --- Mobile Responsiveness Fixes --- */
@media (max-width: 768px) {
    header {
        padding: 0.8rem 3%;
        border-radius: 0 0 25px 25px;
    }
    
    header.scrolled {
        padding: 0.5rem 3%;
        border-radius: 0 0 30px 30px;
    }

    .drawing-toolbar {
        gap: 1rem;
        padding: 1rem;
        border-radius: 25px;
    }

    .tool-group {
        padding: 0.5rem 1rem;
        gap: 0.5rem;
    }

    .tool-btn {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }

    .canvas-area {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
}

/* --- Premium Kid-Friendly 3D Buttons --- */
.btn-kidzy {
    --lip-color: rgba(0,0,0,0.2); /* Default */
    --shadow-color: rgba(0,0,0,0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-family: 'Baloo 2', cursive;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    top: 0;
    border: 4px solid rgba(255,255,255,0.3);
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 8px 0 var(--lip-color), 0 15px 20px var(--shadow-color);
    white-space: nowrap;
}

.btn-kidzy::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.btn-kidzy:hover::after {
    left: 150%;
}

.btn-kidzy.pink { background: var(--primary-pink); color: white; --lip-color: #d93d7c; --shadow-color: rgba(255, 75, 145, 0.3); }
.btn-kidzy.blue { background: var(--primary-blue); color: white; --lip-color: #00b3d4; --shadow-color: rgba(0, 215, 255, 0.3); }
.btn-kidzy.orange { background: var(--primary-orange); color: white; --lip-color: #d66300; --shadow-color: rgba(255, 118, 0, 0.3); }
.btn-kidzy.purple { background: var(--primary-purple); color: white; --lip-color: #8755d4; --shadow-color: rgba(166, 108, 255, 0.3); }
.btn-kidzy.green { background: var(--primary-green); color: white; --lip-color: #00d68f; --shadow-color: rgba(0, 255, 171, 0.3); }

.btn-kidzy:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 0 var(--lip-color), 0 20px 25px var(--shadow-color);
}

.btn-kidzy:active {
    transform: translateY(4px);
    box-shadow: 0 4px 0 var(--lip-color), 0 5px 10px var(--shadow-color);
}
