/* Grundlayout */
body {
    max-width: 540px;
    margin: 0 auto;
    padding: 2em;
    background: #fafbfc;
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    color: #25324b;
}

h1, h2, h3 {
    font-weight: 700;
    margin-top: 1.4em;
    margin-bottom: 0.7em;
    color: #273146;
    letter-spacing: 0.01em;
}

.powered {
    font-size: 0.9em;
    color: #aaa;
    margin-top: 3em;
    text-align: right;
}

/* Buttons */
.main-btn-row {
    display: flex;
    gap: 3em;
    margin-bottom: 1em;
    flex-wrap: wrap;
    justify-content: center;
}
.main-btn, .trending-item, .ep-box, button {
    border-radius: 12px;
    border: none;
    outline: none;
    font-size: 1.13em;
    background: #d3dae7;
    padding: 1em 2em;
    cursor: pointer;
    box-shadow: 0 2px 10px #0001;
    transition: background 0.14s, box-shadow 0.14s;
}
.main-btn:hover, .trending-item:hover, button:hover, .ep-box:hover {
    background: #dae3f1;
    box-shadow: 0 4px 16px #0001;
}

/* *** NEU: Responsive große Hauptbuttons im Verhältnis 3.5:2 *** */
.main-btn {
    width: 100%;
    max-width: 360px; /* oder nach Wunsch anpassen */
    aspect-ratio: 3.5 / 2;
    font-size: 2.1em;
    min-width: 180px;
    min-height: 100px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 520px) {
    .main-btn-row {
        flex-direction: row;
        gap: 2em;
    }
    .main-btn {
        width: 46%;
        min-width: 180px;
    }
}

@media (max-width: 519px) {
    .main-btn-row {
        flex-direction: column;
        gap: 2em;
    }
    .main-btn {
        width: 100%;
        min-width: unset;
    }
}
/* *** ENDE NEU *** */

/* Trending-Listen */
.trending { margin-top: 1.5em; }
.trending-list { margin-bottom: 2em; }
.trending-item {
    display: flex;
    align-items: center;
    gap: 1em;
    background: #eef1f5;
    border-radius: 8px;
    padding: 0.6em 1em;
    margin: 0.4em 0;
    border: none;
    cursor: pointer;
    font-size: 1em;
}
.cover-img {
    width: 48px; height: 70px; object-fit: cover;
    border-radius: 6px; box-shadow: 0 2px 6px #0001; background: #ddd;
}

/* Sprachmenü */
#lang-menu { position: absolute; top: 1.2em; right: 1.2em; z-index: 5; }
#lang-btn { cursor: pointer; font-size: 2em; }
#lang-dropdown { display: none; position: absolute; right: 0; background: white; border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 3px 10px #0001; }
#lang-dropdown div { padding: 0.7em 1.3em; cursor: pointer; font-size: 1.1em; }
#lang-dropdown div:hover { background: #f0f0f0; }

/* Inputs und Selects */
input[type="text"], select, input[type="number"], input[type="range"], textarea {
    border-radius: 12px;
    border: 1.5px solid #ccd6e6;
    font-size: 1.13em;
    padding: 0.7em 1.1em;
    margin-top: 0.5em;
    margin-bottom: 0.9em;
    box-shadow: 0 1px 8px #0001;
    background: #f6f8fb;
    transition: border 0.18s, box-shadow 0.18s;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}
input[type="text"]:focus, select:focus, input[type="number"]:focus, textarea:focus {
    border-color: #4a90e2;
    box-shadow: 0 3px 14px #4a90e211;
}

/* Label-Style */
label {
    font-size: 1.05em;
    font-weight: 500;
    margin-bottom: 0.25em;
    display: block;
}

/* Episoden-Stepper für Serien */
.ep-box {
    display: inline-block;
    min-width: 2.1em;
    min-height: 2.1em;
    background: #f6f8fb;
    margin: 0.14em 0.16em;
    text-align: center;
    border-radius: 12px;
    border: 1.2px solid #d2dbe7;
    font-size: 1em;
    font-weight: 500;
    box-shadow: 0 1px 3px #0001;
    cursor: pointer;
    transition: background 0.14s, border 0.16s;
    vertical-align: middle;
}
.ep-box.selected {
    background: #4a90e2;
    color: #fff;
    border: 1.7px solid #4a90e2;
    box-shadow: 0 2px 7px #4a90e233;
}

/* Spinner (für Ladeanimation) */
.spinner {
    display: inline-block;
    width: 23px;
    height: 23px;
    border: 3px solid #e1e8f5;
    border-radius: 50%;
    border-top: 3px solid #4a90e2;
    animation: spin 1s linear infinite;
    vertical-align: middle;
    margin-left: 0.7em;
}
@keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}

/* Responsive Design */
@media (max-width: 600px) {
    body { padding: 0.8em; }
    /* main-btn-row und main-btn bereits oben angepasst */
}

#movieBtn {
    border: none;
    box-shadow: 0 0 0 4px rgba(232,69,69,0.18), 0 4px 16px #0002;
    background: linear-gradient(90deg, #fff 70%, #fdeaea 100%);
    color: #d72929;
    font-weight: bold;
}

#movieBtn:hover {
    box-shadow: 0 0 0 6px rgba(232,69,69,0.27), 0 8px 32px #0003;
    background: linear-gradient(90deg, #fff 40%, #ffd1d1 100%);
    color: #e84545;
}

#bookBtn {
    border: none;
    box-shadow: 0 0 0 4px rgba(59,116,215,0.16), 0 4px 16px #0002;
    background: linear-gradient(90deg, #fff 70%, #eaf1fd 100%);
    color: #2350a8;
    font-weight: bold;
}

#bookBtn:hover {
    box-shadow: 0 0 0 6px rgba(59,116,215,0.27), 0 8px 32px #0003;
    background: linear-gradient(90deg, #fff 40%, #cbe2ff 100%);
    color: #3b74d7;
}

/* ==== MAIN BUTTONS: Mehr Abstand mobil & korrektes Verhalten ==== */
.main-btn-row {
    display: flex;
    flex-direction: column;
    gap: 2.2em;  /* Mehr Abstand zwischen den Buttons auf Mobil */
    margin-bottom: 2em;
    align-items: center;
}

.main-btn {
    width: 100%;
    max-width: 360px;
    min-width: 180px;
    min-height: 100px;
    aspect-ratio: 3.5 / 2;
    font-size: 2.1em;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

@media (min-width: 601px) {
    .main-btn-row {
        flex-direction: row;
        gap: 2.2em;
        justify-content: center;
        align-items: flex-start;
    }
    .main-btn {
        width: 46%;
        max-width: 360px;
        min-width: 180px;
    }
}

@media (max-width: 600px) {
    .main-btn-row {
        flex-direction: column !important;
        gap: 2.2em !important;     /* Noch mehr Abstand */
        margin-bottom: 2.5em !important;
        align-items: center !important;
    }
    .main-btn {
        width: 100% !important;
        max-width: 360px !important;
        min-width: 180px !important;
        margin: 0 !important;
    }
}

/* Optional: Entferne jegliches margin an .main-btn, damit nur gap greift */


