        /* --- SCOPED STYLES (Safe for existing sites) --- */
        
        /* Moved font-family and variables here to avoid affecting global body */
        .snapshot-section {
            --gray: #64748b;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f8f9fa;
            overflow-x: clip;
            padding: 100px 0;
        }

        /* Renamed to .snapshot-container to avoid conflicting with your global .container */
        .snapshot-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        /* Scoped generic image reset so it doesn't affect other images on your site */
        .snapshot-section img {
            max-width: 100%;
            display: block;
        }

        /* --- HEADER LAYOUT --- */
        .snapshot-header-grid {
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 60px;
            align-items: center;
            margin-bottom: 60px;
            border-bottom: 1px solid #e2e8f0;
            padding-bottom: 40px;
        }

        .header-left {
            flex-shrink: 0;
            max-width: 100%;
        }

        .event-logos {
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
            justify-content: flex-start;
        }

        .main-logo {
            height: 60px;
            width: auto;
            object-fit: contain;
            max-width: 100%;
        }

        .header-right { text-align: left; }

        .event-headline {
            font-size: 2.5rem;
            background: linear-gradient(93deg, #5135FF 10.65%, #FF5455 89.35%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            color: transparent;
            margin-bottom: 15px;
            display: inline-block;
            line-height: 1.2;
            margin-top: 0;
        }

        .event-subtext {
            font-size: 1.1rem;
            color: var(--gray);
            line-height: 1.7;
            max-width: 900px;
        }

        /* --- GALLERY LAYOUT & ANIMATION --- */
        .snapshot-gallery {
            display: flex;
            flex-direction: column;
            gap: 30px;
            padding: 20px 0;
        }

        .gallery-row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        /* Animation States */
        .gallery-card {
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0,0,0,0.08);
            background: #fff;
            aspect-ratio: 16/9;
            cursor: pointer;
            z-index: 1;
            border: 4px solid #fff;
            /* Added smooth transition for transform and shadow */
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease-out;
            will-change: transform;
        }
        
        /* Simulating the "active" state for preview purposes */
        .gallery-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        /* Updated to include :active for mobile touch support */
        .gallery-card:hover,
        .gallery-card:active {
            transform: scale(1.03) translateY(-8px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.12);
            z-index: 10;
        }

        .gallery-card:hover img,
        .gallery-card:active img {
            transform: scale(1.1);
        }


        /* =========================================================
           RESPONSIVE QUERIES
           ========================================================= */

        /* ---------- LARGE LAPTOPS (1200px ↓) ---------- */
        @media (max-width: 1200px) {
            /* ... existing code ... */
        }

        /* ---------- TABLETS (992px ↓) ---------- */
        @media (max-width: 992px) {
            .snapshot-header-grid {
                grid-template-columns: 1fr;
                gap: 30px;
                text-align: center;
            }
            .event-logos { justify-content: center; }
            .header-right { text-align: center; }
            
            .gallery-row {
                gap: 20px;
            }
        }

        /* ---------- MOBILE (768px ↓) - THE CRITICAL FIX IS HERE ---------- */
        @media (max-width: 768px) {
            /* Updated to use the new scoped class name */
            .snapshot-container {
                padding: 0 16px;
            }

            .main-logo { height: 40px; }

            .event-headline { font-size: 1.8rem; }

            /* --- FIX: FLATTEN THE GRID FOR PERFECT 2x2 LAYOUT --- */
            
            /* 1. Make the main wrapper the grid parent */
            .snapshot-gallery {
                display: grid;
                grid-template-columns: repeat(2, 1fr); /* 2 columns everywhere */
                gap: 15px; /* Clean gap */
            }

            /* 2. Make the rows 'disappear' structurally so items flow together */
            .gallery-row {
                display: contents; 
            }

            /* Adjust card for mobile to ensure it looks good */
            .gallery-card {
                border-width: 2px; /* Thinner border on mobile */
                border-radius: 10px;
            }
        }

        /* ---------- SMALL MOBILE (576px ↓) ---------- */
        @media (max-width: 576px) {
           /* On very small screens, 2 columns might be too tight.
              Keep it if you really want 2 columns, but gap might need reduction. */
           .snapshot-gallery {
               gap: 10px;
           }
           
           .snapshot-section {
               padding: 60px 0;
           }
        }