/* Vatertags-Challenge App - Bier Design */

:root {
    --bier-gold: #f4a226;
    --bier-bernstein: #d4850c;
    --bier-braun: #8B4513;
    --bier-dunkel: #3d1f00;
    --schaum-weiss: #fff8e7;
    --schaum-creme: #f5deb3;
    --text-dunkel: #2c1500;
    --akzent-rot: #c41e3a;
    --akzent-gruen: #228B22;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial Black', 'Arial', sans-serif;
    background: linear-gradient(135deg, var(--bier-gold) 0%, var(--bier-bernstein) 50%, var(--bier-braun) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--text-dunkel);
    overflow-x: hidden;
}

.container {
    background: var(--schaum-weiss);
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 
        0 10px 30px rgba(61, 31, 0, 0.3),
        inset 0 -5px 20px rgba(244, 162, 38, 0.2);
    border: 4px solid var(--bier-braun);
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 15px;
    background: linear-gradient(90deg, var(--schaum-creme), var(--schaum-weiss), var(--schaum-creme));
    border-bottom: 2px solid var(--bier-gold);
}

/* Schaumblasen Animation */
.bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.bubble {
    position: absolute;
    bottom: -50px;
    background: rgba(255, 248, 231, 0.6);
    border-radius: 50%;
    animation: rise 8s infinite ease-in;
}

@keyframes rise {
    0% {
        bottom: -50px;
        transform: translateX(0) scale(1);
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        bottom: 110vh;
        transform: translateX(100px) scale(0.5);
        opacity: 0;
    }
}

/* Überschriften */
h1 {
    font-size: 2.5em;
    color: var(--bier-dunkel);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0 var(--bier-gold);
}

h2 {
    font-size: 1.8em;
    color: var(--bier-braun);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.station-nummer {
    display: inline-block;
    background: var(--bier-braun);
    color: var(--schaum-weiss);
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 1.2em;
    margin-bottom: 20px;
    transform: rotate(-2deg);
}

/* Text */
p {
    font-size: 1.3em;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: bold;
}

.warnung {
    background: var(--akzent-rot);
    color: white;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.4em;
    text-transform: uppercase;
    animation: pulse 1s infinite;
    margin: 20px 0;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Buttons */
.btn {
    display: inline-block;
    background: linear-gradient(180deg, var(--bier-gold), var(--bier-bernstein));
    color: var(--text-dunkel);
    border: 3px solid var(--bier-braun);
    padding: 20px 40px;
    font-size: 1.5em;
    font-family: 'Arial Black', Arial, sans-serif;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    margin: 10px;
    transition: all 0.2s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-success {
    background: linear-gradient(180deg, #7CB342, var(--akzent-gruen));
    color: white;
}

.btn-danger {
    background: linear-gradient(180deg, #ff6b6b, var(--akzent-rot));
    color: white;
}

/* Countdown */
.countdown {
    font-size: 6em;
    color: var(--akzent-rot);
    text-shadow: 3px 3px 0 var(--bier-gold);
    margin: 20px 0;
    animation: bounce 0.5s infinite alternate;
}

@keyframes bounce {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* Lautstärke-Anzeige */
.lautstaerke-container {
    margin: 30px 0;
    padding: 20px;
    background: rgba(244, 162, 38, 0.2);
    border-radius: 15px;
    border: 3px dashed var(--bier-braun);
}

.lautstaerke-bar {
    width: 100%;
    height: 40px;
    background: #ddd;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid var(--bier-braun);
    margin: 10px 0;
}

.lautstaerke-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--akzent-gruen), var(--bier-gold), var(--akzent-rot));
    width: 0%;
    transition: width 0.1s;
    border-radius: 17px;
}

.lautstaerke-text {
    font-size: 1.5em;
    color: var(--akzent-rot);
    margin-top: 10px;
}

/* Peinliche Animationen */
.shake {
    animation: shake 0.5s infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px) rotate(-5deg); }
    75% { transform: translateX(10px) rotate(5deg); }
}

.spin {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Falle-Seite */
.falle-container {
    background: var(--akzent-rot);
    color: white;
    border-color: #8b0000;
}

.falle-container h1 {
    color: white;
    text-shadow: 3px 3px 0 #8b0000;
    font-size: 3em;
}

.falle-container p {
    color: white;
    font-size: 1.5em;
}

/* Erfolg */
.erfolg {
    font-size: 2em;
    color: var(--akzent-gruen);
    margin: 20px 0;
}

.emoji-gross {
    font-size: 4em;
    margin: 20px 0;
}

/* Versteckter Hinweis */
.hinweis-box {
    background: var(--bier-gold);
    border: 3px solid var(--bier-braun);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    transform: rotate(1deg);
}

/* Responsive */
@media (max-width: 600px) {
    h1 { font-size: 1.8em; }
    h2 { font-size: 1.4em; }
    .countdown { font-size: 4em; }
    .btn { font-size: 1.2em; padding: 15px 30px; }
    p { font-size: 1.1em; }
}
