:root {
    --bg-primary: #0f0f0f; /* deep dark */
    --bg-secondary: #1a1a1a; /* dark neutral */
    --accent: #D4AF37; /* premium gold */
    --accent-hover: #b8942d; /* darker gold */
    --text-primary: #f5f5f5; /* light text */
    --text-secondary: #c0c0c0;
    --text-muted: #a0a0a0;
    --border: rgba(255, 255, 255, 0.15);
    --glass: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Satoshi', 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    scroll-behavior: smooth;
    letter-spacing: -0.01em;
}

.font-heading {
    font-family: 'Midland', 'Playfair Display', serif;
}

/* --- ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.reveal-text>* {
    transform: translateY(100%);
    opacity: 0;
    transition: var(--transition);
}

.reveal-text.active>* {
    transform: translateY(0);
    opacity: 1;
}

/* --- BRAND LOADER (CREATIVE) --- */
.brand-loader {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--text-primary);
    border-radius: 50%;
    animation: brand-spin 1s cubic-bezier(0.55, 0.055, 0.675, 0.19) infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

@keyframes brand-spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* --- MARQUEE --- */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    display: flex;
    width: fit-content;
    animation: marquee 40s linear infinite;
}

/* --- NAVIGATION --- */
.glass-nav {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    border-bottom: 1px solid var(--border);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* --- COMPONENTS --- */
.product-card {
    background: var(--bg-secondary);
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.product-card img {
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1), filter 0.8s ease, opacity 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

/* --- MODALS & DRAWERS --- */
.modal-overlay {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    transition: var(--transition);
}

#cart-drawer {
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
}

/* Custom Checkbox/Radio Styling for Variants */
.variant-btn {
    border: 1px solid var(--border);
    transition: var(--transition);
}

.variant-btn:hover {
    border-color: var(--text-primary);
}

.variant-input:checked+.variant-label {
    background: var(--text-primary);
    color: var(--bg-primary);
}

/* --- FORMS --- */
.form-input {
    background: var(--glass);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* --- UTILS --- */
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Mobile Overlay Animation */
#mobile-overlay {
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
    transform: translateY(-100%);
}

#mobile-overlay.open {
    transform: translateY(0);
}

/* Toast Animation */
@keyframes slide-up {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slide-up {
    animation: slide-up 0.5s var(--transition);
}

/* Shimmer Loading */
.shimmer {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.02) 25%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(255, 255, 255, 0.02) 75%);
    background-color: rgba(255, 255, 255, 0.02);
    background-size: 200% 100%;
    animation: loading-shimmer 2s infinite;
}

@keyframes loading-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* --- TRANSITIONS --- */
.translate-x-full {
    transform: translateX(100%);
}

.translate-x-0 {
    transform: translateX(0);
}

.transition-all {
    transition: var(--transition);
}

.duration-500 {
    transition-duration: 500ms;
}

.duration-700 {
    transition-duration: 700ms;
}

#apply-coupon-btn:hover {
    background-color: #000 !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.hero-text-shadow {
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.9), 0 4px 12px rgba(0, 0, 0, 0.5);
}

@media (max-width: 640px) {
    #apply-coupon-btn {
        width: 100%;
        margin-top: 0.5rem;
    }
}