:root {
    --primary: #003452;       /* Dunkelblau */
    --primary-light: #004e7a;
    --accent: #9ED1C9;        /* Mint */
    --accent-dark: #7fb5ad;
    --bg-color: #ffffff;
    --bg-secondary: #f8fcfd;
    --text-muted: #8899a6;
    --shadow-soft: 0 10px 30px rgba(0, 52, 82, 0.08);
    --shadow-strong: 0 20px 40px rgba(0, 52, 82, 0.15);
    --font-family: 'Roboto', sans-serif;
    --radius-lg: 24px;
    --radius-circle: 50%;
}

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

body {
    background-color: var(--bg-color);
    color: var(--primary);
    font-family: var(--font-family);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    /* Subtiler Hintergrundverlauf */
    background: radial-gradient(circle at 10% 20%, #f9fcff 0%, #ffffff 80%);
}

/* Dekorative Hintergründe */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.6;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(158, 209, 201, 0.3); /* Accent transparent */
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(0, 52, 82, 0.05); /* Primary transparent */
    bottom: 10%;
    right: -50px;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease-out;
}

.logo-container {
    margin-bottom: 1.5rem;
}

.logo {
    max-width: 280px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.headline {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.headline .highlight {
    color: var(--accent-dark);
    /* Alternative: Unterstreichung */
    position: relative;
    display: inline-block;
}

.headline .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(158, 209, 201, 0.4);
    z-index: -1;
}

.subline {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Main Content Wrapper */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    width: 100%;
    max-width: 500px;
    justify-items: center;
}

/* Player Section */
.player-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.circle-progress-container {
    position: relative;
    width: 240px;
    height: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring__circle-bg {
    stroke: #eef2f5;
}

.progress-ring__circle {
    transition: stroke-dashoffset 0.1s linear;
    stroke-linecap: round;
    /* r=108 => 2*pi*108 ≈ 678.58 */
    stroke-dasharray: 678.58;
    stroke-dashoffset: 678.58;
}

.play-btn {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 52, 82, 0.25);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    outline: none;
    z-index: 10;
}

.play-btn:hover {
    transform: scale(1.05);
    background: var(--primary-light);
    box-shadow: 0 20px 45px rgba(0, 52, 82, 0.35);
}

.play-btn:active {
    transform: scale(0.98);
}

/* Loader Styles */
.loader {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    position: absolute;
    z-index: 20;
}

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


.status-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.status-text {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 900; /* Bolder */
}

.cta-text {
    font-size: 0.9rem;
    color: var(--accent-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
    animation: pulse 2s infinite;
}

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


.time-display {
    font-family: 'Roboto', monospace; /* Monospace für Zahlenstabilität */
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Mystery Card */
.mystery-card-container {
    width: 100%;
    perspective: 1000px; /* Für potentielle 3D Effekte */
}

.mystery-card {
    position: relative;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    border: 1px solid rgba(0, 52, 82, 0.05);
}

/* Overlay State (Locked) */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px); /* WICHTIG: Der starke Blur-Effekt */
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.mystery-card.unlocked .card-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mystery-card.unlocked {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(158, 209, 201, 0.4);
    border-color: var(--accent);
}

.lock-icon {
    background: var(--accent);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.overlay-text {
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Card Content (Hidden initially by overlay) */
.card-content {
    padding: 2.5rem 2rem;
    text-align: center;
}

.card-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.date-display {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.date-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.date-row .icon {
    font-size: 1.5rem;
    opacity: 0.5;
}

.value {
    font-weight: 900;
    color: var(--primary);
}

.day-value {
    font-size: 1.5rem;
}

.time-value {
    font-size: 1.8rem;
    color: var(--primary);
}

.card-footer {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Footer */
.footer {
    padding: 2rem;
    width: 100%;
    text-align: center;
    margin-top: auto;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.separator {
    color: #ddd;
}

.copyright {
    font-size: 0.75rem;
    color: #ccc;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (min-width: 900px) {
    .content-wrapper {
        grid-template-columns: 1fr 1fr; /* Nebeneinander auf großen Screens */
        max-width: 1000px;
        align-items: center;
    }
    
    .headline {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .play-btn {
        width: 120px;
        height: 120px;
    }
    .circle-progress-container {
        width: 180px;
        height: 180px;
    }
    .progress-ring {
        width: 180px;
        height: 180px;
    }
    .progress-ring__circle, .progress-ring__circle-bg {
        r: 80;
        cx: 90;
        cy: 90;
    }
    /* Neue stroke-dasharray für r=80 (2*pi*80 = 502.65) */
    .progress-ring__circle {
        stroke-dasharray: 502.65;
        stroke-dashoffset: 502.65;
    }
    .progress-ring__circle-bg {
        r: 80; cx: 90; cy: 90;
    }
}
