:root {
    /* Deep Mystic Luxury Palette - Dark Mode */
    --bg-void: #05020a;
    /* Deepest Black-Purple */
    --bg-nebula: #1a0b2e;
    /* Rich Purple/Blue */

    --primary-color: #b388eb;
    /* Quantum Purple */
    --primary-glow: #9d4edd;
    /* Deep Glow */

    --accent-color: #d4af37;
    /* Royal Gold */
    --accent-glow: #ffd700;
    /* Bright Gold Glow */

    --text-primary: #f0f0f0;
    /* Stardust White */
    --text-secondary: #b0b0b0;
    /* Muted Grey */

    --glass-surface: rgba(20, 10, 30, 0.6);
    --glass-border: 1px solid rgba(255, 215, 0, 0.15);

    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;

    --transition-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
    background-color: var(--bg-void);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    /* Subtle Nebula Background */
    background-image:
        radial-gradient(circle at 10% 20%, rgba(106, 13, 173, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(16, 4, 30, 0.8) 0%, transparent 100%);
    background-attachment: fixed;
    background-size: cover;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
}

h3 {
    font-size: 1.8rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(179, 136, 235, 0.3);
}

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

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

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

a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
    position: relative;
}

/* Glass Components */
.glass-panel {
    background: var(--glass-surface);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(179, 136, 235, 0.1);
}

/* Buttons */
.btn-luxury {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-fast);
}

.btn-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: -1;
}

.btn-luxury:hover {
    color: var(--bg-void);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    border-color: transparent;
}

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

/* Navigation */
header {
    background: rgba(5, 2, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.05);
}

.nav-links a {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Footer */
footer {
    background: #020105;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

footer h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

footer a {
    color: var(--text-secondary);
}

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

/* Helpers */
.w-100 {
    width: 100%;
}

.mb-4 {
    margin-bottom: 2rem;
}

.text-center {
    text-align: center;
}

/* Product/Card Specifics */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
}

.card-img {
    height: 250px;
    background: #111;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.card-price {
    font-family: 'Courier New', monospace;
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* --- HEADER BEAUTIFICATION --- */

/* Mystic Nav Links */
.nav-link-mystic {
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-link-mystic::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), left 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 0 10px var(--accent-color);
}

.nav-link-mystic:hover {
    color: #fff !important;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.6),
        0 0 20px var(--primary-glow);
}

.nav-link-mystic:hover::after {
    width: 100%;
    left: 0;
}

/* Logo Pulse */
.logo-pulse {
    transition: filter 0.5s ease;
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
}

.logo-pulse:hover {
    filter: drop-shadow(0 0 15px rgba(179, 136, 235, 0.6));
}

/* Jewel Button for Header */
.btn-jewel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 0 10px rgba(255, 215, 0, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 30px;
    /* Pill shape */
    transition: all 0.3s ease;
}

.btn-jewel:hover {
    border-color: var(--accent-color);
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.3),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
}