:root {
    /* --- COLOR PALETTE --- */
    --color-bg-dark: #020408;
    --color-panel: #111318;
    --color-accent-primary: #ffea00; /* Banana Yellow */
    --color-accent-secondary: #00f0ff; /* Cyan */
    --color-text-main: #ffffff;
    
    /* --- SHADOWS & GLOWS --- */
    --glow-primary: 0 0 30px -5px rgba(255, 234, 0, 0.3);
    --glow-secondary: 0 0 30px -5px rgba(0, 240, 255, 0.3);
    
    /* --- FONTS --- */
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    font-family: var(--font-sans);
}

/* --- SELECTION CONTROL --- */
body { user-select: none; -webkit-user-select: none; }
p, h1, h2, h3, h4, h5, h6, span, td, th, li, blockquote, pre, code, .prose { user-select: text; -webkit-user-select: text; }
input, textarea { user-select: text; -webkit-user-select: text; }

/* --- UTILITIES --- */
.glass {
    background: rgba(17, 19, 24, 0.95); /* Slightly darker for better contrast */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 234, 0, 0.1);
}

.text-glow { text-shadow: 0 0 20px rgba(255, 234, 0, 0.5); }
.gradient-text {
    background: linear-gradient(to right, var(--color-accent-primary), var(--color-accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- BACKGROUND PATTERN --- */
.circuit-bg {
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(255,234,0,0.05) 1px, transparent 0),
        linear-gradient(to right, rgba(255,255,255,0.01) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.01) 1px, transparent 1px);
    background-size: 30px 30px, 60px 60px, 60px 60px;
}

/* --- IMAGE STYLES (Clean & Natural) --- */
.cyber-img-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    /* REMOVED: mix-blend-mode and opacity */
    transition: all 0.5s ease;
}

.cyber-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* REMOVED: grayscale and low brightness */
    /* Added slight brightness boost for dark themes */
    filter: brightness(100%); 
    transition: all 0.5s ease;
}

/* --- HOVER EFFECTS (Clean Zoom) --- */
.card-hover { transition: all 0.3s ease; }

.card-hover:hover { 
    border-color: var(--color-accent-secondary); 
    box-shadow: var(--glow-secondary); 
    transform: translateY(-5px); 
}

.card-hover:hover .cyber-img {
    /* REMOVED: sepia/hue-rotate filters */
    transform: scale(1.1); /* Just a clean zoom */
}

/* --- SCROLL BAR --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg-dark); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-accent-primary); }

/* --- TOAST NOTIFICATION --- */
#toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 100; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--color-panel); border-left: 4px solid var(--color-accent-primary); color: white; padding: 1rem; border-radius: 4px; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5); font-family: var(--font-mono); font-size: 0.875rem; animation: slideIn 0.3s ease-out forwards; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* --- TICKER ANIMATION --- */
@keyframes marquee { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
.animate-marquee { display: inline-block; white-space: nowrap; animation: marquee 20s linear infinite; padding-left: 100%; }
.animate-marquee:hover { animation-play-state: paused; }

/* --- CLEAN INPUTS --- */
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }
.qty-btn { transition: all 0.2s ease; cursor: pointer; user-select: none; }
.qty-btn:active { background-color: var(--color-accent-primary); color: black; }

/* --- PRODUCT CARD STYLES --- */
.product-card {
    background: rgba(17, 19, 24, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.product-card:hover {
    background: rgba(17, 19, 24, 0.9);
    border-color: rgba(255, 234, 0, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 234, 0, 0.1);
    transform: translateY(-4px);
}

/* --- CATEGORY CARD STYLES --- */
.category-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    text-decoration: none;
}
/* === ACCESSIBILITY IMPROVEMENTS === */
/* Improved text contrast for WCAG AA compliance */
.text-gray-400 {
    color: #a8b3cf !important;
}

.text-gray-500 {
    color: #8892b0 !important;
}

/* Better link contrast */
a.text-gray-400:hover,
a.text-gray-500:hover {
    color: #ffea00 !important;
}

/* Screen reader only class for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
