/* =======================================================
   THEAROMAVERSE — Nuclear Home.css
   Dedicated Homepage Styles | Mobile-First | Luxury Obsessive
   Built on top of design-system.css
======================================================= */

:root {
    --hero-height: 100dvh;
}

/* Base Homepage Styles */
body.home {
    background: #050505;
}

/* HERO */
.hero {
    position: relative;
    min-height: var(--hero-height);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #050505;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(214, 198, 165, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-layout {
    position: relative;
    z-index: 2;
}

.display-title {
    font-size: clamp(3rem, 8.5vw, 7.5rem);
    line-height: 1.05;
    letter-spacing: -3.5px;
    font-weight: 700;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.5;
    color: rgba(245, 245, 242, 0.85);
}

.btn-primary {
    background: #d6c6a5;
    color: #050505;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.32s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px rgba(214, 198, 165, 0.4);
}

.btn-secondary {
    border: 1px solid rgba(245, 245, 242, 0.3);
    color: #f5f5f2;
    transition: all 0.32s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-secondary:hover {
    background: rgba(245, 245, 242, 0.08);
    border-color: #d6c6a5;
}

/* =======================================================
   DISCOVERY WORLDS
======================================================= */
.discover-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    transition: all 420ms cubic-bezier(0.23, 1, 0.32, 1);
    background: #0b0b0b;
    border: 1px solid rgba(255,255,255,0.08);
}

.discover-card:hover {
    transform: translateY(-12px);
    border-color: rgba(214, 198, 165, 0.3);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
}

.discover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.75));
    transition: all 0.42s ease;
}

.discover-card:hover .discover-overlay {
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.85));
}

.discover-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    z-index: 2;
    color: white;
}

.discover-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(214, 198, 165, 0.15);
    color: #d6c6a5;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.discover-large {
    grid-column: span 2;
    height: 520px;
}

/* Swiper Styles for Featured / Trending / Best Sellers */
.swiper {
    padding: 20px 0;
}

.swiper-slide {
    height: auto;
}

.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card:hover {
    transform: translateY(-8px);
}

/* Glass Card */
.glass-card {
    background: rgba(11, 11, 11, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
}

/* =======================================================
   FRAGRANCE FINDER
======================================================= */
.fragrance-finder-home {
    background: #050505;
}

.finder-layout {
    display: grid;
    gap: 4rem;
}

.finder-preview {
    background: rgba(11, 11, 11, 0.85);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(214, 198, 165, 0.15);
    border-radius: 28px;
    padding: 3rem;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
}

/* =======================================================
   COMMUNITY & PRIVATE LIST
======================================================= */
.community-card {
    transition: all 420ms cubic-bezier(0.23, 1, 0.32, 1);
}

.community-card:hover {
    transform: translateY(-8px);
    border-color: #d6c6a5;
}

.private-list-card {
    background: rgba(11, 11, 11, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
}

/* =======================================================
   MOBILE OPTIMIZATIONS (Mobile-First Luxury)
======================================================= */
@media (max-width: 768px) {
    .hero {
        min-height: 85dvh;
    }
    
    .display-title {
        font-size: clamp(2.8rem, 10vw, 5.5rem);
    }
    
    .discover-grid {
        grid-template-columns: 1fr;
    }
    
    .discover-large {
        height: 420px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 1.1rem 2rem;
        font-size: 1.05rem;
        width: 100%;
    }
    
    .product-card {
        margin-bottom: 1.5rem;
    }
}

/* =======================================================
   ANIMATIONS & MICRO-INTERACTIONS
======================================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 620ms cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveals for swipers and cards */
.swiper-slide {
    opacity: 0;
    transform: translateY(30px);
    transition: all 500ms cubic-bezier(0.23, 1, 0.32, 1);
}

.swiper-slide.swiper-slide-active,
.swiper-slide.swiper-slide-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Luxury hover glow for cards */
.product-card:hover img {
    filter: brightness(1.08) contrast(1.05);
}

/* =======================================================
   PERFORMANCE & UTILITIES
======================================================= */
.swiper-button-prev,
.swiper-button-next {
    color: #d6c6a5;
    background: rgba(5,5,5,0.7);
    backdrop-filter: blur(12px);
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #d6c6a5;
    color: #050505;
}

/* Loading States */
.loading-state {
    animation: pulse 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(245,245,242,0.6);
}

/* Final Luxury Polish */
.section {
    scroll-margin-top: 100px;
}

/* High-end focus states for accessibility */
.btn:focus-visible,
input:focus-visible {
    outline: 2px solid #d6c6a5;
    outline-offset: 4px;
}

/* =======================================================
   FINAL RESPONSIVE & REDUCED MOTION
======================================================= */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .swiper-slide,
    .product-card,
    .discover-card {
        transition: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2.75rem;
    }
    
    .glass-card {
        padding: 2rem;
    }
}

/* End of home.css */