* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: 'Courier New', Courier, monospace; 
}

body {
    background-color: #0d0d0d;
    color: #cccccc;
    line-height: 1.6;
}

h3 mark,
h3 span {
    font-family: 'Remington Noiseless', monospace !important;
}

p {
    margin-bottom: 0.5rem;
}

nav {
    background: #000;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid #574444;
    position: relative;
}

mark {
    background: #ffeb3b;
    color: #000;
    padding: 0 2px;
    border-radius: 2px;
    font-family: inherit;
}

nav .links {
    display: flex;
    align-items: center;
    right: 2rem;
}

nav .logo {
    display: flex;
    align-items: center;
} 

@font-face {
    font-family: 'Remington Noiseless';
    src: url('images/Remington-Noiseless.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

h3 {
    font-family: "Remington Noiseless", monospace; 
    font-size: 24px;    
    color: #333333;  
    letter-spacing: 2.2px;
    font-weight: normal;
}

.nav-logo {
    height: 150px;
    width: auto;
    display: block;
    opacity: 1;
}

nav .links a { 
    color: #888; 
    text-decoration: none; 
    margin-left: 1px; 
    font-family: 'Remington Noiseless', sans-serif !important;
    font-weight: bold; 
    
    text-transform: none; 
}

nav .links a:hover { 
    color: #fff; 
}

.hero {
    text-align: center;
    padding: 79px 20px;
    background: #000000;
    border-bottom: 1px solid #333;
    background-image: 
        repeating-linear-gradient(45deg, #2e0000 25%, transparent 25%, transparent 75%, #2e0000 75%, #2e0000), 
        repeating-linear-gradient(45deg, #2e0000 25%, #000000 25%, #000000 75%, #2e0000 75%, #2e0000);
    background-position: 0 0, 10px 10px;
    background-size: 20px 20px;
}

.hero-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 490px;
    position: relative;
    width: 900px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 490px;
    position: relative;
    width: 540px;
    margin: 0 auto;
    padding: 20px;
}

.soldier-left {
    width: 240px;
    background-size: contain;
    background-repeat: no-repeat;
}

.soldier-right {
    width: 240px;
    background-size: contain;
    background-repeat: no-repeat;
}

.hero-right {
    width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.hero-christpill {
    width: 420px;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.4rem;
}

@media (max-width: 1000px) {
    .hero-container { 
        flex-direction: column; 
        text-align: center; 
    }
    .hero-left { 
        flex: 0 0 auto; 
        width: 200px; 
    }
    .hero-christpill { 
        display: none; 
    }
}

.warning-banner {
    width: 70%;
    background: #220000;
    color: #ff3333;
    padding: 7px 15px;
    border: 1px solid #8b0000;
    display: inline-block;
    align-items: top;
    margin-bottom: 75px;
    margin-top: -100px;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 10;
}

.bibisi-won-cunny-lost {
    font-family: 'Remington Noiseless', monospace;
    font-size: 3.8rem;
    width: 450px;
    height: 150px;
    background: #220000;
    color: #ff3333;
    border: 1px solid #8b0000;
    display: inline-block;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 10;
}

.clock-container h2 {
    font-family: 'Remington Noiseless', monospace;
    font-size: 1.2rem;
    color: #cccccc;
    letter-spacing: 2px;
}

.page-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 20px 0 30px;
}

.nav-button {
    background: #444;
    color: #fff;
    border: 2px solid #222;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    transition: 0.2s;
}

.nav-button:hover {
    background: #666;
    border-color: #999;
    box-shadow: 0 0 8px #ff0000;
}

.big-number {
    font-size: 6rem;
    font-weight: 900;
    font-family: 'Remington Noiseless', sans-serif;
    color: #ff0000;
    text-shadow: 0 0 10px #8b0000;
    margin: 0;
}

button {
    background: #333; 
    color: #fff; 
    border: 1px solid #555; 
    padding: 10px 20px; 
    cursor: pointer; 
    margin-top: 15px; 
    font-family: inherit; 
    text-transform: none;
}

button:hover { 
    background: #555; 
    border-color: #fff; 
}

.search-container {
    max-width: 800px;
    margin: 20px auto 0 auto;
    padding: 0 20px;
    position: static;
}

#searchInput {
    width: 100%;
    padding: 15px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    font-size: 1rem;
    outline: none;
}

#searchInput:focus { 
    border-color: #ff0000; 
}

.archive-list {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.entry {
    background: #111;
    border: 1px solid #333;
    border-left: 5px solid #333;
    margin-bottom: 30px;
}

.entry:hover { 
    border-left-color: #ff0000; 
}

.entry-header {
    background: #1a1a1a;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
}

.entry-number {
    color: #ff0000;
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.entry h3 { 
    color: #fff;
}

.entry-content { 
    padding: 20px; 
}

.evidence-gallery {
    column-count: 3;
    column-gap: 15px;
    margin: 20px 0;
}

.gallery-item {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: transparent;
    border: 1px solid #333;
    display: block;
    margin-bottom: 32px;
    break-inside: avoid;
    cursor: pointer;
}

.gallery-item:hover {
    box-shadow: 0 0 8px #ff0000;
}

.lightbox {
    display: none; 
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    cursor: zoom-out;
}

.lightbox:target {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 95vw;  
    max-height: 95vh;  
    object-fit: contain;
    box-shadow: 0 5px 25px rgba(0,0,0,0.8);  
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0);
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease; 
}

.modal.active {
    background-color: rgba(0, 0, 0, 0.88); 
}

.modal-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.modal.closing {
    background-color: rgba(0, 0, 0, 0);
}

.modal-nav.prev {
    left: 75px;
    position: fixed;
}

.modal-nav.next {
    right: 75px;
    position: fixed;
}

.modal.closing {
    background-color: rgba(0, 0, 0, 0);
}

.modal-content {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border: 1px solid #333;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
    transform-origin: center center;
}

.modal.active .modal-content {
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal.closing .modal-content {
    animation: fadeOut 0.35s ease forwards;
    transition: transform 0.35s cubic-bezier(0.2, 0, 0.2, 1);
}

.source-link { 
    color: #fff; 
    text-decoration: none; 
    font-size: 0.8rem; 
    background: #222; 
    padding: 5px 10px; 
    display: inline-block; 
}

.source-link:hover { 
    background: #ff0000; 
}

footer { 
    text-align: center; 
    padding: 40px 20px; 
    font-size: 0.8rem; 
    color: #444; 
    border-top: 1px solid #222; 
}