:root {
    --bg-dark: #050505;
    --bg-panel: #0a0a0a;
    --primary: #a3a3a3; /* Liquid Silver */
    --accent: #5e60ce;  /* Deep Neon Purple */
    --neon-cyan: #4ea8de;
    --text-main: #e0e0e0;
    --text-muted: #808080;
    --font-main: 'Inter', sans-serif;
    --font-mono: 'Space Mono', 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;
}

/* --- Ambient Effects --- */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 999;
}

.ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    animation: floatOrb 20s infinite alternate;
}

.orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--accent), transparent);
    top: -100px; left: -100px;
}

.orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--neon-cyan), transparent);
    bottom: -100px; right: -100px;
    animation-delay: -5s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 100px); }
}

/* --- UNIVERSAL HEADER STYLES --- */
.site-header {
    background: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #222;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* Logo Area */
.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-link {
    text-decoration: none;
}

.logo-glitch {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Space Mono', monospace;
    letter-spacing: -1px;
    position: relative;
}
/* (Эффект глитча можно оставить из прошлого кода, если он есть) */

.server-status {
    font-size: 0.7rem;
    color: #00ff00;
    font-family: monospace;
    border: 1px solid #004400;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 255, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 5px #00ff00;
    animation: blink 2s infinite;
}

@keyframes blink { 50% { opacity: 0.3; } }

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #888;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s;
    text-transform: uppercase;
}

.main-nav a:hover {
    color: #fff;
    background: #1a1a1a;
}

.main-nav a.active {
    color: var(--neon-cyan, #00bfff); /* Используем переменную или цвет */
    background: rgba(0, 191, 255, 0.1);
    border: 1px solid rgba(0, 191, 255, 0.2);
}

/* Mobile Burger (Hidden on Desktop) */
.nav-toggle { display: none; }
.nav-burger { display: none; }

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5%;
    perspective: 1000px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    max-width: 1400px;
    width: 100%;
}

.pre-title {
    font-family: var(--font-mono);
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}

h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 800;
    text-transform: uppercase;
}

.liquid-text {
    background: linear-gradient(180deg, #fff 0%, #a0a0a0 50%, #404040 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.2));
}

.hero-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: #fff;
    color: #000;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-primary:hover {
    background: #d4d4d4;
    box-shadow: 0 0 20px rgba(255,255,255,0.4);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.05);
}

/* 3D Card */
.hero-card-container {
    transform-style: preserve-3d;
    transition: transform 0.1s;
    animation: float 6s ease-in-out infinite;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-family: var(--font-mono);
    margin-bottom: 20px;
    font-weight: bold;
}

.onion-link-display {
    background: rgba(0,0,0,0.5);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border: 1px solid var(--accent);
    box-shadow: 0 0 15px rgba(94, 96, 206, 0.2);
}

code {
    font-family: var(--font-mono);
    color: #fff;
    font-size: 1.1rem;
}

.copy-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 5px 15px;
    cursor: pointer;
    font-family: var(--font-mono);
    transition: 0.3s;
}

.copy-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat .label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.stat .value {
    font-weight: bold;
    color: #0f0;
}

/* --- Common Sections --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.section-title {
    color: #fff;
    text-align: center;
    margin-bottom: 60px;
}

/* --- SECTION 1: TERMINAL --- */
.section-terminal { padding: 80px 0; }
.terminal-window {
    background: #0f0f0f;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    font-family: 'Space Mono', monospace;
    overflow: hidden;
}
.terminal-header {
    background: #1a1a1a;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}
.dot { width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }
.terminal-title { margin-left: 20px; color: #666; font-size: 0.8rem; }
.terminal-body { padding: 30px; }
.h2-mono { font-size: 1.8rem; color: #e0e0e0; margin-bottom: 20px; font-weight: 400; }
.cmd-line { color: var(--accent); margin-right: 10px; }
.terminal-link { color: #0f0; text-decoration: none; display: inline-block; margin-top: 20px; border-bottom: 1px dashed #0f0; }
.terminal-link:hover { background: rgba(0,255,0,0.1); }

/* --- SECTION 2: HOLOGRAPHIC GRID --- */
.section-grid { padding: 80px 0; background: radial-gradient(circle at center, rgba(94, 96, 206, 0.05), transparent 70%); }
.text-metal {
    background: linear-gradient(to bottom, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.grid-layout-tech {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    margin-top: 40px;
}
.tech-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 25px;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}
.tech-box:hover { border-color: var(--neon-cyan); box-shadow: 0 0 15px rgba(78, 168, 222, 0.2); }
.big-box { grid-column: 1 / 2; grid-row: 1 / 3; display: flex; flex-direction: column; justify-content: center; }
.wide-box { grid-column: 2 / 4; grid-row: 2 / 3; position: relative; overflow: hidden; }
.glowing-bar { position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--neon-cyan); box-shadow: 0 0 10px var(--neon-cyan); }
.tech-box h3, .tech-box h4 { margin-bottom: 10px; color: #fff; font-family: 'Inter', sans-serif; }
.box-icon { font-size: 3rem; margin-bottom: 20px; }

/* --- SECTION 3: MIRROR TABLE --- */
.glass-panel {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 40px;
    position: relative;
}
.panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.live-indicator { color: #ff0000; font-weight: bold; font-family: monospace; font-size: 0.9rem; }
.blink { display: inline-block; width: 8px; height: 8px; background: red; border-radius: 50%; margin-right: 5px; animation: blink 1s infinite; }
.mirror-row {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header-row { color: var(--text-muted); font-size: 0.8rem; letter-spacing: 1px; }
.ping-good { color: #0f0; } .ping-med { color: orange; }
.status-active { color: var(--neon-cyan); border: 1px solid var(--neon-cyan); padding: 2px 8px; border-radius: 4px; font-size: 0.7rem; display: inline-block; text-align: center; }

/* --- SECTION 4: DIRECT CTA --- */
.section-direct { padding: 100px 0; text-align: center; }
.cta-3d-wrapper {
    background: #000;
    border: 1px solid #333;
    padding: 50px;
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    transform: perspective(1000px) rotateX(5deg);
    box-shadow: 0 50px 50px -20px rgba(0,0,0,0.8);
}
.floating-symbol { font-size: 4rem; margin-bottom: 20px; animation: float 3s infinite ease-in-out; }
.stroke-text { -webkit-text-stroke: 1px #fff; color: transparent; }
.cta-desc { margin: 20px 0 30px; color: #888; }
.input-group-styled { display: flex; gap: 10px; justify-content: center; }
.input-group-styled input {
    background: #111; border: 1px solid #444; color: #0f0; padding: 10px 20px; font-family: monospace; width: 60%;
}
.btn-neon {
    background: var(--accent); color: #fff; border: none; padding: 10px 30px; font-weight: bold; cursor: pointer;
    box-shadow: 0 0 15px var(--accent); transition: 0.3s;
}
.btn-neon:hover { background: #fff; color: var(--accent); }

/* --- SECTION 5: SECURITY --- */
.section-security { padding: 80px 0; }
.security-wrapper { display: flex; align-items: center; gap: 50px; }
.sec-text { flex: 1; }
.sec-visual { flex: 1; display: flex; justify-content: center; }
.check-list { list-style: none; margin-top: 20px; }
.check-list li { margin-bottom: 10px; padding-left: 25px; position: relative; color: #ccc; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--neon-cyan); }
.shield-3d {
    width: 200px; height: 200px; position: relative; display: flex; align-items: center; justify-content: center;
}
.shield-inner {
    color: var(--accent); filter: drop-shadow(0 0 20px var(--accent)); z-index: 2;
}
.shield-ring {
    position: absolute; width: 100%; height: 100%; border: 2px dashed rgba(255,255,255,0.1); border-radius: 50%;
    animation: spin 10s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }


/* --- SECTION 6: TEXT CLUSTER --- */
.section-text-cluster {
    padding: 100px 0;
    background: linear-gradient(to bottom, #050505, #080808);
}
.liquid-silver {
    background: linear-gradient(45deg, #fff, #666, #fff);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}
.text-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}
.text-block-glitch {
    position: relative;
    padding: 20px;
    border-left: 1px solid rgba(255,255,255,0.1);
}
.text-block-glitch h3 {
    color: var(--neon-cyan);
    margin-bottom: 20px;
    font-family: var(--font-mono);
    text-transform: uppercase;
}
.text-block-glitch p {
    margin-bottom: 20px;
    color: #a0a0a0;
    font-size: 1.05rem;
    text-align: justify;
}
.warning-border {
    border: 1px dashed #ff5f56;
    background: rgba(255, 95, 86, 0.05);
    padding: 30px;
    border-radius: 6px;
    text-align: center;
}
.warning-border h4 {
    color: #ff5f56;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* --- SECTION 7: TIMELINE --- */
.section-timeline {
    padding: 100px 0;
    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;
}
.timeline {
    max-width: 800px;
    margin: 60px auto 0;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0; left: 29px;
    height: 100%;
    width: 2px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}
.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}
.timeline-dot {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: #000;
    border: 2px solid var(--accent);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 20px rgba(94, 96, 206, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}
.timeline-dot::after {
    content: '';
    width: 10px; height: 10px;
    background: #fff;
    border-radius: 50%;
}
.timeline-content {
    background: rgba(10,10,10,0.9);
    padding: 25px;
    border: 1px solid #333;
    border-radius: 8px;
    width: 100%;
    transform: translateX(0);
    transition: transform 0.3s;
}
.timeline-content:hover {
    transform: translateX(10px);
    border-color: #fff;
}
.timeline-content h3 {
    color: #fff;
    margin-bottom: 10px;
    font-family: var(--font-mono);
}

@keyframes shine {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* --- SECTION: FINANCE (Crypto Style) --- */
.section-finance {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a, #111);
    border-top: 1px solid #222;
}
.finance-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}
.finance-text { flex: 1; }
.chrome-header {
    background: linear-gradient(to bottom, #fff, #999, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-transform: uppercase;
}
.crypto-stats {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}
.stat-box {
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.02);
    padding: 15px 25px;
    border-radius: 4px;
}
.coin-name {
    display: block;
    color: #fff;
    font-weight: bold;
    font-family: var(--font-mono);
}
.coin-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.coin-3d {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent), transparent 70%);
    border-radius: 50%;
    position: relative;
    animation: pulse 4s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

/* --- SECTION: DIAGNOSTICS (Log Style) --- */
.section-diagnostics {
    padding: 80px 0;
    background: #000;
}
.diagnostic-panel {
    border: 1px solid #333;
    padding: 40px;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 1px, #111 1px, #111 2px);
    font-family: var(--font-mono);
}
.mono-header {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 30px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    display: inline-block;
}
.highlight-green { color: #0f0; }
.log-output { color: #ccc; }
.log-line {
    margin-bottom: 5px;
    font-size: 0.9rem;
}
.time { color: #555; margin-right: 10px; }
.log-text {
    margin-top: 20px;
    padding-left: 20px;
    border-left: 2px solid #333;
    color: #888;
    line-height: 1.6;
}

/* --- CLEAN FAQ (No Boxes/Fields) --- */
.faq-section-clean {
    padding: 100px 0;
    background: #050505;
}
.faq-clean-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}
.clean-faq-item {
    margin-bottom: 40px;
    padding-left: 20px;
    border-left: 2px solid var(--accent); /* Minimal visual anchor */
}
.clean-faq-item h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 600;
}
.clean-faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- UNIVERSAL FOOTER STYLES --- */
.site-footer {
    background: #050505;
    border-top: 1px solid #222;
    padding: 60px 0 30px;
    margin-top: auto; /* Прижимает футер к низу */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
}
.footer-logo .highlight { color: #555; }

.footer-desc {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 300px;
}

.pgp-badge {
    display: inline-block;
    margin-top: 15px;
    border: 1px solid #333;
    padding: 5px 10px;
    font-size: 0.7rem;
    color: #aaa;
    font-family: monospace;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
}
.footer-links a:hover { color: var(--neon-cyan, #00bfff); padding-left: 5px; }

.status-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    border-bottom: 1px dashed #222;
    padding-bottom: 5px;
    font-size: 0.85rem;
    color: #666;
    font-family: monospace;
}
.stat-green { color: #00ff00; }
.stat-white { color: #fff; }

.footer-bottom {
    border-top: 1px solid #111;
    padding-top: 20px;
    text-align: center;
    color: #444;
    font-size: 0.8rem;
}
.warning-text { color: #661111; margin-top: 5px; }

/* --- RESPONSIVE HEADER (MOBILE) --- */
@media (max-width: 900px) {
    .header-flex { height: 60px; }
    .server-status { display: none; } /* Скрываем статус на мобилках */
    
    .nav-burger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
        z-index: 1002;
    }
    .nav-burger span {
        height: 2px;
        width: 100%;
        background: #fff;
        transition: 0.3s;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #000;
        border-left: 1px solid #333;
        padding-top: 80px;
        transition: 0.4s;
        z-index: 1001;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav a {
        display: block;
        padding: 20px;
        border-bottom: 1px solid #111;
        font-size: 1rem;
    }

    /* Логика открытия меню через чекбокс */
    .nav-toggle:checked ~ .main-nav {
        right: 0;
    }
    
    /* Анимация бургера */
    .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
    .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .status-row { justify-content: center; gap: 20px; }
    .pgp-badge { margin: 15px auto; display: table; }
}
/* --- PAGE 2: DOCUMENTATION STYLES --- */
.doc-hero {
    background: linear-gradient(to bottom, #000, #0a0a0a);
    padding: 120px 0 60px;
    border-bottom: 1px solid #222;
    text-align: center;
}
.doc-title {
    font-size: 3rem;
    color: #fff;
    font-family: 'Space Mono', monospace;
    margin-bottom: 15px;
}
.doc-subtitle {
    color: #888;
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}
.meta-data {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #555;
}
.meta-data span { margin: 0 10px; }
.meta-data .highlight { color: var(--neon-cyan); }

.doc-content-wrapper {
    background: #050505;
    padding: 60px 0;
}
.doc-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
}
.sidebar-toc { position: relative; }
.toc-sticky {
    position: sticky;
    top: 100px;
    background: #0a0a0a;
    border: 1px solid #222;
    padding: 20px;
    border-radius: 4px;
}
.toc-sticky h3 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}
.toc-list { list-style: none; padding: 0; }
.toc-list li { margin-bottom: 10px; }
.toc-list a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
}
.toc-list a:hover { color: var(--accent); padding-left: 5px; }

.main-text-body {
    color: #ccc;
    line-height: 1.8;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
}
.doc-chapter {
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 40px;
}
.doc-chapter h2 {
    color: #fff;
    font-family: var(--font-mono);
    font-size: 1.8rem;
    margin-bottom: 25px;
}
.doc-chapter p { margin-bottom: 20px; }
.sub-h3 {
    color: var(--neon-cyan);
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
}
.doc-list, .doc-list-ordered {
    margin-bottom: 25px;
    padding-left: 20px;
    color: #bbb;
}
.doc-list li, .doc-list-ordered li { margin-bottom: 10px; }
.alert-box {
    background: rgba(255, 95, 86, 0.1);
    border-left: 4px solid #ff5f56;
    padding: 20px;
    margin: 25px 0;
    color: #ffcccc;
}
.conclusion-box {
    background: rgba(39, 201, 63, 0.05);
    border: 1px solid rgba(39, 201, 63, 0.2);
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
}
.conclusion-box h3 { color: #27c93f; margin-bottom: 10px; }

/* --- RESPONSIVE GLOBAL --- */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text-wrapper { margin: 0 auto; }
    h1 { font-size: 3rem; }
    .doc-grid { grid-template-columns: 1fr; }
    .sidebar-toc { display: none; }
}
@media (max-width: 768px) {
    .site-header { padding: 0 20px; }
    .main-nav { display: none; /* Скрываем меню на мобильном, или можно сделать бургер */ }
    .grid-layout-tech { grid-template-columns: 1fr; }
    .big-box, .wide-box { grid-column: auto; grid-row: auto; }
    .text-columns { grid-template-columns: 1fr; }
    .finance-wrapper { flex-direction: column; }
    .faq-clean-grid { grid-template-columns: 1fr; }
    .security-wrapper { flex-direction: column-reverse; }
    .coin-3d { display: none; }
}

@keyframes float {
    0% { transform: translateY(0px) rotateY(-5deg); }
    50% { transform: translateY(-20px) rotateY(5deg); }
    100% { transform: translateY(0px) rotateY(-5deg); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/* --- PAGE 3: MIRROR STATUS STYLES --- */

/* Hero for Mirrors */
.network-hero {
    background: #000;
    padding: 140px 0 80px; /* Большой отступ сверху из-за фикс хедера */
    text-align: center;
    border-bottom: 1px solid #222;
    background-image: linear-gradient(0deg, transparent 24%, rgba(255, 255, 255, .03) 25%, rgba(255, 255, 255, .03) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, .03) 75%, rgba(255, 255, 255, .03) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, .03) 25%, rgba(255, 255, 255, .03) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, .03) 75%, rgba(255, 255, 255, .03) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
}

.status-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(39, 201, 63, 0.1);
    color: #27c93f;
    border: 1px solid #27c93f;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    margin-bottom: 20px;
}
.pulse-green { animation: pulseBorder 2s infinite; }

@keyframes pulseBorder {
    0% { box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(39, 201, 63, 0); }
    100% { box-shadow: 0 0 0 0 rgba(39, 201, 63, 0); }
}

.network-title {
    font-size: 3.5rem;
    color: #fff;
    font-family: 'Space Mono', monospace;
    margin-bottom: 20px;
}
.network-subtitle {
    color: #999;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 50px;
    border-top: 1px solid #333;
    padding-top: 30px;
    max-width: 800px;
    margin: 0 auto;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-item .label { font-size: 0.7rem; color: #666; letter-spacing: 2px; }
.stat-item .val { font-size: 1.5rem; color: #fff; font-family: var(--font-mono); }

/* Layout: Sidebar + Content */
.mirror-content-wrapper {
    background: #080808;
    padding: 80px 0;
}
.mirror-grid {
    display: grid;
    grid-template-columns: 1fr 350px; /* Основной контент слева, сайдбар справа */
    gap: 60px;
}

/* Left Column: SEO Text */
.seo-text-column {
    color: #ccc;
    font-family: 'Inter', sans-serif;
}
.seo-block {
    margin-bottom: 50px;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 30px;
}
.seo-block h2 {
    color: #fff;
    font-family: var(--font-mono);
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.seo-block p {
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.05rem;
}
.seo-block strong { color: var(--text-main); }
.tech-list {
    list-style: square;
    padding-left: 20px;
    color: #bbb;
    margin-bottom: 25px;
}
.tech-list li { margin-bottom: 10px; }

/* Right Column: Widgets */
.sidebar-status {
    position: relative;
}
.widget-box {
    background: #111;
    border: 1px solid #333;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 4px;
}
.highlight-border { border-color: var(--accent); box-shadow: 0 0 15px rgba(94, 96, 206, 0.1); }
.widget-title {
    color: #fff;
    font-size: 1rem;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.blink-dot {
    display: inline-block; width: 8px; height: 8px; background: #0f0; border-radius: 50%;
    margin-left: 10px; animation: blink 1s infinite;
}
.small-note { font-size: 0.7rem; color: #666; margin-top: -15px; margin-bottom: 15px; font-family: monospace; }

/* Mirror List Items */
.mirror-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #000;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #222;
}
.mirror-info { display: flex; flex-direction: column; }
.mirror-name { font-size: 0.8rem; color: #888; }
.mirror-code { color: #fff; font-size: 0.9rem; }
.mirror-action { display: flex; flex-direction: column; align-items: flex-end; }
.ping { font-size: 0.7rem; font-family: monospace; margin-bottom: 5px; }
.ping.green { color: #0f0; }
.ping.orange { color: orange; }
.copy-small {
    background: #222; border: none; color: #fff; font-size: 0.6rem; padding: 2px 6px; cursor: pointer;
}
.copy-small:hover { background: var(--accent); }

/* Health Grid */
.health-grid { display: grid; gap: 10px; }
.health-item {
    display: flex; justify-content: space-between; font-size: 0.9rem; color: #aaa;
    border-bottom: 1px dashed #222; padding-bottom: 5px;
}
.status-ok { color: #0f0; font-weight: bold; }
.status-warn { color: orange; font-weight: bold; }

.resource-links { list-style: none; }
.resource-links li { margin-bottom: 10px; border-bottom: 1px solid #222; padding-bottom: 10px; }
.resource-links a { color: var(--neon-cyan); font-size: 0.9rem; }
.resource-links a:hover { text-decoration: underline; }

.security-warning {
    margin-top: 15px;
    background: rgba(255, 95, 86, 0.1);
    color: #ff5f56;
    padding: 10px;
    font-size: 0.8rem;
    text-align: center;
    border: 1px solid rgba(255, 95, 86, 0.3);
}

/* Responsive Mirrors */
@media (max-width: 900px) {
    .mirror-grid { grid-template-columns: 1fr; }
    .stats-bar { flex-wrap: wrap; gap: 20px; }
    .network-title { font-size: 2.5rem; }
}
/* --- PAGE 4: VENDOR / COMMERCE STYLES --- */

:root {
    --gold: #ffd700;
    --gold-dim: #b8860b;
}

/* Vendor Hero */
.vendor-hero {
    background: radial-gradient(circle at top right, #1a1a1a, #000);
    padding: 150px 0 100px;
    border-bottom: 1px solid #333;
    position: relative;
    overflow: hidden;
}

/* Сетка для Hero секции */
.hero-split {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    gap: 50px;
}

.premium-tag {
    background: linear-gradient(90deg, var(--gold), var(--gold-dim));
    color: #000;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.gold-title {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--gold);
    margin-bottom: 25px;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.white-glitch {
    color: #fff;
    font-style: italic;
}

.hero-sub {
    color: #aaa;
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 40px;
}

/* Gold Button */
.btn-gold {
    background: var(--gold);
    color: #000;
    font-weight: bold;
    padding: 15px 40px;
    border: none;
    cursor: pointer;
    font-family: var(--font-mono);
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}
.btn-gold:hover {
    background: #fff;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
}

/* Floating Coin Visual */
.hero-visual-side {
    display: flex;
    justify-content: center;
}
.floating-coin {
    width: 250px;
    height: 250px;
    border: 10px solid var(--gold-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #222, #000);
    animation: coinFloat 4s ease-in-out infinite;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.1);
}
.coin-face {
    font-size: 8rem;
    color: var(--gold);
    font-weight: bold;
}

@keyframes coinFloat {
    0%, 100% { transform: translateY(0) rotateY(0); }
    50% { transform: translateY(-20px) rotateY(10deg); }
}

/* Vendor Content Area */
.vendor-content-wrapper {
    background: #050505;
    padding: 80px 0;
}

/* Alert Box Gold Variant */
.gold-alert {
    border-left-color: var(--gold);
    background: rgba(255, 215, 0, 0.05);
    color: #e0e0e0;
}
.gold-alert strong { color: var(--gold); }

/* Sidebar Widget */
.vendor-widget {
    border: 1px solid var(--gold-dim);
    box-shadow: 0 0 10px rgba(184, 134, 11, 0.1);
}
.gold-header {
    color: var(--gold);
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1rem;
    letter-spacing: 1px;
}
.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #888;
}
.val-gold { color: var(--gold); font-weight: bold; }
.val-white { color: #fff; }

.divider-line {
    height: 1px;
    background: #333;
    margin: 20px 0;
}

.price-ticker {
    text-align: center;
    background: #111;
    padding: 15px;
    border-radius: 4px;
    border: 1px dashed #444;
}
.btc-val {
    display: block;
    font-size: 1.5rem;
    color: #fff;
    font-weight: bold;
}
.xmr-val {
    display: block;
    font-size: 0.8rem;
    color: #666;
}
.small-disclaimer {
    font-size: 0.7rem;
    color: #555;
    margin-top: 10px;
    text-align: center;
    font-style: italic;
}

.btn-sidebar-gold {
    width: 100%;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 10px;
    margin-top: 20px;
    cursor: pointer;
    font-family: var(--font-mono);
    transition: 0.3s;
}
.btn-sidebar-gold:hover {
    background: var(--gold);
    color: #000;
}

.gold-text { color: var(--gold); }

/* Responsive Vendor */
@media (max-width: 900px) {
    .hero-split { grid-template-columns: 1fr; text-align: center; }
    .hero-visual-side { display: none; } /* Упрощаем на мобильном */
    .gold-title { font-size: 2.5rem; }
}
/* --- PAGE 5: FAQ & SUPPORT STYLES --- */

/* FAQ Hero */
.faq-hero {
    background: #080808;
    padding: 140px 0 60px;
    text-align: center;
    border-bottom: 1px solid #222;
}

.faq-title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    font-family: var(--font-mono);
}

.faq-sub {
    color: #888;
    max-width: 600px;
    margin: 0 auto 40px;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.faq-search-input {
    flex: 1;
    background: #111;
    border: 1px solid #333;
    padding: 15px 20px;
    color: #fff;
    font-family: var(--font-mono);
    border-radius: 4px;
}
.faq-search-input:focus {
    border-color: var(--neon-cyan);
    outline: none;
}

.search-btn {
    background: var(--neon-cyan);
    color: #000;
    border: none;
    padding: 0 30px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}
.search-btn:hover {
    background: #fff;
    box-shadow: 0 0 15px var(--neon-cyan);
}

/* Content Grid */
.faq-content-wrapper {
    background: #050505;
    padding: 60px 0;
}
.faq-grid-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
}

/* Questions (Left) */
.cat-title {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #222;
}

.faq-item {
    background: #0f0f0f;
    border: 1px solid #222;
    margin-bottom: 15px;
    border-radius: 6px;
    overflow: hidden;
    transition: 0.3s;
}
.faq-item:hover {
    border-color: #444;
}

.faq-item[open] {
    border-color: var(--neon-cyan);
}

summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: #e0e0e0;
    list-style: none; /* Hide default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--neon-cyan);
    font-weight: 300;
}

details[open] summary::after {
    content: '-';
}

.faq-answer {
    padding: 0 20px 20px;
    color: #aaa;
    line-height: 1.7;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 10px;
    padding-top: 15px;
}

/* Ticket Sidebar (Right) */
.ticket-widget {
    background: #111;
    padding: 30px;
    border: 1px solid #333;
    border-radius: 8px;
    margin-bottom: 30px;
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: #fff;
}
.widget-header .icon { font-size: 1.5rem; }

.ticket-desc {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
}

.input-fake { margin-bottom: 15px; }
.input-fake label {
    display: block;
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 5px;
}
.input-fake input, .input-fake textarea {
    width: 100%;
    background: #000;
    border: 1px solid #333;
    color: #ccc;
    padding: 10px;
    font-family: var(--font-mono);
    resize: none;
}

.btn-ticket {
    width: 100%;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 12px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
}
.btn-ticket:hover {
    background: var(--accent);
    color: #fff;
}

.support-stats {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px dashed #333;
}
.stat-row-s {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}
.green-text { color: #0f0; }
.white-text { color: #fff; }

.pgp-key-box {
    background: #080808;
    border: 1px solid #222;
    padding: 20px;
}
.pgp-key-box h4 { color: #fff; margin-bottom: 10px; font-size: 0.9rem; }
.key-block {
    background: #000;
    padding: 10px;
    color: #666;
    font-family: monospace;
    font-size: 0.7rem;
    height: 80px;
    overflow: hidden;
    margin-bottom: 15px;
    border-left: 2px solid #333;
}
.copy-key-btn {
    width: 100%;
    background: #222;
    color: #fff;
    border: none;
    padding: 8px;
    font-size: 0.8rem;
    cursor: pointer;
}
.copy-key-btn:hover { background: #444; }

.text-cluster-faq {
    margin-top: 50px;
    padding: 30px;
    background: rgba(255,255,255,0.02);
    border-left: 4px solid var(--accent);
}
.text-cluster-faq h3 { color: #fff; margin-bottom: 15px; }
.text-cluster-faq p { color: #999; margin-bottom: 15px; }

/* Responsive FAQ */
@media (max-width: 900px) {
    .faq-grid-layout { grid-template-columns: 1fr; }
    .search-container { flex-direction: column; }
    .search-btn { width: 100%; padding: 15px; }
}
/* --- PAGE 6: SECURITY / OPSEC STYLES --- */

/* Security Hero */
.security-hero {
    background: #020205;
    padding: 150px 0 80px;
    text-align: center;
    border-bottom: 2px solid #1a2a3a;
    background-image: 
        linear-gradient(rgba(0, 10, 20, 0.9), rgba(0, 0, 0, 1)),
        url('data:image/svg+xml;utf8,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="1" height="1" fill="%231a2a3a"/></svg>');
}

.shield-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(0, 191, 255, 0.3));
    animation: shieldPulse 3s infinite;
}

@keyframes shieldPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 25px rgba(0, 191, 255, 0.6)); }
    100% { transform: scale(1); }
}

.sec-title {
    font-size: 3.5rem;
    color: #fff;
    font-family: 'Space Mono', monospace;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.blue-neon {
    color: #00bfff;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.sec-sub {
    color: #8faabf;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.threat-level-bar {
    background: #110000;
    border: 1px solid #ff3333;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    animation: flashRed 4s infinite;
}
.level-label { color: #ff3333; font-weight: bold; margin-right: 10px; }
.level-val { color: #fff; font-family: var(--font-mono); letter-spacing: 1px; }

@keyframes flashRed {
    0%, 100% { box-shadow: 0 0 0 rgba(255, 0, 0, 0); }
    50% { box-shadow: 0 0 15px rgba(255, 0, 0, 0.2); }
}

/* Security Content Layout */
.sec-content-wrapper {
    background: #030303;
    padding: 80px 0;
}
.sec-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
}

/* Main Text Area */
.sec-text-body {
    font-family: 'Inter', sans-serif;
    color: #ccc;
}
.sec-chapter {
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 1px solid #111;
}
.sec-chapter h2 {
    color: #fff;
    font-family: var(--font-mono);
    font-size: 1.8rem;
    margin-bottom: 25px;
    border-left: 4px solid #00bfff;
    padding-left: 15px;
}
.sec-chapter p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05rem;
}
.sec-chapter strong {
    color: #00bfff;
    font-weight: 600;
}

/* Warning Box */
.warning-box {
    background: rgba(255, 51, 51, 0.05);
    border: 1px solid #ff3333;
    padding: 20px;
    color: #ffcccc;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-top: 30px;
}
.warning-box strong { color: #ff3333; }

/* Sidebar Widgets */
.sidebar-sec .sec-widget {
    background: #0a0a0a;
    border: 1px solid #222;
    padding: 25px;
    margin-bottom: 30px;
}
.sidebar-sec h3 {
    color: #fff;
    font-size: 0.9rem;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* Checklist */
.checklist { list-style: none; padding: 0; }
.checklist li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-size: 0.9rem;
    color: #888;
}
.checklist li::before {
    position: absolute; left: 0; top: 2px;
}
.checklist li.checked::before { content: '✓'; color: #00ff00; }
.checklist li.checked { color: #ccc; }
.checklist li.unchecked::before { content: '×'; color: #ff3333; }

/* Code Terminal */
.code-terminal {
    background: #000;
    border: 1px solid #333;
    padding: 15px;
    color: #00ff00;
    font-family: monospace;
    font-size: 0.8rem;
    word-break: break-all;
}
.comment { color: #666; display: block; margin-top: 5px; }

/* Alert Widget */
.alert-widget {
    border-color: #ff3333 !important;
    background: rgba(255, 0, 0, 0.02) !important;
}
.alert-widget p { color: #ff9999; font-size: 0.9rem; line-height: 1.5; }

/* Notepad */
.safe-area {
    width: 100%;
    background: #111;
    border: none;
    color: #fff;
    height: 100px;
    padding: 10px;
    font-family: monospace;
    resize: vertical;
}

/* Responsive */
@media (max-width: 900px) {
    .sec-grid { grid-template-columns: 1fr; }
    .sec-title { font-size: 2.5rem; }
}
/* --- PAGE 7: WIKI / GLOSSARY STYLES --- */

/* Wiki Hero */
.wiki-hero {
    background: #111;
    padding: 120px 0 60px;
    border-bottom: 4px solid #333;
    text-align: center;
}

.wiki-title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
    font-family: var(--font-header);
    letter-spacing: -2px;
}

.mono-highlight {
    font-family: var(--font-mono);
    background: #333;
    padding: 0 10px;
    color: #fff;
}

.wiki-sub {
    color: #888;
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

/* Alphabet Nav */
.alphabet-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.alphabet-nav a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #222;
    color: #888;
    text-decoration: none;
    font-family: var(--font-mono);
    font-weight: bold;
    border: 1px solid #444;
    transition: 0.2s;
}
.alphabet-nav a:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
}

/* Wiki Layout */
.wiki-content-wrapper {
    background: #0a0a0a;
    padding: 60px 0;
}
.wiki-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 50px;
}

/* Sidebar */
.wiki-sidebar .toc-box {
    background: #111;
    border: 1px solid #333;
    padding: 20px;
    position: sticky;
    top: 20px;
}
.toc-box h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #fff;
    padding-bottom: 10px;
    display: inline-block;
}
.toc-box ul {
    list-style: none;
    padding: 0;
}
.toc-box li {
    margin-bottom: 10px;
}
.toc-box a {
    color: #888;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.2s;
}
.toc-box a:hover {
    color: #fff;
    padding-left: 5px;
}
.wiki-stat {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #555;
    border-top: 1px solid #222;
    padding-top: 10px;
}

/* Definitions Area */
.group-title {
    font-size: 2rem;
    color: #444;
    margin-bottom: 30px;
    text-transform: uppercase;
    border-bottom: 1px solid #222;
    padding-bottom: 10px;
}

.term-card {
    background: #0f0f0f;
    border-left: 3px solid #444;
    padding: 25px;
    margin-bottom: 25px;
    transition: 0.3s;
}
.term-card:hover {
    background: #161616;
    border-left-color: #fff;
}
.term-card h3 {
    color: #fff;
    font-family: var(--font-mono);
    font-size: 1.3rem;
    margin-bottom: 15px;
}
.term-card p {
    color: #aaa;
    line-height: 1.6;
}
.term-card strong {
    color: #ccc;
    font-weight: 600;
}

/* Footer SEO Note */
.wiki-footer-note {
    margin-top: 60px;
    padding: 30px;
    background: #111;
    border: 1px dashed #444;
    text-align: center;
}
.wiki-footer-note h4 {
    color: #fff;
    margin-bottom: 10px;
}
.wiki-footer-note p {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .wiki-layout { grid-template-columns: 1fr; }
    .wiki-sidebar { display: none; } /* Скрываем сайдбар на мобильном */
    .wiki-title { font-size: 2.5rem; }
}
