/* --- RESET & VARIABLES --- */
:root {
    --bg-dark: #0f1012;
    --bg-asphalt: #1a1c20;
    --primary-yellow: #fdd835; /* Safety Yellow */
    --text-main: #e0e0e0;
    --text-muted: #888888;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --neon-glow: 0 0 10px rgba(253, 216, 53, 0.3);
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-tech: 'Courier New', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- BACKGROUND FX --- */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MDAiIGhlaWdodD0iNTAwIj48ZmlsdGVyIGlkPSJnoiPjxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjY1IiBudW1PY3RhdmVzPSIzIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI2cpIiBvcGFjaXR5PSIwLjA1Ii8+PC9zdmc+');
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
}

.ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    animation: floatOrb 10s infinite alternate;
}

.orb-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #fdd835 0%, transparent 70%);
    top: -100px; right: -100px;
}

.orb-2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #2c3e50 0%, transparent 70%);
    bottom: -100px; left: -200px;
}

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.highlight { color: var(--primary-yellow); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
}

.btn-primary {
    background: var(--primary-yellow);
    color: #000;
}
.btn-primary:hover {
    box-shadow: var(--neon-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-main);
    margin-left: 15px;
}

/* --- HEADER --- */
.glass-header {
    position: fixed;
    top: 0; width: 100%;
    padding: 15px 0;
    background: rgba(15, 16, 18, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-yellow);
}

.status-indicator {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: #4caf50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 8px; height: 8px;
    background: #4caf50;
    border-radius: 50%;
    box-shadow: 0 0 5px #4caf50;
}

/* --- HERO SECTION --- */
.hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge-warning {
    display: inline-block;
    background: rgba(253, 216, 53, 0.1);
    color: var(--primary-yellow);
    padding: 5px 15px;
    border: 1px solid var(--primary-yellow);
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: var(--font-tech);
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    text-transform: uppercase;
}

.outline-text {
    -webkit-text-stroke: 1px var(--text-main);
    color: transparent;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

/* --- 3D CARD --- */
.hero-visual {
    perspective: 1200px;
}

.tech-card-3d {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 280px;
    transform-style: preserve-3d;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
    margin: 0 auto;
}

.tech-card-3d:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.card-glass {
    position: absolute;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: var(--primary-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.onion-link-display {
    background: rgba(0,0,0,0.6);
    padding: 15px;
    border-radius: 8px;
    border: 1px dashed var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#onion-code {
    font-family: var(--font-tech);
    color: #fff;
}

.copy-btn {
    background: var(--primary-yellow);
    border: none;
    padding: 5px 10px;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.8rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.float-icon {
    position: absolute;
    font-size: 3rem;
    z-index: 10;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
    animation: floatIcon 4s ease-in-out infinite;
}

.icon-1 { top: -20px; right: -20px; animation-delay: 0s; }
.icon-2 { bottom: -20px; left: -20px; animation-delay: 2s; }

/* --- CONTENT SECTIONS --- */
.info-section, .seo-text, .faq-section {
    padding: 80px 20px;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
}

.divider {
    width: 60px; height: 4px;
    background: var(--primary-yellow);
    margin-top: 10px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.features-block {
    display: grid;
    gap: 30px;
}

.feature-item {
    background: var(--bg-asphalt);
    padding: 25px;
    border-left: 3px solid var(--primary-yellow);
}

.f-icon {
    font-family: var(--font-tech);
    color: var(--primary-yellow);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
}

/* --- MIRRORS SECTION --- */
.mirrors-section {
    background: repeating-linear-gradient(
        45deg,
        #151515,
        #151515 10px,
        #1a1a1a 10px,
        #1a1a1a 20px
    );
    padding: 60px 0;
    border-top: 1px solid var(--primary-yellow);
    border-bottom: 1px solid var(--primary-yellow);
}

.mirror-box {
    background: #000;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid #333;
}

.mirror-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.live-pulse {
    color: #ff3333;
    font-weight: bold;
    animation: pulse 1s infinite;
}

.mirror-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #333;
    font-family: var(--font-tech);
}

.mirror-url { color: var(--text-main); }
.btn-copy {
    background: transparent;
    border: 1px solid var(--primary-yellow);
    color: var(--primary-yellow);
    padding: 5px 15px;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-copy:hover {
    background: var(--primary-yellow);
    color: #000;
}

/* --- FOOTER --- */
footer {
    background: #0a0a0a;
    padding-top: 80px;
    margin-top: 80px;
    border-top: 1px solid #333;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col h5 {
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--text-main); text-decoration: none; transition: 0.3s; }
.footer-col a:hover { color: var(--primary-yellow); }

.server-stats {
    font-family: var(--font-tech);
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: right;
}

.disclaimer-bar {
    background: #000;
    padding: 20px 0;
    border-top: 1px solid #222;
    color: #555;
    font-size: 0.75rem;
    text-align: center;
}

/* --- ANIMATIONS --- */
@keyframes floatOrb {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Reveal on Scroll Class */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    h1 { font-size: 2.5rem; }
    .content-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .server-stats { text-align: center; margin-top: 20px; }
    .nav-links { display: none; } /* Simplified for code brevity */
}
/* --- HERO CENTERING & LAYOUT --- */
.centered-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 100px; /* Space for header */
    overflow: hidden;
}

.relative-z {
    position: relative;
    z-index: 5;
}

/* Ambient Glow behind the text */
.hero-glow-back {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(253, 216, 53, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

/* --- 1. TYPOGRAPHY & GLITCH --- */
.glitch-header {
    font-size: 5rem; /* Large impact font */
    font-weight: 900;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 20px rgba(253, 216, 53, 0.2);
}

/* Sub-description styling */
.hero-description {
    font-family: 'Inter', 'Segoe UI', sans-serif; /* Clean, modern font */
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-weight: 300;
    line-height: 1.6;
}

.hero-description .text-white {
    color: #fff;
    font-weight: 500;
    border-bottom: 1px solid var(--primary-yellow);
}

/* --- 2. CYBER LINK BLOCK --- */
.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.cyber-link-wrapper {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.cyber-link-wrapper:hover {
    border-color: rgba(253, 216, 53, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(253, 216, 53, 0.1);
}

.link-label {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    color: var(--primary-yellow);
    text-align: left;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cyber-input-group {
    display: flex;
    background: #000;
    border: 1px solid #333;
    border-radius: 6px;
    overflow: hidden;
    height: 50px;
}

.protocol-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    color: #666;
    border-right: 1px solid #222;
}

.cyber-input-group input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-tech);
    font-size: 1rem;
    padding-left: 15px;
    outline: none;
}

.btn-action-copy {
    background: var(--primary-yellow);
    color: #000;
    border: none;
    padding: 0 25px;
    font-weight: 800;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.btn-action-copy:hover {
    background: #fff;
}

.status-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #4caf50;
    margin-top: 10px;
    font-family: var(--font-tech);
    justify-content: flex-start;
}

.dot-pulse {
    width: 6px; height: 6px;
    background: #4caf50;
    border-radius: 50%;
    box-shadow: 0 0 5px #4caf50;
    animation: pulse 2s infinite;
}

/* --- 3. SECONDARY BUTTONS --- */
.secondary-buttons {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.btn-ghost {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: all 0.3s;
}

.btn-ghost:hover {
    color: var(--primary-yellow);
    border-bottom-color: var(--primary-yellow);
}

/* --- Responsive Text --- */
@media (max-width: 768px) {
    .glitch-header { font-size: 2.8rem; }
    .hero-description { font-size: 1rem; padding: 0 20px; }
    .cyber-link-wrapper { width: 90%; }
}

/* Animation Delays for nicer entrance */
.reveal-delay-1 { animation: fadeInUp 0.8s ease forwards 0.2s; opacity: 0; }
.reveal-delay-2 { animation: fadeInUp 0.8s ease forwards 0.4s; opacity: 0; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* --- GLOBAL SECTION UTILS --- */
.section-pad { padding: 100px 0; position: relative; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 2rem; }
.bg-contrast { background: #111; border-top: 1px solid #222; border-bottom: 1px solid #222; }
.tiny-label { font-family: var(--font-tech); color: var(--primary-yellow); font-size: 0.7rem; letter-spacing: 2px; }
.line-deco { width: 100px; height: 3px; background: var(--primary-yellow); margin-top: 15px; }
.max-w-800 { max-width: 800px; margin: 0 auto; }

/* H2 STYLING VARIATIONS */
h2 { font-size: 2.5rem; text-transform: uppercase; font-weight: 800; letter-spacing: -1px; color: #fff; margin-bottom: 15px; }
.sub-h2 { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 40px; }

/* --- SECTION 1: 3-COL GRID --- */
.grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 30px;
    transition: transform 0.3s;
}

.feature-box:hover { transform: translateY(-5px); border-color: var(--primary-yellow); }
.icon-box { font-size: 2.5rem; margin-bottom: 20px; }
.feature-box h4 { color: #fff; margin-bottom: 10px; text-transform: uppercase; }
.feature-box p { color: var(--text-muted); font-size: 0.9rem; }

/* --- SECTION 2: TERMINAL & SPLIT --- */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.lead-text { font-size: 1.1rem; color: #ccc; margin-bottom: 20px; }
.tech-list { list-style: none; margin-bottom: 30px; }
.tech-list li { margin-bottom: 10px; padding-left: 20px; position: relative; color: var(--text-muted); }
.tech-list li::before { content: '>'; color: var(--primary-yellow); position: absolute; left: 0; font-weight: bold; }
.btn-link { color: var(--primary-yellow); text-decoration: none; font-weight: bold; border-bottom: 2px solid var(--primary-yellow); }

/* TERMINAL WINDOW */
.terminal-window {
    background: #0d0d0d;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    font-family: 'Courier New', monospace;
    overflow: hidden;
}
.term-header { background: #1a1a1a; padding: 10px 15px; display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: block; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.term-title { margin-left: auto; margin-right: auto; font-size: 0.8rem; color: #888; }
.term-body { padding: 20px; color: #fff; font-size: 0.9rem; }
.code-line { margin-bottom: 8px; }
.c-green { color: #27c93f; } .c-blue { color: #4db5ff; } .bg-green { background: #27c93f; color: #000; padding: 0 4px; }
.cursor-blink { display: inline-block; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* --- SECTION 3: TECH TABLE --- */
.center-header { text-align: center; margin-bottom: 50px; }
.glass-table-wrapper {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 20px;
    overflow-x: auto;
}
.tech-table { width: 100%; border-collapse: collapse; color: var(--text-main); font-family: var(--font-tech); font-size: 0.9rem; }
.tech-table th { text-align: left; padding: 15px; border-bottom: 1px solid #333; color: var(--text-muted); font-size: 0.75rem; letter-spacing: 1px; }
.tech-table td { padding: 15px; border-bottom: 1px solid #222; }
.mono { font-family: monospace; color: #fff; }
.bar-level { display: inline-block; height: 4px; background: #4caf50; vertical-align: middle; margin-right: 10px; border-radius: 2px; }
.bar-level.warning { background: #ffbd2e; }
.status-badge { padding: 4px 8px; font-size: 0.7rem; font-weight: bold; border-radius: 4px; }
.status-badge.active { background: rgba(76, 175, 80, 0.2); color: #4caf50; }
.status-badge.warning { background: rgba(255, 189, 46, 0.2); color: #ffbd2e; }
.table-footer { text-align: right; padding-top: 10px; font-size: 0.7rem; color: #555; }

/* --- SECTION 4: STEPS --- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.step-card {
    background: linear-gradient(145deg, #1a1a1a, #111);
    padding: 30px;
    border-top: 4px solid #333;
    position: relative;
    transition: 0.3s;
}
.step-card:hover { border-top-color: var(--primary-yellow); background: #1f1f1f; }
.step-num { font-size: 4rem; font-weight: 900; color: rgba(255,255,255,0.03); position: absolute; top: 10px; right: 20px; }
.step-card h3 { color: #fff; margin-bottom: 15px; position: relative; z-index: 2; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; position: relative; z-index: 2; }

/* --- SECTION 5: ONION VISUAL --- */
.onion-bg {
    background: radial-gradient(circle at center, #1a1a1a 0%, #0f1012 70%);
    overflow: hidden;
}
.onion-logo-3d {
    width: 100px; height: 100px; margin: 0 auto 30px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateOnion 10s infinite linear;
}
.circle {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    border: 2px solid var(--primary-yellow);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(253, 216, 53, 0.2);
}
.c1 { transform: rotateY(0deg); }
.c2 { transform: rotateY(60deg); }
.c3 { transform: rotateY(-60deg); }

@keyframes rotateOnion {
    0% { transform: rotateY(0deg) rotateX(20deg); }
    100% { transform: rotateY(360deg) rotateX(20deg); }
}

.glass-text-block {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    padding: 40px;
    border-left: 2px solid var(--primary-yellow);
    text-align: left;
    margin-top: 30px;
}
.glass-text-block p { margin-bottom: 20px; color: #ddd; }
.glass-text-block p:last-child { margin-bottom: 0; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .split-layout { grid-template-columns: 1fr; }
    .glass-table-wrapper { padding: 10px; }
}
/* --- SECTION 2: HUD BLUEPRINT STYLES --- */

.blueprint-section {
    background-color: #0b0c0e;
    overflow: hidden;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

/* Background Grid Lines */
.grid-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

/* Header Styling */
.hud-header {
    margin-bottom: 40px;
    border-left: 4px solid var(--primary-yellow);
    padding-left: 20px;
}

.hud-marker {
    font-family: var(--font-tech);
    color: var(--primary-yellow);
    font-size: 0.75rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.hud-sub {
    color: var(--text-muted);
    font-family: var(--font-tech);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Grid Layout (Bento Style) */
.cyber-grid-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.grid-item {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px;
    position: relative;
    transition: border-color 0.3s;
}

.grid-item:hover {
    border-color: rgba(253, 216, 53, 0.3);
}

/* Corner Decorations for items */
.grid-item::after {
    content: '';
    position: absolute;
    top: -1px; right: -1px;
    width: 10px; height: 10px;
    border-top: 2px solid var(--primary-yellow);
    border-right: 2px solid var(--primary-yellow);
}

/* 1. Main Desc */
.main-desc {
    grid-row: span 2; /* Takes full height on left */
}
.main-desc h3 { color: #fff; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.icon-ui { color: var(--primary-yellow); }
.status-row {
    margin-top: 30px;
    font-family: var(--font-tech);
    color: #4caf50;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.status-dot { width: 8px; height: 8px; background: #4caf50; border-radius: 50%; box-shadow: 0 0 5px #4caf50; }

/* 2. Stats Panel */
.stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    font-family: var(--font-tech);
    font-size: 0.8rem;
}
.stat-row:last-child { margin-bottom: 0; }
.stat-label { width: 80px; color: #888; }
.stat-val { width: 70px; text-align: right; color: #fff; font-weight: bold; }

.progress-bar {
    flex-grow: 1;
    height: 6px;
    background: #222;
    margin: 0 15px;
    position: relative;
}
.fill {
    height: 100%;
    background: var(--primary-yellow);
    box-shadow: 0 0 5px rgba(253, 216, 53, 0.5);
}
.fill.red { background: #ff3333; box-shadow: none; }

/* 3. Highlight Box */
.highlight-box {
    text-align: center;
}
.holo-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(255,255,255,0.5);
}
.highlight-box h4 { color: #fff; margin-bottom: 5px; }
.highlight-box p { font-size: 0.85rem; color: #aaa; }

/* 4. Data Box */
.data-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: var(--font-tech);
}
.data-box small { color: var(--primary-yellow); font-size: 0.65rem; letter-spacing: 1px; }
.hash-code {
    display: block;
    background: #000;
    padding: 5px;
    color: #555;
    margin: 5px 0 15px 0;
    border: 1px dashed #333;
}
.digital-counter {
    font-size: 2rem;
    color: #fff;
    font-weight: bold;
    line-height: 1;
}

/* Responsive Grid */
@media (max-width: 900px) {
    .cyber-grid-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .main-desc { grid-row: auto; }
}
/* --- TEXT REPORT SECTION (Newspaper Columns) --- */
.text-report-section {
    background: #0f1012;
    border-top: 1px solid #222;
}

.report-header {
    border-bottom: 2px solid #333;
    padding-bottom: 20px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.report-id {
    font-family: monospace;
    color: #666;
    font-size: 0.8rem;
}

.text-columns {
    column-count: 2; /* Two columns like a newspaper */
    column-gap: 60px;
}

.text-columns article {
    break-inside: avoid; /* Prevent splitting paragraphs awkwardly */
    margin-bottom: 40px;
}

.text-columns h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 15px;
    border-left: 3px solid var(--primary-yellow);
    padding-left: 15px;
    font-family: var(--font-tech);
    text-transform: uppercase;
}

.marker { color: var(--primary-yellow); }

.text-columns p {
    color: #aaa;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 15px;
    text-align: justify; /* Newspaper look */
}

/* --- RAW FILE SECTION (Code Editor Look) --- */
.bg-darker { background: #050505; }

.raw-text-file {
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.file-header {
    background: #1a1a1a;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.buttons { display: flex; gap: 8px; margin-right: 15px; }
.btn-dot { width: 10px; height: 10px; border-radius: 50%; }
.btn-dot.r { background: #ff5f56; }
.btn-dot.y { background: #ffbd2e; }
.btn-dot.g { background: #27c93f; }

.filename {
    font-family: monospace;
    color: #888;
    font-size: 0.8rem;
}

.file-content {
    padding: 40px;
    font-family: 'Courier New', monospace;
    color: #ccc;
    font-size: 0.9rem;
}

.file-content .comment { color: #555; }
.file-content .kw { color: var(--primary-yellow); font-weight: bold; }
.file-content strong { color: #fff; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .text-columns { column-count: 1; }
    .report-header { flex-direction: column; align-items: flex-start; }
}
/* --- FAQ STYLING --- */
.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item[open] {
    border-color: var(--primary-yellow);
    background: #222;
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    list-style: none; /* Hide default arrow */
    position: relative;
    padding-right: 40px;
}

/* Custom Arrow */
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-yellow);
    font-weight: 300;
}

.faq-item[open] summary::after {
    content: '-';
    transform: translateY(-55%); /* Slight optical adjustment */
}

.faq-body {
    padding: 0 20px 20px 20px;
    color: #bbb;
    line-height: 1.6;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 5px;
    padding-top: 15px;
}
/* --- DOCUMENTATION / MANUAL PAGE STYLES --- */

/* Base Layout */
.doc-body {
    background-color: #0b0c0e;
    color: #cfd8dc;
}

.doc-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

/* Sidebar Styling */
.doc-sidebar {
    background: #0f1012;
    border-right: 1px solid #222;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 100px 20px 40px 20px; /* Top padding clears the fixed navbar */
}

.sidebar-inner {
    position: relative;
}

.doc-meta {
    font-family: var(--font-tech);
    font-size: 0.7rem;
    color: #555;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.doc-sidebar h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.toc-list {
    list-style: none;
    padding: 0;
}

.toc-list li {
    margin-bottom: 2px;
}

.toc-list a {
    display: block;
    padding: 8px 10px;
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    border-left: 2px solid transparent;
    transition: all 0.2s;
}

.toc-list a:hover {
    color: var(--primary-yellow);
    background: rgba(255,255,255,0.02);
    border-left-color: var(--primary-yellow);
}

.sidebar-alert {
    margin-top: 40px;
    background: rgba(255, 61, 61, 0.1);
    border: 1px solid #ff3d3d;
    padding: 15px;
    border-radius: 4px;
}

.sidebar-alert strong { display: block; color: #ff3d3d; font-size: 0.8rem; margin-bottom: 5px; }
.sidebar-alert p { font-size: 0.75rem; color: #ffcccc; margin: 0; }

/* Main Content Styling */
.doc-content {
    padding: 120px 60px 60px 60px; /* Top padding for navbar */
    max-width: 1000px; /* Limit line length for readability */
}

.doc-hero h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.doc-hero .lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
}

.doc-divider {
    border: 0;
    height: 1px;
    background: #333;
    margin: 50px 0;
}

/* Sections & Typography */
.doc-section {
    margin-bottom: 80px;
}

.doc-section h2 {
    font-size: 2rem;
    color: var(--primary-yellow);
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.doc-section h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-top: 40px;
    margin-bottom: 15px;
}

.doc-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* Special Boxes */
.info-box {
    background: rgba(39, 201, 63, 0.05);
    border-left: 4px solid #27c93f;
    padding: 20px;
    margin: 30px 0;
}

.info-box h4 { color: #27c93f; margin-bottom: 10px; }
.info-box p { margin-bottom: 0; font-size: 0.95rem; }

.warning-box {
    background: rgba(255, 189, 46, 0.05);
    border-left: 4px solid var(--primary-yellow);
    padding: 20px;
    margin: 30px 0;
}

.warning-box h5 { color: var(--primary-yellow); margin-bottom: 10px; font-weight: bold; }

.code-block {
    background: #111;
    border: 1px solid #333;
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #aaa;
    margin: 20px 0;
    overflow-x: auto;
    white-space: pre;
}

.code-span {
    background: #222;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: var(--primary-yellow);
}

.steps-list {
    list-style: none;
    padding: 0;
}

.steps-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.steps-list li::before {
    content: '➜';
    color: var(--primary-yellow);
    position: absolute;
    left: 0;
}

.doc-footer-note {
    margin-top: 100px;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
    text-align: center;
}

/* Responsive Manual */
@media (max-width: 900px) {
    .doc-container { grid-template-columns: 1fr; }
    .doc-sidebar { 
        display: none; /* Hide sidebar on mobile or make it a dropdown */
    }
    .doc-content { padding: 100px 20px 40px 20px; }
}
/* --- ACCESS / STATUS PAGE STYLES --- */

.access-body {
    background-color: #050505;
}

.access-hero {
    padding: 100px 0 60px 0;
    text-align: center;
    border-bottom: 1px solid #222;
    background: radial-gradient(circle at center, #1a1a1a 0%, #050505 70%);
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(39, 201, 63, 0.1);
    border: 1px solid #27c93f;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-family: var(--font-tech);
    color: #27c93f;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #27c93f;
    box-shadow: 0 0 10px #27c93f;
    animation: blink 2s infinite;
}

@keyframes blink { 0% {opacity: 1;} 50% {opacity: 0.4;} 100% {opacity: 1;} }

/* Mirror Table Styling */
.mirror-table-wrapper {
    background: #0f1012;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.table-header {
    background: #151618;
    padding: 20px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-header h3 { color: #fff; margin: 0; font-size: 1.1rem; }
.refresh-timer { font-family: monospace; color: #666; font-size: 0.8rem; }

.cyber-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-tech);
}

.cyber-table th {
    text-align: left;
    padding: 15px 20px;
    background: #111;
    color: #888;
    font-size: 0.75rem;
    letter-spacing: 1px;
    border-bottom: 1px solid #333;
}

.cyber-table td {
    padding: 15px 20px;
    color: #ccc;
    border-bottom: 1px solid #222;
    font-size: 0.9rem;
}

.cyber-table tr:last-child td { border-bottom: none; }
.cyber-table tr:hover { background: rgba(255,255,255,0.02); }

.onion-cell {
    font-family: monospace;
    color: var(--primary-yellow);
}

/* Badges & Status Colors */
.badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
}
.badge.main { background: rgba(253, 216, 53, 0.2); color: var(--primary-yellow); border: 1px solid var(--primary-yellow); }
.badge.alt { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid #555; }
.badge.dead { background: rgba(255, 61, 61, 0.1); color: #ff3d3d; border: 1px solid #ff3d3d; }

.status-green { color: #27c93f; font-weight: bold; text-shadow: 0 0 5px rgba(39, 201, 63, 0.3); }
.status-yellow { color: #ffbd2e; font-weight: bold; }
.status-red { color: #ff3d3d; font-weight: bold; text-decoration: line-through; }

.table-footer {
    padding: 15px 20px;
    background: #151618;
    border-top: 1px solid #333;
    font-size: 0.8rem;
    color: #777;
    text-align: center;
}

/* SEO Text Blocks */
.text-content-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.text-content-narrow p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1rem;
}

.text-content-narrow h2, .text-content-narrow h3 {
    color: #fff;
    margin-bottom: 20px;
    margin-top: 40px;
}

/* Terminal Window for Keywords */
.terminal-window {
    background: #000;
    border: 1px solid #333;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    max-width: 900px;
    margin: 0 auto;
}

.terminal-bar {
    background: #222;
    padding: 10px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.circle { width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.term-title { margin-left: auto; margin-right: auto; color: #888; font-size: 0.8rem; }

.terminal-body {
    padding: 20px;
    color: #ccc;
    font-size: 0.85rem;
    line-height: 1.6;
}

.terminal-body .time { color: #555; }
.terminal-body strong { color: var(--primary-yellow); font-weight: normal; }
.terminal-body .ok { color: #27c93f; float: right; }
.terminal-body .comment { color: #444; margin-top: 20px; display: block; font-style: italic; }
/* --- INTELLIGENCE / AUDIT PAGE --- */

.intel-body {
    background-color: #08090a;
}

.intel-hero {
    padding: 80px 0;
    border-bottom: 2px solid #333;
    background: repeating-linear-gradient(
        45deg,
        #0b0c0e,
        #0b0c0e 10px,
        #111 10px,
        #111 20px
    );
    text-align: center;
}

.intel-badge {
    display: inline-block;
    background: #ff3d3d;
    color: #fff;
    font-weight: bold;
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 15px;
    font-family: var(--font-tech);
    letter-spacing: 2px;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.dash-card {
    background: #151618;
    border: 1px solid #333;
    padding: 30px;
    text-align: center;
    border-radius: 4px;
    transition: transform 0.3s;
}

.dash-card:hover { transform: translateY(-5px); border-color: var(--primary-yellow); }

.dash-card h4 { color: #888; font-size: 0.9rem; margin-bottom: 20px; letter-spacing: 1px; }

.score-circle {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.bar-chart {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
    height: 60px;
    margin-bottom: 15px;
}

.bar {
    width: 15px;
    background: #333;
    transition: height 1s;
}
.bar.active { background: var(--primary-yellow); }

.status-txt.positive {
    color: #27c93f;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Heavy Text Report */
.text-report {
    max-width: 900px;
    margin: 0 auto;
    border-left: 1px solid #333;
    padding-left: 40px;
}

.text-report h2 { color: #fff; margin-bottom: 40px; }
.text-report h3 { color: var(--primary-yellow); font-size: 1.2rem; margin-bottom: 15px; margin-top: 40px; }
.text-report p { font-size: 1.1rem; color: #ccc; line-height: 1.8; margin-bottom: 20px; }

/* Forum/Reviews Style */
.forum-header {
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.forum-thread {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.forum-post {
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 20px;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #777;
    margin-bottom: 10px;
    font-family: monospace;
}

.post-body p {
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.post-body strong { color: var(--primary-yellow); font-weight: normal; }

/* Audit Log (Terminal 2.0) */
.bg-terminal { background: #000; border-top: 1px solid #222; }

.audit-log {
    font-family: 'Courier New', monospace;
    max-width: 800px;
    margin: 0 auto;
    color: #bbb;
}

.log-header {
    border-bottom: 1px dashed #444;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #ff3d3d;
}

.log-content p { margin-bottom: 8px; font-size: 0.9rem; }
.log-content strong { color: #fff; }
.log-content .green { color: #27c93f; background: rgba(39, 201, 63, 0.1); padding: 2px 5px; }
.log-content .dim { color: #555; margin-top: 20px; }

/* Responsive */
@media (max-width: 768px) {
    .dashboard-grid { grid-template-columns: 1fr; }
    .text-report { padding-left: 0; border-left: none; }
}
/* --- SECURITY PAGE STYLES --- */

.security-body {
    background-color: #020303;
    /* Subtle grid background */
    background-image: linear-gradient(rgba(39, 201, 63, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 201, 63, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

.security-hero {
    text-align: center;
    padding: 100px 0 60px 0;
    background: radial-gradient(circle at center, #0a1f0d 0%, #020303 70%);
    border-bottom: 1px solid #1a331d;
}

.lock-icon {
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(39, 201, 63, 0.5));
}

.security-hero h1 {
    font-size: 3rem;
    color: #fff;
    letter-spacing: -1px;
}

/* Split Layout for PGP Section */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.text-side h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: #ccc;
    font-size: 1.1rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27c93f;
    font-weight: bold;
}

/* PGP Box Styling */
.pgp-box {
    background: #080a08;
    border: 1px solid #27c93f;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(39, 201, 63, 0.1);
}

.pgp-header, .pgp-footer {
    background: rgba(39, 201, 63, 0.1);
    color: #27c93f;
    padding: 10px 15px;
    font-family: monospace;
    font-size: 0.8rem;
    text-align: center;
}

.pgp-content {
    padding: 20px;
    color: #6c7a6d;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-all;
}

.pgp-content strong { color: #fff; }

.btn-copy-pgp {
    width: 100%;
    padding: 15px;
    background: #27c93f;
    border: none;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    font-family: var(--font-tech);
    transition: background 0.2s;
}

.btn-copy-pgp:hover { background: #20a033; }

/* Dense Text Sections */
.bg-darker { background: #050505; border-top: 1px solid #111; border-bottom: 1px solid #111; }

.text-dense {
    max-width: 800px;
    margin: 0 auto;
}

.text-dense h3 {
    color: #27c93f;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.4rem;
    border-left: 3px solid #27c93f;
    padding-left: 15px;
}

.text-dense p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
    text-align: justify;
}

/* Step Cards for 2FA */
.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.guide-steps h2 { text-align: center; color: #fff; margin-bottom: 40px; }

.step-card {
    display: flex;
    background: #111;
    border: 1px solid #333;
    padding: 20px;
    align-items: flex-start;
}

.step-num {
    font-size: 2.5rem;
    font-weight: bold;
    color: #222;
    font-family: var(--font-tech);
    margin-right: 20px;
    line-height: 1;
}

.step-content h4 { color: #fff; margin-bottom: 10px; }
.step-content p { color: #888; font-size: 0.95rem; margin: 0; }

/* Alert Banner */
.alert-banner {
    background: rgba(255, 61, 61, 0.05);
    border: 1px solid #ff3d3d;
    padding: 30px;
    border-radius: 6px;
    display: flex;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.alert-icon { font-size: 2rem; }
.alert-text h3 { color: #ff3d3d; margin-bottom: 10px; font-size: 1.2rem; }
.alert-text p { color: #ccc; margin: 0; }

/* Responsive */
@media (max-width: 850px) {
    .split-layout { grid-template-columns: 1fr; }
    .pgp-box { margin-top: 30px; }
}
/* --- LINKS / DIRECTORY PAGE --- */

.links-body {
    background-color: #0c0c0c;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.links-hero {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(180deg, #111 0%, #0c0c0c 100%);
    border-bottom: 2px solid #222;
}

.dir-badge {
    background: #333;
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-family: monospace;
    border-radius: 4px;
    margin-bottom: 15px;
    display: inline-block;
}

/* Link Cards Grid */
.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.link-card {
    background: #151515;
    border: 1px solid #333;
    padding: 25px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-head .type {
    font-size: 0.7rem;
    color: #777;
    letter-spacing: 1px;
    font-weight: bold;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.status-dot.online { background: #27c93f; box-shadow: 0 0 5px #27c93f; }

.link-card h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.link-card p {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.onion-box {
    background: #000;
    color: var(--primary-yellow);
    padding: 10px;
    font-family: monospace;
    font-size: 0.85rem;
    text-align: center;
    border: 1px dashed #444;
    margin-bottom: 15px;
    word-break: break-all;
}

.btn-copy {
    width: 100%;
    background: #222;
    color: #fff;
    border: 1px solid #444;
    padding: 10px;
    cursor: pointer;
    font-family: var(--font-tech);
    transition: background 0.2s;
}

.btn-copy:hover {
    background: #333;
    border-color: #666;
}

/* Text Archive (Article Style) */
.bg-paper {
    background: #111;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.text-archive {
    max-width: 850px;
    margin: 0 auto;
}

.text-archive h2, .text-archive h3 {
    color: #fff;
    margin-bottom: 25px;
    margin-top: 40px;
}

.text-archive p {
    color: #bbb;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Directory List Styling */
.list-wrapper {
    background: #151515;
    border: 1px solid #333;
    padding: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.list-wrapper h3 {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.directory-list {
    list-style: none;
    padding: 0;
}

.directory-list li {
    display: flex;
    border-bottom: 1px solid #222;
    padding: 20px 0;
    align-items: flex-start;
}

.directory-list li:last-child { border-bottom: none; }

.directory-list .cat {
    min-width: 140px;
    font-size: 0.75rem;
    color: var(--primary-yellow);
    font-weight: bold;
    font-family: var(--font-tech);
    padding-top: 5px;
}

.list-content {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

.list-content strong { color: #fff; }

.link-placeholder {
    display: inline-block;
    background: #000;
    color: #555;
    padding: 2px 8px;
    font-family: monospace;
    font-size: 0.8rem;
    margin-top: 5px;
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 768px) {
    .directory-list li { flex-direction: column; }
    .directory-list .cat { margin-bottom: 10px; }
}
/* --- WIKI PAGE STYLES --- */

.wiki-body {
    background-color: #f0f0f0; /* Светлый фон для контраста? Нет, лучше темный для даркнета, но "бумажный" */
    background-color: #0e0e0e;
    color: #d0d0d0;
}

.wiki-layout {
    display: flex;
    gap: 40px;
    padding: 60px 0;
    align-items: flex-start;
}

/* Sidebar */
.wiki-sidebar {
    width: 250px;
    background: #151515;
    border: 1px solid #333;
    padding: 20px;
    position: sticky;
    top: 20px;
    border-radius: 4px;
}

.wiki-toc h4 {
    color: #fff;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: bold;
}

.wiki-toc ul {
    list-style: none;
    padding: 0;
}

.wiki-toc li {
    margin-bottom: 10px;
}

.wiki-toc a {
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.wiki-toc a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.wiki-meta {
    margin-top: 40px;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.wiki-meta p {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 15px;
}

.wiki-meta strong { color: #999; }
.verified { color: #27c93f; font-weight: bold; }

/* Main Content */
.wiki-content {
    flex: 1;
    background: #111;
    padding: 50px;
    border: 1px solid #222;
    min-height: 800px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.wiki-header h1 {
    font-family: 'Times New Roman', serif; /* Classic Wiki Font */
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 5px;
}

.citation {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
}

.wiki-divider {
    border: 0;
    border-bottom: 1px solid #333;
    margin: 20px 0 40px 0;
}

/* Wiki Typography */
.wiki-content h2 {
    font-family: 'Rajdhani', sans-serif;
    color: #fff;
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #222;
}

.wiki-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #ccc;
    text-align: justify;
}

.wiki-content a {
    color: var(--primary-yellow);
    text-decoration: none;
}
.wiki-content a:hover { text-decoration: underline; }

.wiki-content em { color: #fff; font-style: italic; }
.wiki-content strong { color: #fff; }

/* Info Box */
.info-box {
    background: rgba(39, 201, 63, 0.1);
    border-left: 4px solid #27c93f;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #ddd;
}

/* Wiki Table */
.wiki-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 0.95rem;
}

.wiki-table th, .wiki-table td {
    border: 1px solid #333;
    padding: 12px 15px;
    text-align: left;
}

.wiki-table th {
    background: #1a1a1a;
    color: #fff;
    font-weight: bold;
}

.wiki-table tr:nth-child(even) { background: #151515; }

/* Responsive */
@media (max-width: 900px) {
    .wiki-layout { flex-direction: column; }
    .wiki-sidebar { width: 100%; position: static; margin-bottom: 30px; }
    .wiki-content { padding: 20px; }
}
