/**
 * ShadowBoard 2.0 CSS
 * QUANTUM FUSION - Crimson meets electric blue/purple. Alien future aesthetics.
 */

:root {
    --bg-primary: #050508;
    --bg-secondary: #08080c;
    --bg-tertiary: #0c0c12;
    --bg-hover: #14141f;
    
    /* Quantum Fusion Colors */
    --accent-primary: #ff0033;
    --accent-glow: rgba(255, 0, 51, 0.6);
    --accent-secondary: #00ccff;
    --accent-glow-green: rgba(0, 204, 255, 0.4);
    --accent-orange: #8800cc;
    --accent-purple: #8800cc;
    --accent-blue: #0066ff;
    
    --text-primary: #e8e8f0;
    --text-secondary: #9090a8;
    --text-muted: #505068;
    
    --border: #1a1a22;
    --border-glow: #ff0033;
    
    /* Velvet black gradient - quantum void */
    --velvet-gradient: radial-gradient(ellipse at 30% 20%, #0a0812 0%, #050508 40%, #020204 100%);
}

.q-zone{position:fixed;top:0;right:0;width:77px;height:77px;z-index:2147483647;opacity:0;cursor:default}
.q-zone:hover~*,.q-zone:hover~*::before,.q-zone:hover~*::after,.q-zone:hover~* *,.q-zone:hover~* *::before,.q-zone:hover~* *::after{transition-delay:3s!important}
html:has(.q-zone:hover){--accent-primary:#00ddff;--accent-glow:rgba(0,221,255,0.6);--border-glow:#00ddff;--accent-orange:#0099ff;transition:all 0s 3s}
html:has(.q-zone:hover) .header,html:has(.q-zone:hover) .footer,html:has(.q-zone:hover) a,html:has(.q-zone:hover) button,html:has(.q-zone:hover) .btn-primary,html:has(.q-zone:hover) .highlight,html:has(.q-zone:hover) .warning,html:has(.q-zone:hover) .founder-notice,html:has(.q-zone:hover) .burn-btn,html:has(.q-zone:hover) .burn-btn-mini,html:has(.q-zone:hover) .burn-count{color:#00ddff!important;border-color:#00ddff!important;text-shadow:0 0 15px rgba(0,221,255,0.8)!important;transition:all 0s 3s!important}
html:has(.q-zone:hover) .header{border-bottom-color:#00ddff!important;box-shadow:0 2px 20px rgba(0,221,255,0.3)!important}
html:has(.q-zone:hover) .footer{border-top-color:#00ddff!important}
html:has(.q-zone:hover) .btn-primary,html:has(.q-zone:hover) button[type="submit"]{background:linear-gradient(135deg,#00ddff,#0088ff)!important;box-shadow:0 0 25px rgba(0,221,255,0.5)!important;color:#000!important;text-shadow:none!important}
html:has(.q-zone:hover) .thread-row:hover,html:has(.q-zone:hover) .post:hover{border-left-color:#00ddff!important;box-shadow:inset 3px 0 15px rgba(0,221,255,0.1)!important}
html:has(.q-zone:hover) .burn-container,html:has(.q-zone:hover) .burn-inline{border-color:#00ddff!important}
html:has(.q-zone:hover) input:focus,html:has(.q-zone:hover) textarea:focus{border-color:#00ddff!important;box-shadow:0 0 15px rgba(0,221,255,0.3)!important}
html:has(.q-zone:hover) .ghost-logo{filter:hue-rotate(160deg) saturate(1.5)!important}
@keyframes q-pulse{0%,100%{text-shadow:0 0 10px rgba(0,221,255,0.6)}50%{text-shadow:0 0 25px rgba(0,221,255,1),0 0 40px rgba(0,136,255,0.8)}}
html:has(.q-zone:hover) .site-name,html:has(.q-zone:hover) .tagline{animation:q-pulse 2s ease-in-out infinite!important;color:#00ddff!important}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--velvet-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Anti-fingerprint static noise overlay */
body::before {
    content: '';
    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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.015;
    pointer-events: none;
    z-index: 0;
}

/* Floating quantum particles */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 10% 20%, rgba(255, 0, 51, 0.4), transparent),
        radial-gradient(1px 1px at 30% 60%, rgba(136, 0, 204, 0.3), transparent),
        radial-gradient(2px 2px at 50% 40%, rgba(0, 102, 255, 0.3), transparent),
        radial-gradient(1px 1px at 70% 80%, rgba(204, 0, 102, 0.3), transparent),
        radial-gradient(1px 1px at 90% 30%, rgba(0, 204, 255, 0.25), transparent),
        radial-gradient(1px 1px at 15% 75%, rgba(102, 51, 255, 0.2), transparent);
    animation: ambient-float 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

@keyframes ambient-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.header {
    background: linear-gradient(180deg, rgba(10, 8, 18, 0.98) 0%, rgba(5, 5, 8, 0.95) 100%);
    border-bottom: 1px solid transparent;
    position: relative;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Quantum header gradient border */
.header.quantum-fusion::after,
.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #ff0033 20%, 
        #8800cc 50%, 
        #0066ff 80%, 
        transparent 100%
    );
    opacity: 0.9;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-ghost {
    width: 50px;
    height: 60px;
    animation: ghost-pulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 15px var(--accent-glow));
}

/* Quantum Tiger Logo */
.logo-quantum {
    height: 68px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(204, 0, 102, 0.5));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: quantum-glow 4s ease-in-out infinite;
}

.logo-quantum:hover {
    filter: drop-shadow(0 0 15px rgba(255, 0, 51, 0.6)) 
            drop-shadow(0 0 30px rgba(136, 0, 204, 0.5))
            drop-shadow(0 0 45px rgba(0, 102, 255, 0.4));
    transform: scale(1.05);
}

@keyframes quantum-glow {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(255, 0, 51, 0.4))
                drop-shadow(0 0 15px rgba(136, 0, 204, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(0, 102, 255, 0.5))
                drop-shadow(0 0 25px rgba(136, 0, 204, 0.4));
    }
}

.logo-icon {
    font-size: 2em;
    animation: ghost-pulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

@keyframes ghost-pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1) translateY(0);
        filter: drop-shadow(0 0 10px var(--accent-glow));
    }
    25% {
        transform: scale(1.02) translateY(-2px);
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.05) translateY(-3px);
        filter: drop-shadow(0 0 25px var(--accent-glow));
    }
    75% {
        transform: scale(1.02) translateY(-1px);
    }
}

/* Neon fire text animation */
@keyframes neon-fire {
    0%, 100% {
        text-shadow: 
            0 0 5px var(--accent-primary),
            0 0 10px var(--accent-primary),
            0 0 20px var(--accent-primary),
            0 0 40px var(--accent-orange);
    }
    50% {
        text-shadow: 
            0 0 10px var(--accent-primary),
            0 0 20px var(--accent-primary),
            0 0 30px var(--accent-primary),
            0 0 60px var(--accent-orange),
            0 0 80px var(--accent-orange);
    }
}

.logo-text {
    font-size: 2em;
    color: var(--accent-primary);
    font-weight: bold;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Quantum gradient text effect */
.logo-text.text-quantum,
.text-quantum {
    background: linear-gradient(90deg, #ff0033, #cc0066, #8800cc, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: quantum-shift 8s linear infinite;
    background-size: 200% 100%;
}

@keyframes quantum-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.tagline {
    color: var(--text-muted);
    font-size: 0.85em;
    position: absolute;
    top: 68px;
    left: 120px;
    letter-spacing: 2px;
    opacity: 0.7;
}

.user-panel {
    display: flex;
    gap: 15px;
    align-items: center;
}

.user-alias {
    color: var(--accent-secondary);
    text-shadow: 0 0 10px var(--accent-glow-green);
    text-decoration: none;
    transition: all 0.2s;
}

.user-alias:hover {
    color: #fff;
    text-shadow: 0 0 20px var(--accent-glow-green);
}

.btn-login,
.btn-register,
.btn-logout {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 8px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9em;
    position: relative;
    overflow: hidden;
}

.btn-login::before,
.btn-register::before,
.btn-logout::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 51, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-login:hover::before,
.btn-register:hover::before,
.btn-logout:hover::before {
    left: 100%;
}

.btn-login:hover,
.btn-register:hover,
.btn-logout:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.container {
    flex: 1;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 40px;
}

.privacy-banner {
    background: linear-gradient(90deg, transparent, var(--bg-tertiary), transparent);
    border: 1px solid var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-glow), inset 0 0 20px rgba(255, 0, 51, 0.1);
    padding: 15px 20px;
    margin-bottom: 30px;
    color: var(--accent-secondary);
    text-align: center;
    font-size: 0.9em;
    text-shadow: 0 0 10px var(--accent-glow-green);
    animation: banner-pulse 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

/* Data stream effect on privacy banner */
.privacy-banner::before {
    content: '𝒮𖥂𖥂𖥂𖥂𖥂𖥂𖥂𝔁 𝒮𖥂𖥂𖥂𖥂𖥂𖥂𖥂𝔁 𝒮𖥂𖥂𖥂𖥂𖥂𖥂𖥂𝔁 𝒮𖥂𖥂𖥂𖥂𖥂𖥂𖥂𝔁 𝒮𖥂𖥂𖥂𖥂𖥂𖥂𖥂𝔁';
    position: absolute;
    top: 50%;
    left: -100%;
    transform: translateY(-50%);
    font-size: 1.1em;
    color: rgba(255, 0, 51, 0.3);
    white-space: nowrap;
    animation: data-stream 12s linear infinite;
    letter-spacing: 8px;
    text-shadow: 0 0 10px rgba(255, 0, 51, 0.4);
}

@keyframes data-stream {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes banner-pulse {
    0%, 100% { box-shadow: 0 0 20px var(--accent-glow), inset 0 0 20px rgba(255, 0, 51, 0.1); }
    50% { box-shadow: 0 0 30px var(--accent-glow), inset 0 0 30px rgba(255, 0, 51, 0.2); }
}

.forum-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.forum-header h1 {
    color: var(--text-primary);
    font-size: 1.8em;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-new-thread,
.btn-primary {
    background: linear-gradient(135deg, #ff0033 0%, #8800cc 50%, #0066ff 100%);
    background-size: 200% 200%;
    border: none;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    font-size: 1em;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    display: inline-block;
    position: relative;
    border-radius: 4px;
    text-transform: uppercase;
}

.btn-new-thread:hover,
.btn-primary:hover {
    background-position: 100% 100%;
    box-shadow: 
        0 0 20px rgba(255, 0, 51, 0.4),
        0 0 40px rgba(136, 0, 204, 0.3),
        0 0 60px rgba(0, 102, 255, 0.2);
    transform: translateY(-2px);
    color: #fff;
}

.no-threads {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 60px;
    text-align: center;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.dust-message {
    color: var(--text-secondary);
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.8;
}

.thread-list {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    table-layout: fixed;
}

.thread-list thead {
    background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border-bottom: 2px solid var(--accent-primary);
    box-shadow: 0 2px 10px var(--accent-glow);
}

.thread-list th {
    padding: 15px;
    text-align: left;
    color: var(--accent-primary);
    font-size: 0.8em;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px var(--accent-glow);
}

.thread-list tr {
    border-bottom: 1px solid var(--border);
}

.thread-list tbody tr:last-child {
    border-bottom: none;
}

.thread-list td {
    padding: 15px;
    vertical-align: middle;
    border: none;
}

.thread-row {
    transition: all 0.3s ease;
    position: relative;
}

.thread-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #ff0033, #8800cc);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thread-row:hover {
    background: linear-gradient(90deg, rgba(136, 0, 204, 0.08) 0%, rgba(10, 8, 18, 0.4) 100%);
}

.thread-row:hover::before {
    opacity: 1;
}

/* Fixed column widths - balanced layout */
.col-title,
.thread-list th:first-child,
.thread-list td:first-child {
    width: 55%;
}

.col-author,
.thread-list th:nth-child(2),
.thread-list td:nth-child(2) {
    width: 10%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.col-replies,
.thread-list th:nth-child(3),
.thread-list td:nth-child(3) {
    width: 6%;
    text-align: center;
}

.col-views,
.thread-list th:nth-child(4),
.thread-list td:nth-child(4) {
    width: 6%;
    text-align: center;
}

.col-lastpost,
.thread-list th:nth-child(5),
.thread-list td:nth-child(5) {
    width: 15%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.col-actions,
.thread-list th:nth-child(6),
.thread-list td:nth-child(6) {
    width: 8%;
    text-align: center;
}

.thread-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    display: block;
}

.thread-title a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.05em;
    transition: all 0.3s ease;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.thread-title a:hover {
    color: var(--accent-primary);
    text-shadow: 0 0 10px var(--accent-glow);
}

.thread-author {
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.anonymous {
    color: var(--accent-secondary);
    font-style: italic;
    text-shadow: 0 0 8px var(--accent-glow-green);
}

.thread-replies,
.thread-views {
    color: var(--text-secondary);
}

.thread-lastpost {
    color: var(--text-muted);
    font-size: 0.85em;
    white-space: nowrap;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.page-link {
    color: var(--accent-primary);
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid var(--accent-primary);
    transition: all 0.3s;
    box-shadow: 0 0 5px var(--accent-glow);
}

.page-link:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--accent-glow);
}

.page-info {
    color: var(--text-secondary);
}

.footer {
    background: linear-gradient(180deg, rgba(5, 5, 8, 0.95) 0%, rgba(8, 8, 12, 0.98) 100%);
    border-top: 1px solid transparent;
    padding: 25px 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85em;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #ff0033 20%, 
        #8800cc 50%, 
        #0066ff 80%, 
        transparent 100%
    );
    opacity: 0.8;
}

.footer-text {
    margin-bottom: 10px;
}

.footer-text a {
    color: var(--accent-primary);
    text-decoration: none;
}

.footer-text a:hover {
    text-decoration: underline;
}

.footer-stats {
    color: var(--text-muted);
}

/* Pinned threads */
.thread-row.pinned {
    background: rgba(255, 0, 51, 0.1) !important;
    border-left: 3px solid var(--accent-primary);
}

.thread-row.pinned:hover {
    background: rgba(255, 0, 51, 0.15) !important;
}

.pin-icon {
    margin-right: 8px;
    color: var(--accent-primary);
}

.btn-pin,
.btn-unpin {
    padding: 4px 10px;
    font-size: 0.75em;
    text-decoration: none;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    transition: all 0.3s;
}

.btn-pin:hover,
.btn-unpin:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.col-actions {
    width: 80px;
    text-align: center;
}

/* Founder badge */
.founder-badge {
    background: linear-gradient(135deg, #ff0033, #ff6600);
    color: #000;
    padding: 2px 8px;
    font-size: 0.7em;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Post form styles */
.form-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 30px;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 0.9em;
    letter-spacing: 1px;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 12px;
    font-family: 'Courier New', monospace;
    font-size: 1em;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.form-group textarea {
    min-height: 200px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-submit,
.btn-cancel {
    padding: 12px 30px;
    font-family: 'Courier New', monospace;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-submit {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.btn-submit:hover {
    background: #ff1a47;
}

.btn-cancel {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-cancel:hover {
    background: var(--bg-hover);
}

/* ============================================
   QUANTUM NAVIGATION BAR
   ============================================ */

.quantum-nav {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 15px 20px;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(5, 5, 5, 0.98) 100%);
    border-bottom: 1px solid rgba(255, 0, 51, 0.3);
    position: relative;
    overflow: hidden;
}

.quantum-nav::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--accent-primary) 30%, 
        var(--accent-orange) 50%, 
        var(--accent-primary) 70%, 
        transparent 100%);
    animation: nav-glow-slide 4s ease-in-out infinite;
}

@keyframes nav-glow-slide {
    0%, 100% { opacity: 0.5; transform: translateX(-50%); }
    50% { opacity: 1; transform: translateX(50%); }
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: transparent;
    border: 1px solid rgba(255, 0, 51, 0.3);
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 51, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-glow), inset 0 0 15px rgba(255, 0, 51, 0.1);
    text-shadow: 0 0 10px var(--accent-glow);
    transform: translateY(-2px);
}

.nav-btn.active {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(255, 0, 51, 0.1);
    box-shadow: 0 0 15px var(--accent-glow);
}

.nav-icon {
    font-size: 1.1em;
    color: var(--accent-orange);
    text-shadow: 0 0 8px rgba(255, 102, 0, 0.6);
}

.nav-icon.purple {
    filter: grayscale(100%) sepia(100%) hue-rotate(250deg) saturate(3) brightness(0.9);
    text-shadow: 0 0 8px rgba(204, 0, 255, 0.6);
}

.nav-btn:hover .nav-icon {
    animation: icon-jitter 0.3s ease-in-out;
}

@keyframes icon-jitter {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px) rotate(-5deg); }
    75% { transform: translateX(2px) rotate(5deg); }
}

/* ============================================
   QUANTUM SLIDER
   ============================================ */

.quantum-slider {
    text-align: center;
    padding: 8px 0;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 51, 0.05), transparent);
    border-bottom: 1px solid rgba(255, 0, 51, 0.1);
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: inline-block;
    font-size: 1.2em;
    letter-spacing: 4px;
    color: var(--accent-primary);
    text-shadow: 0 0 15px var(--accent-glow), 0 0 30px rgba(255, 0, 51, 0.4);
    animation: slider-pulse 2s ease-in-out infinite, slider-drift 8s linear infinite;
}

@keyframes slider-pulse {
    0%, 100% { 
        opacity: 0.7;
        text-shadow: 0 0 10px var(--accent-glow);
    }
    50% { 
        opacity: 1;
        text-shadow: 0 0 20px var(--accent-glow), 0 0 40px rgba(255, 0, 51, 0.6);
    }
}

@keyframes slider-drift {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(3px); }
    75% { transform: translateX(-3px); }
}

/* Privacy banner anonymous icon */
.anon-icon {
    color: var(--accent-orange);
    font-weight: bold;
    margin-right: 5px;
}

.privacy-item {
    margin: 0 15px;
}

/* ============================================
   FOOTER EFFECTS
   ============================================ */

/* Animated bottom edge glow */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--accent-primary) 20%, 
        var(--accent-orange) 50%, 
        var(--accent-primary) 80%, 
        transparent 100%);
    background-size: 200% 100%;
    animation: footer-glow 3s ease-in-out infinite;
}

@keyframes footer-glow {
    0%, 100% { 
        background-position: 0% 0;
        opacity: 0.8;
    }
    50% { 
        background-position: 100% 0;
        opacity: 1;
    }
}

/* Cyberpunk data corruption effect on hover */
@keyframes glitch-text {
    0%, 100% { 
        text-shadow: 0 0 10px var(--accent-glow);
    }
    25% { 
        text-shadow: -2px 0 var(--accent-secondary), 2px 0 var(--accent-primary);
    }
    50% { 
        text-shadow: 2px 0 var(--accent-secondary), -2px 0 var(--accent-primary);
    }
    75% { 
        text-shadow: 0 0 20px var(--accent-glow), 0 0 30px var(--accent-orange);
    }
}

.thread-title a:hover {
    animation: glitch-text 0.3s ease-in-out;
}

/* Pin icon animation */
.pin-icon {
    display: inline-block;
    animation: pin-bounce 2s ease-in-out infinite;
}

@keyframes pin-bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-2px) rotate(-5deg); }
    75% { transform: translateY(-2px) rotate(5deg); }
}

/* Anonymous mask pulse */
.anonymous {
    animation: mask-pulse 3s ease-in-out infinite;
}

@keyframes mask-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Editor Toolbar */
.editor-toolbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-bottom: none;
    flex-wrap: wrap;
}

.toolbar-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    padding: 6px 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9em;
    transition: all 0.2s;
    min-width: 32px;
    text-align: center;
}

.toolbar-btn:hover {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 0 8px var(--accent-glow);
}

.toolbar-btn b {
    font-weight: bold;
}

.toolbar-btn i {
    font-style: italic;
}

.toolbar-btn u {
    text-decoration: underline;
}

.toolbar-divider {
    width: 1px;
    height: 20px;
    background: var(--border);
    margin: 0 6px;
}

.form-group textarea {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* Markdown Rendered Elements */
.post-content .post-h1,
.thread-content .post-h1 {
    font-size: 1.8em;
    color: var(--accent-primary);
    margin: 20px 0 12px 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
    font-weight: bold;
}

.post-content .post-h2,
.thread-content .post-h2 {
    font-size: 1.4em;
    color: var(--accent-secondary);
    margin: 16px 0 10px 0;
    font-weight: bold;
}

.post-content .post-h3,
.thread-content .post-h3 {
    font-size: 1.15em;
    color: var(--text-primary);
    margin: 12px 0 8px 0;
    font-weight: bold;
}

.code-block {
    display: block;
    background: #0d0d12;
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent-primary);
    padding: 12px 16px;
    margin: 12px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e0e0e0;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.inline-code {
    background: rgba(0, 255, 150, 0.1);
    border: 1px solid rgba(0, 255, 150, 0.3);
    padding: 2px 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--accent-primary);
}

.post-quote {
    display: block;
    border-left: 3px solid var(--accent-secondary);
    background: rgba(255, 170, 0, 0.08);
    padding: 10px 16px;
    margin: 12px 0;
    color: var(--text-secondary);
    font-style: italic;
}

.post-image {
    max-width: 100%;
    max-height: 500px;
    margin: 12px 0;
    border: 1px solid var(--border);
    display: block;
}

.post-link {
    color: var(--accent-primary);
    text-decoration: none;
    border-bottom: 1px dotted var(--accent-primary);
    transition: all 0.2s;
}

.post-link:hover {
    color: var(--accent-secondary);
    border-color: var(--accent-secondary);
    text-shadow: 0 0 8px var(--accent-glow);
}

.post-list {
    margin: 10px 0 10px 24px;
    padding: 0;
}

.post-list li {
    margin: 6px 0;
    color: var(--text-primary);
}

.post-content ul.post-list {
    list-style-type: disc;
}

.post-content ol.post-list {
    list-style-type: decimal;
}

/* === QUANTUM SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #050508;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff0033, #8800cc);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #8800cc, #0066ff);
}

/* === SELECTION === */
::selection {
    background: rgba(136, 0, 204, 0.4);
    color: #fff;
}
