/* --- ROOT VARIABLES --- */
:root {
    --bg: #050505;
    --primary: #00f2ff; /* Modern Neon Cyan */
    --accent: #7000ff;  /* Cyber Purple */
    --text: #e0e6ed;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border: rgba(0, 242, 255, 0.15);
    --white: #ffffff;
    --text-muted: #94a3b8;
}

/* --- GLOBAL STYLES --- */
* { margin: 0; padding: 0; box-sizing: border-box; cursor: crosshair; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- BACKGROUND & EFFECTS --- */
.grid-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    opacity: 0.3;
}

.scanline {
    width: 100%; height: 5px;
    background: rgba(0, 242, 255, 0.1);
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 100;
    animation: scan 6s linear infinite;
}

@keyframes scan {
    0% { top: -100px; }
    100% { top: 100%; }
}

/* --- NAVIGATION --- */
header {
    padding: 1.5rem 10%;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 50;
    background: rgba(5, 5, 5, 0.8);
}

nav { display: flex; justify-content: space-between; align-items: center; }

/* REVERTED: NAVIGATION LOGO (TEXT-BASED) */
.logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900; 
    font-size: 1.4rem;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
    display: flex;
    align-items: center;
}

.logo span { 
    font-family: 'JetBrains Mono', monospace; 
    font-weight: 400; 
}

/* RE-ENABLED: TERMINAL CURSOR BLINK */
.cursor-blink { 
    animation: blink 1s step-end infinite; 
    color: #fff; 
}

@keyframes blink { 
    50% { opacity: 0; } 
}

nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 2rem; }
nav ul li a { 
    color: var(--text); 
    text-decoration: none; 
    font-size: 0.8rem; 
    letter-spacing: 2px;
    transition: 0.3s;
}
nav ul li a:hover, nav ul li a.active { color: var(--primary); text-shadow: 0 0 5px var(--primary); }

/* --- HERO SECTION --- */
.hero {
    height: 80vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 10vw, 6rem);
    margin-bottom: 1rem;
    background: linear-gradient(to bottom, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(0, 242, 255, 0.3));
}

.subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    min-height: 1.6em;
}

/* --- GRID & CARDS --- */
.section-title {
    color: var(--primary);
    margin: 4rem 0 2rem; text-align: center;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 8px; font-size: 0.9rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem; padding: 0 10%;
}

.card, .item-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2.5rem;
    transition: transform 0.1s ease-out, border 0.3s;
    transform-style: preserve-3d;
}

.card:hover, .item-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(0, 242, 255, 0.1);
}

.tag { color: var(--accent); font-size: 0.7rem; font-weight: bold; margin-bottom: 1rem; letter-spacing: 2px; }

/* --- PRODUCT IMAGES (INDEX) --- */
.card-img-wrapper {
    width: 100%;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.home-card-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 242, 255, 0.2));
    transition: 0.3s ease;
}

.item-card:hover .home-card-img {
    transform: scale(1.1);
    filter: drop-shadow(0 5px 20px rgba(0, 242, 255, 0.4));
}

/* --- ARSENAL SPECIFIC LAYOUT --- */
.arsenal-header { text-align: center; margin-bottom: 4rem; }
.arsenal-header h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 3.5rem; margin: 1rem 0; }

.featured-pick {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 4rem;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
}

.flex-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.pick-info { flex: 1; }
.pick-badge {
    position: absolute;
    top: 2rem; left: 2rem;
    background: var(--primary);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.pick-image {
    flex: 0 0 350px;
    display: flex;
    justify-content: center;
}

.pick-image img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

.spec-list { list-style: none; margin-bottom: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.spec-list li { font-size: 0.9rem; color: var(--text); }
.spec-list strong { color: var(--primary); }

/* --- BUTTONS --- */
.btn-primary {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    letter-spacing: 2px;
}

.btn-primary:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px var(--primary);
}

.btn-amazon {
    display: inline-block;
    background: #FF9900; 
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-amazon:hover { background: #e68a00; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(255, 153, 0, 0.2); }

.btn-sm {
    display: block;
    text-align: center;
    background: var(--border);
    color: var(--primary);
    padding: 0.6rem;
    text-decoration: none;
    font-size: 0.7rem;
    margin-top: 1.5rem;
    border: 1px solid transparent;
}

/* --- FOOTER --- */
footer {
    margin-top: 8rem;
    padding: 4rem 10%;
    border-top: 1px solid var(--border);
    background: rgba(0,0,0,0.5);
}

.disclaimer { color: var(--accent); font-size: 0.7rem; margin-bottom: 1rem; font-weight: bold; }
footer p { font-size: 0.7rem; opacity: 0.6; }

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 992px) {
    .flex-layout {
        flex-direction: column-reverse;
        text-align: center;
    }
    .pick-image {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    * { cursor: auto; }
    header { padding: 1rem 5%; }
    nav { flex-direction: column; gap: 1rem; }
    nav ul { gap: 1rem; justify-content: center; width: 100%; }
    .hero h1 { font-size: 2.5rem; }
    .grid { padding: 0 5%; grid-template-columns: 1fr; }
    .featured-pick { padding: 2rem 1.5rem; }
    .pick-info h2 { font-size: 1.8rem; }
    .spec-list { grid-template-columns: 1fr; }
    .btn-primary, .btn-amazon, .btn-sm {
        width: 100%;
        text-align: center;
    }
}