/* --- GLOBAL SPACE CORE STYLES --- */
body {
    background-color: #050508;
    color: #e0e0e0;
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 0;

    /* CUSTOM CURSOR: Holographic neon blue arrow */
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%2300f2ff" stroke="%23000000" stroke-width="1" d="M5.5 3.5 L5.5 19.5 L9.5 15.5 L13.5 22.5 L15.5 21.5 L11.5 14.5 L18.5 14.5 Z"/></svg>') 5 3, auto;

    /* DYNAMIC BACKGROUND ENGINE: Drifting Stars */
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 90px 40px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 160px 120px, #ffffff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 250px 250px, 1000px 1000px;
    animation: driftLoop 300s linear infinite;
}

/* Hover Cursor (Red Target) */
button, a, input, textarea {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ff003c" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="4"></circle></svg>') 12 12, pointer;
}

/* --- HEADER & NAVIGATION --- */
header {
    background-color: #0a0a0f;
    border-bottom: 2px solid #00f2ff;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

h1 {
    color: #00f2ff;
    text-shadow: 0 0 10px #00f2ff;
    letter-spacing: 3px;
    margin: 0 0 10px 0;
}

header p { color: #888; margin-top: 0; letter-spacing: 2px; text-transform: uppercase; }

nav ul { list-style-type: none; padding: 0; margin-top: 20px; }
nav ul li { display: inline-block; margin: 5px 15px; }
nav ul li a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 5px 10px;
    transition: 0.3s;
}
nav ul li a:hover {
    background-color: #00f2ff;
    color: #000;
    box-shadow: 0 0 10px #00f2ff;
}

/* --- MAIN CONTENT & NEON BUTTONS --- */
main {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background-color: #11111a;
    border: 1px solid #333;
    border-radius: 5px;
}

h2 { color: #00f2ff; border-bottom: 1px solid #333; padding-bottom: 10px; }

input, textarea {
    background-color: #000;
    color: #00f2ff;
    border: 1px solid #00f2ff;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace;
    margin-bottom: 15px;
}

button {
    background-color: transparent;
    color: #00f2ff;
    border: 1px solid #00f2ff;
    padding: 10px 20px;
    font-family: 'Courier New', Courier, monospace;
    text-transform: uppercase;
    transition: 0.3s;
    width: 100%;
}
button:hover { background-color: #00f2ff; color: #000; }

/* --- TERMINAL E-COMMERCE GRID (Shop) --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.product-card {
    background-color: rgba(0, 242, 255, 0.02);
    border: 1px solid #00f2ff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: inset 0 0 15px rgba(0, 242, 255, 0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

.product-card h3 { color: #e0e0e0; font-size: 1.1rem; margin-top: 0; }
.product-card p { font-size: 0.85rem; color: #aaa; margin-bottom: 10px; }
.product-card .price {
    color: #00ff00; /* Hacker Green for prices */
    font-weight: bold;
    font-size: 1.2rem;
    margin: 15px 0;
    text-shadow: 0 0 5px #00ff00;
}

/* --- ANIMATIONS --- */
@keyframes driftLoop {
    from { background-position: 0 0, 0 0; }
    to { background-position: -1000px -200px, -2000px 0; }
}

footer { text-align: center; padding: 20px; color: #555; font-size: 0.8rem; margin-top: 50px; }