/* PROJECT: torzonmarket.help */
/* THEME: Crimson Tactical (Red/Carbon/Tech) */

:root {
    --bg-core: #0a0a0a;
    --bg-panel: #141414;
    --primary-red: #ff3333;
    --primary-dim: #8a1c1c;
    --accent-grey: #2a2a2a;
    --text-main: #e0e0e0;
    --text-muted: #888;
    --font-tech: 'Courier New', monospace;
    --font-ui: 'Segoe UI', sans-serif;
    --scanline: rgba(255, 51, 51, 0.03);
}

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

body {
    background-color: var(--bg-core);
    color: var(--text-main);
    font-family: var(--font-ui);
    line-height: 1.8;
    background-image: 
        linear-gradient(rgba(10,10,10,0.9), rgba(10,10,10,0.9)),
        repeating-linear-gradient(0deg, transparent, transparent 1px, var(--scanline) 1px, var(--scanline) 2px);
    background-size: cover;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 { text-transform: uppercase; letter-spacing: 1px; }
h1 { 
    font-size: 3rem; 
    color: #fff; 
    border-left: 5px solid var(--primary-red); 
    padding-left: 20px;
    margin-bottom: 30px;
    text-shadow: 0 0 15px rgba(255, 51, 51, 0.5);
}
h2 { 
    color: var(--primary-red); 
    font-size: 1.8rem; 
    border-bottom: 1px solid var(--accent-grey); 
    padding-bottom: 10px; 
    margin: 40px 0 20px;
    background: linear-gradient(90deg, rgba(255,51,51,0.1), transparent);
}
h3 { font-size: 1.3rem; margin-top: 25px; color: #fff; }
p { margin-bottom: 20px; color: #ccc; }
a { color: var(--primary-red); text-decoration: none; font-weight: bold; transition: 0.3s; }
a:hover { color: #fff; text-shadow: 0 0 10px var(--primary-red); }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.grid-main { display: grid; grid-template-columns: 280px 1fr; gap: 40px; margin-top: 50px; }

/* Components: Header */
header {
    background: rgba(15, 15, 15, 0.95);
    border-bottom: 2px solid var(--primary-red);
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 5px 30px rgba(255, 0, 0, 0.1);
}
.nav-bar { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { font-family: var(--font-tech); font-weight: 900; font-size: 1.4rem; color: #fff; letter-spacing: 2px; }
.logo span { color: var(--primary-red); }
.nav-links a { margin-left: 30px; font-size: 0.85rem; color: #aaa; text-transform: uppercase; letter-spacing: 1px; }
.nav-links a.active { color: var(--primary-red); border-bottom: 2px solid var(--primary-red); padding-bottom: 5px; }

/* Components: Hero */
.hero {
    text-align: center;
    padding: 100px 0;
    background: radial-gradient(circle at center, rgba(138, 28, 28, 0.15) 0%, transparent 70%);
    border-bottom: 1px solid var(--accent-grey);
}
.hero-badge {
    display: inline-block;
    background: var(--primary-red);
    color: #000;
    font-weight: bold;
    padding: 5px 10px;
    font-family: var(--font-tech);
    font-size: 0.8rem;
    margin-bottom: 20px;
}
.btn-cta {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    padding: 15px 50px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255,51,51,0.2);
}
.btn-cta::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: var(--primary-red); transition: 0.4s; z-index: -1;
}
.btn-cta:hover::before { left: 0; }
.btn-cta:hover { color: #fff; box-shadow: 0 0 40px var(--primary-red); }

/* Components: Panels & Sidebar */
.panel {
    background: var(--bg-panel);
    border: 1px solid var(--accent-grey);
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
}
.panel::after { /* Tech Corner */
    content: ''; position: absolute; top: 0; right: 0; 
    border-width: 0 30px 30px 0; border-style: solid; 
    border-color: transparent var(--primary-red) transparent transparent; 
    opacity: 0.5;
}

.sidebar ul { list-style: none; }
.sidebar li { border-bottom: 1px solid #222; }
.sidebar a { display: block; padding: 15px; color: #aaa; font-family: var(--font-tech); font-size: 0.9rem; }
.sidebar a:hover, .sidebar a.active { background: #1a1a1a; color: var(--primary-red); padding-left: 20px; }

/* Utility */
.highlight-box {
    border-left: 4px solid var(--primary-red);
    background: rgba(255, 51, 51, 0.05);
    padding: 20px;
    margin: 20px 0;
}
.tech-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.tech-table th { text-align: left; padding: 15px; color: var(--primary-red); background: #1a1a1a; font-family: var(--font-tech); }
.tech-table td { padding: 15px; border-bottom: 1px solid #333; }

/* Status Dot Animation */
.dot { height: 10px; width: 10px; background-color: #00ff00; border-radius: 50%; display: inline-block; margin-right: 5px; box-shadow: 0 0 10px #00ff00; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

footer { margin-top: 80px; padding: 50px 0; border-top: 2px solid var(--primary-red); text-align: center; color: #555; background: #000; font-family: var(--font-tech); }

@media (max-width: 800px) {
    .grid-main { grid-template-columns: 1fr; }
    .nav-bar { flex-direction: column; height: auto; padding: 20px 0; }
    .nav-links { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
    .nav-links a { margin: 0; }
}
