* {
    box-sizing: border-box;
}

html {
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;

    background: #171717;
    color: #d6d3ca;

    font-family: "Special Elite", "Courier New", monospace;
}

.landing {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.landing p {
    margin: 0;
    padding: 0;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-align: center;
    animation: squiggle 4s ease-in-out infinite;
}

/* Expand clickable area without changing text layout */
.landing p a {
    position: relative;
    display: inline-block;
    color: inherit;
    text-decoration: none;
}

.landing p a::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 150px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.contact {
    position: fixed;
    bottom: 18px;
    left: 0;

    width: 100%;

    text-align: center;

    font-size: 12px;
    letter-spacing: 0.03em;
}

.contact a {
    color: #666666;
    text-decoration: none;
}

.contact a:hover {
    color: #999999;
}
.rat {
    position: fixed;
    top: 25px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.rat a {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.rat img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}
/* Wikipedia-style figure page */

.wiki-page {
    width: 850px;
    margin: 75px auto 60px auto;
    padding: 25px 30px 40px 30px;

    color: #c8c5bc;

    font-family: "Courier New", monospace;
    font-size: 12px;
    line-height: 1.55;

}

.wiki-header h1 {
    margin: 0;
    font-family: "Special Elite", "Courier New", monospace;
    font-size: 28px;
    font-weight: normal;
    color: #d6d3ca;
}

.wiki-subtitle {
    margin-top: 5px;
    color: #666;
    font-size: 10px;
}

.wiki-page hr {
    border: 0;
    border-top: 1px solid #333;
    margin: 15px 0 20px 0;
}

.wiki-content {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 25px;
}

.wiki-article {
    flex: 1;
    min-width: 0;
}

.wiki-article p {
    margin: 0 0 14px 0;
}

.wiki-intro {
    font-size: 13px;
}

.wiki-article h2 {
    margin: 25px 0 8px 0;
    padding-bottom: 3px;

    font-family: "Special Elite", "Courier New", monospace;
    font-size: 17px;
    font-weight: normal;

    color: #d6d3ca;
    border-bottom: 1px solid #333;
}

.wiki-article strong {
    color: #ddd;
}


/* Information box */

.wiki-infobox {
    width: 230px;
    flex-shrink: 0;

    border: 1px solid #444;
    background: #1d1d1d;

    font-size: 10px;
}

.infobox-title {
    padding: 8px;

    text-align: center;

    font-family: "Special Elite", "Courier New", monospace;
    font-size: 15px;

    color: #d6d3ca;
    background: #242424;

    border-bottom: 1px solid #444;
}

.infobox-photo {
    padding: 10px;
    text-align: center;
}

.infobox-photo img {
    display: block;
    width: 100%;
    height: 190px;

    object-fit: cover;
}

.wiki-infobox table {
    width: 100%;
    border-collapse: collapse;
}

.wiki-infobox th,
.wiki-infobox td {
    padding: 6px 8px;
    vertical-align: top;

    border-top: 1px solid #333;
}

.wiki-infobox th {
    width: 40%;

    text-align: left;
    font-weight: normal;

    color: #888;
}

.wiki-infobox td {
    color: #c8c5bc;
}
/* Subtle analogue TV interference */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;

    opacity: 0.025;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.18) 0px,
            rgba(255, 255, 255, 0.18) 1px,
            transparent 1px,
            transparent 3px
        ),
        radial-gradient(
            rgba(255, 255, 255, 0.7) 1px,
            transparent 1px
        );

    background-size:
        100% 3px,
        4px 4px;

    animation: tvNoise 0.18s steps(3) infinite;
}

@keyframes tvNoise {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(-1%, 1%);
    }

    50% {
        transform: translate(1%, -1%);
    }

    75% {
        transform: translate(0.5%, 1%);
    }

    100% {
        transform: translate(0, 0);
    }
}
/* Fly starts buzzing when hovered */
.rat a:hover img {
    animation: flyBuzz 0.12s infinite;
}

/* Also buzz while being clicked */
.rat a:active img {
    animation: flyBuzz 0.07s infinite;
}
@keyframes flyBuzz {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    20% {
        transform: translate(-2px, 1px) rotate(-8deg);
    }
    40% {
        transform: translate(2px, -1px) rotate(6deg);
    }
    60% {
        transform: translate(-1px, -2px) rotate(-5deg);
    }
    80% {
        transform: translate(2px, 1px) rotate(7deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}
.newsletter {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 80px);

    width: 300px;
    text-align: center;
}

.newsletter p {
    font-size: 11px;
    color: #777;
    margin-bottom: 10px;
}

.newsletter iframe {
    width: 100%;
    height: 180px;
    border: 0;
}
.comingsn {
    color: #cf0000;
}
/* Cheese loading animation */

.cheese {
    font-size: 32px;
    animation: rotate-cheese 2.5s linear infinite;
}

@keyframes rotate-cheese {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
@keyframes squiggle {
    0% {
        transform: rotate(-1deg) translate(0, 0);
    }

    25% {
        transform: rotate(1deg) translate(1px, -1px);
    }

    50% {
        transform: rotate(-0.5deg) translate(-1px, 1px);
    }

    75% {
        transform: rotate(1deg) translate(1px, -1px);
    }

    100% {
        transform: rotate(-1deg) translate(0, 0);
    }
}
@media (max-width: 700px) {
    .wiki-page {
        width: auto;
        margin: 75px 15px 60px 15px;
        padding: 20px 0 40px 0;
    }

    .wiki-content {
        display: flex;
        flex-direction: column;
    }

    .wiki-infobox {
        width: 100%;
        order: -1;
    }

    .infobox-photo img {
        height: auto;
        max-height: 300px;
    }
}
.click-hint {
    display: inline-block;
    margin-right: 6px;
    font-size: 13px;
    animation: clickHint 1.2s ease-in-out infinite;
}

@keyframes clickHint {
    0%, 100% {
        transform: translateX(0) rotate(-8deg);
    }

    50% {
        transform: translateX(3px) rotate(4deg);
    }
}
/* ============================= */
/* RAT CERTIFIED CTA */
/* ============================= */

.rat-certified {
    margin-top: 45px;
    padding: 20px 0 10px 0;
    text-align: center;
}

.rat-certified a {
    position: relative;
    display: inline-block;

    padding: 20px 42px;

    color: #ffffff;
    background: linear-gradient(
        to bottom,
        #ff3b3b 0%,
        #e00000 45%,
        #a80000 100%
    );

    border: 2px solid #700000;
    border-radius: 15px;

    font-family: "Special Elite", "Courier New", monospace;
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 0.08em;
    text-decoration: none;

    /* 3D depth + shadow */
    box-shadow:
        0 7px 0 #560000,
        0 12px 20px rgba(0, 0, 0, 0.7),
        inset 0 2px 0 rgba(255, 255, 255, 0.55),
        inset 0 -5px 8px rgba(0, 0, 0, 0.3);

    transform: rotate(-1deg);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        filter 0.15s ease;
}


/* ============================= */
/* TOP GLOSS / SHINE */
/* ============================= */

.rat-certified a::before {
    content: "";

    position: absolute;

    top: 3px;
    left: 7%;

    width: 86%;
    height: 38%;

    border-radius: 10px;

    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0)
    );

    pointer-events: none;
}





/* ============================= */
/* HOVER */
/* ============================= */

.rat-certified a:hover {
    transform:
        rotate(1deg)
        scale(1.1)
        translateY(-4px);

    filter: brightness(1.25);

    box-shadow:
        0 11px 0 #560000,
        0 20px 35px rgba(255, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.7),
        inset 0 -5px 8px rgba(0, 0, 0, 0.2);
}


/* ============================= */
/* CLICK / PRESS */
/* ============================= */

.rat-certified a:active {
    transform:
        rotate(0deg)
        scale(0.94)
        translateY(7px);

    box-shadow:
        0 2px 0 #560000,
        0 5px 10px rgba(0, 0, 0, 0.7),
        inset 0 5px 10px rgba(0, 0, 0, 0.4);

    filter: brightness(0.9);
}


/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 700px) {

    .rat-certified {
        margin-top: 35px;
    }

    .rat-certified a {
        padding: 17px 25px;
        font-size: 16px;
    }
}
/* ============================= */
/* 404 ERROR PAGE */
/* ============================= */

.error-page {
    position: fixed;
    inset: 0;

    display: flex;
    flex-direction: column;

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

    padding: 20px;

    text-align: center;
}


/* Rat */

.error-rat {
    font-size: 38px;
    margin-bottom: 10px;

    animation: lostRat 2s ease-in-out infinite;
}

@keyframes lostRat {
    0%, 100% {
        transform: translateX(0) rotate(-8deg);
    }

    50% {
        transform: translateX(8px) rotate(8deg);
    }
}


/* 404 */

.error-page h1 {
    margin: 0;

    font-family: "Special Elite", "Courier New", monospace;
    font-size: 54px;
    font-weight: normal;

    color: #cf0000;

    text-shadow:
        2px 2px 0 #420000;
}


/* Main message */

.error-page p {
    margin: 8px 0;

    font-size: 14px;
}


/* Smaller explanation */

.error-page .error-small {
    margin-top: 12px;

    color: #666;
    font-size: 10px;
    line-height: 1.6;
}


/* Home button */

.error-home {
    position: relative;

    display: inline-block;

    margin-top: 28px;
    padding: 12px 20px;

    color: #888;

    border: 1px solid #444;
    border-radius: 6px;

    font-family: "Special Elite", "Courier New", monospace;
    font-size: 10px;

    text-decoration: none;

    transition:
        color 0.15s ease,
        border-color 0.15s ease,
        transform 0.15s ease;
}

.error-home:hover {
    color: #cf0000;

    border-color: #cf0000;

    transform:
        rotate(-1deg)
        scale(1.05);
}

.error-home:active {
    transform: scale(0.95);
}


/* Mobile */

@media (max-width: 700px) {

    .error-page h1 {
        font-size: 46px;
    }

    .error-rat {
        font-size: 32px;
    }
}