/* Color scheme */
:root {
    --bg-color: #000000;
    --text-color: #999999;
    --accent-color: #b87333;
}

body {
    font-family: sans-serif;
    font-size: 14px;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Header Styles */
header {
    padding: 1rem 0 0.5rem 0;
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1 {
    font-size: 2.5rem;
    margin: 0;
    color: var(--text-color);
    font-weight: normal;
    text-align: left;
    text-transform: none;
}

h1 a {
    color: var(--text-color);
    text-decoration: none;
}

h1 a:hover {
    color: var(--accent-color);
}

/* Navigation */
nav {
    margin-left: auto;
}

.nav-button {
    display: inline-block;
    margin: 0 0 0 0.8rem;
    padding: 0.3rem 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    border: 1px solid transparent;
    font-size: 0.9rem;
}

.nav-button:hover {
    border: 1px solid var(--accent-color);
}

.nav-button.active {
    border: 1px solid var(--accent-color);
}

/* Welcome Section */
.welcome {
    font-style: italic;
    font-size: 0.9rem;
    margin: 0.3rem 0 0 0;
    color: var(--text-color);
    text-align: left;
    border-top: 1px solid var(--text-color);
    padding-top: 0.3rem;
}

/* Banner */
.banner {
    width: 100%;
    height: auto;
    background-image: url('/images/home/banner1.gif');
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0.5rem 0 1rem 0;
    aspect-ratio: 800 / 192;
}

/* Divider */
.section-divider {
    width: 100%;
    height: 1px;
    background-color: var(--text-color);
    margin: 0.5rem 0;
}

/* Main Content */
main {
    width: 100%;
    min-height: 400px;
}

/* Index Page Specific */
.hero {
    padding: 0.5rem 0;
}

.hero p {
    margin-bottom: 1.5rem;
}

h2 {
    color: var(--text-color);
    font-weight: normal;
    text-align: center;
    margin: 0.5rem 0 0 0;
    padding-bottom: 0;
}

h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    margin: 0.3rem 0 1rem 0;
}

/* Disclaimers Page Specific */
.disclaimer-section {
    padding: 0.5rem 0;
}

.disclaimer-section h2 {
    color: var(--text-color);
    font-weight: bold;
    text-align: left;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--text-color);
    font-size: 2rem;
}

.disclaimer-section h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: bold;
    text-align: left;
    margin: 1.5rem 0 0.5rem 0;
}

.disclaimer-section p {
    margin-bottom: 1.5rem;
}

.disclaimer-section strong {
    color: var(--accent-color);
}

.warning-list {
    list-style-type: none;
    padding: 0;
    margin: 1rem 0 2rem 0;
    columns: 2;
    column-gap: 2rem;
}

.warning-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    break-inside: avoid;
}

.warning-list li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

.author-note {
    border-left: 3px solid var(--accent-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
}

/* Spoiler Style */
.spoiler {
    background-color: #000000;
    color: #000000;
    display: inline-block;
    padding: 0 0.2rem;
    border-radius: 2px;
    transition: color 0.2s ease;
}

.spoiler:hover {
    color: var(--text-color);
}

.spoiler::selection {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

/* WIP Page Specific */
.wip-container {
    text-align: center;
    padding: 3rem 2rem;
    border: 2px dashed var(--accent-color);
    border-radius: 8px;
    margin: 2rem 0;
}

.wip-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.wip-title {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: bold;
}

.wip-message {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.construction-line {
    width: 100px;
    height: 2px;
    background-color: var(--accent-color);
    margin: 1.5rem auto;
}

.back-link {
    display: inline-block;
    margin: 1rem 0;
    color: var(--accent-color);
    text-decoration: none;
    border: 1px solid var(--accent-color);
    padding: 0.5rem 1rem;
}

.back-link:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.8rem;
    color: var(--text-color);
    width: 100%;
    border-top: 1px solid var(--text-color);
}

/* Responsive Design */
@media (max-width: 850px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    h1 {
        margin-bottom: 0.5rem;
    }

    nav {
        margin-left: 0;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

    .nav-button {
        margin: 0 0.5rem 0.3rem 0;
    }

    .warning-list {
        columns: 1;
    }

    .wip-title {
        font-size: 1.5rem;
    }

    .wip-message {
        font-size: 1rem;
    }
}
