:root {
    --primary-blue: #0A3268;
    --bright-yellow: #F6A816;
    --white: #FFFFFF;
    --nav-text: #1C3F71;
}

html {
    scroll-behavior: smooth;
}

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

body, html {
    font-family: 'Fredoka One', cursive, sans-serif;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    background-color: #83D9F2;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(assets/img/hero-bg.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    padding: 15px 5%;
    border-radius: 0 0 40px 40px;
    margin: 0 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.logo-container {
    position: relative;
    width: 250px;
}

.main-logo {
    position: absolute;
    top: -40px;
    left: -20px;
    width: 320px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.25));
    z-index: 101;
    transform: rotate(-2deg);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    margin-left: auto;
    margin-right: auto;
}

.nav-links a {
    text-decoration: none;
    color: var(--nav-text);
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-blue);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 10%;
    width: 80%;
    height: 4px;
    background-color: var(--bright-yellow);
    border-radius: 2px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.2rem;
    font-family: 'Outfit', sans-serif;
}

.fb { background-color: #1877F2; }
.ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.yt { background-color: #FF0000; }

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 70px;
    z-index: 10;
    position: relative;
}

.hero-title {
    text-align: center;
    margin-bottom: 40px;
}

.title-top {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: -15px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px rgba(255,255,255,0.8);
}

.title-bottom-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.title-bottom {
    font-size: 6rem;
    color: var(--bright-yellow);
    -webkit-text-stroke: 3px white;
    text-shadow: 0px 4px 0px rgba(0,0,0,0.1);
    letter-spacing: 2px;
}

.splash {
    font-size: 3rem;
    color: var(--bright-yellow);
    -webkit-text-stroke: 2px white;
}

/* Dropdown Submenu */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: var(--white);
    border: 3px solid var(--primary-blue);
    border-radius: 15px;
    padding: 10px 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-menu a {
    color: var(--primary-blue) !important;
    padding: 12px 20px;
    text-decoration: none;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    transition: background-color 0.2s, color 0.2s !important;
    text-align: left;
    margin: 0;
    display: block;
    border-radius: 0;
}

.dropdown-menu a:hover:not(.disabled-link) {
    background-color: #f0f4f8;
    color: var(--bright-yellow) !important;
    transform: none !important;
}

.dropdown-menu a.disabled-link {
    color: #a0a0a0 !important;
    cursor: default;
    background-color: transparent !important;
}

/* Cards (Guitar Picks) */
.cards-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 10px;
}

.card.pick-shape {
    width: 350px;
    height: 350px;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    box-shadow: none;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative; /* Para el badge */
}

.card.pick-shape:hover {
    transform: translateY(-20px) scale(1.05);
}

.card-kids { background-color: transparent; }
.card-music { background-color: transparent; }
.card-juvenil { background-color: transparent; }

.card h3 {
    display: none;
}

/* Ocean Wave Page Transition */
.page-fade-in::before {
    content: "";
    position: fixed;
    top: -20vh;
    left: 0;
    width: 100vw;
    height: 120vh;
    background-color: #00B4D8;
    z-index: 99999;
    animation: waveSlideDown 0.7s cubic-bezier(0.64, 0.04, 0.35, 1) forwards;
    pointer-events: none;
}

.page-fade-in::after {
    content: "";
    position: fixed;
    top: 100vh;
    left: 0;
    width: 100vw;
    height: 15vh;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='%2300B4D8' d='M0,192L48,197.3C96,203,192,213,288,213.3C384,213,480,203,576,192C672,181,768,171,864,181.3C960,192,1056,224,1152,229.3C1248,235,1344,213,1392,202.7L1440,192L1440,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: 100% 100%;
    z-index: 99999;
    animation: waveSlideDown 0.7s cubic-bezier(0.64, 0.04, 0.35, 1) forwards;
    pointer-events: none;
}

@keyframes waveSlideDown {
    0% { transform: translateY(0); opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(150vh); opacity: 0; visibility: hidden; }
}

.page-fade-in .navbar,
.page-fade-in .hero-section {
    animation: contentBounce 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes contentBounce {
    0% { opacity: 0; transform: scale(0.9) translateY(40px); }
    30% { opacity: 0; transform: scale(0.9) translateY(40px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Verano Kids Page Layout */
.kids-page-layout {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 20px 5%;
    gap: 40px;
    align-items: center;
}

.kids-sidebar-right {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    order: 2; /* Keep on the right */
}

.kids-sidebar-right .card {
    pointer-events: none;
    transform: none !important;
}

/* Mini Card */
.mini-card {
    width: 200px !important;
    height: 200px !important;
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding-top: 0 !important;
}

.mini-card h3 {
    display: none !important;
}

.mini-icon {
    width: 210px !important;
    height: 210px !important;
    filter: drop-shadow(3px 3px 0px var(--white)) 
            drop-shadow(-3px -3px 0px var(--white)) 
            drop-shadow(3px -3px 0px var(--white)) 
            drop-shadow(-3px 3px 0px var(--white)) 
            drop-shadow(0px 10px 12px rgba(0,0,0,0.2)) !important;
}

.btn-back {
    background-color: var(--white);
    color: var(--primary-blue);
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 30px;
    border: 4px solid var(--primary-blue);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.btn-back:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-5px);
}

.circle-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    justify-content: center;
    order: 1; /* Keep on the left */
}

.circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.3s;
}

.circle-item:hover {
    transform: scale(1.05) translateY(-10px);
}

.circle-icon-container {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 6px solid var(--white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.bg-yellow { background-color: var(--bright-yellow); }
.bg-red { background-color: #E33842; }
.bg-lightblue { background-color: #00B4D8; }
.bg-navy { background-color: var(--primary-blue); }

.circle-icon {
    font-size: 4.5rem;
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.2));
}

.circle-title {
    background-color: var(--white);
    color: var(--primary-blue);
    padding: 10px 20px;
    border-radius: 20px;
    text-align: center;
    font-size: 1.1rem;
    font-family: 'Fredoka One', cursive;
    border: 3px solid var(--primary-blue);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 250px;
    line-height: 1.2;
}

/* Bibliotecas Page Layout */
.content-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 10px 5%;
    gap: 15px;
}

.header-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    border-radius: 15px;
    border: 4px solid var(--bright-yellow);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    position: relative;
}

.header-section .btn-back {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 20px;
    font-size: 1rem;
}

.header-section .btn-back:hover {
    transform: translateY(-50%) scale(1.05);
}

.header-section h2 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    line-height: 1.1;
    margin: 0;
    max-width: 70%;
}

.dates-info {
    color: #E33842;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
    background-color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    border: 2px solid #E33842;
}

.two-column-layout {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.info-card {
    flex: 1;
    background-color: var(--white);
    border: 4px solid var(--primary-blue);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-card h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 3px dashed var(--bright-yellow);
    padding-bottom: 5px;
    width: 100%;
}

/* Custom Lists with Icons */
.custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-list li {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 6px 12px;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-blue);
    border: 2px solid #eee;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s, border-color 0.2s;
}

.custom-list li:hover {
    transform: translateX(10px);
    border-color: var(--bright-yellow);
}

.list-icon {
    font-size: 1.2rem;
    margin-right: 10px;
    background-color: var(--white);
    padding: 5px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
}

/* Important Notices */
.important-notices {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.notice-row {
    display: flex;
    gap: 15px;
    align-items: stretch;
}

.notice-banner {
    flex: 2;
    background-color: var(--bright-yellow);
    border: 4px solid var(--white);
    border-radius: 15px;
    padding: 10px 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: left;
}

.notice-icon {
    font-size: 2.2rem;
}

.notice-text {
    display: flex;
    flex-direction: column;
}

.notice-banner h3 {
    color: var(--primary-blue);
    font-family: 'Fredoka One', cursive;
    font-size: 1.3rem;
    margin: 0;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.6);
}

.notice-banner p {
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 800;
    margin: 0;
}

.notice-box {
    border-radius: 15px;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 3px solid var(--white);
}

.materials-box {
    flex: 2;
    background-color: #00B4D8;
    color: var(--white);
}

.materials-box h4 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.2);
}

.materials-box p {
    font-size: 0.95rem;
    font-weight: bold;
    margin: 0;
}

.limited-box {
    flex: 1;
    background-color: #E33842;
    color: var(--white);
    flex-direction: row;
    gap: 8px;
    animation: pulseLimited 1.2s infinite alternate;
}

.limited-box h4 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
    margin: 0;
}

.limited-icon {
    font-size: 1.5rem;
}

@keyframes pulseLimited {
    0% { transform: scale(1); box-shadow: 0 5px 10px rgba(227, 56, 66, 0.4); }
    100% { transform: scale(1.03); box-shadow: 0 10px 20px rgba(227, 56, 66, 0.8); }
}

/* Selectable Sports Grid */
.selection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.sport-option {
    cursor: pointer;
    display: block;
    user-select: none;
}

.sport-option input[type="checkbox"] {
    display: none;
}

.sport-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border: 5px solid #eee;
    border-radius: 25px;
    padding: 20px 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.sport-icon {
    font-size: 4rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.1));
    transition: transform 0.3s;
}

.sport-name {
    font-family: 'Fredoka One', cursive;
    color: var(--primary-blue);
    font-size: 1.2rem;
    text-align: center;
}

.sport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.sport-card:hover .sport-icon {
    transform: scale(1.1);
}

.sport-option input[type="checkbox"]:checked + .sport-card {
    border-color: var(--bright-yellow);
    background-color: #FFFDF5;
    box-shadow: 0 10px 25px rgba(246, 168, 22, 0.3);
    transform: scale(1.05);
}

.sport-option input[type="checkbox"]:checked + .sport-card .sport-name {
    color: #E33842;
}

.action-section {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn-register {
    background-color: #E33842;
    color: var(--white);
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    padding: 15px 40px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(227, 56, 66, 0.3);
    transition: all 0.3s;
}

.btn-register:hover {
    background-color: var(--bright-yellow);
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(246, 168, 22, 0.4);
}

/* Mobile Floating Nav Base (Hidden on Desktop) */
.mobile-float-nav {
    display: none;
}

.card-icon {
    width: 380px;
    height: 380px;
    object-fit: contain;
    filter: drop-shadow(3px 3px 0px var(--white)) 
            drop-shadow(-3px -3px 0px var(--white)) 
            drop-shadow(3px -3px 0px var(--white)) 
            drop-shadow(-3px 3px 0px var(--white)) 
            drop-shadow(0px 12px 15px rgba(0,0,0,0.25));
}

.badge-soon {
    position: absolute;
    top: -10px;
    right: -20px;
    background-color: var(--white);
    color: var(--primary-blue);
    font-size: 1rem;
    font-family: 'Fredoka One', cursive;
    padding: 8px 18px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
    transform: rotate(12deg);
    z-index: 10;
    border: 4px solid var(--bright-yellow);
    letter-spacing: 1px;
}

.badge-community {
    position: absolute;
    top: -15px;
    background-color: #E33842;
    color: var(--white);
    font-family: 'Fredoka One', cursive;
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 20px;
    border: 3px solid var(--white);
    box-shadow: 0 5px 10px rgba(0,0,0,0.15);
    white-space: nowrap;
    z-index: 10;
    transform: rotate(-5deg);
    letter-spacing: 0.5px;
}

/* Popup / Toast Notification */
.toast-popup {
    position: fixed;
    bottom: -150px; /* Start hidden for animation */
    right: 20px;
    background-color: var(--white);
    border: 5px solid var(--bright-yellow);
    border-radius: 25px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    z-index: 1000;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 380px;
}

.toast-popup.show {
    bottom: 30px;
    opacity: 1;
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 15px 35px rgba(246, 168, 22, 0.2); transform: scale(1); }
    100% { box-shadow: 0 15px 45px rgba(246, 168, 22, 0.6), 0 0 20px rgba(246, 168, 22, 0.4); transform: scale(1.02); }
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toast-icon {
    font-size: 3rem;
}

.toast-content p {
    color: var(--nav-text);
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    line-height: 1.3;
    font-weight: 600;
}

.toast-content strong {
    color: var(--primary-blue);
    font-size: 1.3rem;
    font-family: 'Fredoka One', cursive;
    letter-spacing: 0.5px;
}

.close-toast {
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #a0a0a0;
    cursor: pointer;
    transition: color 0.3s, transform 0.2s;
    align-self: flex-start;
    margin-top: -10px;
}

.close-toast:hover {
    color: var(--bright-yellow);
    transform: scale(1.2);
}

.nav-links a.disabled-link {
    color: #b0b0b0 !important;
    cursor: default;
    pointer-events: none;
}

/* Dropdown Submenu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 200;
}

.bar {
    width: 30px;
    height: 4px;
    background-color: var(--primary-blue);
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
}

/* Responsive */
@media (max-width: 1024px) {
    .navbar { padding-top: 20px; }
    .main-logo { top: -10px; width: 220px; left: 10px; transform: none; }
    .nav-links { gap: 1.2rem; }
    .cards-container { flex-wrap: wrap; }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        align-items: center;
        border-radius: 0;
        justify-content: center; /* Centers the logo in the middle */
        margin: 0;
        background: transparent; /* Remove white background */
        box-shadow: none; /* Remove shadow */
        border-bottom: 2px solid rgba(10, 50, 104, 0.15); /* Soft deep-blue line at the bottom */
        display: flex;
        position: relative; /* To position absolute children like the burger menu */
    }
    .logo-container {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .logo-container a {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .main-logo {
        width: 155px; /* Perfect width for mobile */
        height: auto;
        top: 0px;
        position: static;
        left: 0;
        filter: drop-shadow(2px 2px 0px var(--white)) 
                drop-shadow(-2px -2px 0px var(--white)) 
                drop-shadow(2px -2px 0px var(--white)) 
                drop-shadow(-2px 2px 0px var(--white)) 
                drop-shadow(0px 4px 6px rgba(0,0,0,0.15));
        transform: rotate(-1.5deg);
    }
    .social-icons { display: none; }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 200;
        position: absolute; /* Positioned absolutely on the right */
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }

    .menu-toggle .bar {
        background-color: var(--white);
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 255, 0.98));
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 150;
        gap: 15px;
        padding: 40px 20px;
    }

    .nav-links.active { right: 0; }
    
    .nav-links a {
        font-size: 1.6rem;
        font-family: 'Fredoka One', cursive;
        color: var(--nav-text);
        margin: 5px 0;
        padding: 8px 24px;
        border-radius: 20px;
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover, .nav-links a.active {
        color: var(--primary-blue);
        background-color: rgba(0, 181, 226, 0.08);
    }
    
    /* Dropdown Mobile */
    .nav-item-dropdown {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: rgba(0, 181, 226, 0.04);
        border-radius: 16px;
        padding: 10px 15px;
        width: 85%;
        max-width: 280px;
        display: none;
        opacity: 1;
        visibility: visible;
        flex-direction: column;
        gap: 8px;
        margin: 5px 0 10px 0;
    }
    
    .nav-item-dropdown:hover .dropdown-menu,
    .nav-item-dropdown:active .dropdown-menu {
        display: flex;
        transform: none;
    }
    
    .dropdown-menu a {
        text-align: center;
        padding: 8px 16px;
        font-size: 1.1rem !important;
        font-family: 'Outfit', sans-serif;
        font-weight: 600;
        color: #555 !important;
        margin: 0;
        border-radius: 12px;
        background-color: transparent !important;
    }

    .dropdown-menu a:hover {
        color: var(--primary-blue) !important;
        background-color: rgba(0, 181, 226, 0.08) !important;
    }

    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(10px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

    .hero-section { padding-top: 30px; }
    .title-top { font-size: 1.8rem; letter-spacing: 1px; margin-bottom: 0; }
    .title-bottom { font-size: 3rem; -webkit-text-stroke: 1.5px white; }
    .splash { font-size: 1.5rem; }
    
    .cards-container { flex-direction: column; align-items: center; gap: 20px; padding-bottom: 50px;}
    .card.pick-shape { width: 260px; height: 260px; border: none; background-color: transparent; box-shadow: none; padding-top: 0; }
    .card h3 { display: none; }
    .card-icon {
        width: 280px;
        height: 280px;
        filter: drop-shadow(2px 2px 0px var(--white)) 
                drop-shadow(-2px -2px 0px var(--white)) 
                drop-shadow(2px -2px 0px var(--white)) 
                drop-shadow(-2px 2px 0px var(--white)) 
                drop-shadow(0px 8px 10px rgba(0,0,0,0.2));
    }
    
    .toast-popup {
        left: 5%;
        width: 90%;
        max-width: none;
    }

    .kids-page-layout {
        flex-direction: column;
    }

    .kids-sidebar-right {
        order: 2;
        margin-top: 30px;
        margin-bottom: 10px;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }

    .mini-card {
        width: 130px !important;
        height: 130px !important;
        border: none !important;
        background-color: transparent !important;
        box-shadow: none !important;
        padding-top: 0 !important;
    }

    .mini-card h3 {
        display: none !important;
    }

    .mini-icon {
        width: 140px !important;
        height: 140px !important;
        filter: drop-shadow(2px 2px 0px var(--white)) 
                drop-shadow(-2px -2px 0px var(--white)) 
                drop-shadow(2px -2px 0px var(--white)) 
                drop-shadow(-2px 2px 0px var(--white)) 
                drop-shadow(0px 8px 10px rgba(0,0,0,0.2)) !important;
    }

    .btn-back {
        font-size: 1.1rem;
        padding: 10px 20px;
        border-width: 3px;
    }
    
    .circle-grid {
        order: 1;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        max-width: 320px;
        margin: 0 auto;
    }

    .circle-item {
        gap: 8px;
    }

    .circle-icon-container {
        width: 100px;
        height: 100px;
        border-width: 4px;
    }

    .circle-icon {
        font-size: 3rem;
    }

    .circle-title {
        font-size: 0.9rem;
        padding: 8px 10px;
    }

    .header-section {
        padding: 40px 15px 15px 15px;
    }

    .header-section .btn-back {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        margin-bottom: 10px;
    }

    .header-section .btn-back:hover {
        transform: translateY(-5px);
    }

    .header-section h2 {
        font-size: 1.6rem;
        max-width: 100%;
    }

    .dates-info {
        font-size: 0.95rem;
        text-align: center;
    }

    .two-column-layout {
        flex-direction: column;
    }

    .notice-row {
        flex-direction: column;
    }
    
    .notice-banner h3 { 
        font-size: 1.6rem; 
    }
    
    .notice-banner p { 
        font-size: 1rem; 
    }

    /* Mobile Floating Nav */
    .mobile-float-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        gap: 15px;
        z-index: 90000;
    }

    .float-btn {
        background-color: var(--primary-blue);
        color: var(--white);
        text-decoration: none;
        padding: 12px 15px 12px 20px;
        border-radius: 30px 0 0 30px;
        font-family: 'Fredoka One', cursive;
        font-size: 0.95rem;
        box-shadow: -4px 4px 15px rgba(0,0,0,0.25);
        border: 3px solid var(--white);
        border-right: none;
        transition: transform 0.2s;
    }

    .float-btn.btn-red {
        background-color: #E33842;
    }

    .float-btn:active {
        transform: scale(0.95);
    }
    
    /* Sports Grid Mobile */
    .selection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .sport-icon { font-size: 3rem; }
    .sport-name { font-size: 1rem; }
    .btn-register { font-size: 1.2rem; padding: 12px 30px; }
    
    .badge-community {
        font-size: 0.65rem;
        padding: 3px 8px;
        top: -12px;
    }
}

@media (max-width: 480px) {
    .background-container {
        background-image: url('assets/img/mobile-bg.png');
    }
}

/* Activities Cart Floating Widget */
.cart-floating-btn {
    position: fixed;
    right: 20px;
    bottom: 80px;
    background-color: #E33842;
    color: white;
    border: 3px solid white;
    border-radius: 50px;
    padding: 12px 24px;
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.cart-floating-btn:hover {
    background-color: #f6a816;
    transform: translateY(-3px);
}

.cart-sidebar {
    position: fixed;
    right: -350px;
    top: 0;
    width: 320px;
    height: 100%;
    background-color: white;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    z-index: 10001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 20px;
    font-family: 'Outfit', sans-serif;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f6a816;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.cart-header h4 {
    margin: 0;
    font-family: 'Fredoka One', cursive;
    color: #004d99;
    font-size: 1.3rem;
}

.cart-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
}

.cart-items-list {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 15px;
}

.cart-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 10px 15px;
    margin-bottom: 10px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-info {
    flex-grow: 1;
    padding-right: 10px;
}

.cart-item-name {
    font-weight: 800;
    color: #333;
    font-size: 0.95rem;
}

.cart-item-session {
    font-size: 0.75rem;
    color: #666;
    margin-top: 3px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #E33842;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 5px;
}

.cart-footer {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.cart-register-btn {
    width: 100%;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px;
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
    transition: background-color 0.2s;
}

.cart-register-btn:hover {
    background-color: #43a047;
}

.cart-register-btn:disabled {
    background-color: #ccc;
    box-shadow: none;
    cursor: not-allowed;
}
