/* styles.css
   Versione completa - Include fix per icona spedizione visibile su Desktop e Mobile Menu
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #D4AF37;
    --dark: #0A0A0A;
    --darker: #050505;
    --light: #F5F5F5;
    --accent: #8B7355;
}

body {
    font-family: 'Georgia', serif;
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem 5%;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
    /* GPU layer per backdrop-filter */
    will-change: padding, background;
    transform: translateZ(0);
}

nav.scrolled {
    padding: 1rem 5%;
    background: rgba(10, 10, 10, 0.98);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Fix spacing mobile tra logo e toggle */
@media (max-width: 768px) {
    .nav-content {
        gap: 1.5rem; /* Spazio tra logo e hamburger */
    }
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--gold), #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-right: 2rem;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
    margin-left: auto;
    margin-right: 1.5rem;
    flex-shrink: 0;
    min-width: 0;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- CART & TRACKING ICONS (Base Desktop) --- */
.cart-icon {
    display: none; /* Nascosto di base, lo script lo abilita */
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--gold);
    margin-left: 1rem; /* Spazio tra le icone */
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
}

/* Quando lo script o la classe .show attivano l'icona */
.cart-icon.show,
.cart-icon[style*="display"] {
    display: inline-flex !important;
}

.cart-icon:hover {
    transform: scale(1.05);
    color: var(--light);
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0A0A0A 0%, #1a1a1a 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, var(--gold) 2px, var(--gold) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, var(--gold) 2px, var(--gold) 4px);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gold), #FFD700, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.5rem;
    letter-spacing: 4px;
    color: rgba(245, 245, 245, 0.8);
    margin-bottom: 3rem;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 3rem;
    border: 2px solid var(--gold);
    background: transparent;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    color: var(--dark);
}

.btn-primary {
    background: var(--gold);
    color: var(--dark);
}

.btn-primary::before {
    background: var(--light);
}

/* --- SECTIONS --- */
.section {
    display: none !important; /* ✅ FORZA NASCONDIMENTO */
    min-height: 100vh;
    /* padding-top: navbar(82px) + mini-bar(~36px) + gap(10px) = 128px ≈ 8rem+2.5rem */
    padding: 8.5rem 5% 5rem;
}

.section.active {
    display: block !important; /* ✅ FORZA VISUALIZZAZIONE */
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.section-title {
    font-size: 3rem;
    letter-spacing: 4px;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 300;
}

/* --- GRID LAYOUT --- */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* 🆕 Messaggi di stato */
.grid .loading,
.grid .empty,
.grid .error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.grid .loading {
    color: var(--gold);
    animation: pulse 2s infinite;
}

.grid .empty {
    color: rgba(245, 245, 245, 0.5);
}

.grid .error {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(15, 15, 15, 0.9));
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    /* GPU acceleration per hover fluido */
    will-change: transform;
    transform: translateZ(0);
}

/* Overlay dorato luxury che copre tutta la card */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        transparent 0%, 
        rgba(212, 175, 55, 0.15) 50%, 
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
}

.card-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gold);
    position: relative;
    overflow: hidden;
}

/* 🆕 Supporto immagini reali in card-image */
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Overlay dorato uniforme sull'immagine */
.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.1) 0%,
        rgba(255, 215, 0, 0.15) 50%,
        rgba(212, 175, 55, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    pointer-events: none;
}

.card:hover .card-image::before {
    opacity: 1;
}

/* Zoom fluido sull'immagine */
.card-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.card:hover .card-image img {
    transform: scale(1.08);
}

/* Glow dorato attorno all'immagine al hover */
.card:hover .card-image {
    box-shadow: 
        inset 0 0 30px rgba(212, 175, 55, 0.2),
        0 0 40px rgba(212, 175, 55, 0.3);
}

.card-title {
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--gold);
}

.card-desc {
    color: rgba(245, 245, 245, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-price {
    font-size: 1.8rem;
    color: var(--gold);
    font-weight: bold;
    letter-spacing: 1px;
}

/* --- CONTACT SECTION --- */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.2rem;
    line-height: 2;
    color: rgba(245, 245, 245, 0.8);
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

input, textarea, select {
    padding: 1rem;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--light);
    font-family: Georgia, serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(26, 26, 26, 0.8);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

/* --- FOOTER --- */
footer {
    background: var(--darker);
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-text {
    color: rgba(245, 245, 245, 0.5);
    letter-spacing: 1px;
}

/* --- SCROLL INDICATOR --- */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
}

/* --- MOBILE TOGGLE --- */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1200; /* Sopra al menu aperto */
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
}

/* =========================================
   RESPONSIVE (MOBILE) + GESTIONE ICONE
   ========================================= */
@media (max-width: 768px) {

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .hero-title img {
        max-width: 320px !important;
        height: auto;
        width: 90%;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    /* Drawer Menu */
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        max-width: 360px;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.25rem;
        align-items: flex-start;
        overflow-y: auto;
        transition: left 0.32s cubic-bezier(.2,.9,.2,1);
        z-index: 1100;
        box-shadow: 8px 0 30px rgba(0,0,0,0.6);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 0.75rem 0;
        font-size: 1.05rem;
    }

    .mobile-toggle {
        display: flex;
        margin-left: auto;
    }

    .section-title {
        font-size: 2rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    /* --- FIX CRUCIALE ICONE MOBILE --- 
       Nascondiamo di base, ma se JS attiva (inline style) le mostriamo come flex.
       Rimosso il "display: none !important" che bloccava tutto.
    */
    .nav-links #trackingIcon,
    .nav-links #cartIcon {
        display: none; /* Nascosto default, aspetta JS */
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(255,255,255,0.04);
        color: var(--gold);
        font-size: 20px;
        margin-top: 1rem; /* Distanzia dal testo */
        margin-bottom: 0;
        transition: background 0.2s ease, transform 0.15s ease;
    }

    /* Questa regola forza la visibilitÃ  se JS aggiunge style="display:..." */
    .nav-links #trackingIcon[style*="display"],
    .nav-links #cartIcon[style*="display"],
    .nav-links #cartIcon.show {
        display: flex !important;
    }

    .nav-links #cartIcon:hover,
    .nav-links #trackingIcon:hover {
        background: rgba(255,255,255,0.06);
        transform: translateY(-2px);
        color: var(--light);
    }
}

/* =========================================
   LOADERS (Intro & Global)
   ========================================= */

/* Loader Globale (Prodotti) */
#luxhaven-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#luxhaven-loader.visible {
    opacity: 1;
    pointer-events: all;
}

.lh-loader-content {
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 600px;
}

.lh-bg-gradient {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(26, 26, 26, 0.8) 0%, #0a0a0a 100%);
    z-index: -1;
}

.lh-logo {
    max-width: 450px;
    height: auto;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.lh-tagline {
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    color: #a1a1aa;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

/* Anelli Rotanti Loader */
.lh-loader-wrapper { position: relative; width: 100px; height: 100px; margin: 0 auto 2rem; }
.lh-ring {
    position: absolute; width: 100%; height: 100%;
    border: 1px solid transparent; border-radius: 50%;
    animation: lh-rotate linear infinite;
}
.lh-ring:nth-child(1) { border-top-color: #fafafa; animation-duration: 2s; }
.lh-ring:nth-child(2) { width: 80%; height: 80%; top: 10%; left: 10%; border-top-color: #a1a1aa; animation-duration: 3s; animation-direction: reverse; }
.lh-ring:nth-child(3) { width: 60%; height: 60%; top: 20%; left: 20%; border-top-color: #71717a; animation-duration: 4s; }

/* Progress Bar Loader */
.lh-progress-container { width: 200px; height: 1px; background: rgba(255,255,255,0.1); margin: 0 auto 1rem; overflow: hidden; }
.lh-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, #fafafa 50%, transparent 100%);
    background-size: 200% 100%;
    animation: lh-shimmer 2s infinite linear;
}

.lh-loading-text { font-size: 0.75rem; letter-spacing: 0.2em; color: #a1a1aa; text-transform: uppercase; animation: lh-pulse 2s infinite; }

@keyframes lh-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes lh-shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@keyframes lh-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* =========================================
   INTRO LOADER PREMIUM - REDESIGN
   ========================================= */

#intro-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(ellipse at center, #0f0f0f 0%, #050505 100%);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}

#intro-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.intro-content {
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Effetto particelle luminose di sfondo */
.intro-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    animation: pulseGlow 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulseGlow {
    0%, 100% { 
        opacity: 0.3; 
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 0.6; 
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.intro-logo-wrapper {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    animation: introLogoEntrance 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.2s;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

@keyframes introLogoEntrance {
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
    }
}

.intro-logo {
    width: 320px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Divider animato con brillantezza */
.intro-divider {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(212, 175, 55, 0.4) 20%,
        #D4AF37 50%,
        rgba(212, 175, 55, 0.4) 80%,
        transparent 100%
    );
    margin-bottom: 1.8rem;
    animation: introDividerGrow 1.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
    animation-delay: 0.8s;
    position: relative;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

/* Effetto brillantezza che scorre sul divider */
.intro-divider::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -20%;
    width: 20%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: dividerShine 2s linear infinite;
    animation-delay: 2s;
}

@keyframes dividerShine {
    from { left: -20%; }
    to { left: 120%; }
}

@keyframes introDividerGrow { 
    to { 
        width: 100%; 
        max-width: 350px; 
    } 
}

.intro-tagline {
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    letter-spacing: 5px;
    color: #c9b8a0;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0;
    transform: translateY(15px);
    animation: introTextReveal 1s ease forwards;
    animation-delay: 1.4s;
    margin-bottom: 3.5rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

@keyframes introTextReveal { 
    to { 
        opacity: 1; 
        transform: translateY(0); 
    } 
}

/* Progress Bar Premium con effetti */
.intro-progress-bar {
    width: 280px;
    height: 3px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    overflow: hidden;
    opacity: 0;
    animation: fadeInSimple 0.6s ease forwards;
    animation-delay: 0.4s;
    position: relative;
    box-shadow: 
        inset 0 1px 2px rgba(0, 0, 0, 0.5),
        0 1px 1px rgba(255, 255, 255, 0.03);
}

/* Barra di riempimento con gradiente animato */
.intro-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, 
        #D4AF37 0%, 
        #FFD700 50%, 
        #D4AF37 100%
    );
    background-size: 200% 100%;
    box-shadow: 
        0 0 10px #D4AF37,
        0 0 20px rgba(212, 175, 55, 0.5);
    animation: 
        introProgress 3.2s ease-in-out forwards,
        shimmerProgress 1.5s linear infinite;
    animation-delay: 0.5s;
    border-radius: 10px;
    position: relative;
}

/* Effetto brillantezza che scorre sulla barra */
.intro-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.6) 50%, 
        transparent 100%
    );
    animation: progressShine 2s linear infinite;
    animation-delay: 1s;
}

@keyframes progressShine {
    from { left: -100%; }
    to { left: 200%; }
}

@keyframes shimmerProgress {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes introProgress { 
    0% { width: 0; } 
    100% { width: 100%; } 
}

@keyframes fadeInSimple { 
    to { opacity: 1; } 
}

/* Responsive mobile */
@media (max-width: 768px) {
    .intro-logo { 
        width: 250px; 
    }
    
    .lh-logo {
        max-width: 280px; 
    }
    
    .intro-tagline { 
        font-size: 0.85rem; 
        letter-spacing: 3px; 
    }
    
    .intro-progress-bar {
        width: 200px;
    }
    
    .intro-content::before {
        width: 400px;
        height: 400px;
    }
}

/* =========================================
   FILTRO CATEGORIE PREMIUM (SOLO SHOP)
   ========================================= */

.category-filter-container {
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
    opacity: 0;
    animation: fadeInFilter 0.4s ease forwards; /* Ridotto a 0.4s per più velocità */
}

@keyframes fadeInFilter {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.filter-label {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}

.filter-reset {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-reset:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    transform: scale(1.05);
}

.filter-reset span {
    font-size: 1.1rem;
    font-weight: bold;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.category-pill {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(15, 15, 15, 0.9));
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--light);
    padding: 0.9rem 1.8rem;
    border-radius: 25px;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.category-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.6s ease;
}

.category-pill:hover::before {
    left: 100%;
}

.category-pill:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.category-pill.active {
    background: linear-gradient(135deg, var(--gold), #FFD700);
    color: var(--dark);
    border-color: var(--gold);
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.category-pill .count {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
    font-weight: 600;
}

.category-pill.active .count {
    background: rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .category-filter-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .filter-reset {
        align-self: flex-end;
    }
    
    .category-pills {
        justify-content: flex-start;
        gap: 0.75rem;
    }
    
    .category-pill {
        font-size: 0.8rem;
        padding: 0.7rem 1.4rem;
    }
}

/* =========================================
   CARD PREMIUM IMMOBILI
   ========================================= */

.property-premium-card {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(15, 15, 15, 1));
    border: 2px solid rgba(212, 175, 55, 0.4);
}

.property-premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        transparent 0%, 
        rgba(212, 175, 55, 0.12) 50%, 
        transparent 100%
    );
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.property-premium-card:hover {
    border-color: var(--gold);
    box-shadow: 0 25px 70px rgba(212, 175, 55, 0.4);
    transform: translateY(-12px);
}

/* Badge "Esclusivo" per card IMMOBILI */
.property-premium-card::after {
    content: 'ESCLUSIVO';
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    color: #0a0a0a;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
    z-index: 10;
}

/* Effetto glow su immagine card IMMOBILI */
.property-premium-card .card-image {
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.1);
}

.property-premium-card:hover .card-image {
    box-shadow: 
        inset 0 0 40px rgba(212, 175, 55, 0.25),
        0 0 50px rgba(212, 175, 55, 0.4);
}

/* =========================================
   FILTRI IMMOBILI & SUPERCAR PREMIUM
   ========================================= */

.property-filter-container,
.supercar-filter-container {
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
    opacity: 0;
    animation: fadeInFilter 0.5s ease forwards;
    animation-delay: 0.2s;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.filter-label {
    font-size: 0.95rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-reset-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    transform: scale(1.05);
}

.filter-reset-btn span {
    font-size: 1.1rem;
    font-weight: bold;
}

.filter-pills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}

.filter-pill {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(15, 15, 15, 0.9));
    border: 2px solid rgba(212, 175, 55, 0.3);
    color: var(--light);
    padding: 1.5rem 2rem;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.6s ease;
}

.filter-pill:hover::before {
    left: 100%;
}

.filter-pill:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.35);
}

.filter-pill.active {
    background: linear-gradient(135deg, var(--gold), #FFD700);
    color: var(--dark);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

.pill-icon {
    width: 28px;
    height: 28px;
    stroke-width: 2;
    flex-shrink: 0;
}

.filter-pill.active .pill-icon {
    stroke: var(--dark);
}

.pill-label {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.pill-count {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.3rem 0.8rem;
    border-radius: 14px;
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 32px;
    text-align: center;
}

.filter-pill.active .pill-count {
    background: rgba(0, 0, 0, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .filter-pills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-pill {
        padding: 1.2rem 1.5rem;
    }
    
    .pill-icon {
        width: 24px;
        height: 24px;
    }
    
    .pill-label {
        font-size: 0.9rem;
    }
}

/* =========================================
   MESSAGGI FORM CONTATTI PREMIUM
   ========================================= */

.success-overlay,
.error-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.success-card,
.error-card {
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
    border: 2px solid;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
    animation: slideUp 0.5s ease;
}

.success-card {
    border-color: #10b981;
}

.error-card {
    border-color: #ef4444;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.success-icon,
.error-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
    font-weight: 300;
}

.success-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.error-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
}

.success-title,
.error-title {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.success-title {
    color: #10b981;
}

.error-title {
    color: #ef4444;
}

.success-text,
.error-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #9ca3af;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .success-card,
    .error-card {
        padding: 2rem 1.5rem;
    }
    
    .success-icon,
    .error-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .success-title,
    .error-title {
        font-size: 1.5rem;
    }
    
    .success-text,
    .error-text {
        font-size: 0.95rem;
    }
}

/* =========================================
   🎯 STATI ESPERIENZE (SCADUTE / PRESTO DISPONIBILI)
   ========================================= */

/* Badge Overlay su Immagine */
.experience-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  backdrop-filter: blur(12px);
  z-index: 5;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.5s ease;
}

.badge-expired {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(220, 38, 38, 0.95));
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.badge-coming-soon {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.98), rgba(255, 215, 0, 0.98));
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #0a0a0a;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.6);
}

.badge-new {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95));
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Card Esperienza SCADUTA */
.experience-expired {
  position: relative;
  opacity: 0.7;
  filter: grayscale(60%);
  transition: all 0.4s ease;
}

.experience-expired::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), transparent);
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

.experience-expired:hover {
  opacity: 0.85;
  transform: translateY(-4px);
}

.experience-expired .btn {
  background: linear-gradient(135deg, #71717a, #52525b);
  color: #e5e5e5;
  cursor: not-allowed;
  border-color: #71717a;
}

.experience-expired .btn:hover {
  background: linear-gradient(135deg, #71717a, #52525b);
  transform: none;
  box-shadow: none;
}

/* Card Esperienza PRESTO DISPONIBILE */
.experience-coming-soon {
  position: relative;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(26, 26, 26, 0.9));
  border: 2px solid rgba(212, 175, 55, 0.6);
  box-shadow: 
    0 10px 40px rgba(212, 175, 55, 0.3),
    inset 0 0 30px rgba(212, 175, 55, 0.08);
  transition: all 0.4s ease;
}

.experience-coming-soon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(212, 175, 55, 0.18) 0%, 
    transparent 50%, 
    rgba(255, 215, 0, 0.15) 100%
  );
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.experience-coming-soon:hover::before {
  opacity: 1;
}

.experience-coming-soon:hover {
  border-color: var(--gold);
  box-shadow: 
    0 20px 60px rgba(212, 175, 55, 0.45),
    inset 0 0 40px rgba(212, 175, 55, 0.12);
  transform: translateY(-8px) scale(1.02);
}

.experience-coming-soon .btn {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(255, 215, 0, 0.1));
  color: #D4AF37;
  border: 2px solid #D4AF37;
}

.experience-coming-soon .btn:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(255, 215, 0, 0.2));
  color: #0a0a0a; /* ← AGGIUNTO: Testo nero al hover */
  transform: translateY(-2px);
}

/* Animazione Pulse per Coming Soon */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 
      0 10px 40px rgba(212, 175, 55, 0.3),
      inset 0 0 30px rgba(212, 175, 55, 0.08);
  }
  50% {
    box-shadow: 
      0 15px 55px rgba(212, 175, 55, 0.5),
      inset 0 0 40px rgba(212, 175, 55, 0.15);
  }
}

.experience-coming-soon {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* Responsive Mobile */
@media (max-width: 768px) {
  .experience-badge {
    top: 12px;
    right: 12px;
    padding: 8px 14px;
    font-size: 11px;
  }
  
  .experience-badge svg {
    width: 14px;
    height: 14px;
  }
}

/* =========================================
   EMPTY STATE PREMIUM - IMMOBILI & ESPERIENZE
   ========================================= */

.premium-empty-state {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: #0a0a0a;
}

/* Hero Video Container */
.empty-hero-video {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.empty-hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7) contrast(1.1);
}

/* Overlay gradiente per leggibilità */
.empty-hero-video::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, #0a0a0a 0%, transparent 100%);
    pointer-events: none;
}

/* Content Container */
.empty-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
    text-align: center;
}

/* Titolo Principale */
.empty-main-title {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 4px;
    line-height: 1.3;
    color: #fafafa;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}

/* Sottotitolo */
.empty-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: #c9b8a0;
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Divider Dorato */
.empty-divider {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(212, 175, 55, 0.4) 20%,
        #D4AF37 50%,
        rgba(212, 175, 55, 0.4) 80%,
        transparent 100%
    );
    margin: 0 auto 3rem;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    animation: fadeIn 1s ease 0.4s both;
}

/* Body Text Editoriale */
.empty-body-text {
    font-size: 1.15rem;
    line-height: 2;
    color: rgba(245, 245, 245, 0.75);
    letter-spacing: 0.5px;
    margin-bottom: 2.5rem;
    font-weight: 300;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.empty-body-text strong {
    color: #D4AF37;
    font-weight: 500;
}

/* CTA Premium */
.empty-cta-text {
    font-size: 1.05rem;
    letter-spacing: 1.5px;
    color: #a1a1aa;
    margin-bottom: 2rem;
    font-style: italic;
    animation: fadeIn 1s ease 0.8s both;
}

/* Contact Button */
.empty-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 3rem;
    background: transparent;
    border: 2px solid #D4AF37;
    color: #D4AF37;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease 1s both;
}

.empty-contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    transition: left 0.4s ease;
    z-index: -1;
}

.empty-contact-btn:hover::before {
    left: 0;
}

.empty-contact-btn:hover {
    color: #0a0a0a;
    border-color: #FFD700;
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .empty-hero-video {
        height: 350px;
    }
    
    .empty-content-wrapper {
        padding: 3rem 1.5rem 4rem;
    }
    
    .empty-main-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .empty-subtitle {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
    
    .empty-body-text {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .empty-contact-btn {
        padding: 1rem 2rem;
        font-size: 0.85rem;
    }
}

/* Animazioni */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   🏆 LIMITED EDITIONS PREMIUM STYLE
   ========================================= */

.limited-edition-card {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(30, 30, 30, 0.95) 0%, 
        rgba(20, 20, 20, 1) 50%,
        rgba(15, 15, 15, 1) 100%
    );
    border: 2px solid;
    border-image: linear-gradient(135deg, #D4AF37, #FFD700, #D4AF37) 1;
    box-shadow: 
        0 8px 32px rgba(212, 175, 55, 0.25),
        inset 0 0 40px rgba(212, 175, 55, 0.08);
    overflow: hidden;
}

/* Texture Pattern Esclusivo */
.limited-edition-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(212, 175, 55, 0.02) 10px,
            rgba(212, 175, 55, 0.02) 20px
        );
    pointer-events: none;
    z-index: 0;
}

/* Shimmer Effect (scorre lentamente) */
.limited-edition-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 215, 0, 0.15) 50%,
        transparent 60%,
        transparent 100%
    );
    animation: shimmer 6s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes shimmer {
    0% { transform: translate(-100%, -100%) rotate(45deg); }
    100% { transform: translate(100%, 100%) rotate(45deg); }
}

/* Badge "LIMITED EDITION" */
.limited-edition-card .card-image::after {
    content: 'LIMITED EDITION';
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 2px solid #D4AF37;
    color: #FFD700;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 
        0 4px 15px rgba(212, 175, 55, 0.4),
        inset 0 0 10px rgba(255, 215, 0, 0.2);
    z-index: 10;
    animation: pulse-badge 3s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { 
        box-shadow: 
            0 4px 15px rgba(212, 175, 55, 0.4),
            inset 0 0 10px rgba(255, 215, 0, 0.2);
    }
    50% { 
        box-shadow: 
            0 6px 25px rgba(212, 175, 55, 0.6),
            inset 0 0 15px rgba(255, 215, 0, 0.35);
    }
}

/* Numerazione Limitata (se disponibile) */
.limited-edition-card[data-limited-count]::before {
    content: attr(data-limited-count);
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #FFD700;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 11;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Hover Effect Potenziato */
.limited-edition-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-image: linear-gradient(135deg, #FFD700, #D4AF37, #FFD700) 1;
    box-shadow: 
        0 20px 70px rgba(212, 175, 55, 0.5),
        inset 0 0 60px rgba(212, 175, 55, 0.15),
        0 0 80px rgba(255, 215, 0, 0.3);
}

/* Immagine con Glow Dorato Intenso */
.limited-edition-card .card-image {
    border: 2px solid rgba(212, 175, 55, 0.4);
    box-shadow: 
        inset 0 0 30px rgba(212, 175, 55, 0.15),
        0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.limited-edition-card:hover .card-image {
    box-shadow: 
        inset 0 0 50px rgba(212, 175, 55, 0.3),
        0 0 60px rgba(255, 215, 0, 0.5),
        0 8px 40px rgba(212, 175, 55, 0.4);
    border-color: #FFD700;
}

/* Overlay Dorato Esclusivo sull'Immagine */
.limited-edition-card .card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.2) 0%,
        rgba(255, 215, 0, 0.25) 50%,
        rgba(212, 175, 55, 0.2) 100%
    );
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 2;
    pointer-events: none;
}

.limited-edition-card:hover .card-image::before {
    opacity: 1;
}

/* Zoom Immagine Più Fluido */
.limited-edition-card .card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.limited-edition-card:hover .card-image img {
    transform: scale(1.12);
}

/* Titolo con Gradiente Dorato */
.limited-edition-card .card-title {
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

/* Prezzo con Effetto Premium */
.limited-edition-card .card-price {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    position: relative;
    z-index: 2;
}

/* Button con Stile Esclusivo */
.limited-edition-card .btn {
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    color: #0a0a0a;
    border: none;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.limited-edition-card .btn::before {
    background: linear-gradient(135deg, #FFD700, #ffffff);
}

.limited-edition-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.6);
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .limited-edition-card .card-image::after {
        font-size: 9px;
        padding: 6px 12px;
        top: 10px;
        left: 10px;
    }
    
    .limited-edition-card[data-limited-count]::before {
        font-size: 10px;
        padding: 5px 10px;
        top: 10px;
        right: 10px;
    }
}

/* =========================================
   🏆 BADGE DISPONIBILITÀ PREMIUM
   Design elegante e professionale
   ========================================= */

.availability-badge-premium {
  position: absolute;
  bottom: 20px;
  left: 13px;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.badge-content {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: auto;
}

.badge-icon {
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.badge-text {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1;
}

/* ========================================
   STATI BADGE (Gradient + Colori)
   ======================================== */

/* 🟢 DISPONIBILE (>10 pezzi) - Elegante neutro con tocco dorato */
.availability-badge-premium.status-available {
  background: linear-gradient(135deg, 
    rgba(212, 175, 55, 0.08) 0%, 
    rgba(255, 215, 0, 0.05) 100%
  );
  border-color: rgba(212, 175, 55, 0.3);
  color: #D4AF37;
}

.availability-badge-premium.status-available:hover {
  background: linear-gradient(135deg, 
    rgba(212, 175, 55, 0.12) 0%, 
    rgba(255, 215, 0, 0.08) 100%
  );
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.25);
}

/* 🔴 CRITICO - Gradient rosso intenso */
.availability-badge-premium.status-critical {
  background: linear-gradient(135deg, 
    rgba(220, 38, 38, 0.25) 0%, 
    rgba(153, 27, 27, 0.35) 100%
  );
  border-color: rgba(239, 68, 68, 0.7);
  color: #fca5a5;
  box-shadow: 
    0 8px 32px rgba(220, 38, 38, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* 🟡 LIMITATO - Gradient arancione elegante */
.availability-badge-premium.status-limited {
  background: linear-gradient(135deg, 
    rgba(234, 88, 12, 0.22) 0%, 
    rgba(194, 65, 12, 0.3) 100%
  );
  border-color: rgba(251, 146, 60, 0.6);
  color: #fdba74;
  box-shadow: 
    0 8px 32px rgba(234, 88, 12, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* ⚫ ESAURITO - Gradient grigio elegante */
.availability-badge-premium.status-sold-out {
  background: linear-gradient(135deg, 
    rgba(82, 82, 91, 0.25) 0%, 
    rgba(63, 63, 70, 0.35) 100%
  );
  border-color: rgba(113, 113, 122, 0.5);
  color: #d4d4d8;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ========================================
   ANIMAZIONI SOTTILI
   ======================================== */

@keyframes pulse-critical {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }
  50% {
    box-shadow: 0 6px 30px rgba(239, 68, 68, 0.35);
  }
}

/* ========================================
   CARD ESAURITA - Stile Elegante
   ======================================== */

.card[data-availability="0"] {
  opacity: 0.65;
  filter: grayscale(50%);
  position: relative;
  pointer-events: auto; /* Permetti hover ma blocca click sul button */
}

/* Overlay sottile invece di testo gigante */
.card[data-availability="0"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(0, 0, 0, 0.3) 0%, 
    rgba(0, 0, 0, 0.5) 100%
  );
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}


/* Stile SOLD OUT rimosso - gestito via JS */

.card[data-availability="0"] .btn {
  background: linear-gradient(135deg, #71717a, #52525b);
  color: #d4d4d8;
  cursor: not-allowed;
  border-color: #71717a;
  opacity: 0.7;
}

.card[data-availability="0"] .btn:hover {
  transform: none;
  box-shadow: none;
  background: linear-gradient(135deg, #71717a, #52525b);
}

/* ========================================
   RESPONSIVE MOBILE
   ======================================== */

@media (max-width: 768px) {
  .availability-badge-premium {
    padding: 0.625rem 1rem;
    margin-bottom: 1rem;
    /* ✅ FIX: Forza visibilità anche su schermi piccoli */
    z-index: 12 !important;
    position: absolute !important;
    bottom: 12px !important;
    left: 12px !important;
    max-width: calc(100% - 24px) !important;
  }
  
  .badge-text {
    font-size: 0.8rem;
  }
  
  .badge-subtitle {
    font-size: 0.65rem;
    letter-spacing: 1px;
  }
  
  .badge-icon {
    width: 16px;
    height: 16px;
  }
  
  .card[data-availability="0"]::after {
    top: 12px;
    right: 12px;
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
  }
}

/* 📱 FIX BADGE MOBILE - Forza visibilità su schermi piccoli */
@media (max-width: 480px) {
  .availability-badge-premium {
    font-size: 0.75rem !important;
    padding: 0.5rem 0.85rem !important;
    bottom: 10px !important;
    left: 10px !important;
  }
  
  .availability-badge-premium .badge-icon {
    width: 14px !important;
    height: 14px !important;
  }
  
  .availability-badge-premium .badge-text {
    font-size: 0.75rem !important;
  }
}

/* ========================================
   INTEGRAZIONE CON LIMITED EDITION CARD
   ======================================== */

/* Il badge si posiziona in sovrimpressione sull'immagine */
.limited-edition-card .availability-badge-premium {
  position: absolute;
  bottom: 16px;
  right: 16px;
  left: auto;
  z-index: 10;
  margin-top: 0;
}

/* Glow dorato per badge su Limited Editions */
.limited-edition-card .availability-badge-premium.status-available {
  box-shadow: 
    0 4px 20px rgba(212, 175, 55, 0.2),
    inset 0 0 20px rgba(212, 175, 55, 0.05);
}

.limited-edition-card .availability-badge-premium.status-available:hover {
  box-shadow: 
    0 6px 30px rgba(212, 175, 55, 0.35),
    inset 0 0 30px rgba(212, 175, 55, 0.08);
}

/* ========================================
   🖼️ RESPONSIVE IMAGES - Desktop/Mobile
   ======================================== */

/* Desktop: mostra immagine desktop, nascondi mobile */
.card-image-desktop {
    display: block !important;
}

.card-image-mobile {
    display: none !important;
}

/* Mobile: nascondi immagine desktop, mostra mobile */
@media (max-width: 768px) {
    .card-image-desktop {
        display: none !important;
    }
    
    .card-image-mobile {
        display: block !important;
    }
}


/* ============================================================
   FOUNDER EARLY ACCESS SECTION
   ============================================================ */

.founder-section {
    position: relative;
    padding: 8rem 5% 8rem;
    background: var(--darker);
    overflow: hidden;
}

.founder-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 70% 50% at 15% 50%, rgba(212,175,55,0.04) 0%, transparent 70%),
        radial-gradient(ellipse 50% 80% at 85% 30%, rgba(212,175,55,0.03) 0%, transparent 70%);
    pointer-events: none;
}

.founder-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.3), transparent);
}

.founder-inner {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
}

/* Badge */
.founder-badge-wrap {
    margin-bottom: 2rem;
    animation: founderFadeUp 0.7s ease both;
}

.founder-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 1.2rem;
    border: 1px solid rgba(212,175,55,0.35);
    border-radius: 40px;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(212,175,55,0.06);
    backdrop-filter: blur(8px);
}

.founder-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: founderPulse 2s ease-in-out infinite;
}

/* Title */
.founder-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--light);
    margin-bottom: 1.2rem;
    line-height: 1.2;
    animation: founderFadeUp 0.7s 0.1s ease both;
}

.founder-title-accent {
    background: linear-gradient(135deg, var(--gold), #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

.founder-subtitle {
    font-size: 1rem;
    color: rgba(245,245,245,0.6);
    line-height: 1.75;
    margin-bottom: 3.5rem;
    animation: founderFadeUp 0.7s 0.15s ease both;
}

.founder-subtitle strong {
    color: var(--gold);
    font-weight: 600;
}

/* Counter Block — replaced by .ea-counter-card (see EA section below) */

/* Benefits grid */
.founder-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 2rem;
    margin-bottom: 3.5rem;
    text-align: left;
    animation: founderFadeUp 0.7s 0.35s ease both;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 640px) {
    .founder-benefits {
        grid-template-columns: 1fr 1fr;
        gap: 0.9rem 1.2rem;
    }
}

@media (max-width: 420px) {
    .founder-benefits {
        grid-template-columns: 1fr;
    }
}

.founder-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.85rem;
    color: rgba(245,245,245,0.65);
    line-height: 1.4;
    transition: color 0.25s ease;
}

.founder-benefit-item:hover {
    color: rgba(245,245,245,0.9);
}

.founder-benefit-item em {
    font-style: normal;
    color: var(--gold);
}

.founder-benefit-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: var(--gold);
    opacity: 0.8;
}

.founder-benefit-icon svg {
    width: 100%;
    height: 100%;
}

/* CTA — now inside ea-counter-card (see EA section below) */

/* Animations */
@keyframes founderFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes founderPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0.6); }
    50% { box-shadow: 0 0 0 5px rgba(212,175,55,0); }
}


/* ============================================================
   EARLY ACCESS — COUNTER CARD (stile community.html)
   ============================================================ */

.ea-counter-wrap {
    max-width: 640px;
    margin: 0 auto 3.5rem;
    animation: founderFadeUp 0.7s 0.2s ease both;
}

.ea-counter-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(212,175,55,0.18);
    border-radius: 4px;
    padding: 2.4rem 2.2rem 2rem;
    position: relative;
    overflow: hidden;
}

.ea-counter-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold), rgba(212,175,55,0.15));
    border-radius: 4px 0 0 4px;
}

/* TOP ROW */
.ea-counter-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.6rem;
    flex-wrap: wrap;
}

.ea-counter-available-block {
    flex: 1;
    min-width: 0;
}

.ea-counter-available-num {
    font-size: 3.4rem;
    font-weight: 200;
    letter-spacing: -0.02em;
    line-height: 1;
    background: linear-gradient(135deg, var(--gold), #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.4rem;
}

.ea-counter-available-label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245,245,245,0.38);
    display: block;
}

.ea-counter-total-block {
    text-align: right;
    flex-shrink: 0;
    padding-bottom: 0.3rem;
}

.ea-counter-total-num {
    font-size: 1.5rem;
    font-weight: 200;
    color: rgba(245,245,245,0.18);
    display: block;
    letter-spacing: 0.02em;
}

.ea-counter-total-label {
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(245,245,245,0.15);
    display: block;
    margin-top: 0.2rem;
}

/* DUAL BAR */
.ea-counter-bar-wrap {
    margin-bottom: 0.55rem;
}

.ea-counter-bar-track {
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.ea-counter-bar-confirmed {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(212,175,55,0.45) 0%, var(--gold) 100%);
    border-radius: 6px;
    transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ea-counter-bar-reserved {
    position: absolute;
    top: 0; bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        rgba(212,175,55,0.28) 0px,
        rgba(212,175,55,0.28) 6px,
        transparent 6px,
        transparent 10px
    );
    border-radius: 0 6px 6px 0;
    transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
}

/* BAR LEGEND */
.ea-counter-bar-legend {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: 0.85rem;
    flex-wrap: wrap;
}

.ea-counter-legend-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.68rem;
    color: rgba(245,245,245,0.32);
    letter-spacing: 0.05em;
}

.ea-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ea-legend-dot.confirmed {
    background: var(--gold);
    box-shadow: 0 0 5px rgba(212,175,55,0.4);
}

.ea-legend-dot.reserved {
    background: transparent;
    border: 1.5px dashed rgba(212,175,55,0.45);
}

.ea-legend-dot.available {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
}

/* SEPARATOR */
.ea-counter-separator {
    height: 1px;
    background: linear-gradient(90deg, rgba(212,175,55,0.12) 0%, transparent 100%);
    margin: 1.8rem 0;
}

/* STAT BOXES */
.ea-counter-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

@media (max-width: 480px) {
    .ea-counter-stats { grid-template-columns: 1fr; }
}

.ea-counter-stat {
    padding: 1.4rem 1.5rem;
    border-radius: 3px;
    position: relative;
}

.ea-counter-stat.confirmed {
    background: rgba(212,175,55,0.05);
    border: 1px solid rgba(212,175,55,0.18);
}

.ea-counter-stat.confirmed::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold), rgba(212,175,55,0.18));
    border-radius: 3px 0 0 3px;
}

.ea-counter-stat.reserved {
    background: rgba(255,255,255,0.012);
    border: 1px dashed rgba(212,175,55,0.18);
}

.ea-stat-num {
    font-size: 2.2rem;
    font-weight: 200;
    letter-spacing: -0.02em;
    line-height: 1;
    display: block;
    margin-bottom: 0.4rem;
}

.confirmed .ea-stat-num {
    background: linear-gradient(135deg, var(--gold), #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reserved .ea-stat-num {
    color: rgba(245,245,245,0.28);
}

.ea-stat-name {
    font-size: 0.78rem;
    font-weight: 400;
    color: rgba(245,245,245,0.7);
    display: block;
    margin-bottom: 0.2rem;
    letter-spacing: 0.02em;
}

.reserved .ea-stat-name { color: rgba(245,245,245,0.38); }

.ea-stat-sub {
    font-size: 0.66rem;
    color: rgba(245,245,245,0.26);
    display: block;
    letter-spacing: 0.04em;
}

.ea-stat-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.65rem;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.ea-stat-tag.confirmed-tag {
    background: rgba(80,200,120,0.07);
    border: 1px solid rgba(80,200,120,0.2);
    color: rgba(80,200,120,0.72);
}

.ea-stat-tag.reserved-tag {
    background: rgba(212,175,55,0.05);
    border: 1px dashed rgba(212,175,55,0.2);
    color: rgba(212,175,55,0.48);
}

.ea-stat-tag svg { width: 9px; height: 9px; }

/* RESERVED NOTE */
.ea-counter-reserved-note {
    margin-bottom: 1.6rem;
    padding: 1rem 1.4rem;
    background: rgba(212,175,55,0.03);
    border: 1px dashed rgba(212,175,55,0.14);
    border-radius: 3px;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
}

.ea-counter-reserved-note > svg {
    flex-shrink: 0;
    width: 14px; height: 14px;
    color: rgba(212,175,55,0.48);
    margin-top: 1px;
}

.ea-note-text {
    font-size: 0.76rem;
    color: rgba(245,245,245,0.36);
    line-height: 1.65;
    margin: 0;
}

.ea-note-text strong {
    color: rgba(212,175,55,0.58);
    font-weight: 500;
}

/* CTA */
.ea-counter-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--gold) 0%, #C9A227 100%);
    color: #0A0A0A;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.ea-counter-cta::before {
    content: '';
    position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transition: left 0.5s ease;
}

.ea-counter-cta:hover::before { left: 100%; }

.ea-counter-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(212,175,55,0.22);
}

.ea-counter-cta > svg { width: 15px; height: 15px; flex-shrink: 0; }

.ea-counter-cta-note {
    text-align: center;
    margin-top: 0.85rem;
    font-size: 0.66rem;
    color: rgba(245,245,245,0.2);
    letter-spacing: 0.04em;
}

/* ============================================================
   EARLY ACCESS MINI BAR — shown on non-home sections
   ============================================================ */

.ea-mini-bar {
    position: fixed;
    /* nav padding: 1.5rem×2 = 48px + logo line-height ~34px = 82px */
    top: 82px;
    left: 0;
    right: 0;
    z-index: 999;
    pointer-events: none;
    display: none;
}

/* Quando la navbar è in stato scrolled (padding ridotto a 1rem×2=32px + 34px = 66px) */
nav.scrolled ~ .ea-mini-bar,
body.nav-scrolled .ea-mini-bar {
    top: 66px;
}

/* The bar itself — nessun margin-top, è top sull'elemento padre a gestire l'offset */
.ea-mini-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.52rem 1.5rem;
    background: rgba(5,5,5,0.92);
    border-bottom: 1px solid rgba(212,175,55,0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    margin-top: 0;
    pointer-events: auto;
    animation: eaMiniBarSlide 0.35s ease both;
    flex-wrap: wrap;
}

@keyframes eaMiniBarSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ea-mini-bar-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    animation: founderPulse 2s ease-in-out infinite;
}

.ea-mini-bar-text {
    font-size: 0.72rem;
    color: rgba(245,245,245,0.52);
    letter-spacing: 0.06em;
}

.ea-mini-bar-text strong {
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.68rem;
}

.ea-mini-bar-sep {
    margin: 0 0.35rem;
    color: rgba(245,245,245,0.2);
}

.ea-mini-bar-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.8rem;
    border: 1px solid rgba(212,175,55,0.35);
    border-radius: 20px;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    background: rgba(212,175,55,0.06);
    transition: background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
}

.ea-mini-bar-cta:hover {
    background: rgba(212,175,55,0.12);
    border-color: rgba(212,175,55,0.6);
}


/* ============================================================
   FLOATING COMMUNITY BUTTON
   ============================================================ */

.community-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9000;
    cursor: pointer;
    user-select: none;
}

.community-float-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    background: rgba(10,10,10,0.92);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 14px;
    padding: 0.85rem 1.1rem 0.7rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,175,55,0.1) inset;
}

.community-float:hover .community-float-inner {
    border-color: rgba(212,175,55,0.55);
    box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 20px rgba(212,175,55,0.12);
    transform: translateY(-3px);
}

.community-float-icon {
    width: 22px;
    height: 22px;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.community-float:hover .community-float-icon {
    transform: scale(1.1);
}

.community-float-icon svg {
    width: 100%;
    height: 100%;
}

.community-float-label {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(212,175,55,0.7);
    font-family: Georgia, serif;
    white-space: nowrap;
}

.community-float-pulse {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: communityPulse 3s ease-in-out infinite;
}

@keyframes communityPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.4; }
}

@media (max-width: 480px) {
    .community-float {
        bottom: 1.2rem;
        right: 1.2rem;
    }
}
