/* 216CURATED - Luxe-Industrial Styles */
/* System cursor restored for usability */

/* --- Custom Utilities --- */

/* ... (Noise Overlay skipped) ... */

/* Boutique Cursor System */
#cursor-dot {
    width: 8px;
    /* Increased from 6px */
    height: 8px;
    background-color: #E5D5B0;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    /* improved visibility */
}

#cursor-trailer {
    width: 35px;
    height: 35px;
    border: 2px solid #E5D5B0;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    transform: translate(-50%, -50%);
    /* mix-blend-mode removed for consistent visibility */
    transition: background-color 0.2s, border-width 0.2s;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    /* Shadow for contrast on light bg */
}

#cursor-trailer.magnetic-active {
    background-color: rgba(229, 213, 176, 0.2);
    /* Semi-transparent fill */
    border-width: 1px;
    /* mix-blend-mode removed */
}

/* Global Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9998;
    opacity: 0.4;
    mix-blend-mode: overlay;
}

/* Tracking Luxe */
.tracking-luxe {
    letter-spacing: -0.04em;
}

/* Boutique Cursor System */
#cursor-dot {
    width: 8px;
    /* Increased visibility */
    height: 8px;
    background-color: #FFFFFF;
    /* High Contrast White */
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    /* Contrast against light backgrounds */
}

#cursor-trailer {
    width: 35px;
    height: 35px;
    border: 2px solid #E5D5B0;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    transform: translate(-50%, -50%);
    /* mix-blend-mode: difference; REMOVED */
    transition: background-color 0.2s, border-width 0.2s;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    /* Contrast against light backgrounds */
}

#cursor-trailer.magnetic-active {
    background-color: rgba(229, 213, 176, 0.15);
    /* Subtle tint instead of full fill */
    border-width: 1px;
}

/* Dual-Layer Lens Effect */
.hero-base {
    filter: brightness(0.5) blur(2px);
    transition: filter 0.5s ease;
}

.hero-lens {
    filter: brightness(1.2) contrast(1.1);
    /* Mask is set dynamically by JS: mask-image: radial-gradient(...) */
    mask-image: radial-gradient(circle 120px at var(--x, 50%) var(--y, 50%), black 0%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle 120px at var(--x, 50%) var(--y, 50%), black 0%, transparent 100%);
    transition: opacity 0.2s;
    will-change: mask-image;
    /* Optimize paint */
    z-index: -19;
    pointer-events: none;
}

/* Retro Grid Animation */
.retro-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-retro-grid, url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"));
    mask-image: linear-gradient(to bottom, transparent, 10%, white, 90%, transparent);
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* Particles */
#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(229, 213, 176, 0.6);
    /* Muted Gold */
    border-radius: 50%;
    pointer-events: none;
    animation: float-particle 10s infinite linear;
}

@keyframes float-particle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-100px) translateX(20px);
        opacity: 0;
    }
}



/* Glassmorphism Card */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Shiny Button Effect */
.shiny-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.shiny-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.shiny-button:hover::after {
    left: 100%;
    transition: 0.5s;
}

/* --- Preserved & Adapted Animations --- */

/* Coffee Steam Animation (Adapted) */
.image-wrapper {
    position: relative;
    overflow: hidden;
}

.image-wrapper::before,
.image-wrapper::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 120px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 40%, transparent 70%);
    filter: blur(15px);
    opacity: 0;
    pointer-events: none;
    z-index: 10;
}

.image-wrapper::before {
    top: 20%;
    left: 40%;
    animation: steam-rise-1 4s ease-in-out infinite;
}

.image-wrapper::after {
    top: 25%;
    left: 50%;
    animation: steam-rise-2 4.5s ease-in-out infinite 0.7s;
}

@keyframes steam-rise-1 {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(0.8);
    }

    20% {
        opacity: 0.8;
    }

    50% {
        opacity: 0.6;
        transform: translateY(-60px) translateX(10px) scale(1.2);
    }

    80% {
        opacity: 0.3;
    }

    100% {
        opacity: 0;
        transform: translateY(-120px) translateX(20px) scale(1.5);
    }
}

@keyframes steam-rise-2 {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(0.8);
    }

    20% {
        opacity: 0.7;
    }

    50% {
        opacity: 0.5;
        transform: translateY(-70px) translateX(-15px) scale(1.3);
    }

    80% {
        opacity: 0.2;
    }

    100% {
        opacity: 0;
        transform: translateY(-140px) translateX(-25px) scale(1.6);
    }
}

/* Map Overlay (Adapted) */
.map-overlay {
    transition: opacity 0.4s ease;
}

.map-overlay-backdrop {
    backdrop-filter: blur(12px);
    background: rgba(5, 5, 5, 0.8);
}

/* Nav Branding Glow */
.nav-glow:hover {
    text-shadow: 0 0 10px rgba(229, 213, 176, 0.5);
    /* Muted Gold Glow */
}

/* Cleveland Badge (Luxe-Industrial) */
.cleveland-badge {
    /* Tailwind utility override needed for complex border/box-shadow */
    box-shadow: 4px 4px 0px rgba(229, 213, 176, 0.2);
    /* Muted Gold Shadow */
}

.cleveland-badge:hover {
    box-shadow: 6px 6px 0px rgba(229, 213, 176, 0.4);
}

/* Atmospheric Lighting */
.lamp-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 213, 176, 0.8) 0%, rgba(229, 213, 176, 0) 70%);
    pointer-events: none;
    z-index: 5;
    mix-blend-mode: screen;
    filter: blur(40px);
    opacity: 0.4;
    animation: ambience-flicker 5s infinite ease-in-out;
}

@keyframes ambience-flicker {

    0%,
    100% {
        opacity: 0.45;
        transform: scale(1);
        filter: blur(40px);
    }

    30% {
        opacity: 0.55;
        transform: scale(1.02);
        filter: blur(42px);
    }

    35% {
        opacity: 0.48;
    }

    70% {
        opacity: 0.52;
        transform: scale(0.98);
        filter: blur(38px);
    }

    85% {
        opacity: 0.60;
        transform: scale(1.05);
    }
}
/* Tier Glow Effect */
#tiers .glass-card {
    transition: transform 0.5s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

#tiers .glass-card:hover {
    box-shadow: 0 0 40px rgba(229, 213, 176, 0.2), 
                inset 0 0 20px rgba(229, 213, 176, 0.05);
    border-color: rgba(229, 213, 176, 0.4);
}

/* Vibe Section Mosaic */
.vibe-panel {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.vibe-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
    filter: grayscale(100%);
}

.vibe-panel:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.vibe-panel .text-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.vibe-panel:hover .text-content {
    opacity: 1;
    transform: translateY(0);
}

