body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
    margin: 0;
    color: #bb2121;
    overflow: hidden; /* Verhindert Scrollbalken durch die Walzen */
}

.container {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    backdrop-filter: blur(5px); /* Leichter Blur-Effekt */
}

h1 {
    color: #fff;
    margin-bottom: 30px;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.genre-container {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.genre-container label {
    font-size: 1.2em;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.genre-container input {
    padding: 8px 12px;
    border-radius: 5px;
    border: 2px solid #ffd700;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 1em;
    width: 200px;
}

.genre-container button {
    padding: 8px 15px;
    font-size: 1em;
    background-color: #ff4500;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slot-machine {
    display: flex;
    justify-content: center;
    gap: 20px; /* Abstand zwischen den Walzen */
    margin-bottom: 40px;
}

.reel-container {
    width: 180px; /* Breite jeder Walze */
    height: 100px; /* Höhe des sichtbaren Bereichs */
    background-color: rgba(0, 0, 0, 0.4);
    border: 3px solid #ffd700; /* Goldener Rand */
    border-radius: 10px;
    overflow: hidden; /* Wichtig: Nur der sichtbare Teil */
    position: relative;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
}

.reel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Die Transition wird von JS gesetzt, um die Drehzeit zu steuern */
    transition: transform 0s ease-out; /* Standard: keine Transition */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reel-item {
    height: 100px; /* Jedes Item hat die Höhe des Containers */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    width: 100%;
    box-sizing: border-box; /* Padding und Border in die Breite einbeziehen */
}

#spinBtn {
    background-color: #ff4500; /* Orange-Rot */
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.8em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

#spinBtn:hover {
    background-color: #e03c00;
    transform: translateY(-2px);
}

#spinBtn:active {
    background-color: #c43200;
    transform: translateY(0);
}

.current-selection {
    margin-top: 40px;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.current-selection p {
    font-size: 1.4em;
    margin: 10px 0;
    color: #eee;
}

.current-selection span {
    font-weight: bold;
    color: #ffd700; /* Gold */
}