body {
    background-color: #000;
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    touch-action: pan-y; /* Erlaubt normales vertikales Scrollen bei langen Listen */
}

header {
    background: #111;
    padding: 20px 10px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid #333;
}

.balances {
    display: flex;
    justify-content: space-around;
    font-size: 1.2em;
    font-weight: bold;
}

.money {
    color: #0f0; 
}

/* --- SLIDER STYLES --- */
#slider-container { 
    position: relative; 
    overflow: hidden; 
    height: calc(100vh - 145px); /* Platz f¸«är Header und Controls lassen */
}

.slide { 
    display: none; 
    padding: 30px; 
    box-sizing: border-box; 
    animation: fadeEffect 0.3s; 
    height: 100%; 
    overflow-y: auto; 
}

.slide.active { 
    display: block; 
}

@keyframes fadeEffect { 
    from {opacity: 0;} 
    to {opacity: 1;} 
}

/* --- NAVIGATION CONTROLS --- */
.controls { 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    background: #111; 
    padding: 15px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-top: 2px solid #333; 
}

.btn { 
    background: #222; 
    color: #0f0; 
    border: 1px solid #0f0; 
    padding: 12px 20px; 
    font-size: 1.1em; 
    border-radius: 8px; 
    cursor: pointer; 
}

.btn:active { 
    background: #0f0; 
    color: #000; 
}

.dots { 
    display: flex; 
    gap: 12px; 
}

.dot { 
    width: 14px; 
    height: 14px; 
    border-radius: 50%; 
    background: #444; 
    transition: 0.3s; 
    cursor: pointer;
}

.dot.active { 
    background: #0f0; 
    transform: scale(1.3); 
    box-shadow: 0 0 8px #0f0;
}

/* --- RESTLICHE STYLES --- */
h2 {
    margin-top: 0;
    text-align: center;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.task-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.task-list li {
    background: #222;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.3em;
}

.task-list label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.task-list input[type="checkbox"] {
    transform: scale(2);
    margin-right: 25px;
    accent-color: #0f0;
}

.done {
    text-decoration: line-through;
    color: #555;
}

#btn-punish {
    background-color: #d00;
    color: #fff;
    border: none;
    padding: 20px;
    font-size: 1.2em;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 25px;
    cursor: pointer;
    font-weight: bold;
}

#btn-punish:active {
    background-color: #a00;
}

.container {
    padding: 30px;
    max-width: 600px;
    margin: 40px auto;
}

input[type="text"], input[type="password"], input[type="number"], textarea {
    width: 100%;
    padding: 15px;
    margin: 10px 0 25px 0;
    background: #111;
    color: #fff;
    border: 1px solid #444;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1.1em;
}

button[type="submit"] {
    background: #0f0;
    color: #000;
    border: none;
    padding: 15px 20px;
    font-size: 1.2em;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}