/* Import upgraded fonts for a futuristic yet readable look */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Noto+Sans&family=Rajdhani:wght@300;700&display=swap');

@keyframes buzz {
    0% { transform: translate(0, 0); }
    25% { transform: translate(1px, -1px); }
    50% { transform: translate(-1px, 1px); }
    75% { transform: translate(1px, 1px); }
    100% { transform: translate(0, 0); }
}

/* Fox Mode Styles */
body.fox-mode {
    font-family: 'Noto Sans', sans-serif;
    background: linear-gradient(to bottom, #1a1a1a, #2b2b2b);
    color: #ffe0e0;
    line-height: 1.6;
    padding: 10px;
}

body.fox-mode *, 
body.fox-mode *::before, 
body.fox-mode *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: border 0.2s ease, transform 0.2s ease, background 0.3s ease;
}

body.fox-mode h1, 
body.fox-mode h2, 
body.fox-mode h3 {
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(12deg, #00ff99, #9e44ad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 5px;
    animation: buzz 2s ease-in-out;
    transition: transform 11s ease, background 22s ease;
}

body.fox-mode #navbar {
    background: rgba(0, 0, 0, 0.9);
    padding: 4px;
    font-size: 0.85rem;
    text-align: center;
    border-bottom: 1px solid #00ff99;
    box-shadow: none;
    border-radius: 0;
}

body.fox-mode #navbar a {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    color: #00ff99;
    text-shadow: none;
    padding: 2px 6px;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
    transition: text-shadow 0.2s ease, color 0.2s ease;
}

body.fox-mode #navbar a:hover {
    text-shadow: 0px 0px 8px #8e44ad;
    color: #ff00ff;
}

body.fox-mode .thread,
body.fox-mode .post,
body.fox-mode .reply,
body.fox-mode .post-content-wrapper,
body.fox-mode .post-box,
body.fox-mode .board-directory,
body.fox-mode .categories,
body.fox-mode .popular_boards-table,
body.fox-mode .popular_board-item,
body.fox-mode .popular_board-image,
body.fox-mode .stats-section,
body.fox-mode .stats-container   {
    background: rgba(34, 34, 34, 0.9);
    border: 1px solid #555;
    box-shadow: none;
    border-radius: 2px;
    padding: 8px;
    max-width: 750px;
    margin: 10px auto;
    transition: none;
    color: #ffe0e0;
}

body.fox-mode .post:hover,
body.fox-mode .reply:hover {
    border: 2px solid #00ff99;
    box-shadow: 0 0 20px rgba(0, 255, 153, 0.5);
    animation: buzz 0.2s ease-in-out;
}

body.fox-mode .post-header,
body.fox-mode .reply-metadata {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    color: #00ff99;
}

body.fox-mode .post-title a,
body.fox-mode .post-no a,
body.fox-mode .post-reference {
    color: #9e44ad;
}

body.fox-mode .post-thumbnail,
body.fox-mode .reply-thumbnail {
    max-width: 250px;
    cursor: pointer;
}

body.fox-mode button,
body.fox-mode .btn {
    font-family: 'Rajdhani', sans-serif;
    background: #333;
    border: 1px solid #555;
    color: #00ff99;
    border-radius: 2px;
    padding: 4px 8px;
    transition: none;
}

body.fox-mode button:hover,
body.fox-mode .btn:hover {
    background: #2b2b2b;
    transform: none;
}

body.fox-mode footer {
    background: rgba(0, 0, 0, 0.85);
    border-top: 1px solid #00ff99;
    padding: 6px;
    font-size: 0.75rem;
    border-radius: 0;
}

body.fox-mode #newsUpdates {
    font-size: 0.75rem;
    max-width: 600px;
    margin: 15px auto;
    padding: 8px;
    text-align: center;
    background: rgba(34, 34, 34, 0.85);
    border-radius: 8px;
    border: 1px solid #444;
    box-shadow: 0 0 8px rgba(0, 255, 153, 0.2);
}

body.fox-mode #newsUpdates h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 400;
}

body.fox-mode #newsUpdatesList div {
    margin: 3px auto;
    line-height: 1.2;
}

body.fox-mode hr {
    border-color: #555;
    opacity: 0.2;
}

body.fox-mode textarea,
body.fox-mode input[type="text"],
body.fox-mode input[type="password"] {
    font-size: 0.8rem;
    padding: 4px;
    border: 1px solid #555;
    background: #222;
    color: #ffe0e0;
    border-radius: 2px;
}

body.fox-mode .modal {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff99;
    padding: 10px;
}

body.fox-mode .modal input,
body.fox-mode .modal textarea {
    background: #222;
    color: #ffe0e0;
    border: 1px solid #555;
}

body.fox-mode .modal button {
    font-size: 0.8rem;
}

body.fox-mode .center_4chain {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 768px) {
    body.fox-mode .post,
    body.fox-mode .reply {
        max-width: 95%;
        margin: 15px auto;
    }
}

