/* VARIABLES */
:root {
    --bg-dark: #0d0f12;
    --bg-panel: #161b22;
    --accent: #fb8500; /* Orange */
    --accent-light: #ffb703; /* Yellow */
    --text-main: #e6e6e6;
    --text-muted: #8b949e;
    --border-color: #30363d;
    --font-head: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* RESET & BASE */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-head);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* UTILS */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.highlight { color: var(--accent); }
.clip-corner {
    clip-path: polygon(
        0 0, 
        100% 0, 
        100% calc(100% - 15px), 
        calc(100% - 15px) 100%, 
        0 100%
    );
}

/* BACKGROUND EFFECTS */
.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MDAiIGhlaWdodD0iNTAwIj48ZmlsdGVyIGlkPSJnoiPjxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjY1IiBudW1PY3RhdmVzPSIzIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI2cpIiBvcGFjaXR5PSIwLjAzIi8+PC9zdmc+');
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}
.grid-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(48, 54, 61, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(48, 54, 61, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
}

/* HEADER */
.tactical-header {
    background: rgba(13, 15, 18, 0.95);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 1px;
}
.main-nav ul { display: flex; gap: 20px; }
.main-nav a {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--accent); }
.status-indicator {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    border: 1px solid var(--border-color);
    padding: 5px 10px;
    color: #00ff41;
}
.dot { height: 8px; width: 8px; background-color: #00ff41; border-radius: 50%; display: inline-block; margin-right: 5px; box-shadow: 0 0 5px #00ff41; }
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* HERO SECTION */
.hero-section {
    padding: 160px 0 80px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.badge-tech {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-light);
    margin-bottom: 15px;
}
h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.hero-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 40px;
}
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    margin-right: 15px;
}
.btn-primary {
    background-color: var(--accent);
    color: #000;
}
.btn-primary:hover { background-color: var(--accent-light); box-shadow: 0 0 15px rgba(251, 133, 0, 0.4); }
.btn-secondary {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}
.btn-secondary:hover { background: rgba(251, 133, 0, 0.1); }

/* VISUAL HERO ELEMENT */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hud-circle {
    width: 300px; height: 300px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem; color: var(--border-color);
    position: relative;
}
.hud-circle::before {
    content: ''; position: absolute; top: -10px; left: -10px; right: -10px; bottom: -10px;
    border: 1px dashed var(--accent); border-radius: 50%;
    animation: spin 20s linear infinite;
}
.stat-box {
    position: absolute; bottom: 0; right: 0;
    background: var(--bg-panel); border: 1px solid var(--border-color);
    padding: 10px; font-family: var(--font-mono); font-size: 0.8rem;
}

/* LINKS PREVIEW */
.links-preview-section { margin-top: -50px; position: relative; z-index: 10; padding-bottom: 50px; }
.tech-panel {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.panel-header {
    background: rgba(255,255,255,0.05);
    padding: 15px 30px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--border-color);
}
.panel-header h3 { font-family: var(--font-mono); color: var(--accent); font-size: 1.1rem; }
.code-id { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); }
.panel-body { padding: 30px; }
.mirror-row {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(0,0,0,0.2); border: 1px solid var(--border-color);
    padding: 15px; margin-top: 15px;
}
.onion-address { font-family: var(--font-mono); color: #fff; letter-spacing: 1px; }
.btn-sm { padding: 8px 15px; font-size: 0.8rem; }
.btn-accent { background: var(--accent); color: #000; }
.security-warning { margin-top: 20px; color: var(--accent-light); font-size: 0.9rem; font-family: var(--font-mono); }

/* CONTENT & SEO TEXT */
.content-section { padding: 80px 0; }
.seo-article { max-width: 800px; margin: 0 auto 60px; }
.seo-article h2 { font-size: 2.5rem; margin-bottom: 20px; color: var(--accent-light); }
.seo-article p { margin-bottom: 20px; font-size: 1.1rem; color: #ccc; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card {
    background: var(--bg-panel); border: 1px solid var(--border-color);
    padding: 30px; text-align: center; transition: 0.3s;
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.feature-card i { font-size: 2rem; color: var(--accent); margin-bottom: 20px; }

/* GUIDE PREVIEW */
.guide-preview { background: rgba(255,255,255,0.02); padding: 80px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-family: var(--font-mono); font-size: 2rem; }
.steps-container { display: flex; justify-content: space-between; gap: 30px; }
.step-item { flex: 1; border-left: 2px solid var(--accent); padding-left: 20px; }
.step-num { font-family: var(--font-mono); font-size: 3rem; color: rgba(255,255,255,0.1); font-weight: 700; line-height: 1; margin-bottom: 10px; }
.step-item h4 { font-size: 1.5rem; margin-bottom: 10px; color: var(--text-main); }

/* FAQ */
.faq-section { padding: 80px 0; max-width: 800px; margin: 0 auto; }
.faq-section h2 { margin-bottom: 40px; text-align: center; font-family: var(--font-mono); }
.faq-item { border-bottom: 1px solid var(--border-color); margin-bottom: 10px; }
.faq-question {
    padding: 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    background: var(--bg-panel);
}
.faq-question:hover { color: var(--accent); }
.faq-answer { display: none; padding: 20px; color: var(--text-muted); }
.faq-item.active .faq-answer { display: block; }
.faq-item.active i { transform: rotate(180deg); }

/* FOOTER */
.tactical-footer { background: #050608; padding: 60px 0 20px; border-top: 1px solid var(--border-color); margin-top: 80px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h5 { color: var(--accent); font-family: var(--font-mono); margin-bottom: 20px; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--accent-light); padding-left: 5px; }
.tech-data p { font-family: var(--font-mono); font-size: 0.9rem; color: var(--text-muted); border-bottom: 1px dashed #333; padding: 5px 0; }
.footer-bottom { text-align: center; font-size: 0.8rem; color: #555; padding-top: 20px; border-top: 1px solid #1a1a1a; }

/* ANIMATION */
@keyframes spin { 100% { transform: rotate(360deg); } }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    h1 { font-size: 2.5rem; }
    .hero-visual { display: none; }
    .main-nav { display: none; } /* Mobile Menu implementation needed via JS */
    .mobile-toggle { display: block; }
    .features-grid, .steps-container, .footer-top { grid-template-columns: 1fr; display: grid; }
    .hero-actions .btn { display: block; margin: 0 0 15px 0; width: 100%; }
    .mirror-row { flex-direction: column; gap: 10px; text-align: center; }
}
/* --- LINKS PAGE SPECIFIC STYLES --- */

/* Page Hero Breadcrumb */
.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(to bottom, #0d0f12 0%, #161b22 100%);
    border-bottom: 1px solid var(--border-color);
}
.breadcrumb {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Warning Box */
.warning-box {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff3333;
    display: flex;
    align-items: center;
    padding: 20px;
    margin-bottom: 40px;
}
.warn-icon {
    font-size: 2.5rem;
    color: #ff3333;
    margin-right: 20px;
}
.warn-text h4 {
    color: #ff3333;
    margin-bottom: 5px;
    font-family: var(--font-mono);
}
.warn-text p {
    font-size: 0.9rem;
    color: #ffd6d6;
}

/* Technical Table */
.tech-table-wrapper {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}
.table-header {
    display: flex;
    background: rgba(0,0,0,0.3);
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}
.table-row {
    display: flex;
    padding: 20px 15px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: 0.2s;
}
.table-row:hover {
    background: rgba(251, 133, 0, 0.05);
}
.active-row {
    background: rgba(0, 255, 65, 0.02);
    border-left: 2px solid #00ff41;
}

/* Columns */
.th-col, .td-col { flex: 1; }
.th-col:nth-child(3), .td-col:nth-child(3) { flex: 2; } /* Address column wider */
.status { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; }
.blink-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}
.green { background: #00ff41; box-shadow: 0 0 5px #00ff41; animation: blink 1.5s infinite; }
.yellow { background: var(--accent); box-shadow: 0 0 5px var(--accent); }
.address code {
    background: #000;
    padding: 5px 10px;
    border: 1px solid #333;
    color: var(--text-main);
    font-family: var(--font-mono);
}
.btn-copy {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 5px 10px;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    transition: 0.2s;
}
.btn-copy:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* PGP Block */
.pgp-verify-block {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 20px;
    border-top: 1px dashed var(--border-color);
}
.pgp-verify-block code {
    background: #000;
    padding: 2px 5px;
    margin: 0 10px;
    color: #666;
}

/* Long Read Layout */
.long-read-content { padding: 60px 0; }
.content-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 50px;
}
.toc-sidebar { position: sticky; top: 100px; height: fit-content; }
.toc-box {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: 20px;
}
.toc-box h4 {
    font-family: var(--font-mono);
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 0.9rem;
}
.toc-box ul li { margin-bottom: 10px; }
.toc-box ul li a {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    padding-left: 10px;
    border-left: 1px solid transparent;
}
.toc-box ul li a:hover {
    color: var(--text-main);
    border-left-color: var(--accent);
}

/* Main Text Typography */
.main-text h2 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin: 40px 0 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}
.main-text h3 {
    font-size: 1.3rem;
    color: var(--accent-light);
    margin: 30px 0 15px;
}
.main-text p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: #c9d1d9;
    line-height: 1.7;
}
.main-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
}
.main-text ul li {
    list-style: square;
    color: #c9d1d9;
    margin-bottom: 10px;
}
.tech-alert {
    background: rgba(251, 133, 0, 0.05);
    border-left: 3px solid var(--accent);
    padding: 15px;
    margin: 20px 0;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
}
.disclaimer-footer {
    margin-top: 60px;
    padding: 20px;
    background: #000;
    border: 1px solid #333;
    font-size: 0.8rem;
    color: #666;
}

/* Mobile Responsive for Table */
@media (max-width: 768px) {
    .content-layout { grid-template-columns: 1fr; }
    .toc-sidebar { display: none; } /* Hide TOC on mobile */
    .table-header { display: none; }
    .table-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        position: relative;
    }
    .td-col.action {
        position: absolute;
        top: 20px;
        right: 15px;
    }
    .td-col.address { width: 100%; }
    .address code { display: block; width: 100%; text-align: center; }
}

@keyframes blink { 50% { opacity: 0.4; } }
/* --- GUIDE PAGE SPECIFIC STYLES --- */

/* Hero Adjustment */
.guide-hero {
    background: linear-gradient(to bottom, #050608 0%, #1a1500 100%); /* Slight gold tint */
}
.progress-bar-container {
    margin-top: 40px;
    max-width: 600px;
}
.progress-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
    display: block;
    margin-bottom: 5px;
}
.progress-track {
    height: 4px;
    background: #333;
    width: 100%;
}
.progress-fill {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: 0.2s;
    box-shadow: 0 0 10px var(--accent);
}

/* Layout Grid */
.guide-content-section { padding: 60px 0; }
.guide-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
}

/* Sidebar Nav */
.sticky-nav {
    position: sticky;
    top: 100px;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: 20px;
}
.sticky-nav h4 {
    font-family: var(--font-mono);
    color: #fff;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    display: inline-block;
}
.scroll-nav li { margin-bottom: 12px; }
.scroll-nav a {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
    padding: 5px 0;
    transition: 0.3s;
}
.scroll-nav a:hover, .scroll-nav a.active-link {
    color: var(--accent);
    padding-left: 10px;
}
.help-box {
    margin-top: 30px;
    background: rgba(255,255,255,0.05);
    padding: 15px;
    text-align: center;
    border: 1px dashed #555;
}
.help-box i { font-size: 1.5rem; color: var(--accent); margin-bottom: 10px; }
.help-box p { font-size: 0.8rem; margin: 0; }
.help-box a { color: #fff; text-decoration: underline; }

/* Article Styling */
.guide-phase {
    margin-bottom: 80px;
    border-left: 1px solid #222;
    padding-left: 30px;
    position: relative;
}
.phase-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}
.phase-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 4rem;
    color: rgba(255,255,255,0.05);
    font-weight: 800;
    line-height: 1;
    margin-right: 20px;
    position: absolute;
    left: -20px;
    top: -30px;
    z-index: -1;
}
.guide-phase h2 {
    font-size: 2rem;
    color: var(--text-main);
    text-transform: uppercase;
}
.guide-phase h3 {
    font-size: 1.4rem;
    color: var(--accent-light);
    margin: 30px 0 15px;
}
.guide-phase p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.8;
}

/* Special Elements */
.checklist li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #ddd;
    font-size: 1.05rem;
}
.checklist i {
    color: #00ff41;
    margin-right: 15px;
    background: rgba(0, 255, 65, 0.1);
    padding: 5px;
    border-radius: 50%;
}

.tech-note {
    background: #0f1820;
    border: 1px solid #1f6feb;
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
    color: #a0cfff;
}
.tech-note i { margin-right: 10px; }

.terminal-block {
    background: #0d0f12;
    border: 1px solid #333;
    font-family: 'JetBrains Mono', monospace;
    margin: 25px 0;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.term-header {
    background: #1f2428;
    padding: 8px 15px;
    font-size: 0.8rem;
    color: #8b949e;
    border-bottom: 1px solid #333;
}
.term-body {
    padding: 20px;
    font-size: 0.9rem;
    color: #00ff41;
    line-height: 1.5;
}
.blink { animation: blink 1s infinite; }

.flow-chart {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.03);
    padding: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
    gap: 10px;
}
.flow-step {
    background: #000;
    border: 1px solid var(--accent);
    padding: 10px 15px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
}
.flow-arrow { color: #555; }

.comparison-table {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}
.cmp-col {
    flex: 1;
    background: rgba(255,255,255,0.03);
    padding: 20px;
    border-top: 3px solid #00ff41;
}
.cmp-col.danger-border { border-top-color: #ff3333; }
.cmp-col h4 { font-family: var(--font-mono); margin-bottom: 10px; }

.steps-list {
    margin-left: 20px;
}
.steps-list li {
    margin-bottom: 15px;
    color: #ccc;
}
.steps-list pre {
    background: #000;
    padding: 15px;
    margin-top: 10px;
    color: var(--text-muted);
}

.cta-banner {
    background: var(--bg-panel);
    border-top: 1px solid var(--border-color);
    padding: 80px 0;
    text-align: center;
}
.cta-banner h2 { font-size: 2.5rem; margin-bottom: 10px; }
.cta-banner p { color: var(--text-muted); margin-bottom: 30px; }

/* Mobile */
@media (max-width: 900px) {
    .guide-grid { grid-template-columns: 1fr; }
    .guide-sidebar { display: none; }
    .comparison-table { flex-direction: column; }
    .flow-chart { flex-direction: column; }
    .flow-arrow { transform: rotate(90deg); }
    .phase-num { display: none; }
    .guide-phase { padding-left: 0; border: none; }
}
/* --- WIKI PAGE STYLES --- */

/* Wiki Hero */
.wiki-hero {
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCI+PGcgc3Ryb2tlPSIjMjIyIiBzdHJva2Utd2lkdGg9IjEiPjxwYXRoIGQ9Ik0wIDBoNDB2NDBIMHoiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMCA0MEw0MCAwIi8+PC9nPjwvc3ZnPg==');
    padding: 120px 0 60px;
    border-bottom: 1px solid var(--border-color);
}
.wiki-search-box {
    background: rgba(13, 15, 18, 0.9);
    border: 1px solid var(--border-color);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}
.wiki-search-box h1 { margin-bottom: 10px; font-family: var(--font-mono); }
.wiki-search-box p { color: var(--text-muted); margin-bottom: 30px; }

.search-input-wrapper {
    position: relative;
    display: flex;
}
.search-input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
}
.search-input-wrapper input {
    width: 100%;
    background: #000;
    border: 1px solid #333;
    padding: 15px 15px 15px 45px;
    color: #fff;
    font-family: var(--font-mono);
    outline: none;
}
.search-input-wrapper input:focus { border-color: var(--accent); }
.btn-search {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 0 30px;
    font-weight: 700;
    cursor: pointer;
}

/* Wiki Container */
.wiki-container { padding: 60px 0; }
.layout-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

/* Wiki Sidebar */
.category-list {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: 20px 0;
}
.category-list h3 {
    padding-left: 20px;
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.category-list ul li a {
    display: block;
    padding: 10px 20px;
    color: #ccc;
    font-size: 0.95rem;
    border-left: 2px solid transparent;
}
.category-list ul li a:hover, .category-list ul li a.active {
    background: rgba(255,255,255,0.02);
    border-left-color: var(--accent);
    color: var(--accent);
}
.category-list ul li a i { width: 25px; color: #555; }
.category-list ul li a:hover i { color: var(--accent); }

.wiki-stat-box {
    margin-top: 20px;
    padding: 20px;
    border: 1px dashed #333;
    text-align: center;
}
.wiki-stat-box h4 { font-size: 0.7rem; color: #666; letter-spacing: 1px; }
.big-num { font-size: 2.5rem; color: #fff; font-weight: 800; display: block; line-height: 1.2; }
.stat-line { height: 1px; background: #333; margin: 10px auto; width: 50px; }

/* Wiki Content */
.wiki-entry {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #222;
}
.entry-header {
    margin-bottom: 25px;
}
.file-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: #222;
    color: #888;
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 10px;
    display: inline-block;
}
.wiki-entry h2 { font-size: 2rem; color: var(--text-main); }
.wiki-entry h3 { font-size: 1.4rem; color: var(--accent-light); margin: 30px 0 15px; }
.wiki-entry p { margin-bottom: 15px; color: #b0b0b0; text-align: justify; }

/* Diagram */
.wiki-diagram {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #000;
    padding: 20px;
    margin: 30px 0;
    border: 1px solid #333;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    overflow-x: auto;
}
.node {
    border: 1px solid #555;
    padding: 10px;
    background: #111;
    color: #888;
}
.node.active { border-color: #00ff41; color: #00ff41; box-shadow: 0 0 10px rgba(0,255,65,0.2); }
.link-line { color: #444; }

/* Quote */
.wiki-quote {
    border-left: 4px solid var(--accent);
    padding: 20px;
    font-style: italic;
    background: rgba(251, 133, 0, 0.05);
    color: #fff;
    margin: 30px 0;
}

/* Glossary Grid */
.glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.term-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: 20px;
    transition: 0.3s;
}
.term-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.term-card h4 {
    color: var(--accent);
    font-family: var(--font-mono);
    margin-bottom: 10px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}
.term-card p { font-size: 0.9rem; color: #999; margin: 0; text-align: left; }

/* Responsive */
@media (max-width: 900px) {
    .layout-grid { grid-template-columns: 1fr; }
    .wiki-sidebar { display: none; }
    .wiki-diagram { flex-direction: column; gap: 10px; }
    .link-line { transform: rotate(90deg); }
}
/* --- SECURITY PAGE STYLES --- */

/* Hero Dashboard */
.security-hero {
    background: radial-gradient(circle at center, #1a0505 0%, #000 100%);
    padding: 100px 0 60px;
    border-bottom: 1px solid #330000;
}
.threat-dashboard {
    background: rgba(20, 0, 0, 0.6);
    border: 1px solid #550000;
    padding: 40px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}
.threat-dashboard::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: #ff3333;
    animation: scanline 3s infinite linear;
    opacity: 0.5;
}
@keyframes scanline {
    0% { top: 0; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.td-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #550000;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.td-header h1 {
    font-size: 2.5rem;
    color: #fff;
    margin: 0;
}
.threat-level {
    font-family: var(--font-mono);
    background: #ff3333;
    color: #000;
    padding: 5px 15px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* Radar Grid */
.radar-grid {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
    flex-wrap: wrap;
}
.radar-stat {
    flex: 1;
    background: rgba(0,0,0,0.5);
    padding: 15px;
    border: 1px solid #333;
    min-width: 200px;
}
.rs-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #888;
    display: block;
    margin-bottom: 10px;
}
.rs-bar {
    height: 6px;
    background: #222;
    width: 100%;
    margin-bottom: 10px;
    overflow: hidden;
}
.rs-bar .fill {
    height: 100%;
    box-shadow: 0 0 10px currentColor;
}
.rs-bar .green { background: #00ff41; color: #00ff41; }
.rs-bar .yellow { background: var(--accent); color: var(--accent); }
.rs-bar .red { background: #ff3333; color: #ff3333; }
.rs-val {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #fff;
    font-weight: 700;
}

/* Security Content Layout */
.security-content { padding: 60px 0; }
.manifesto-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
}

/* Section Blocks */
.sec-block {
    margin-bottom: 60px;
    background: var(--bg-panel);
    border-left: 1px solid #333;
    padding: 0 0 0 30px;
}
.sec-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 15px;
}
.sec-block h2 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 20px;
}
.sec-block h3 {
    font-size: 1.3rem;
    color: var(--accent-light);
    margin: 30px 0 15px;
}
.sec-block p {
    color: #b0b0b0;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Alert Box */
.alert-box {
    padding: 20px;
    border-left: 4px solid;
    background: rgba(255, 255, 255, 0.05);
    margin: 25px 0;
}
.alert-box.red {
    border-color: #ff3333;
    background: rgba(255, 51, 51, 0.1);
    color: #ffcccc;
}
.alert-box i { margin-right: 10px; }

/* Code Terminal for Examples */
.code-terminal {
    background: #0d1117;
    border: 1px solid #30363d;
    padding: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: #e6edf3;
    border-radius: 6px;
    margin: 20px 0;
}
.code-terminal .comment { color: #8b949e; }

/* Sidebar Tools */
.tool-box {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: 25px;
    margin-bottom: 30px;
}
.tool-box h4 {
    font-family: var(--font-mono);
    color: var(--accent);
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}
.check-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #ccc;
    font-size: 0.9rem;
}
.check-list input {
    margin-right: 10px;
    accent-color: var(--accent);
    width: 16px; height: 16px;
}
.warning-bg {
    background: rgba(255, 0, 0, 0.05);
    border: 1px solid #ff3333;
}
.warning-bg h4 { color: #ff3333; }
.warning-bg p { color: #fff; font-weight: 700; }
.warning-bg ol { padding-left: 20px; color: #ffcccc; }
.warning-bg ol li { margin-bottom: 10px; }

/* Responsive */
@media (max-width: 900px) {
    .manifesto-wrapper { grid-template-columns: 1fr; }
    .security-sidebar { order: -1; } /* Checklist first on mobile */
    .radar-grid { flex-direction: column; }
}
/* --- FAQ PAGE --- */
.faq-hero {
    background: linear-gradient(180deg, #0b0c10 0%, #1a1a1a 100%);
    padding: 80px 0;
    text-align: center;
}
.faq-search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 30px auto 0;
}
.faq-search-wrapper input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border-radius: 30px;
    border: 1px solid var(--accent);
    background: #000;
    color: #fff;
    font-size: 1rem;
    outline: none;
}
.faq-search-wrapper i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
}

.faq-content { padding: 60px 0; }
.faq-category { margin-bottom: 50px; }
.cat-title {
    color: var(--text-main);
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.cat-title i { color: var(--accent); margin-right: 10px; }

.accordion-item {
    background: var(--bg-panel);
    border: 1px solid #333;
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
}
.accordion-header {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}
.accordion-header:hover, .accordion-header.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
}
.accordion-body {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0,0,0,0.2);
}
.accordion-body p {
    padding: 20px 0;
    margin: 0;
    color: #aaa;
    line-height: 1.6;
}

.support-ticket-box {
    background: var(--accent);
    color: #000;
    padding: 30px;
    text-align: center;
    border-radius: 5px;
    margin-top: 60px;
}
.support-ticket-box h3 { margin-bottom: 10px; font-family: var(--font-mono); font-weight: 800; }
.ticket-info {
    margin-top: 20px;
    font-weight: 700;
    font-family: var(--font-mono);
}
.warning-text { display: block; font-size: 0.8rem; margin-top: 5px; opacity: 0.7; }
/* --- BLOG PAGE STYLES --- */

/* Hero Section */
.blog-hero {
    padding: 60px 0 40px;
    border-bottom: 1px solid #222;
}
.hero-terminal h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}
.hero-terminal p {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Featured Post */
.featured-post-section {
    padding: 40px 0;
}
.featured-card {
    background: linear-gradient(90deg, #111 0%, #0a0a0a 100%);
    border: 1px solid var(--accent);
    display: flex;
    justify-content: space-between;
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.f-content { z-index: 2; max-width: 600px; }
.f-content h2 { font-size: 2rem; margin: 15px 0; color: #fff; line-height: 1.2; }
.f-content p { margin-bottom: 25px; color: #ccc; }
.f-visual {
    position: absolute;
    right: -50px;
    top: -50px;
    font-size: 15rem;
    color: rgba(251, 133, 0, 0.05);
    z-index: 1;
    transform: rotate(15deg);
}

/* Tags & Badges */
.tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 3px 8px;
    font-weight: bold;
    letter-spacing: 1px;
}
.tag-red { background: rgba(255, 51, 51, 0.2); color: #ff3333; border: 1px solid #ff3333; }
.tag-orange { background: rgba(251, 133, 0, 0.2); color: var(--accent); border: 1px solid var(--accent); }
.tag-green { background: rgba(0, 255, 65, 0.2); color: #00ff41; border: 1px solid #00ff41; }
.tag-blue { background: rgba(0, 200, 255, 0.2); color: #00c8ff; border: 1px solid #00c8ff; }
.meta-line .date { margin-left: 15px; font-family: var(--font-mono); color: #666; font-size: 0.8rem; }

/* Filter Bar */
.filter-bar {
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}
.filter-bar span {
    margin-right: 20px;
    font-family: var(--font-mono);
    cursor: pointer;
    color: #666;
    transition: 0.3s;
}
.filter-bar span:hover, .filter-bar span.active { color: var(--accent); text-decoration: underline; }

/* Post Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
.post-card {
    background: var(--bg-panel);
    border: 1px solid #333;
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.post-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}
.post-thumb {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: #000;
    border-bottom: 1px solid #222;
}
.thumb-crypto { color: var(--accent); background: radial-gradient(circle, #1a1000 0%, #000 100%); }
.thumb-tech { color: #00ff41; background: radial-gradient(circle, #001a05 0%, #000 100%); }
.thumb-market { color: #00c8ff; background: radial-gradient(circle, #00101a 0%, #000 100%); }
.thumb-alert { color: #ff3333; background: radial-gradient(circle, #1a0000 0%, #000 100%); }

.post-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.post-meta { margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center; }
.post-meta .date { font-family: var(--font-mono); font-size: 0.75rem; color: #555; }
.post-body h3 { font-size: 1.2rem; margin-bottom: 15px; line-height: 1.4; color: #e0e0e0; }
.post-body p { font-size: 0.9rem; color: #888; margin-bottom: 20px; flex-grow: 1; }
.read-link {
    font-family: var(--font-mono);
    color: var(--accent);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}
.read-link:hover { color: #fff; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.page-btn {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #333;
    color: #888;
    text-decoration: none;
    font-family: var(--font-mono);
}
.page-btn.active, .page-btn:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 10px 20px; display: inline-block; background: var(--accent); color: #000; font-weight: 800; text-decoration: none; font-family: var(--font-mono); font-size: 0.8rem; }

@media (max-width: 768px) {
    .featured-card { flex-direction: column; padding: 20px; }
    .f-visual { display: none; }
}
