*, *::before, *::after { 
    box-sizing: border-box; 
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

.explore-body {
    position: relative;
    min-height: 100vh;
    background:
        linear-gradient(rgba(5,5,6,0.82), rgba(5,5,6,0.95)),
        var(--explore-image) center/cover fixed,
        #050506 !important;
}

.explore-body::before,
.explore-body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.explore-body::before {
    background:
        repeating-linear-gradient(90deg, rgba(212,175,55,0.07) 0 1px, transparent 1px 82px),
        repeating-linear-gradient(0deg, rgba(255,244,223,0.035) 0 1px, transparent 1px 54px);
    mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
}

.explore-body::after {
    background:
        radial-gradient(circle at 50% -12%, rgba(244,215,122,0.16), transparent 38%),
        linear-gradient(90deg, rgba(229,9,20,0.12), transparent 18%, transparent 82%, rgba(212,175,55,0.12));
    mix-blend-mode: screen;
    opacity: 0.72;
}

/* Page Layout - FIX: Removed overflow: hidden */
/* Update this class */
.explore-wrapper { 
    padding: 100px 20px 60px; 
    max-width: 1000px; 
    margin: 0 auto; 
    width: 100%; /* Add this */
}
.explore-header { text-align: center; margin-bottom: 80px; }
.header-main { font-size: 3.5rem; color: var(--primary); margin-bottom: 15px; }
.header-sub { color: #666; font-size: 1.2rem; }

/* Update this class */
.spot-card {
    display: flex; align-items: center; gap: 40px; margin-bottom: 80px;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: 20px; padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04); border: 1px solid var(--border-color);
    will-change: transform;
    max-width: 100%; /* Add this */
    width: 100%;     /* Add this */
}
.spot-card:nth-child(even) { flex-direction: row-reverse; }

/* Image Container */
.spot-img-container { flex: 1; height: 400px; border-radius: 16px; overflow: hidden; position: relative; }
.spot-img-inner {
    position: absolute; top: -10%; left: 0; width: 100%; height: 120%; 
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
    will-change: transform;
}
.spot-img-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 48%, rgba(0,0,0,0.46)),
        radial-gradient(circle at 18% 18%, rgba(212,175,55,0.16), transparent 30%);
    pointer-events: none;
}
.spot-img-inner i { display: none; }

/* Info Section */
.spot-info { flex: 1; padding: 20px; }
.spot-info h2 { font-size: 2.5rem; color: var(--primary-dark); margin-bottom: 15px; }
.spot-info p { color: #555; font-size: 1.05rem; line-height: 1.8; margin-bottom: 25px; }

/* --- MAGNETIC MAP LINK & ANIMATED ICON --- */
.action-link {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border: 1px solid var(--border-color);
    border-radius: 30px; font-weight: 700; text-transform: uppercase; font-size: 0.85rem;
    color: var(--text-dark); text-decoration: none; transition: all 0.3s ease;
}
.action-link i { color: var(--gold-accent); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }

@media (hover: hover) {
    .action-link:hover { border-color: var(--primary); color: var(--primary); box-shadow: 0 5px 15px rgba(197, 90, 55, 0.1); }
    .action-link:hover i { transform: translateY(-4px) scale(1.1); color: var(--primary); }
}

/* --- AMBIENT BACKGROUND --- */
.ambient-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient-orb { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.15; will-change: transform; }
.orb-1 { width: 600px; height: 600px; background: var(--gold-accent); top: -10%; left: -10%; animation: floatOrb 20s ease-in-out infinite alternate; }
.orb-2 { width: 500px; height: 500px; background: #E8C372; bottom: -20%; right: -10%; animation: floatOrb 25s ease-in-out infinite alternate-reverse; }
.mouse-orb { width: 400px; height: 400px; background: rgba(205, 133, 63, 0.4); top: -200px; left: -200px; }
@keyframes floatOrb { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(100px, 50px) scale(1.1); } }

/* --- FILTER BUTTONS --- */
.explore-filters { display: flex; justify-content: center; gap: 15px; margin-bottom: 60px; flex-wrap: wrap; }
.filter-btn {
    background: transparent; border: 1px solid var(--gold-accent); color: var(--gold-darker);
    padding: 10px 25px; border-radius: 50px; font-size: 0.95rem; font-family: 'Lato', sans-serif;
    cursor: pointer; transition: all 0.3s ease; font-weight: bold;
}
.filter-btn:hover { background: rgba(205, 133, 63, 0.1); }
.filter-btn.active { background: var(--gold-accent); color: white; box-shadow: 0 5px 15px rgba(205, 133, 63, 0.3); }

/* --- LUXURIOUS IMAGE ZOOM --- */
.premium-zoom { animation: slowBreath 15s ease-in-out infinite alternate; }

/* ========================================= */
/* --- RESPONSIVE & MOBILE UI POLISH ---     */
/* ========================================= */

@media (max-width: 1024px) {
    .spot-card, .spot-card:nth-child(even) { flex-direction: column; padding: 30px; gap: 30px; }
    .spot-img-container { 
        width: 100%; 
        /* FIX: Strict heights prevent iOS mobile collapse */
        height: 350px !important; 
        min-height: 350px !important; 
        display: block !important; 
    }
    .header-main { font-size: 3rem; }
}

@media (max-width: 768px) {
    .header-main { font-size: 2.5rem; }
    .spot-img-container { height: 280px !important; min-height: 280px !important; }
    
    .ambient-orb { opacity: 0.15; }
    .orb-1 { width: 300px; height: 300px; }
    .orb-2 { width: 250px; height: 250px; }

    /* REPLACE THE OLD .explore-filters WITH THIS */
    .explore-filters {
        justify-content: center; 
        flex-wrap: wrap; 
        margin: 0 0 40px 0; 
        padding: 0;
        width: 100%;
    }
    
    .filter-btn { 
        white-space: normal; 
        flex-shrink: 0; 
    }
}

@media (max-width: 400px) {
    .header-main, .page-header h1 { 
        font-size: 2.2rem; /* Scales down slightly to prevent text clipping */
    }
}

/* Bollywood theme refresh */
.explore-wrapper {
    max-width: 1120px;
    position: relative;
    z-index: 1;
}
.explore-wrapper::before {
    content: "Mumbai Guide";
    position: fixed;
    left: 50%;
    top: 8vh;
    transform: translateX(-50%);
    color: rgba(212,175,55,0.045);
    font-family: var(--font-heading);
    font-size: clamp(5rem, 16vw, 14rem);
    letter-spacing: 10px;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    z-index: -1;
}
.header-main {
    font-family: var(--font-heading) !important;
    color: var(--gold) !important;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.header-sub,
.spot-info p {
    color: var(--text-muted) !important;
}
.spot-card,
.spot-card:nth-child(even) {
    background: rgba(14,14,16,0.88) !important;
    border: 1px solid rgba(212,175,55,0.28) !important;
    border-radius: 0 !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.38) !important;
}
.spot-img-container {
    border-radius: 0 !important;
    border: 1px solid rgba(212,175,55,0.22);
    background: #050506;
}
.spot-info h2 {
    font-family: var(--font-heading) !important;
    color: var(--ivory) !important;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.spot-category {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}
.filter-btn {
    border-radius: 0 !important;
    border-color: var(--gold) !important;
    color: var(--gold) !important;
    font-family: var(--font-heading) !important;
    letter-spacing: 2px;
}
.filter-btn.active {
    background: var(--neon-red) !important;
    color: white !important;
    border-color: var(--neon-red) !important;
}
.action-link {
    border-radius: 0 !important;
    color: var(--ivory) !important;
    border-color: rgba(212,175,55,0.28) !important;
}
