@keyframes auraFadeIn { from { opacity: 0; } to { opacity: 1; } }
.aura-protected .aura-item img, .aura-lightbox-protected .aura-lightbox-media-wrap img { pointer-events: none; }
.aura-filters { text-align: center; margin-bottom: 20px; }
.aura-filter-btn { background: none; border: 1px solid #ccc; padding: 6px 15px; margin: 4px; border-radius: 20px; cursor: pointer; transition: 0.3s; }
.aura-filter-btn.active, .aura-filter-btn:hover { background: #333; color: #fff; border-color: #333; }
.aura-item { cursor: pointer; overflow: hidden; position: relative; border-radius: var(--aura-radius, 0px); transition: opacity 0.3s ease; }
.aura-item img { width: 100%; display: block; transition: transform 0.2s ease, opacity 0.5s ease; }
.aura-item:hover img { transform: scale(1.03); }
.aura-scroll-animate .aura-item { opacity: 0; transform: translateY(40px); transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), transform 0.7s cubic-bezier(0.25, 1, 0.5, 1); }
.aura-scroll-animate .aura-item.aura-visible { opacity: 1; transform: translateY(0); }
.aura-item[data-video]:not([data-video=""])::before { content: '▶'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(0,0,0,0.7); color: #fff; width: 44px; height: 44px; display: flex; justify-content: center; align-items: center; border-radius: 50%; font-size: 20px; z-index: 2; pointer-events: none; transition: 0.2s ease; padding-left: 4px; box-sizing: border-box; }
.aura-item[data-video]:not([data-video=""])::after { content: 'Video'; position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,0.7); color: #fff; font-size: 11px; font-weight: bold; padding: 4px 8px; border-radius: 4px; z-index: 2; pointer-events: none; }
.aura-item[data-video]:not([data-video=""]):hover::before { background: #7227ab; transform: translate(-50%, -50%) scale(1.1); }
.aura-exif-badge { background: rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; letter-spacing: 0.5px; border: 1px solid rgba(255,255,255,0.2); }
.light-mode .aura-exif-badge { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); color: #333; }

/* Grid Layouts */
.aura-layout-grid { display: grid; gap: var(--aura-gap); margin: 20px 0; }
.aura-layout-grid .aura-item img { height: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.aura-layout-grid.aura-desktop-cols-auto { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.aura-layout-grid.aura-desktop-cols-3 { grid-template-columns: repeat(3, 1fr); }
.aura-layout-grid.aura-desktop-cols-4 { grid-template-columns: repeat(4, 1fr); }
.aura-layout-grid.aura-desktop-cols-5 { grid-template-columns: repeat(5, 1fr); }
.aura-layout-grid.aura-desktop-cols-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 600px) { .aura-layout-grid { grid-template-columns: repeat(var(--aura-mobile-cols), 1fr) !important; } }

/* Masonry Layouts */
.aura-layout-masonry { column-gap: var(--aura-gap); margin: 20px 0; }
.aura-layout-masonry .aura-item { break-inside: avoid; margin-bottom: var(--aura-gap); display: block; width: 100%; }
.aura-layout-masonry .aura-item img { height: auto; aspect-ratio: auto; }
.aura-layout-masonry.aura-desktop-cols-auto { column-count: 4; }
.aura-layout-masonry.aura-desktop-cols-3 { column-count: 3; }
.aura-layout-masonry.aura-desktop-cols-4 { column-count: 4; }
.aura-layout-masonry.aura-desktop-cols-5 { column-count: 5; }
.aura-layout-masonry.aura-desktop-cols-6 { column-count: 6; }
@media (max-width: 600px) { .aura-layout-masonry { column-count: var(--aura-mobile-cols) !important; } }

/* Justified Layouts */
.aura-layout-justified { display: flex; flex-wrap: wrap; gap: var(--aura-gap); margin: 20px 0; }
.aura-layout-justified .aura-item { flex-grow: 1; height: 250px; position: relative; }
.aura-layout-justified .aura-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aura-layout-justified::after { content: ''; flex-grow: 999999999; min-width: 250px; height: 0; }
@media (max-width: 600px) { .aura-layout-justified .aura-item { height: 150px; } }

/* Carousel Layouts */
.aura-layout-carousel { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; gap: var(--aura-gap); margin: 20px 0; padding-bottom: 15px; scrollbar-width: none; -ms-overflow-style: none; }
.aura-layout-carousel::-webkit-scrollbar { display: none; }
.aura-layout-carousel .aura-item { flex: 0 0 85%; scroll-snap-align: center; position: relative; height: 350px; }
.aura-layout-carousel .aura-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 768px) { .aura-layout-carousel .aura-item { flex: 0 0 50%; height: 450px; } }
@media (min-width: 1024px) { .aura-layout-carousel .aura-item { flex: 0 0 40%; height: 500px; } }

/* Map Layouts */
.aura-map-pin { transition: 0.2s; cursor: pointer; } 
.aura-map-pin:hover { transform: scale(1.1); z-index: 1000 !important; } 
.aura-map-thumb-wrap { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: 0 4px 6px rgba(0,0,0,0.3); background: #fff; } 
.aura-map-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* Lightbox Base */
.aura-lightbox { display: none; position: fixed; z-index: 99999; left: 0; top: 0; width: 100vw; height: 100vh; background-color: var(--aura-lb-bg, rgba(0,0,0,0.95)); user-select: none; flex-direction: column; overflow: hidden; }
.aura-lightbox.aura-show { display: flex; animation: auraFadeIn 0.3s ease; }
.aura-lightbox-top-stage { flex: 1; position: relative; display: flex; justify-content: center; align-items: center; overflow: hidden; padding: 20px; }
.aura-lightbox-bottom-bar { background: rgba(10,10,10,0.85); border-top: 1px solid rgba(255,255,255,0.1); color: #fff; padding: 15px 20px; text-align: center; display: none; flex-shrink: 0; pointer-events: auto; }
.light-mode .aura-lightbox-bottom-bar { background: rgba(255,255,255,0.9); border-top: 1px solid rgba(0,0,0,0.1); color: #000; }
.aura-lightbox-media-wrap { display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; transform-origin: center center; }
.aura-lightbox-media-wrap img, .aura-lightbox-media-wrap iframe, .aura-lightbox-media-wrap video { max-width: 100%; max-height: 100%; display: block; margin: auto; object-fit: contain; border: var(--aura-lb-bw, 0px) solid var(--aura-lb-bc, #fff); border-radius: var(--aura-lb-br, 0px); box-sizing: border-box; }

/* Lightbox Controls */
.aura-lb-btn { color: var(--aura-lb-ccol, #fff) !important; background: var(--aura-lb-cbg, rgba(0,0,0,0.5)) !important; border: none !important; cursor: pointer; border-radius: var(--aura-lb-crad, 4px) !important; box-shadow: none !important; transition: opacity 0.2s ease; z-index: 100001; display: flex; align-items: center; justify-content: center; font-weight: bold; width: 44px; height: 44px; padding: 0 !important; margin: 0; outline: none; }
.aura-lb-btn:hover { opacity: 0.7; }
.aura-close { position: absolute; top: 15px; right: 15px; font-size: 30px; }
.aura-prev { position: absolute; top: 50%; left: 15px; transform: translateY(-50%); font-size: 24px; }
.aura-next { position: absolute; top: 50%; right: 15px; transform: translateY(-50%); font-size: 24px; }
.aura-ss-box { position: absolute; top: 15px; left: 15px; display: flex; gap: 8px; z-index: 100001; }

/* Lightbox Text & Sharing */
.aura-info-panel h3 { margin: 0 0 5px 0; font-size: 18px; font-weight: 600; }
.aura-info-panel p { margin: 0 0 8px 0; font-size: 14px; max-width: 800px; margin-inline: auto; }
.aura-share-links { margin-top: 10px; }
.aura-share-links a { display: inline-block; padding: 4px 10px; margin: 0 4px; font-size: 12px; color: #fff; background: rgba(255,255,255,0.2); border-radius: 4px; text-decoration: none; transition: 0.2s; }
.aura-share-links a:hover { background: rgba(255,255,255,0.4); }
.light-mode .aura-share-links a { color: #000; background: rgba(0,0,0,0.1); }
.light-mode .aura-share-links a:hover { background: rgba(0,0,0,0.2); }

/* Filmstrip */
.aura-filmstrip-wrap { display: flex; gap: 6px; overflow-x: auto; scroll-behavior: smooth; padding: 10px 0 5px 0; margin-top: 10px; justify-content: center; -webkit-overflow-scrolling: touch; pointer-events: auto; }
.aura-filmstrip-wrap::-webkit-scrollbar { height: 6px; }
.aura-filmstrip-wrap::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 10px; }
.light-mode .aura-filmstrip-wrap::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); }
.aura-fs-thumb { height: 60px; width: 60px; object-fit: cover; opacity: 0.4; cursor: pointer; transition: 0.2s; border-radius: 4px; flex-shrink: 0; box-sizing: border-box; border: 2px solid transparent; pointer-events: auto; z-index: 10000; position: relative; }
.aura-fs-thumb:hover { opacity: 0.8; }
.aura-fs-thumb.active { opacity: 1; border-color: var(--aura-lb-cbg, #7227ab); transform: scale(1.05); }