body {
    background-color: #000;
    color: #FF0000;
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 2rem;
    display: flex;
    justify-content: center;
}

.container {
    max-width: 800px;
    width: 100%;
}

h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#chapter-list a {
    display: block;
    color: #FF0000;
    text-decoration: none;
    padding: 1rem;
    border-bottom: 1px solid #4d0000;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

#chapter-list a:hover {
    background-color: #FF0000;
    color: #000;
}

#reader-content h1 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

#chapter-body {
    line-height: 1.7;
    font-size: 1.1rem;
    white-space: pre-wrap;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.back-link {
    display: block;
    color: #FF0000;
    text-decoration: none;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    transition: color 0.2s ease-in-out;
}

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

.button {
    color: #FF0000;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 1px solid #4d0000;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.button:hover {
    background-color: #FF0000;
    color: #000;
    border-color: #FF0000;
}

@media (max-width: 600px) {
    body {
        padding: 1rem;
    }
    h1 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    #reader-content h1 {
        font-size: 1.5rem;
    }
    #chapter-body {
        font-size: 1rem;
    }
    .button {
        padding: 0.5rem 1rem;
    }
}