/* --- GLOBAL STYLES --- */

body {
    margin: 0;
    padding: 0;
    background-image: url("BG-seamsless-150ppi.png");
    background-repeat: repeat;
    background-size: auto;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    text-align: center;
}

/* --- LAYOUT --- */

.container {
    position: relative;
    padding-top: 180px;
}

h1 {
    font-size: 6vw;
    letter-spacing: 0.5vw;
    margin: 0;
    opacity: 0.75; /* leicht transparent */
    position: relative;
    display: inline-block;
}

/* --- SUBTITLE (jetzt dezenter und schmaler) --- */

h2 {
    font-size: 1.3vw;           /* kleiner */
    margin-top: 20px;
    font-weight: 300;
    opacity: 0.35;              /* dezenter */
    max-width: 70%;             /* nicht breiter als Titel */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

/* --- BAT IMAGE --- */

.bat {
    position: absolute;
    top: 20px;
    right: 5%;
    width: 22vw;
    max-width: 300px;
    transform: rotate(12deg);
    pointer-events: none;
}

/* --- RESPONSIVE --- */

@media (max-width: 900px) {
    .container {
        padding-top: 140px;
    }

    h1 {
        font-size: 10vw;
        letter-spacing: 1vw;
    }

    h2 {
        font-size: 3.5vw;
        max-width: 85%;
    }

    .bat {
        width: 35vw;
        top: 10px;
        right: 2%;
    }
}

@media (max-width: 500px) {
    h1 {
        font-size: 12vw;
    }

    h2 {
        font-size: 4.5vw;
        max-width: 90%;
    }

    .bat {
        width: 40vw;
        top: 0;
        right: 0;
    }
}

/* --- CUSTOM AUDIO PLAYER --- */

.player {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 2vw;
}

.btn {
    font-size: 2vw;
    padding: 1vw 2.5vw;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.4);
    color: white;
    cursor: pointer;
    border-radius: 8px;
    letter-spacing: 0.2vw;
    transition: 0.25s ease;
    backdrop-filter: blur(4px);
}

.btn:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.6);
}

.play {
    border-color: rgba(0,200,255,0.45);
}

.play:hover {
    background: rgba(0,200,255,0.25);
}

.stop {
    border-color: rgba(255,80,80,0.45);
}

.stop:hover {
    background: rgba(255,80,80,0.25);
}

/* MOBILE */
@media (max-width: 600px) {
    .btn {
        font-size: 5vw;
        padding: 3vw 6vw;
    }

    .player {
        flex-direction: column;
        gap: 4vw;
    }
}

/* --- PLAYER STATUS INDICATOR (blue = playing, red = stopped) --- */

.status {
    margin-top: 20px;
    font-size: 1.2vw;
    opacity: 0.55;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.7vw;
}

#statusDot {
    width: 0.9vw;
    height: 0.9vw;
    background: rgba(255, 80, 80, 0.7); /* rot = STOP */
    border-radius: 50%;
    transition: 0.3s ease;
    box-shadow: 0 0 6px rgba(255, 80, 80, 0.6);
}

/* aktiv = blau + pulsierend */
#statusDot.active {
    background: rgba(0, 200, 255, 0.9);
    box-shadow: 0 0 12px rgba(0, 200, 255, 0.8);
    animation: pulse 1.4s infinite ease-in-out;
}

@keyframes pulse {
    0%   { transform: scale(1);   opacity: 0.8; }
    50%  { transform: scale(1.4); opacity: 1;   }
    100% { transform: scale(1);   opacity: 0.8; }
}

/* MOBILE */
@media (max-width: 600px) {
    .status {
        font-size: 4vw;
        gap: 2vw;
    }

    #statusDot {
        width: 3vw;
        height: 3vw;
    }
}

/* --- INFO TEXT UNDER PLAYER --- */

.infoText {
    max-width: 75%;
    margin: 25px auto 0 auto;
    font-size: 1.2vw;
    line-height: 1.45;
    opacity: 0.45;
    font-weight: 300;
    text-align: center;
}

/* MOBILE */
@media (max-width: 600px) {
    .infoText {
        font-size: 4vw;
        max-width: 90%;
    }
}

/* --- STREAM LINK IMAGE (Riesenrad) --- */

.streamLink {
    display: block;
    margin-top: 40px;
}

.streamImage {
    width: 18vw;
    max-width: 220px;
    min-width: 120px;
    opacity: 0.6;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.streamLink:hover .streamImage {
    opacity: 0.9;
    transform: scale(1.03);
}

/* Tablet */
@media (max-width: 900px) {
    .streamImage {
        width: 30vw;
    }
}

/* Mobile */
@media (max-width: 500px) {
    .streamImage {
        width: 45vw;
    }
}

/* --- STREAM LINK TEXT --- */

.streamText {
    display: block;
    margin-top: 14px;
    font-size: 1.1vw;
    font-weight: 300;
    opacity: 0.45;
    letter-spacing: 0.05vw;
    text-decoration: none;
    color: white;
    transition: opacity 0.25s ease;
}

.streamLink:hover .streamText {
    opacity: 0.75;
}

/* Mobile */
@media (max-width: 600px) {
    .streamText {
        font-size: 4vw;
        letter-spacing: 0.1vw;
    }
}
/* --- REMOVE DEFAULT LINK STYLING FOR STREAM LINK --- */

.streamLink {
    text-decoration: none;
    color: inherit;
}

.streamLink:visited {
    color: inherit;
}

.streamLink:hover {
    text-decoration: none;
}

/* --- ABOUT / WHAT IS ULTRAFAUNA --- */

/* --- ABOUT / WHAT IS ULTRAFAUNA --- */

.about {
    max-width: 75%;
    margin: 0 auto;
    min-height: 100vh;           /* beginnt erst auf der nächsten Bildschirmseite */
    padding-top: 15vh;           /* ruhiger Einstieg, nicht direkt am Rand */
    
    font-size: 1.35vw;           /* etwas größer */
    line-height: 1.65;
    opacity: 0.5;
    font-weight: 300;

    text-align: left;           /* rechtsbündig */
}

.about p {
    margin-bottom: 1.8em;
}

/* Mobile */
@media (max-width: 600px) {
    .about {
        max-width: 90%;
        font-size: 4.8vw;
        padding-top: 20vh;
        text-align: left;        /* Empfehlung: links auf Mobile für Lesbarkeit */
    }
}