﻿.hkb-s-section {
    background-color: #fff;
    padding: 1rem;
    margin-bottom: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden; /* For animations that might extend */
}

.hkb-s-section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hkb-s-section-text {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* --- Button Base Styles --- */

.hkb-s-animated-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: white;
    text-decoration: none; /* Ensure no underline for links */
}

    .hkb-s-animated-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
        color: white; /* Keep text white on hover */
    }

/* --- Section 1: Rainbow Border & Bouncing Button --- */
.hkb-s-section-1 {
    border: 8px solid transparent;
    border-image: linear-gradient(to right, #FF0000, #FF7F00, #FFFF00, #00FF00, #0000FF, #4B0082, #9400D3) 1;
}

.hkb-s-btn-bounce {
    background-color: #ff6347; /* Tomato */
    animation: hkb-s-bounce 1.5s infinite;
}

@keyframes hkb-s-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-7px);
    }
}

/* --- Section 2: Twinkling Stars & Glowing Button --- */
.hkb-s-section-2 {
    background: #e0f7fa; /* Light cyan */
    position: relative;
    overflow: hidden;
}

/*.hkb-s-star {
    position: absolute;
    background-color: #ffd700;*/ /* Gold */
    /*border-radius: 50%;
    opacity: 0;
    animation: hkb-s-twinkle 3s infinite ease-in-out;
}

    .hkb-s-star:nth-child(1) {
        top: 10%;
        left: 20%;
        width: 5px;
        height: 5px;
        animation-delay: 0s;
    }

    .hkb-s-star:nth-child(2) {
        top: 30%;
        left: 70%;
        width: 7px;
        height: 7px;
        animation-delay: 0.5s;
    }

    .hkb-s-star:nth-child(3) {
        top: 60%;
        left: 40%;
        width: 6px;
        height: 6px;
        animation-delay: 1s;
    }

    .hkb-s-star:nth-child(4) {
        top: 80%;
        left: 10%;
        width: 4px;
        height: 4px;
        animation-delay: 1.5s;
    }

    .hkb-s-star:nth-child(5) {
        top: 25%;
        left: 90%;
        width: 8px;
        height: 8px;
        animation-delay: 2s;
    }*/

@keyframes hkb-s-twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.hkb-s-btn-glow {
    background-color: #20b2aa; /* Light Sea Green */
    box-shadow: 0 0 10px rgba(32, 178, 170, 0.5);
    animation: hkb-s-glow 2s infinite alternate;
}

@keyframes hkb-s-glow {
    from {
        box-shadow: 0 0 10px rgba(32, 178, 170, 0.5);
    }

    to {
        box-shadow: 0 0 20px rgba(32, 178, 170, 0.8);
    }
}

/* --- Section 3: Candy Stripes & Wiggling Button --- */
.hkb-s-section-3 {
    background-image: repeating-linear-gradient( 45deg, #ffb6c1 0, /* Light Pink */
    #ffb6c1 15px, #add8e6 15px, /* Light Blue */
    #add8e6 30px );
    color: #555;
}

.hkb-s-btn-wiggle {
    background-color: #ffa07a; /* Light Salmon */
}

    .hkb-s-btn-wiggle:hover {
        animation: hkb-s-wiggle 0.3s infinite;
    }

@keyframes hkb-s-wiggle {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(3deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-3deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* --- Section 4: Ocean Waves & Splashing Button --- */
.hkb-s-section-4 {
    background: linear-gradient(to bottom, #87ceeb, #4682b4); /* Sky Blue to Steel Blue */
    color: white;
    position: relative;
    overflow: hidden;
}

.hkb-s-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50% 50% 0 0;
    animation: hkb-s-wave 3s infinite alternate ease-in-out;
}

    .hkb-s-wave:nth-child(2) {
        left: 50%;
        animation-delay: 0.5s;
        background: rgba(255, 255, 255, 0.2);
    }

@keyframes hkb-s-wave {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-10px);
    }
}

.hkb-s-btn-splash {
    background-color: #1e90ff; /* Dodger Blue */
}

    .hkb-s-btn-splash:hover {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(30, 144, 255, 0.6);
    }

/* --- Section 5: Spinning Pinwheel & Rotating Button --- */
.hkb-s-section-5 {
    background: conic-gradient(from 0deg at 50% 50%, #ff69b4, #ffd700, #7cfc00, #00bfff, #ff69b4);
    color: white;
    position: relative;
    overflow: hidden;
}

    .hkb-s-section-5::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: inherit;
        animation: hkb-s-pinwheel 8s linear infinite;
        z-index: -1;
    }

@keyframes hkb-s-pinwheel {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hkb-s-btn-rotate {
    background-color: #ff1493; /* Deep Pink */
}

    .hkb-s-btn-rotate:hover {
        animation: hkb-s-rotate-button 0.5s linear infinite;
    }

@keyframes hkb-s-rotate-button {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* --- Section 6: Sparkle Effect & Sparkle Button --- */
.hkb-s-section-6 {
    background: #fffacd; /* Lemon Chiffon */
    position: relative;
    overflow: hidden;
}

.hkb-s-sparkle {
    position: absolute;
    background-color: #ffd700;
    border-radius: 50%;
    opacity: 0;
    animation: hkb-s-sparkle-burst 1s forwards;
    pointer-events: none; /* Allow clicks through */
}

@keyframes hkb-s-sparkle-burst {
    0% {
        transform: scale(0) translate(0,0);
        opacity: 1;
    }

    100% {
        transform: scale(1.5) translate(var(--x), var(--y));
        opacity: 0;
    }
}

.hkb-s-btn-sparkle {
    background-color: #ff8c00; /* Dark Orange */
    position: relative;
    overflow: hidden;
}

    .hkb-s-btn-sparkle::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.7);
        border-radius: 50%;
       /* opacity: 0;*/
        transform: translate(-50%, -50%);
        transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
    }

    .hkb-s-btn-sparkle:hover::after {
        width: 150%;
        height: 150%;
       /* opacity: 1;*/
    }

/* --- Section 7: Polka Dots & Scale Button --- */
.hkb-s-section-7 {
    background-image: radial-gradient(#90ee90 10%, transparent 10%), radial-gradient(#87cefa 10%, transparent 10%);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
}

.hkb-s-btn-scale {
    background-color: #32cd32; /* Lime Green */
}

    .hkb-s-btn-scale:hover {
        transform: scale(1.05);
    }

/* --- Section 8: Tilted Blocks & Tilt Button --- */
.hkb-s-section-8 {
    background: #afeeee; /* Pale Turquoise */
    transform: skewY(-3deg);
    margin-top: 3rem;
    margin-bottom: 3rem;
}

    .hkb-s-section-8 > div {
        transform: skewY(3deg); /* Counter-skew content */
        background-color: #4682b4; /* Steel Blue */
        color: white;
        padding: 2rem;
        border-radius: 10px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }

.hkb-s-btn-tilt {
    background-color: #6a5acd; /* Slate Blue */
}

    .hkb-s-btn-tilt:hover {
        transform: rotateZ(5deg);
    }

/* --- Section 9: Glimmering Treasure & Glimmer Button --- */
.hkb-s-section-9 {
    background: #f8f8f8;
    border: 5px solid #ffd700; /* Gold border */
    position: relative;
    overflow: hidden;
}

.hkb-s-glimmer-text {
    background: linear-gradient(90deg, #ffd700 0%, #fffacd 25%, #ffd700 50%, #fffacd 75%, #ffd700 100%);
    background-size: 200% auto;
    color: #000;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: hkb-s-glimmer 3s linear infinite;
}

@keyframes hkb-s-glimmer {
    to {
        background-position: -200% center;
    }
}

.hkb-s-btn-glimmer {
    background-color: #daa520; /* Goldenrod */
    position: relative;
    overflow: hidden;
}

    .hkb-s-btn-glimmer::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
        transition: transform 0.5s ease-in-out;
    }

    .hkb-s-btn-glimmer:hover::before {
        transform: translateX(200%);
    }

/* --- Section 10: Bursting Bubble & Pop Button --- */
.hkb-s-section-10 {
    background: #b0e0e6; /* Powder Blue */
    position: relative;
    overflow: hidden;
}

.hkb-s-bubble {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    opacity: 0;
    animation: hkb-s-bubble-float 5s infinite ease-in-out;
}

    .hkb-s-bubble:nth-child(1) {
        width: 30px;
        height: 30px;
        top: 80%;
        left: 10%;
        animation-delay: 0s;
    }

    .hkb-s-bubble:nth-child(2) {
        width: 20px;
        height: 20px;
        top: 90%;
        left: 50%;
        animation-delay: 1.5s;
    }

    .hkb-s-bubble:nth-child(3) {
        width: 40px;
        height: 40px;
        top: 70%;
        left: 80%;
        animation-delay: 3s;
    }

@keyframes hkb-s-bubble-float {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(-200px);
        opacity: 0;
    }
}

.hkb-s-btn-pop {
    background-color: #6495ed; /* Cornflower Blue */
}

    .hkb-s-btn-pop:active {
        transform: scale(1.2);
        transition: transform 0.1s ease-out;
    }

/* --- Section 11: Jungle Theme & Grow Button --- */
.hkb-s-section-11 {
    background: linear-gradient(to bottom, #228b22, #3cb371); /* Forest Green to Medium Sea Green */
    color: white;
    position: relative;
    overflow: hidden;
}

    .hkb-s-section-11::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M50 0 L100 50 L50 100 L0 50 Z" fill="%232e8b57" opacity="0.3"/><path d="M50 20 L80 50 L50 80 L20 50 Z" fill="%233cb371" opacity="0.3"/></svg>'); /* Simple leafy pattern */
        background-size: 50px 50px;
        opacity: 0.7;
        z-index: 0;
    }

    .hkb-s-section-11 .hkb-s-section-title, .hkb-s-section-11 .hkb-s-section-text, .hkb-s-section-11 .hkb-s-animated-btn, .hkb-s-section-11 .hkb-s-video-wrapper {
        position: relative; /* Bring content above pseudo-element */
        z-index: 1;
    }

.hkb-s-btn-grow {
    background-color: #8b4513; /* Saddle Brown */
    transition: transform 0.3s ease-out;
}

    .hkb-s-btn-grow:hover {
        transform: scale(1.1);
        background-color: #a0522d; /* Sienn */
    }

/* Responsive video wrapper */
.hkb-s-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

    .hkb-s-video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }


/* --- Section 12: Puzzles Theme & Game Subsections --- */
.hkb-s-section-12 {
    background: linear-gradient(to right, #8a2be2, #4b0082); /* Blue Violet to Indigo */
    color: white;
    position: relative;
    overflow: hidden;
}

    .hkb-s-section-12::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="50" height="50" fill="%239370db" opacity="0.2"/><rect x="50" y="50" width="50" height="50" fill="%239370db" opacity="0.2"/></svg>'); /* Geometric pattern */
        background-size: 50px 50px;
        opacity: 0.5;
        z-index: 0;
    }

    .hkb-s-section-12 .hkb-s-section-title, .hkb-s-section-12 .hkb-s-section-text, .hkb-s-section-12 .hkb-s-animated-btn, .hkb-s-section-12 .hkb-s-game-card {
        position: relative;
        z-index: 1;
    }

.hkb-s-btn-solve {
    background-color: #ff4500; /* Orange Red */
    transition: transform 0.3s ease-in-out;
}

    .hkb-s-btn-solve:hover {
        transform: rotate(5deg) scale(1.05);
    }

/* Game Card Base Styles */
.hkb-s-game-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: .5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #333;
    height: 100%; /* Ensure cards in a row have equal height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .hkb-s-game-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }

    .hkb-s-game-card h3 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
        color: #4b0082; /* Indigo */
    }

    .hkb-s-game-card p {
        font-size: 1rem;
        line-height: 1.5;
        flex-grow: 1; /* Allow description to take available space */
    }

    .hkb-s-game-card i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        color: #8a2be2; /* Blue Violet */
    }

/* Game Card Animations & Styles */

/* Game 1: Memory Match - Flip Effect */
.hkb-s-game-card-1 {
    background-color: #ffe0b2; /* Light Orange */
    border: 3px solid #ff9800; /* Orange */
}

    .hkb-s-game-card-1:hover {
        transform: rotateY(10deg);
    }

/* Game 2: Jigsaw Puzzle - Jiggle Effect */
.hkb-s-game-card-2 {
    background-color: #c8e6c9; /* Light Green */
    border: 33px solid #4caf50; /* Green */
}

    .hkb-s-game-card-2:hover {
        animation: hkb-s-jiggle 0.3s infinite alternate;
    }

@keyframes hkb-s-jiggle {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(3px);
    }

    100% {
        transform: translateX(-3px);
    }
}

/* Game 3: Riddle Me This - Pulse Effect */
.hkb-s-game-card-3 {
    background-color: #bbdefb; /* Light Blue */
    border: 3px solid #2196f3; /* Blue */
}

    .hkb-s-game-card-3:hover {
        animation: hkb-s-pulse-card 1s infinite alternate;
    }

@keyframes hkb-s-pulse-card {
    from {
        box-shadow: 0 0 8px rgba(33, 150, 243, 0.5);
    }

    to {
        box-shadow: 0 0 15px rgba(33, 150, 243, 0.8);
    }
}

/* Game 4: Maze Runner - Border Glow */
.hkb-s-game-card-4 {
    background-color: #ffccbc; /* Light Coral */
    border: 3px solid #ff5722; /* Deep Orange */
}

    .hkb-s-game-card-4:hover {
        border-color: #ffeb3b; /* Yellow */
        box-shadow: 0 0 15px #ffeb3b;
    }

/* Game 5: Shape Sorter - Spin Icon */
.hkb-s-game-card-5 {
    background-color: #e1bee7; /* Light Purple */
    border: 3px solid #9c27b0; /* Purple */
}

    .hkb-s-game-card-5 .hkb-s-game-icon {
        transition: transform 0.3s ease;
    }

    .hkb-s-game-card-5:hover .hkb-s-game-icon {
        transform: rotate(360deg);
    }

/* Game 6: Amharic Alphabet Sorter - Bounce Icon */
.hkb-s-game-card-6 {
    background-color: #d1e7dd; /* Light Greenish Blue */
    border: 3px solid #28a745; /* Green */
}

    .hkb-s-game-card-6 .hkb-s-game-icon {
        animation: hkb-s-icon-bounce 1s infinite alternate;
    }

@keyframes hkb-s-icon-bounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-5px);
    }
}

/* Game 7: Number Sorter - Scale Icon */
.hkb-s-game-card-7 {
    background-color: #fff3cd; /* Light Yellow */
    border: 3px solid #ffc107; /* Yellow */
}

    .hkb-s-game-card-7 .hkb-s-game-icon {
        transition: transform 0.3s ease;
    }

    .hkb-s-game-card-7:hover .hkb-s-game-icon {
        transform: scale(1.2);
    }

/* Game 8: Amharic Alphabet Grouper - Rotate Icon */
.hkb-s-game-card-8 {
    background-color: #f8d7da; /* Light Red */
    border: 3px solid #dc3545; /* Red */
}

    .hkb-s-game-card-8 .hkb-s-game-icon {
        transition: transform 0.5s ease-in-out;
    }

    .hkb-s-game-card-8:hover .hkb-s-game-icon {
        transform: rotateY(180deg);
    }

/* Game 9: Amharic Sound Match - Shake Effect */
.hkb-s-game-card-9 {
    background-color: #cfe2ff; /* Light Blue */
    border: 3px solid #007bff; /* Blue */
}

    .hkb-s-game-card-9:hover {
        animation: hkb-s-shake 0.2s infinite alternate;
    }

@keyframes hkb-s-shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-2px);
    }

    50% {
        transform: translateX(2px);
    }

    75% {
        transform: translateX(-2px);
    }

    100% {
        transform: translateX(2px);
    }
}

/* Game 10: Amharic Alphabet Master - Pulsing Border */
.hkb-s-game-card-10 {
    background-color: #dae8fc; /* Lighter Blue */
    border: 3px solid #6f42c1; /* Dark Purple */
}

    .hkb-s-game-card-10:hover {
        animation: hkb-s-border-pulse 1s infinite alternate;
    }

@keyframes hkb-s-border-pulse {
    from {
        border-color: #6f42c1;
        box-shadow: 0 0 5px #6f42c1;
    }

    to {
        border-color: #e83e8c;
        box-shadow: 0 0 15px #e83e8c;
    }
}

/* --- Section 13: Checkerboard Fun --- */
.hkb-s-section-13 {
    background-color: #f0f8ff; /* Alice Blue */
    position: relative;
    overflow: hidden;
}

    .hkb-s-section-13::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: linear-gradient(45deg, #add8e6 25%, transparent 25%), linear-gradient(-45deg, #add8e6 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #add8e6 75%), linear-gradient(-45deg, transparent 75%, #add8e6 75%);
        background-size: 40px 40px;
        background-position: 0 0, 20px 0, 20px 20px, 0 20px;
        opacity: 0.5;
        z-index: 0;
    }

    .hkb-s-section-13 .hkb-s-section-title, .hkb-s-section-13 .hkb-s-section-text, .hkb-s-section-13 .hkb-s-animated-btn {
        position: relative;
        z-index: 1;
    }

.hkb-s-btn-slide {
    background-color: #4682b4; /* Steel Blue */
    overflow: hidden;
}

    .hkb-s-btn-slide::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.3);
        transition: transform 0.3s ease-in-out;
    }

    .hkb-s-btn-slide:hover::before {
        transform: translateX(100%);
    }

/* --- Section 14: Soft Bubbles --- */
.hkb-s-section-14 {
    background-color: #e0f7fa; /* Light Cyan */
    position: relative;
    overflow: hidden;
}

    .hkb-s-section-14::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.4) 5px, transparent 5px), radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.4) 8px, transparent 8px), radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.4) 6px, transparent 6px);
        background-size: 50px 50px;
        opacity: 0.5;
        z-index: 0;
    }

    .hkb-s-section-14 .hkb-s-section-title, .hkb-s-section-14 .hkb-s-section-text, .hkb-s-section-14 .hkb-s-animated-btn {
        position: relative;
        z-index: 1;
    }

.hkb-s-btn-burst {
    background-color: #00bcd4; /* Cyan */
    position: relative;
    overflow: hidden;
}

    .hkb-s-btn-burst::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        opacity: 0;
        transform: translate(-50%, -50%);
        animation: hkb-s-burst-effect 0.5s ease-out forwards;
    }

    .hkb-s-btn-burst:hover::after {
        animation: none; /* Reset animation on hover */
        opacity: 0;
    }

    .hkb-s-btn-burst:active::after {
        animation: hkb-s-burst-effect 0.5s ease-out forwards; /* Trigger on click */
    }

@keyframes hkb-s-burst-effect {
    from {
        width: 0;
        height: 0;
        opacity: 1;
    }

    to {
        width: 150%;
        height: 150%;
        opacity: 0;
    }
}

/* --- Section 15: Zigzag Zest --- */
.hkb-s-section-15 {
    background-color: #ffe0b2; /* Light Orange */
    position: relative;
    overflow: hidden;
}

    .hkb-s-section-15::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: linear-gradient(135deg, #ffab91 25%, transparent 25%), linear-gradient(-135deg, #ffab91 25%, transparent 25%), linear-gradient(45deg, #ffccbc 25%, transparent 25%), linear-gradient(-45deg, #ffccbc 25%, transparent 25%);
        background-size: 30px 30px;
        background-position: 0 0, 15px 0, 15px 15px, 0 15px;
        opacity: 0.5;
        z-index: 0;
    }

    .hkb-s-section-15 .hkb-s-section-title, .hkb-s-section-15 .hkb-s-section-text, .hkb-s-section-15 .hkb-s-animated-btn {
        position: relative;
        z-index: 1;
    }

.hkb-s-btn-wobble {
    background-color: #ff7043; /* Deep Orange */
}

    .hkb-s-btn-wobble:hover {
        animation: hkb-s-wobble 0.8s infinite;
    }

@keyframes hkb-s-wobble {
    0%, 100% {
        transform: translateX(0%);
        transform-origin: 50% 50%;
    }

    15% {
        transform: translateX(-30px) rotate(-6deg);
    }

    30% {
        transform: translateX(15px) rotate(6deg);
    }

    45% {
        transform: translateX(-15px) rotate(-3.6deg);
    }

    60% {
        transform: translateX(9px) rotate(2.4deg);
    }

    75% {
        transform: translateX(-6px) rotate(-1.2deg);
    }
}

/* --- Section 16: Diamond Delight --- */
.hkb-s-section-16 {
    background-color: #0000FF; /*#d1c4e9;*/ /* Deep Purple 100 */
    position: relative;
    overflow: hidden;
}

    .hkb-s-section-16::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><defs><linearGradient id="a" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="%2387CEFA"/><stop offset="100%" stop-color="%230000FF"/></linearGradient></defs><path d="M20 0 L40 20 L20 40 L0 20 Z" fill="url(%23a)" opacity="0.4"/><path d="M20 10 L30 20 L20 30 L10 20 Z" fill="url(%23a)" opacity="0.4"/></svg>');
        /*        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><path d="M20 0 L40 20 L20 40 L0 20 Z" fill="%23ffe0b2" opacity="0.4"/><path d="M20 10 L30 20 L20 30 L10 20 Z" fill="%2387CEFA" opacity="0.4"/></svg>');
*/ /*        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><path d="M20 0 L40 20 L20 40 L0 20 Z" fill="%23ffe0b2" opacity="0.4"/><path d="M20 10 L30 20 L20 30 L10 20 Z" fill="%230000FF" opacity="0.4"/></svg>');
*/ /*        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><path d="M20 0 L40 20 L20 40 L0 20 Z" fill="%23ffab91" opacity="0.4"/><path d="M20 10 L30 20 L20 30 L10 20 Z" fill="%23ffe0b2" opacity="0.4"/></svg>');
*/ /*background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><path d="M20 0 L40 20 L20 40 L0 20 Z" fill="%23b39ddb" opacity="0.4"/><path d="M20 10 L30 20 L20 30 L10 20 Z" fill="%23a388d1" opacity="0.4"/></svg>');*/ /* Diamond pattern */
        background-size: 40px 40px;
        opacity: 0.5;
        z-index: 0;
    }

    .hkb-s-section-16 .hkb-s-section-title, .hkb-s-section-16 .hkb-s-section-text, .hkb-s-section-16 .hkb-s-animated-btn {
        position: relative;
        z-index: 1;
    }

.hkb-s-btn-twirl {
    background-color: #673ab7; /* Deep Purple */
    transition: transform 0.5s ease-out;
}

    .hkb-s-btn-twirl:hover {
        transform: scale(1.1) rotate(15deg);
    }


/* --- Section 14: Soft Bubbles --- */
.hkb-s-section-114 {
    background-color: #e0f7fa; /* Light Cyan */
    position: relative;
    overflow: hidden;
    margin-top: 1rem; /* Removed all margins */
    padding: 1rem;
    flex: 1;
    min-height: 85svh;
    min-height: 85vh;
}

    .hkb-s-section-114::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.4) 5px, transparent 5px), radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.4) 8px, transparent 8px), radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.4) 6px, transparent 6px);
        background-size: 50px 50px;
        opacity: 0.5;
        z-index: 0;
    }

    .hkb-s-section-114 .hkb-s-section-title, .hkb-s-section-114 .hkb-s-section-text, .hkb-s-section-114 .hkb-s-animated-btn {
        position: relative;
        z-index: 1;
    }

.hkb-s-btn-burst {
    background-color: #00bcd4; /* Cyan */
    position: relative;
    overflow: hidden;
}

    .hkb-s-btn-burst::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        opacity: 0;
        transform: translate(-50%, -50%);
        animation: hkb-s-burst-effect 0.5s ease-out forwards;
    }

    .hkb-s-btn-burst:hover::after {
        animation: none; /* Reset animation on hover */
        opacity: 0;
    }

    .hkb-s-btn-burst:active::after {
        animation: hkb-s-burst-effect 0.5s ease-out forwards; /* Trigger on click */
    }

@keyframes hkb-s-burst-effect {
    from {
        width: 0;
        height: 0;
        opacity: 1;
    }

    to {
        width: 150%;
        height: 150%;
        opacity: 0;
    }
}


/* Game 11: Image Name Quiz - Pulse Icon */
.hkb-s-game-card-11 {
    background-color: #ffeb3b; /* Yellow */
    border: 3px solid #fbc02d; /* Darker Yellow */
}

    .hkb-s-game-card-11 .hkb-s-game-icon {
        animation: hkb-s-icon-pulse 1.5s infinite alternate;
    }

@keyframes hkb-s-icon-pulse {
    from {
        transform: scale(1);
        opacity: 1;
    }

    to {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* 1. Vibrant Diagonal Stripes */
.bg-diagonal-stripes {
    background: repeating-linear-gradient( 45deg, #f06, #f06 10px, #4a90e2 10px, #4a90e2 20px );
}

/* 2. Soft Pastel Polka Dots */
.bg-pastel-polka {
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.4) 4%, transparent 5%) 0 0, radial-gradient(circle at 80% 80%, rgba(255,255,255,0.4) 4%, transparent 5%) 50px 50px, #ff9a9e;
    background-size: 100px 100px;
}

/* 3. Geometric Triangles */
.bg-triangles {
    background: linear-gradient(135deg, #f05a28 25%, transparent 25%) -50px 0, linear-gradient(225deg, #f05a28 25%, transparent 25%) -50px 0, linear-gradient(315deg, #f05a28 25%, transparent 25%), linear-gradient(45deg, #f05a28 25%, transparent 25%);
    background-size: 100px 100px;
    background-color: #fff8e5;
}

/* 4. Warm Radial Gradient */
.bg-radial-warm {
    background: radial-gradient(circle at center, #ffecd2, #fcb69f);
}

/* 5. Conic Rainbow Swirl */
.bg-conic-rainbow {
    background: conic-gradient(from 0deg, red, orange, yellow, green, blue, indigo, violet);
}

/* 6. Zigzag Stripes */
.bg-zigzag {
    background: repeating-linear-gradient( 0deg, #f8b195, #f8b195 10px, #c06c84 10px, #c06c84 20px );
}

/* 7. Subtle Grid Lines */
.bg-grid {
    background: linear-gradient(#e0e0e0 1px, transparent 1px) 0 0, linear-gradient(90deg, #e0e0e0 1px, transparent 1px) 0 0, #fafafa;
    background-size: 20px 20px;
}

/* 8. Confetti Dots */
.bg-confetti {
    background: radial-gradient(circle, #f5b7a2 10%, transparent 90%) 0 0, 
                radial-gradient(circle, #f7a78c 10%, transparent 90%) 20px 20px, 
                radial-gradient(circle, #f6835d 10%, transparent 90%) 40px 40px, 
                #f8c8b8;
    background-size: 10px 10px;
}

/* 9. Gentle Wave Overlay */
.bg-waves {
    background: repeating-linear-gradient( 0deg, rgba(255,255,255,0.3), rgba(255,255,255,0.3) 1px, transparent 2px, transparent 20px ), linear-gradient(to right, #a1c4fd, #c2e9fb);
}

/* 10. Soft Fade Grid */
.bg-fade-grid {
    background: radial-gradient(circle at center, rgba(0,0,0,0.1) 1px, transparent 2px), #f5f7fa;
    background-size: 40px 40px;
}
