/* GLOBAL */
body {
    background: #000000 url('/assets/bg.png') repeat;
    color: #ff4d4d;
    font-family: "MS Gothic", Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* LAYOUT */
#layout {
    width: 850px;
    margin: auto;
    background: #0a0a0a;
    border: 2px solid #8b0000;
    padding: 20px;
    box-shadow: 0 0 20px #8b0000;
}

/* HEADER */
header h1 {
    font-size: 48px;
    color: #ff0000;
    text-shadow: 0 0 10px #8b0000;
    margin: 0;
    text-align: center;
}

.subtitle {
    text-align: center;
    color: #8b0000;
    margin-top: -5px;
}

/* NAVIGATION */
nav {
    text-align: center;
    border-bottom: 2px solid #8b0000;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

nav a {
    color: #ff4d4d;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
}

nav a:hover {
    color: #ff0000;
    text-shadow: 0 0 5px #ff0000;
}

/* CONTENT */
.content h2, .content h3 {
    color: #ff0000;
    text-shadow: 0 0 5px #8b0000;
}

.content p {
    color: #ff4d4d;
    line-height: 1.5;
}

/* OPTIONAL EFFECTS */
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    background: url('/assets/scanlines.png') repeat;
    opacity: 0.1;
}
/* LORE BOX */
.lore-box {
    border: 2px solid #8b0000;
    background: #0a0a0a;
    padding: 15px;
    margin: 20px 0;
    color: #ff4d4d;
    font-family: "MS Gothic", Arial, sans-serif;
    box-shadow: 0 0 15px #8b0000;
}

.lore-box h2 {
    margin-top: 0;
    font-size: 26px;
    color: #ff0000;
    text-shadow: 0 0 8px #8b0000;
}
/* COMIC VIEWER */
.comic-container {
    text-align: center;
    margin: 20px 0;
}

.comic-page {
    width: 100%;
    max-width: 750px;
    border: 2px solid #8b0000;
    box-shadow: 0 0 20px #8b0000;
}

.comic-nav {
    text-align: center;
    margin-top: 15px;
}

.nav-btn {
    display: inline-block;
    padding: 8px 20px;
    margin: 0 10px;
    border: 2px solid #8b0000;
    color: #ff4d4d;
    text-decoration: none;
    font-family: "MS Gothic", Arial, sans-serif;
    background: #0a0a0a;
    box-shadow: 0 0 10px #8b0000;
}

.nav-btn:hover {
    color: #ff0000;
    text-shadow: 0 0 5px #ff0000;
    border-color: #ff0000;
}

.nav-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
}
/* GALLERY GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.gallery-grid img,
.gallery-grid .placeholder {
    width: 100%;
    height: 200px;
    border: 2px solid #8b0000;
    box-shadow: 0 0 10px #8b0000;
    background: #0a0a0a;
    color: #ff4d4d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "MS Gothic", Arial, sans-serif;
    font-size: 18px;
}
@keyframes redpulse {
    0% { box-shadow: 0 0 5px #8b0000; }
    50% { box-shadow: 0 0 20px #ff0000; }
    100% { box-shadow: 0 0 5px #8b0000; }
}

#layout,
.lore-box,
.comic-page,
.gallery-grid img,
.gallery-grid .placeholder {
    animation: redpulse 3s infinite;
}
nav a {
    color: #ff4d4d;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    font-size: 18px;
    text-shadow: 0 0 5px #8b0000;
    transition: 0.2s ease;
}

nav a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #ff0000;
}
#layout {
    padding: 30px;
}

.content p {
    line-height: 1.7;
    margin-bottom: 15px;
}
header h1 {
    font-size: 52px;
    letter-spacing: 2px;
    text-shadow: 0 0 15px #8b0000;
}
/* SIDE BLINKIE COLUMNS — OPTIMIZED */
.blinkie-column {
    position: fixed;
    top: 150px;              /* lowered for better balance */
    width: 160px;            /* perfect width for banners */
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

/* push columns fully outward so they never overlap text */
.blinkie-left {
    left: 0;
}

.blinkie-right {
    right: 0;
}

/* auto-resize banners + keep your glow aesthetic */
.blinkie-column img {
    width: 100%;             /* resizes huge banners safely */
    height: auto;
    image-rendering: pixelated;
    border: 2px solid #8b0000;
    background: #0a0a0a;
    padding: 3px;
    box-shadow: 0 0 10px #8b0000;
    transition: 0.2s ease;
}

.blinkie-column img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #ff0000;
}

/* HIDE ON MOBILE — expanded breakpoint for safety */
@media (max-width: 1100px) {
    .blinkie-column {
        display: none;
    }
}
/* MAIN CONTENT SAFE ZONE */
body {
    padding-left: 180px;
    padding-right: 180px;
}

/* Keep your content centered and narrow enough */
#layout, main, .content, body > div {
    max-width: 700px;
    margin: 0 auto;
}
/* GIFCITIES CORNER GIFS */
.corner-gif {
    position: fixed;
    z-index: 900;
    image-rendering: pixelated;
    pointer-events: none;
}

.corner-top-right {
    top: 10px;
    right: 10px;
    width: 120px;
}

.corner-bottom-left {
    bottom: 10px;
    left: 10px;
    width: 120px;
}
