/**
 * CretaOne Radio Player - Button Styles
 * Styled similar to sfera.gr "Ακούστε Ζωντανά" button
 */

.cretaone-radio-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #e20613;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(226, 6, 19, 0.4);
    position: relative;
    overflow: hidden;
}

.cretaone-radio-btn:hover {
    background: #c4050f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(226, 6, 19, 0.5);
}

.cretaone-radio-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(226, 6, 19, 0.4);
}

/* Radio waves animation */
.cretaone-radio-btn .radio-waves {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 16px;
}

.cretaone-radio-btn .wave {
    width: 3px;
    height: 100%;
    background: #fff;
    border-radius: 2px;
    animation: wave-animation 1s ease-in-out infinite;
}

.cretaone-radio-btn .wave:nth-child(1) {
    animation-delay: 0s;
    height: 8px;
}

.cretaone-radio-btn .wave:nth-child(2) {
    animation-delay: 0.15s;
    height: 16px;
}

.cretaone-radio-btn .wave:nth-child(3) {
    animation-delay: 0.3s;
    height: 12px;
}

@keyframes wave-animation {
    0%, 100% {
        transform: scaleY(0.5);
        opacity: 0.7;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* Pulse effect on button */
.cretaone-radio-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.cretaone-radio-btn:hover::before {
    animation: pulse-effect 1s ease-out infinite;
}

@keyframes pulse-effect {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Button text */
.cretaone-radio-btn .btn-text-wrapper {
    display: block;
    text-align: left;
    position: relative;
    z-index: 1;
}

.cretaone-radio-btn .btn-title {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    opacity: 0.9;
    line-height: 1.2;
    margin-bottom: 2px;
}

.cretaone-radio-btn .btn-text {
    display: block;
    position: relative;
    z-index: 1;
    line-height: 1.2;
    font-size: 13px;
    font-weight: 700;
    font-family: 'CFAstyStd Bold', sans-serif;
}

/* Header top styling */
.header-top .cretaone-radio-btn {
    padding: 8px 16px;
    font-size: 11px;
}

.header-top .cretaone-radio-btn .btn-title {
    font-size: 11px;
}

.header-top .cretaone-radio-btn .btn-text {
    font-size: 13px;
}

.header-top .cretaone-radio-btn .radio-waves {
    height: 12px;
}

@media (max-width: 480px) {
    .cretaone-radio-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .cretaone-radio-btn .radio-waves {
        height: 14px;
    }
}

/* Live Streaming Button - Dark Blue */
.cretaone-live-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0d47a1;
    color: #fff;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.4);
    text-decoration: none;
    margin-right: 10px;
    position: relative;
    overflow: hidden;
}

.cretaone-live-btn:hover {
    background: #0a3d8f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.5);
    color: #fff;
}

.cretaone-live-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(13, 71, 161, 0.4);
}

.cretaone-live-btn .icon-tv {
    font-size: 16px;
}

.cretaone-live-btn .btn-text-wrapper {
    display: block;
    text-align: left;
    position: relative;
    z-index: 1;
}

.cretaone-live-btn .btn-title {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: none;
    opacity: 0.9;
    line-height: 1.2;
    margin-bottom: 2px;
}

.cretaone-live-btn .btn-text {
    display: block;
    position: relative;
    z-index: 1;
    line-height: 1.2;
    font-size: 13px;
    font-weight: 700;
    font-family: 'CFAstyStd Bold', sans-serif;
}
