/**
 * CM Planet Lyrik Counter - Styles
 */

.pl-counter-wrapper {
    font-family: Georgia, 'Times New Roman', serif;
    text-align: center;
    padding: 2rem 1.5rem;
    margin: 1.5rem 0;
    /*background: #4f7234;*/
    background: #565656;
    border-radius: 12px;
    color: #e8e8e8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Subtiler Sterneneffekt 
.pl-counter-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #4f7234;
    background-repeat: repeat;
    background-size: 200px 100px;
    pointer-events: none;
    opacity: 0.6;
}*/

.pl-counter-header {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    color: #b8c5d6;
    font-family: 'Allerta Stencil',Helvetica,Arial,Lucida,sans-serif;
}

.pl-counter-header a {
    color: #8bd69d;
    text-decoration: none;
    border-bottom: 1px dotted #7eb8da;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.pl-counter-header a:hover {
    color: #a8d4f0;
    border-color: #a8d4f0;
}

.pl-counter-display {
    font-size: 17px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.pl-prefix,
.pl-suffix {
    color: #bad4c5;
}

.pl-unit {
    display: inline-block;
}

.pl-value {
    font-weight: bold;
    color: #f0c674;
    font-size: 1.3em;
    min-width: 1.5em;
    display: inline-block;
    text-align: center;
    transition: transform 0.15s ease;
}

/* Animation beim Wechsel */
.pl-value.pl-flip {
    transform: scale(1.15);
    color: #ffe066;
}

.pl-label {
    color: #9ecab3;
    font-size: 0.95em;
}

.pl-separator {
    color: #9ecab3;
}

/* Sekundenanzeige mit Pulseffekt */
.pl-seconds .pl-value {
    animation: pl-pulse 1s ease-in-out infinite;
}

@keyframes pl-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .pl-counter-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .pl-counter-display {
        font-size: 1rem;
    }
    
    .pl-value {
        font-size: 1.2em;
    }
    
    .pl-separator {
        display: inline;
    }
}

@media (max-width: 480px) {
    .pl-counter-display {
        font-size: 0.9rem;
        line-height: 2;
    }
    
    .pl-unit {
        display: inline;
    }
}

/* Alternative Styles */

/* Style: minimal */
.pl-style-minimal {
    background: #f8f9fa;
    color: #333;
    box-shadow: none;
    border: 1px solid #dee2e6;
}

.pl-style-minimal::before {
    display: none;
}

.pl-style-minimal .pl-counter-header,
.pl-style-minimal .pl-prefix,
.pl-style-minimal .pl-suffix {
    color: #555;
}

.pl-style-minimal .pl-counter-header a {
    color: #0066cc;
    border-color: #0066cc;
}

.pl-style-minimal .pl-value {
    color: #0066cc;
}

.pl-style-minimal .pl-label,
.pl-style-minimal .pl-separator {
    color: #666;
}

/* Style: elegant */
.pl-style-elegant {
    background: linear-gradient(135deg, #2c1810 0%, #3d2317 50%, #4a2c1a 100%);
    border: 2px solid #8b6914;
}

.pl-style-elegant .pl-value {
    color: #d4af37;
}

.pl-style-elegant .pl-counter-header a {
    color: #c9a227;
    border-color: #c9a227;
}
