:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-dark: #000000;
    --bg-card: #1c1c1e;
    --accent-gold: #d4af37;
    --accent-amber: #ffb300;
    --accent-glow: rgba(212, 175, 55, 0.4);
    --text-main: #e0e0e0;
    --text-heading: #ffffff;
    --text-muted: #555555;
    --font-family: 'Playfair Display', 'Inter', system-ui, sans-serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    --layout-max: 1300px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 4px;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Film Grain Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,%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)"/%3E%3C/svg%3E');
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family);
    color: var(--text-heading);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    letter-spacing: -2px;
}

/* Gradients & Glows */
.gold-text {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gold-glow {
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 5%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.logo {
    font-family: var(--font-family);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo span {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-icons a {
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.cart-icon-container {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-gold) !important;
}

.cart-count {
    background: var(--accent-gold);
    color: var(--bg-dark);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
    transition: transform 0.2s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    font-family: var(--font-sans);
    padding: 1rem 2.5rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    border-radius: 2px;
}

.btn-solid {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
    color: var(--bg-dark);
}

.btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    position: relative;
    background-color: var(--bg-dark);
    text-align: center;
}

.hero-bg-light {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-top: 5rem;
}

.hero-content h1 {
    font-size: 6rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-content p {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    color: #bbbbbb;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Sections */
.section {
    padding: 8rem 5%;
}

.section-bg-alt {
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-family: var(--font-sans);
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    max-width: var(--layout-max);
    margin: 0 auto;
}

.product-card {
    background: var(--bg-card);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
}

.product-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: #1A1A1A;
    border: 1px solid var(--accent-gold);
    font-family: var(--font-sans);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 1px;
    padding: 0.4rem 1rem;
    z-index: 2;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-info {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.product-desc {
    font-family: var(--font-sans);
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
    font-weight: 300;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-price {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-gold);
}

/* Page Headers */
.page-header {
    padding: 14rem 5% 6rem;
    background: var(--bg-dark);
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: linear-gradient(to top, var(--accent-gold), transparent);
}

.page-header h1 {
    font-size: 4rem;
}

/* Forms */
.form-container {
    max-width: 650px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-family: var(--font-sans);
    font-weight: 500;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
}

.form-control {
    width: 100%;
    padding: 1.2rem;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-heading);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: var(--bg-dark);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--bg-dark);
    border-left: 2px solid var(--accent-gold);
}

.checkbox-group input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--accent-gold);
}

.checkbox-group label {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: #aaaaaa;
    line-height: 1.6;
}

/* Layouts */
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: var(--layout-max);
    margin: 0 auto;
}

.cart-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    margin-bottom: 1.5rem;
    align-items: center;
}

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

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-family: var(--font-sans);
    color: var(--accent-gold);
    font-weight: 500;
    margin-bottom: 1rem;
}

.quantity-controls {
    display: inline-flex;
    align-items: center;
    background: var(--bg-dark);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.qty-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 10px;
    transition: color 0.2s;
}

.qty-btn:hover {
    color: var(--accent-gold);
}

.remove-btn {
    background: transparent;
    border: none;
    font-family: var(--font-sans);
    color: #ff4444;
    font-weight: 500;
    cursor: pointer;
    margin-left: 1rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.cart-summary {
    background: var(--bg-card);
    padding: 3rem;
    position: sticky;
    top: 120px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.cart-summary h3 {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-row {
    font-family: var(--font-sans);
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.summary-total {
    font-family: var(--font-sans);
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-gold);
}

/* Product Details */
.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: var(--layout-max);
    margin: 0 auto;
}

.detail-img {
    width: 100%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.detail-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-category {
    font-family: var(--font-sans);
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.detail-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.detail-price {
    font-family: var(--font-sans);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 2.5rem;
}

.detail-desc {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: #aaaaaa;
    line-height: 1.8;
    margin-bottom: 3.5rem;
    font-weight: 300;
}

.detail-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 2.2rem;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.legal-content p,
.legal-content li {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: #aaaaaa;
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-weight: 300;
}

.legal-content ul {
    list-style: disc inside;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background: var(--bg-dark);
    padding: 8rem 5% 3rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 5rem;
    max-width: var(--layout-max);
    margin: 0 auto 5rem;
}

.footer-brand p {
    font-family: var(--font-sans);
    color: var(--text-muted);
    margin-top: 1.5rem;
    font-weight: 300;
}

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    color: var(--accent-gold);
}

.footer-col a {
    font-family: var(--font-sans);
    display: block;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--accent-amber);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: #666;
}

/* Toasts */
#toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toast {
    font-family: var(--font-sans);
    background: var(--bg-card);
    color: var(--text-main);
    padding: 1.2rem 2rem;
    font-weight: 500;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--accent-gold);
    border-left: 6px solid var(--accent-gold);
    animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards, fadeOut 0.4s ease 3.5s forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        display: none;
    }
}

/* Animations */








@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .cart-layout,
    .product-details,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
/* --- Visibility Protocol CSS --- */
.reveal {
    opacity: 1;
    transform: none;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.reveal.js-hidden {
    opacity: 0;
    transform: translateY(40px);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
