body {
    background-color: #000;
    color: gray;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body.archiveBody {
    background-color: #000;
    color: gray;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 75vh;
    position: relative;
}

body.articlesBody {
   background-image: url("/static/images/nightbg.jpg");
   background-position: center center;
   background-repeat: no-repeat;
   background-size: cover;
   background-attachment: scroll;
   color: gray;
   margin: 0;
   padding: 0;
   overflow-x: hidden;
   min-height: 75vh;
   position: relative;
}

body.homepageBody {
    background-color: rgb(33, 33, 33);
    background-image: url("/static/images/modsbg.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    color: gray;
    margin: 0;
    padding: 0;
    overflow: hidden;
    min-height: 100vh;
    max-height: 150vh;
    position: relative;
    touch-action: none;
}

body.projectsBody {
    background-color: rgb(33, 33, 33);
    background-image: url("/static/images/modsbg.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    color: gray;
    margin: 0;
    padding: 0;
    overflow: hidden;
    min-height: 100vh;
    position: relative;
    touch-action: none;
}

body.rttvBody {
    background-color: rgb(33, 33, 33);
    background-image: url("/static/images/rttvbg.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    color: gray;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body.reworkBody {
    background-color: #0000;
    background-image: url("/static/images/globalbg.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    color: gray;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body.smeBody {
    background-color: rgb(33, 33, 33);
    background-image: url("/static/images/sme08.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    color: gray;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body.scourgeBody {
    background-color: #000;
    background-image: url("/static/images/scourgeBG.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    color: gray;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 75vh;
    position: relative;
}

body.privacyBody,
body.tosBody {
    background-color: rgb(33, 33, 33);
    background-image: url("/static/images/dockbg.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    color: gray;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body.storeBody,
body.tosBody {
    background-color: rgb(33, 33, 33);
    background-image: url("/static/images/dockbg.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    color: gray;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

@media (min-width: 769px) {
    body,
    body.scourgeBody,
    body.projectsBody,
    body.rttvBody,
    body.reworkBody,
    body.privacyBody,
    body.tosBody {
        background-attachment: fixed;
    }
}

.video-archive {
    padding: 20px;
    max-width: 1000px;
    margin: 8rem auto 12rem;
}

@media (min-width: 768px) {
    .video-archive {
        margin: 6rem auto 10rem;
    }
}

.memo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 5rem;
    backdrop-filter: blur(3px);
}

.memo-card {
    background: linear-gradient(to bottom, #1a1a1a, #0d0d0d);
    border: 2px solid #4a4a4a;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
    max-width: 650px;
    width: 100%;
    padding: 3rem 2.5rem;
    position: relative;
}

.memo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, #666, transparent);
}

.memo-header {
    text-align: center;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #666, transparent);
}

.memo-header h1 {
    font-family: 'Georgia', serif;
    font-size: 1.4rem;
    letter-spacing: 3px;
    color: #c9c9c9;
    margin: 0;
    font-weight: 400;
    white-space: nowrap;
}

.memo-body h2 {
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    color: #d4d4d4;
    margin: 0 0 1.5rem 0;
    text-align: center;
    font-weight: 400;
}

.memo-body p {
    font-family: 'Georgia', serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #b8b8b8;
    margin-bottom: 1.2rem;
    text-align: justify;
}

.memo-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #4a4a4a;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.logo-link {
    display: block;
}

.creator-logo {
    width: 200px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.creator-logo:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
}

.social-links a {
    color: #e0e0e0;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    opacity: 0.85;
}

.social-links a:hover {
    color: #fff;
    opacity: 1;
    transform: translateY(-2px);
}

.memo-legal {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    text-align: center;
    font-family: 'Georgia', serif;
    font-size: 0.9rem;
}

.memo-legal a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.memo-legal a:hover {
    color: #ccc;
}

.separator {
    color: #666;
    margin: 0 0.8rem;
}

@media (max-width: 768px) {
    .memo-card {
        padding: 2rem 1.5rem;
    }

    .memo-header h1 {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .memo-body h2 {
        font-size: 1.5rem;
    }

    .memo-body p {
        font-size: 1rem;
    }

    .social-links {
        gap: 2rem;
    }

    .social-links a {
        font-size: 1.5rem;
    }
}

.articlesBodyLarge {
    font-size: 1.44rem;
}

.mod-meta-box {
    background: #0d0d0d;
    border: 1px solid #222;
    padding: 1.5rem 2rem;
    margin: 2rem auto;
    max-width: 420px;
    text-align: left;
    border-radius: 6px;
}

.mod-meta-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    align-items: center;
}

.meta-label {
    color: #888;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta-value {
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: 0.2s;
}

.meta-value:hover {
    color: #ccc;
}

.back-link {
    display: inline-block;
    margin-top: 0.25rem;
    color: #aaa;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.2s;
}

.back-link:hover {
    color: #fff;
}
