@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

/* 🌸 Grundlayout */
body {
    margin: 0;
    padding: 0;
    background: transparent;
    font-family: 'Orbitron', sans-serif;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* 💎 Gesamter Wrapper */
#overlay-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 240, 250, 0.15);
    border: 2px solid rgba(255, 192, 203, 0.4);
    box-shadow: 0 0 25px rgba(255, 192, 203, 0.4), 0 0 80px rgba(255, 182, 193, 0.2);
    backdrop-filter: blur(14px);
    padding: 30px 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    animation: shimmer 8s infinite linear;
}

/* 🧭 Kopfzeile */
#overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 182, 193, 0.4);
}

.header-label {
    flex: 1;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #ffb6c1;
    text-shadow: 0 0 6px rgba(255, 182, 193, 0.6);
}

/* 📊 Inhalt */
#overlay-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    text-align: center;
}

.data-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Schritte & Distanz leicht einrücken */
.data-block:first-child {
    margin-left: 20px;
}
.data-block:last-child {
    margin-right: 20px;
}

/* 🔢 Zahlenwerte */
.value {
    font-size: 28px;
    font-weight: bold;
    color: #ffc0cb;
    text-shadow:
        0 0 10px rgba(255, 192, 203, 0.7),
        0 0 20px rgba(255, 182, 193, 0.6),
        0 0 30px rgba(255, 105, 180, 0.3);
    transition: color 0.3s ease-in-out;
}

/* ❤️ Puls-Animation */
.heart-glow {
    animation: heartbeat var(--pulse-speed, 1.5s) infinite ease-in-out;
}

@keyframes heartbeat {
    0% { transform: scale(1); opacity: 1; }
    25% { transform: scale(1.1); opacity: 0.85; }
    50% { transform: scale(1); opacity: 1; }
    75% { transform: scale(1.05); opacity: 0.95; }
    100% { transform: scale(1); opacity: 1; }
}

/* ✨ Glitzerschimmer */
@keyframes shimmer {
    0% { box-shadow: 0 0 25px rgba(255, 192, 203, 0.4), 0 0 80px rgba(255, 182, 193, 0.2); }
    50% { box-shadow: 0 0 35px rgba(255, 105, 180, 0.6), 0 0 120px rgba(255, 182, 193, 0.4); }
    100% { box-shadow: 0 0 25px rgba(255, 192, 203, 0.4), 0 0 80px rgba(255, 182, 193, 0.2); }
}
