* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #090b0d;
    color: #d8d8d8;
    font-family: Arial, sans-serif;
    min-height: 100vh;
}


/* =========================
   BACKGROUND
========================= */

.background {
    position: fixed;
    inset: 0;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(80, 90, 70, .20),
            transparent 45%
        ),
        linear-gradient(
            rgba(0,0,0,.72),
            rgba(0,0,0,.92)
        );

    z-index: -2;
}

.background::after {
    content: "";
    position: absolute;
    inset: 0;

    opacity: .15;

    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            #ffffff 4px
        );

    pointer-events: none;
}


/* =========================
   SITE
========================= */

.site {
    width: min(1200px, 94%);
    margin: auto;
}


/* =========================
   HEADER
========================= */

.header {
    min-height: 110px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 2px solid #343a35;
}

.logo {
    font-family: "Press Start 2P", monospace;
    line-height: 1;
}

.logo span {
    display: block;
    font-size: 13px;
    color: #a5aa9b;
}

.logo strong {
    display: block;
    font-size: 32px;
    color: #eeeeee;

    text-shadow:
        3px 3px 0 #202520;
}

.menu {
    display: flex;
    gap: 5px;
}

.menu a {
    padding: 14px 12px;

    color: #aeb3aa;
    text-decoration: none;

    font-family: "Press Start 2P", monospace;
    font-size: 9px;

    border: 1px solid transparent;

    transition: .2s;
}

.menu a:hover,
.menu a.active {
    color: white;

    background: #20251f;

    border-color: #555e4e;

    box-shadow:
        inset 0 0 0 2px #11140f;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 25px 0;

    position: relative;
    overflow: hidden;

    border: 2px solid #454c42;

    background:
        linear-gradient(
            rgba(5,7,5,.35),
            rgba(5,7,5,.85)
        ),
        linear-gradient(
            120deg,
            #303a2d,
            #101510 45%,
            #1d241b
        );

    box-shadow:
        0 0 0 5px #10130f,
        0 15px 50px rgba(0,0,0,.6);
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent 49%,
            rgba(255,255,255,.04) 50%,
            transparent 51%
        ),
        linear-gradient(
            transparent 49%,
            rgba(255,255,255,.03) 50%,
            transparent 51%
        );

    background-size: 80px 80px;

    opacity: .25;
}

.hero-content {
    text-align: center;
    position: relative;

    max-width: 700px;
}

.small-title {
    font-family: "Press Start 2P", monospace;
    font-size: 11px;
    color: #a8ad9e;

    margin-bottom: 20px;
}

.hero h1 {
    font-family: "Press Start 2P", monospace;

    font-size: clamp(40px, 7vw, 82px);

    line-height: 1.15;

    color: #eeeeee;

    text-shadow:
        5px 5px 0 #252a22,
        8px 8px 0 #080908;
}

.description {
    max-width: 500px;
    margin: 25px auto;

    line-height: 1.7;

    color: #aaa;
}

button {
    font-family: "Press Start 2P", monospace;

    padding: 17px 25px;

    background: #626b58;
    color: white;

    border: 3px solid #8b9580;

    box-shadow:
        inset -4px -4px 0 #353b30,
        inset 4px 4px 0 #9da697;

    cursor: pointer;

    transition: .15s;
}

button:hover {
    transform: translateY(-2px);

    background: #77816b;
}

button:active {
    transform: translateY(2px);

    box-shadow:
        inset 3px 3px 0 #353b30;
}


/* =========================
   CONTENT
========================= */

.content {
    display: grid;

    grid-template-columns: 1fr 300px;

    gap: 25px;
}


/* =========================
   BOX
========================= */

.box,
.side-box,
.wide-box {

    background:
        linear-gradient(
            135deg,
            rgba(35,40,34,.98),
            rgba(17,20,17,.98)
        );

    border: 2px solid #41473e;

    box-shadow:
        0 0 0 4px #0e100d;

    margin-bottom: 25px;
}

.box-title,
.side-title {

    font-family: "Press Start 2P", monospace;

    padding: 18px;

    font-size: 11px;

    color: #e1e4dc;

    border-bottom: 2px solid #3c423a;

    background: #252a23;
}

.box-title span {
    color: #7e896f;
    margin-right: 12px;
}

.post {
    padding: 25px;

    border-bottom: 1px solid #353a34;
}

.post:last-child {
    border-bottom: 0;
}

.date {
    font-family: "Press Start 2P", monospace;

    font-size: 8px;

    color: #737b6c;

    margin-bottom: 15px;
}

.post h2 {
    font-family: "Press Start 2P", monospace;

    font-size: 15px;

    color: #ddd;

    margin-bottom: 15px;
}

.post p,
.box > p {
    color: #999;

    line-height: 1.7;

    margin-bottom: 15px;
}

.read-more {
    font-family: "Press Start 2P", monospace;

    font-size: 8px;

    color: #a9b39e;

    text-decoration: none;
}

.read-more:hover {
    color: white;
}


/* =========================
   SIDEBAR
========================= */

.side-box {
    margin-bottom: 25px;
}

.side-box > a {
    display: block;

    padding: 15px 18px;

    color: #999;

    text-decoration: none;

    font-family: "Press Start 2P", monospace;

    font-size: 8px;

    border-bottom: 1px solid #30352f;
}

.side-box > a:hover {
    color: white;

    background: #272d25;

    padding-left: 25px;
}

.status {
    padding: 20px;

    display: flex;
    align-items: center;

    gap: 12px;
}

.status-dot {
    width: 12px;
    height: 12px;

    display: block;

    background: #82916f;

    box-shadow: 0 0 10px #82916f;
}

.status strong {
    display: block;

    font-family: "Press Start 2P", monospace;

    font-size: 9px;

    color: #b8c0af;
}

.status small {
    display: block;

    margin-top: 7px;

    color: #777;
}

.visitor {
    text-align: center;
}

.visitor strong {
    display: block;

    padding: 20px;

    font-family: "Press Start 2P", monospace;

    font-size: 24px;

    color: #d5d9d1;
}

.visitor small {
    display: block;

    padding-bottom: 20px;

    color: #666;
}


/* =========================
   ARCHIVE
========================= */

.wide-box {
    margin-top: 0;
}

.archive-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 1px;

    background: #30352f;
}

.archive-item {
    padding: 25px;

    min-height: 150px;

    background: #151915;

    transition: .2s;
}

.archive-item:hover {
    background: #252b23;

    transform: translateY(-3px);
}

.archive-item span {
    font-family: "Press Start 2P", monospace;

    font-size: 9px;

    color: #6e7865;
}

.archive-item strong {
    display: block;

    margin: 15px 0 10px;

    font-family: "Press Start 2P", monospace;

    font-size: 12px;

    color: #ccc;
}

.archive-item p {
    color: #777;

    font-size: 13px;
}


/* =========================
   FOOTER
========================= */

footer {

    padding: 45px 0;

    text-align: center;

    border-top: 2px solid #30352e;

    margin-top: 30px;
}

.footer-logo {

    font-family: "Press Start 2P", monospace;

    color: #777;

    margin-bottom: 15px;
}

footer p {

    font-size: 11px;

    color: #555;

    margin-bottom: 20px;
}

.footer-links {

    display: flex;

    justify-content: center;

    gap: 20px;
}

.footer-links a {

    font-family: "Press Start 2P", monospace;

    font-size: 7px;

    color: #666;

    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 850px) {

    .header {
        flex-direction: column;

        padding: 25px 0;

        gap: 25px;
    }

    .menu {
        flex-wrap: wrap;

        justify-content: center;
    }

    .content {
        grid-template-columns: 1fr;
    }

    .archive-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 500px) {

    .menu a {
        font-size: 7px;
        padding: 10px 7px;
    }

    .hero {
        min-height: 420px;
    }

    .archive-grid {
        grid-template-columns: 1fr;
    }

}