/* Przycisk „Posłuchaj 15 sekund" w hero (Etap 1) — prawdziwa próbka lektora */
.hero__listen {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 0.8rem 1.6rem;
    border: 1px solid rgba(201, 169, 98, 0.55);
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.45);
    color: var(--color-gold-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.hero__listen:hover {
    border-color: var(--color-gold);
    background: rgba(201, 169, 98, 0.12);
    transform: translateY(-1px);
}

.hero__listen-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--color-gold);
    color: #141204;
    flex-shrink: 0;
}

.hero__listen-stop { display: none; }
.hero__listen.is-playing .hero__listen-play { display: none; }
.hero__listen.is-playing .hero__listen-stop { display: block; }

/* Fala — animowana tylko podczas odtwarzania */
.hero__listen-wave {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    height: 14px;
}

.hero__listen-wave i {
    width: 3px;
    border-radius: 2px;
    background: var(--color-gold);
    height: 30%;
    opacity: 0.55;
}

.hero__listen-wave i:nth-child(1) { height: 45%; }
.hero__listen-wave i:nth-child(2) { height: 90%; }
.hero__listen-wave i:nth-child(3) { height: 60%; }
.hero__listen-wave i:nth-child(4) { height: 100%; }
.hero__listen-wave i:nth-child(5) { height: 40%; }

.hero__listen.is-playing .hero__listen-wave i {
    animation: heroWave 0.9s ease-in-out infinite alternate;
    opacity: 1;
}

.hero__listen.is-playing .hero__listen-wave i:nth-child(2) { animation-delay: 0.12s; }
.hero__listen.is-playing .hero__listen-wave i:nth-child(3) { animation-delay: 0.24s; }
.hero__listen.is-playing .hero__listen-wave i:nth-child(4) { animation-delay: 0.36s; }
.hero__listen.is-playing .hero__listen-wave i:nth-child(5) { animation-delay: 0.48s; }

@keyframes heroWave {
    from { height: 25%; }
    to { height: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .hero__listen.is-playing .hero__listen-wave i { animation: none; }
}
