body {
    background-color: #000000;
    color: #e0e0e0;
}

.letter-container {
    width: 604px;
    height: 684px;
    margin: 50px auto 100px auto;
    background-image: url('/images/Letter_2.png');
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 120px;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace;
}

#message {
    width: 420px;
    height: 200px;
    background-color: transparent;
    border: none;
    color: #1a0000;
    font-family: inherit;
    font-size: 1.2rem;
    line-height: 1.5;
    resize: none;
}

#message:focus {
    outline: none;
    border-bottom: 1px solid rgba(139, 0, 0, 0.3);
}

#submit-btn {
    width: 208px;
    height: 233px;
    background-image: url('/images/Stamp_1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.2s ease, filter 0.2s ease;
}

#submit-btn:hover {
    transform: translateX(-50%) scale(0.95);
    filter: brightness(0.9);
}

#status-message {
    position: absolute;
    bottom: -20px;
    left: 0;
    text-align: center;
    width: 100%;
    font-style: italic;
    font-weight: bold;
    color: #8b0000;
    display: none;
    z-index: 10;
}

.confession-scroll {
    width: 536px;
    margin: 60px auto;
    display: flex;
    flex-direction: column;
}

.scroll-top {
    width: 100%;
    height: 111px;
    background-image: url('/images/AnswerPaper_01.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.scroll-middle {
    width: 100%;
    background-image: url('/images/AnswerPaper_02.png');
    background-repeat: repeat-y;
    background-size: 100% auto;
    padding: 0 50px;
    box-sizing: border-box;
}

.scroll-bottom {
    width: 100%;
    height: 111px;
    background-image: url('/images/AnswerPaper_03.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.letter-text {
    margin-bottom: 42px;
    color: #1a0000;
    font-size: 1.3rem;
    line-height: 1.6;
}

.the-question {
    font-style: italic;
    font-weight: bold;
    color: #5a0000;
    margin-bottom: 14px;
    font-size: 1.5rem;
}

.ink-divider {
    border: 0;
    border-bottom: 1px dashed #5a0000;
    margin: 34px 0;
    opacity: 0.5;
}

.gothic-nav {
    text-align: center;
    padding: 20px 0;
}

.nav-typewriter {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    background-color: #111;
    color: #e0e0e0;
    border: 2px solid #333;
    font-family: 'Courier New', Courier, monospace;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9), inset -1px -1px 3px rgba(255, 255, 255, 0.05);
    transition: all 0.15s ease;
}

.nav-typewriter:hover {
    background-color: #1a1a1a;
    border-color: #5a0000;
    color: #8b0000;
}

.nav-typewriter:active {
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.9), inset 2px 2px 5px rgba(0, 0, 0, 0.8);
    transform: translateY(3px);
}

p {
    font-family: "IMFell", serif;
}