/* F3 Cyberpunk Theme // JSON Tool */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700;800&display=swap');

:root {
    --bg-dark: #050505;
    --bg-panel: #0a0a0a;
    --neon-cyan: #00f3ff;
    --neon-pink: #ff00ff;
    --neon-yellow: #fcee0a;
    --neon-green: #4ade80;
    --neon-red: #ef4444;
    
    --text-main: #e0e0e0;
    --text-dim: #6b7280;
    --border-dim: #1f2937; /* gray-800 */
}

/* --- Base Reset --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'JetBrains Mono', monospace;
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- Cyberpunk Components --- */

.cyber-grid-bg {
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: -1;
    pointer-events: none;
}

/* Buttons */
.cyber-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.05);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    outline: none;
}
.cyber-btn:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}
.cyber-btn:active { transform: translateY(1px); }

.cyber-btn-secondary {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    background: rgba(255, 0, 255, 0.05);
}
.cyber-btn-secondary:hover {
    background: var(--neon-pink);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
}

.cyber-btn-third {
    border-color: var(--neon-yellow);
    color: var(--neon-yellow);
    background: rgba(255, 0, 255, 0.05);
}
.cyber-btn-third:hover {
    background: var(--neon-yellow);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
}

.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    background: rgba(0, 243, 255, 0.05);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    outline: none;
}
/* --- Utility Classes (Tailwind Compat) --- */

/* Layout */
.container { max-width: 1400px; margin: 0 auto; padding: 0 1rem; width: 100%; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-grow { flex-grow: 1; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.h-screen { height: 100vh; }
.h-full { height: 100%; }
.w-full { width: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-40 { z-index: 40; }
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* Flex Alignment */
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mt-auto { margin-top: auto; }

/* Typography */
.font-mono { font-family: 'JetBrains Mono', monospace; }
.font-bold { font-weight: 700; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
/* Special tailwind arbitrary value approximation */
.text-\[10px\] { font-size: 10px; } 
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.whitespace-pre { white-space: pre; }
.block { display: block; }
.hidden { display: none; }

/* Colors - Text */
.text-white { color: #fff; }
.text-black { color: #000; }
.text-gray-300 { color: #d1d5db; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-cyan { color: var(--neon-cyan); }
.text-pink { color: var(--neon-pink); }
.text-green-400 { color: var(--neon-green); }
.text-green-500 { color: #22c55e; }
.text-yellow-500 { color: var(--neon-yellow); }
.text-red-200 { color: #fecaca; }

/* Colors - Backgrounds & Borders */
.bg-black { background-color: #000; }
.bg-gray-900 { background-color: #111827; }
.bg-transparent { background-color: transparent; }
.border-b { border-bottom-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-style: solid; }
.border-r { border-right-width: 1px; border-style: solid; }
.border-gray-800 { border-color: var(--border-dim); }
.border-red-500 { border-color: var(--neon-red); }

/* Opacity Variants (Escaped selectors for /) */
.bg-gray-900\/50 { background-color: rgba(17, 24, 39, 0.5); }
.bg-gray-900\/20 { background-color: rgba(17, 24, 39, 0.2); }
.bg-red-900\/90 { background-color: rgba(127, 29, 29, 0.9); }
.opacity-20 { opacity: 0.2; }

/* Effects */
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.pointer-events-none { pointer-events: none; }

/* Hover States */
.hover\:text-white:hover { color: #fff; }
.hover\:text-cyan:hover { color: var(--neon-cyan); }
.transition-colors { transition: color 0.2s, border-color 0.2s, background-color 0.2s; }

/* Responsive */
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}