/* ==========================================================================
   [05] CONTENT-SEKTIONEN (MAIN LAYOUT)
   ========================================================================== */
/* TINA-SYSTEM | AUTH-DESIGN | STANDALONE */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600&family=Roboto+Mono:wght@400;700&display=swap');

body {
    margin: 0;
    padding: 0;
    background-color: #e8e8e8;
    color: #001b3d;
    font-family: 'Oswald', sans-serif;
}

/* Identisch zum Hauptsystem-Look */
.player-card {
    max-width: 400px;
    height: 780px;
    margin: auto;
    padding: 30px;
    background: #ffffff;
    border-left: 8px solid #001b3d;
}

h2 {
    color: #001b3d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    color: #001b3d;
    font-family: 'Roboto Mono', monospace;
    box-sizing: border-box;
}

.player-btn {
    background: #e8e8e8;
    color: #001b3d;
    border: none;
    padding: 12px 18px;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 0 #a6a6a6;
    width: 100%;
    margin-top: 10px;
}

.player-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #a6a6a6;
}

/* ==========================================================================
   [07] MOBILE ANPASSUNGEN (STABIL & HOCHWERTIG)
   ========================================================================== */

@keyframes ticker-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-120%); }
}

@media screen and (max-width: 1000px) {
    /* Header-Logistik bleibt kompakt */
    .header-inner { 
        padding: 0 10px; 
        gap: 5px; 
    }
    
    .domain-name { 
        font-size: 1.1rem; 
    }

    .icecast-status { 
        flex: 1;
        margin: 0 5px;
    }

    #icecast-title {
        animation: ticker-scroll 12s linear infinite;
        padding-left: 100%;
    }

    #discord-status { 
        display: none; 
    }

    /* --- DER PLAYER-FIX: KEIN BILLIGES UNTEREINANDER --- */
    
    .player-content-side {
        display: grid;
        /* Wir behalten zwei Spalten: Cover links, Controls rechts */
        grid-template-columns: 120px 1fr; 
        grid-template-rows: auto auto;
        gap: 15px;
        padding: 20px;
        align-items: center;
    }

    #cover-art {
        width: 120px;   /* Kleiner, aber als fixer Anker links */
        height: 120px;
        grid-column: 1;
        grid-row: 1;
        border: 2px solid rgba(255,255,255,0.2);
    }

    .controls-main {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        min-width: unset;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .status-box {
        padding: 10px; /* Kompakterer Titel-Bereich */
        font-size: 0.8rem;
    }

    .button-cluster {
        justify-content: flex-start; /* Bleibt linksbündig wie am Desktop */
        gap: 5px;
    }

    .player-btn {
        padding: 8px 12px; /* Kleinere Buttons für's Dashboard-Gefühl */
        font-size: 0.75rem;
        box-shadow: 0 2px 0 #a6a6a6;
    }

    /* Volume & Timeline als breite Basis unten drunter */
    .volume-area {
        grid-column: 1 / span 2;
        grid-row: 2;
        width: 100%;
        padding: 15px 0 0 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        flex-direction: row; /* Volume-Slider neben Label */
        align-items: center;
        gap: 15px;
    }

    .volume-bar {
        flex: 1;
        margin-top: 0;
    }

    .system-tag {
        display: none; /* Platz sparen auf Mobile */
    }
}

/* Extra-Schliff für ganz kleine Handys */
@media screen and (max-width: 480px) {
    .player-content-side {
        grid-template-columns: 100px 1fr;
    }
    #cover-art {
        width: 100px;
        height: 100px;
    }
    .player-btn {
        padding: 6px 10px;
    }
}