@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:wght@300;400;500&display=swap');

:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --primary-color: #ffffff;
    --accent-color: #888888;
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.15);
    --font-main: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    --font-headlines: 'Bebas Neue', sans-serif;
    --font-robot: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    /* Noise texture overlay */
    background-image: 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");
}

/* Background Canvas for Flowing Lines */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.3;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%; /* Flexible width */
    max-width: 800px; /* Cap width for large screens */
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    z-index: 1000;
    /* Minimal Glass */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px; /* Pill shape */
    /* Glowing Underglow */
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.1), 
                0 0 50px rgba(255, 255, 255, 0.05),
                0 10px 30px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .navbar {
        width: 90%;
        padding: 8px 20px;
        top: 20px;
    }
}

.logo {
    font-family: var(--font-headlines);
    font-size: 1.5rem; /* Smaller to fit skinny bar */
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    white-space: nowrap;
    text-decoration: none; /* Ensure no underline from global a styles if any */
}

/* Menu Toggle (Bars) */
.menu-toggle {
    display: flex;
    gap: 0;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s;
    width: 40px; /* Fixed width for balance */
    justify-content: center;
    align-items: center;
    color: white;
}

.menu-toggle svg {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* 
.dot {
    width: 5px;
    height: 5px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, background-color 0.3s;
}

.menu-toggle:hover .dot {
    background-color: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
}
*/

/* Cart Icon */
.cart-icon {
    position: relative;
    cursor: pointer;
    z-index: 1001;
    color: white;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s;
    width: 40px; /* Fixed width for balance */
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart-icon:hover {
    background: rgba(255, 255, 255, 0.05);
}

.cart-icon svg {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background: white;
    color: black;
    font-size: 0.7rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Cart Item Controls */
.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.qty-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.qty-display {
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    padding: 0 20px;
}

.hero h1 {
    font-family: var(--font-headlines);
    font-size: 6rem; /* Bigger for premium feel */
    margin-bottom: 20px;
    line-height: 1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.5s;
    background: linear-gradient(to right, #fff, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1rem;
    max-width: 500px;
    margin-bottom: 40px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.8s;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    animation: bounce 2s infinite;
    opacity: 0.5;
}

/* Product Section - The Core Scroll Experience */
.product-feed {
    position: relative;
    width: 100%;
}

.product-section {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    opacity: 0;
    transform: scale(0.95);
    filter: blur(10px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-section.active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    z-index: 10;
}

.product-card {
    display: flex;
    width: 90%; /* Wider for premium look */
    max-width: 1400px;
    height: auto;
    min-height: 80vh;
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 0; /* Sharp corners for modern premium */
    overflow: hidden;
    /* Minimalist Shadow */
    box-shadow: 0 40px 80px rgba(0,0,0,0.8);
    position: relative;
}

/* Remove colored underglow, use subtle spotlight if anything */
.product-card::before {
    display: none;
}

.product-image-container {
    flex: 1.2;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0a0a0a; /* Slightly lighter than pure black */
    min-height: 500px;
}

.product-image {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    /* Grayscale by default, color on hover? Or just pure premium look */
    /* Let's keep color but make it pop against black */
    filter: drop-shadow(0 30px 50px rgba(0,0,0,0.8)); 
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-info {
    flex: 0.8;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    background: rgba(0,0,0,0.8); /* Darker info side */
    border-left: 1px solid var(--glass-border);
}

/* --- Premium Product Preview Styles --- */
.product-header {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 15px;
}

.product-title {
    font-family: var(--font-robot); /* Changed to Roboto */
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    color: white;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.product-price {
    font-family: var(--font-main);
    font-size: 1.6rem; /* Made smaller from 2.5rem */
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 0px;
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns now */
    gap: 30px;
    margin-bottom: 40px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 2px;
    font-weight: 600;
}

.spec-value {
    font-size: 1.4rem; /* Big */
    color: white;
    font-weight: 700; /* Bold */
    text-transform: uppercase;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

.status-dot.online { background-color: #00ff88; box-shadow: 0 0 10px #00ff88; }
.status-dot.offline { background-color: #ff4444; }

.action-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.btn-explore {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.5s ease;
    padding-bottom: 5px;
    border-bottom: 1px solid transparent;
}

.btn-explore .arrow {
    font-size: 1.5rem;
    transition: transform 0.5s ease;
}

.btn-explore:hover {
    border-bottom-color: white;
    gap: 25px;
}

.btn-explore:hover .arrow {
    transform: translateX(10px);
}

.btn-group {
    display: flex;
    gap: 15px;
}

.btn-premium {
    padding: 15px 35px;
    border: 1px solid white;
    background: transparent;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.btn-premium:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-premium:hover {
    color: black;
}

.btn-buy {
    background: white;
    color: black;
}

.btn-buy::before {
    background: black;
}

.btn-buy:hover {
    color: white;
}

/* --- General Animations --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* --- Auth Pages --- */
.auth-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    padding-top: 100px; /* Account for navbar */
    /* background-color: #000; Removed to allow body texture */
}

.auth-card {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px 40px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

.auth-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: white;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    color: #aaa;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 15px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-family: var(--font-main);
    outline: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.05);
}

.password-toggle {
    position: absolute;
    right: 15px;
    bottom: 15px;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
    line-height: 1;
}

.password-toggle:hover {
    color: white;
}

.auth-link {
    display: block;
    margin-top: 25px;
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-link:hover {
    color: white;
}

.alert {
    padding: 15px;
    margin-bottom: 25px;
    background: rgba(255, 50, 50, 0.1);
    border: 1px solid rgba(255, 50, 50, 0.3);
    color: #ff6666;
    font-size: 0.9rem;
}

/* --- Checkout Page --- */
.checkout-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 20px 50px;
}

.checkout-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 600px;
}

.summary {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .product-section {
        height: auto;
        min-height: 100vh;
        position: relative; /* Disable sticky for better scrolling on mobile */
        top: auto;
        display: block; /* Remove flex centering to allow natural flow */
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .product-card {
        flex-direction: column;
        height: auto; /* Allow content to dictate height, or min-height */
        min-height: 80vh;
        width: 95%;
        margin-top: 20px; /* spacing */
    }
    
    .product-image-container {
        height: 300px; /* Fixed height for image area on mobile */
        flex: none;
        width: 100%;
    }

    .product-image {
        max-width: 100%;
        max-height: 100%;
        object-fit: cover; /* Fill the area */
    }
    
    .product-info {
        padding: 20px;
        height: auto;
        flex: none;
        width: 100%;
    }
    
    .product-title {
        font-size: 2.5rem; /* Slightly larger for impact */
    }
    
    .hero h1 {
        font-size: 3rem;
        line-height: 1.1;
    }

    .hero p {
        width: 90%;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .product-title {
        font-size: 2rem;
    }

    .product-specs {
        grid-template-columns: 1fr 1fr; /* Keep side by side if fits */
        gap: 10px;
    }
    
    .product-card {
        width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

/* --- Cart Sidebar --- */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px; /* Hidden by default */
    width: 400px;
    height: 100%;
    background: rgba(15, 15, 19, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--glass-border);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.cart-sidebar.open,
.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
}

.cart-header h2 {
    font-family: var(--font-headlines);
    font-size: 1.8rem;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    background: #222;
    border-radius: 8px;
    overflow: hidden;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.cart-item-details p {
    font-size: 0.8rem;
    color: #aaa;
}

.cart-item-price {
    color: var(--accent-color);
    margin-top: 5px;
}

.remove-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 1.2rem;
}

.cart-footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
    margin-top: auto;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-family: var(--font-headlines);
}

/* --- Social Icons (Premium Look) --- */
.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #888;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon svg {
    transition: transform 0.3s ease;
}

.social-icon:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-icon:hover svg {
    transform: scale(1.1);
}

/* --- Size & Quantity Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.size-modal {
    background: #1a1a1f;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    border: 1px solid var(--glass-border);
    animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

.size-modal h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: white;
}

.modal-section {
    margin-bottom: 25px;
    text-align: left;
}

.modal-label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-option {
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
    font-weight: 500;
}

.size-option:hover, .size-option.selected {
    background: white;
    color: black;
    border-color: white;
}

/* Quantity Selector */
.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    width: fit-content;
    overflow: hidden;
}

.qty-btn {
    background: transparent;
    border: none;
    color: white;
    padding: 10px 15px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
}

.qty-btn:hover {
    background: rgba(255,255,255,0.1);
}

#modal-qty {
    background: transparent;
    border: none;
    color: white;
    width: 50px;
    text-align: center;
    font-size: 1.1rem;
    -moz-appearance: textfield;
}

#modal-qty::-webkit-outer-spin-button,
#modal-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.btn-cancel {
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.btn-cancel:hover {
    color: white;
}

@keyframes scaleUp {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Toast Notification */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.toast {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    border: 1px solid var(--glass-border);
    margin-top: 10px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-family: var(--font-main);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-success {
    border-left: 3px solid #28a745;
}

.toast-error {
    border-left: 3px solid #ff4444;
}

/* --- Fullscreen Menu Overlay --- */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.menu-links a {
    font-family: var(--font-headlines); /* Changed to Headlines font */
    font-size: 1.5rem; /* Increased size slightly for headlines font */
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #888; /* Muted color initially */
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.menu-overlay.active .menu-links a {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays for menu items */
.menu-overlay.active .menu-links a:nth-child(1) { transition-delay: 0.1s; }
.menu-overlay.active .menu-links a:nth-child(2) { transition-delay: 0.15s; }
.menu-overlay.active .menu-links a:nth-child(3) { transition-delay: 0.2s; }
.menu-overlay.active .menu-links a:nth-child(4) { transition-delay: 0.25s; }
.menu-overlay.active .menu-links a:nth-child(5) { transition-delay: 0.3s; }
.menu-overlay.active .menu-links a:nth-child(6) { transition-delay: 0.35s; }
.menu-overlay.active .menu-links a:nth-child(7) { transition-delay: 0.4s; }
.menu-overlay.active .menu-links a:nth-child(8) { transition-delay: 0.45s; }
.menu-overlay.active .menu-links a:nth-child(9) { transition-delay: 0.5s; }

.menu-links a:hover {
    color: white; /* Bright white on hover */
    letter-spacing: 5px; /* Expand slightly */
}

/* Optional: Active indicator line */
.menu-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 1px;
    background-color: white;
    transition: transform 0.4s ease;
}

.menu-links a:hover::after {
    transform: translateX(-50%) scaleX(0.5); /* Small underline */
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.close-menu:hover {
    transform: rotate(90deg);
}

/* --- Footer --- */
.site-footer {
    background: #050505;
    border-top: 1px solid var(--glass-border);
    padding: 80px 50px 40px;
    margin-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.footer-brand h2 {
    font-family: var(--font-headlines);
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
    letter-spacing: 2px;
}

.footer-brand p {
    font-family: var(--font-headlines);
    color: #888;
    line-height: 1.6;
    max-width: 300px;
    font-size: 1rem;
}

.footer-col h4 {
    font-family: var(--font-headlines);
    font-size: 1.2rem;
    text-transform: uppercase;
    color: white;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    font-family: var(--font-headlines);
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

.footer-col ul li a:hover {
    color: white;
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.newsletter-form input {
    background: transparent;
    border: none;
    color: white;
    padding: 10px 0;
    width: 100%;
    outline: none;
}

.newsletter-form button {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-family: var(--font-headlines);
    letter-spacing: 1px;
}

/* Fine Print Section */
.fine-print-section {
    padding: 120px 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.fine-print-label {
    font-family: var(--font-main);
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    display: block;
}

.fine-print-text {
    font-family: var(--font-display);
    font-size: 2.5rem;
    line-height: 1.3;
    color: white;
}

@media (max-width: 768px) {
    .fine-print-section {
        padding: 80px 20px;
    }
    .fine-print-text {
        font-size: 1.8rem;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 0 50px 100px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1; /* Square tiles */
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.1), 
                0 10px 30px rgba(0, 0, 0, 0.5); /* Underglow effect */
    transition: box-shadow 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.2), 
                0 15px 40px rgba(0, 0, 0, 0.6);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}


@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* 1 column on small phones */
    }
    
    .gallery-section {
        padding: 0 20px 60px;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 0 20px 80px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .site-footer {
        padding: 60px 20px 30px;
        margin-top: 60px;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .cart-sidebar.open,
    .cart-sidebar.active {
        right: 0;
    }
    
    .action-wrapper {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 20px;
    }
    
    .btn-group {
        width: 100%;
        gap: 10px;
    }
    
    .btn-premium {
        flex: 1;
        text-align: center;
        padding: 15px 5px;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .btn-explore {
        width: 100%;
        justify-content: center;
        margin-left: 0 !important; /* Override inline style */
    }
}
