/* Activities Page - Playful "Toy Box" Design */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&display=swap');

.activities-preschool-playbox {
    padding: 60px 0;
    background-color: #fff9f0;
    position: relative;
    overflow: hidden;
    font-family: 'Fredoka', sans-serif;
}

/* Background Blobs */
.playbox-blob {
    position: absolute;
    z-index: 0;
    opacity: 0.4;
    filter: blur(40px);
    border-radius: 50%;
}

.playbox-blob-1 { width: 400px; height: 400px; background: #fff176; top: -100px; left: -100px; }
.playbox-blob-2 { width: 300px; height: 300px; background: #ff8a65; bottom: 10%; right: -50px; }
.playbox-blob-3 { width: 350px; height: 350px; background: #81c784; top: 40%; left: 10%; }

.playbox-card-wrapper {
    margin-bottom: 60px;
    z-index: 2;
}

.playbox-card {
    background: #fff;
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 15px 0 var(--shadow-color, #e0e0e0);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid var(--border-color, #f2f2f2);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.playbox-card__image {
    width: 100%;
    height: 250px;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 25px;
    position: relative;
}

.playbox-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.playbox-card__tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-color, #f25334);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.playbox-card__content {
    padding: 10px 15px 25px;
    text-align: center;
    flex-grow: 1;
}

.playbox-card__title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2235;
    margin-bottom: 15px;
}

.playbox-card__desc {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.playbox-card__icon {
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 20px;
    margin: -50px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
    border: 2px solid var(--border-color);
}

/* Hover State */
.playbox-card:hover {
    transform: translateY(10px);
    box-shadow: 0 5px 0 var(--shadow-color);
}

.playbox-card:hover .playbox-card__image img {
    transform: scale(1.1);
}

.playbox-card:active {
    transform: translateY(15px);
    box-shadow: 0 0 0 transparent;
}

/* Page Header Playful */
.playful-header {
    background-color: #0b2038;
    padding: 140px 0 160px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.playful-header__title {
    color: #fff;
    font-size: 64px;
    font-weight: 700;
    font-family: 'Fredoka', sans-serif;
}

.playful-header__shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
}

.playful-header__shape svg {
    display: block;
    fill: #fff9f0;
}
