/* Utilities CSS - Carousels, gallery, stats, modals, responsive helpers */

/* Gallery */
.gallery-carousel { position: relative; max-width: 1200px; width: 100%; margin: 2rem auto 0; overflow: hidden; }
.gallery-track { display: flex; transition: transform 0.5s ease-in-out; }
.gallery-item {
    min-width: 100%; width: 100%; position: relative;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-dark); border: 1px solid rgba(242, 227, 213, 0.05);
    min-height: 500px; padding: 1rem;
    filter: none; transition: transform 0.35s ease, filter 0.5s;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { max-width: 100%; max-height: 80vh; object-fit: contain; filter: none; }

/* Rates Carousel */
.rates-carousel, .addons-carousel { padding: 0 64px; overflow: hidden; position: relative; }
.rates-track, .addons-track { display: flex; transition: transform 0.6s ease-in-out; gap: 1rem; }
.rate-item, .addon-item { flex: 0 0 33.333%; padding: 0 0.5rem; display: flex; }
.rate-card, .addon-card {
    width: 100%; aspect-ratio: 1 / 1; 
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    padding: 1rem; gap: 0.5rem;
}
.rate-card h3, .addon-card h3 { text-align: center; }
.rate-card .price, .addon-card .price { font-size: 1.6rem; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 900px; margin: 0 auto; width: 100%; }

.stat-glass-card {
    background: linear-gradient(145deg, rgba(45, 15, 10, 0.65) 0%, rgba(18, 8, 6, 0.95) 100%);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(140, 39, 30, 0.25); border-radius: 6px; padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6), inset 0 0 25px rgba(140, 39, 30, 0.1); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; flex-direction: column; 
}

.stat-glass-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), inset 0 0 35px rgba(140, 39, 30, 0.2); 
}

.stat-glass-card h3 {
    font-size: 1.6rem; font-weight: 900; letter-spacing: 3px; text-transform: uppercase; 
    margin-bottom: 1rem; color: var(--fire-red); 
    text-shadow: 0 0 15px rgba(140, 39, 30, 0.4);
    border-bottom: 1px dashed rgba(140, 39, 30, 0.4); 
    padding-bottom: 1.2rem; text-align: center;
}

.stat-list { list-style: none; margin: 0; padding: 0; flex-grow: 1; display: flex; flex-direction: column; }
.stat-list li { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 1.25rem 0; border-bottom: 1px solid rgba(242, 227, 213, 0.08); width: 100%; 
}
.stat-list li:last-child { border-bottom: none; padding-bottom: 0; }
.stat-label { 
    color: var(--text-muted); font-weight: 700; letter-spacing: 1.5px; 
    text-transform: uppercase; font-size: 0.85rem; line-height: 1.3; 
}
.stat-val { font-weight: 500; text-align: right; color: var(--white); font-size: 1.05rem; letter-spacing: 0.5px; }
.divider { color: var(--fire-red); margin: 0 0.4rem; font-weight: 300; }

.stat-list li.highlight { align-items: center; }
.highlight .stat-val { 
    color: var(--fire-red); text-shadow: 0 0 10px rgba(140, 39, 30, 0.3); 
    font-weight: 800; display: flex; flex-direction: column; align-items: flex-end; 
}
.highlight .emojis { margin-top: 0.25rem; font-size: 1.2rem; }

.stat-glass-card.full-width { grid-column: 1 / -1; }
.stat-glass-card.full-width .stat-list li { align-items: flex-start; }
.stat-glass-card.full-width .stat-val { text-align: right; max-width: 70%; line-height: 1.5; }

/* Age Verification Modal */
.age-gate { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 2200; }
.age-gate[aria-hidden="false"] { display:flex; }
.age-gate-backdrop { position: absolute; inset: 0; background: rgba(10, 4, 3, 0.92); backdrop-filter: blur(4px); }
.age-gate-panel { 
    position: relative; z-index: 2201; background: var(--bg-light); padding: 2rem; 
    border-radius: 8px; max-width: 420px; width: calc(100% - 48px); text-align: center; 
    box-shadow: 0 12px 40px rgba(0,0,0,0.8); border: 1px solid rgba(140, 39, 30, 0.2); 
}
.age-gate-panel h3 { margin-bottom: 0.5rem; color: var(--fire-red); font-size: 1.25rem; }
.age-gate-panel p { margin-bottom: 1rem; color: var(--white); }
.age-gate-actions { display:flex; gap: 0.75rem; justify-content: center; }
.age-gate .btn { min-width: 120px; }
body.age-locked { overflow: hidden; touch-action: none; }

/* Responsive - Tablets */
@media (max-width: 1024px) { 
    .rate-item, .addon-item { flex: 0 0 50%; } 
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .rate-item, .addon-item { flex: 0 0 100%; }
    .rates-carousel, .addons-carousel { padding: 0 48px; }
    .stats-grid { grid-template-columns: 1fr; max-width: 100%; }
}
