/* =========================================================
   BAOCINE UI: GLASSMORPHISM SYSTEM
========================================================= */

/* Base Glass: For standard event cards and grid items */
.bao-glass {
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 100%);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border-radius: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Heavy Glass: For the main Ticket Modal, Navbar, or Hero Containers */
.bao-glass-heavy {
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(35px) saturate(180%);
    -webkit-backdrop-filter: blur(35px) saturate(180%);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9);
}

/* Interactive Glass: For buttons, selectors, and hover states */
.bao-glass-interactive {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

@media (hover: hover) {
    .bao-glass-interactive:hover {
        background: rgba(255, 215, 0, 0.1); /* Cinematic yellow tint */
        border-color: rgba(255, 215, 0, 0.5);
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 
                    0 0 15px rgba(255, 215, 0, 0.2);
    }
}

/* MOBILE SAFEGUARD: 
   Flattens the extreme blur on smaller screens to prevent iOS/Android 
   rendering glitches and save battery life.
*/
@media screen and (max-width: 768px) {
    .bao-glass, .bao-glass-heavy {
        backdrop-filter: blur(15px) saturate(120%);
        -webkit-backdrop-filter: blur(15px) saturate(120%);
    }
}