body {
    background-color: #fcf9f2;
    color: #3d1c21;
    font-family: 'Georgia', serif;
    text-align: center;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 650px;
    width: 90%;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(74, 21, 27, 0.08);
    border: 1px solid #e8dfc7;
    border-top: 4px solid #4a151b;
}

h1 {
    color: #4a151b;
    font-size: 2.6rem;
    margin-bottom: 15px;
    font-weight: normal;
    letter-spacing: 1px;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #5c3a3e;
}

/* Die perfekte Flex-Schiene aus RetroLotto */
.todo-section {
    margin: 25px 0;
    background-color: #fdfbf7;
    padding: 15px 0;
    border-radius: 4px;
    overflow: hidden;
    border-top: 1px solid #e8dfc7;
    border-bottom: 1px solid #e8dfc7;
    display: flex;
    white-space: nowrap;
}

/* Der Waggon, der 100% nach links fährt */
.ticker-wrap {
    display: inline-block;
    flex-shrink: 0;
    animation: ticker 40s linear infinite;
}

.book-title {
    display: inline-block;
    padding: 0 20px;
    color: #e67e22;
    font-style: italic;
    font-size: 1.1rem;
}

    .book-title span {
        color: #4a151b;
        margin-left: 15px;
        font-style: normal;
    }

/* Das geschmeidige Blinken aus RetroLotto, adaptiert auf Orange/Braun */
.book-wait {
    color: #4a151b;
    font-weight: bold;
    font-style: italic;
    margin: 0 50px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    animation: smoothPulse 3s ease-in-out infinite;
    display: inline-block;
}

@keyframes smoothPulse {
    0%, 100% {
        opacity: 0.4;
        text-shadow: 0 0 2px rgba(255, 153, 51, 0.2);
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 8px rgba(255, 153, 51, 0.8), 0 0 2px rgba(255, 153, 51, 1);
    }
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e8dfc7, transparent);
    margin: 25px 0;
}

footer {
    margin-top: 25px;
    font-size: 0.8rem;
    color: #9c8285;
    font-family: sans-serif;
    line-height: 1.5;
}

    footer a {
        color: #4a151b;
        text-decoration: none;
        border-bottom: 1px dashed #e67e22;
    }

        footer a:hover {
            color: #e67e22;
            text-decoration: none;
        }
