/* =========================================
   TELSTAR-FM HOME POLL
   ========================================= */

.home-poll-section {
    width: min(1360px, calc(100% - 34px));
    margin: 0 auto 34px;
}

.home-poll-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    background:
        radial-gradient(circle at 100% 0, rgba(255, 0, 140, .14), transparent 34%),
        radial-gradient(circle at 0 100%, rgba(0, 140, 255, .12), transparent 36%),
        linear-gradient(145deg, #07132c, #07081d 62%, #12051e);
    border: 1px solid #6542c6;
    border-radius: 14px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, .35),
        0 0 24px rgba(255, 0, 140, .08);
}

.home-poll-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #16a9ff, #713cff, #ff008c);
}

.home-poll-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    padding-bottom: 17px;
    border-bottom: 1px solid rgba(87, 100, 196, .45);
}

.home-poll-kicker {
    display: block;
    margin-bottom: 6px;
    color: #ff26a3;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.home-poll-header h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.35rem, 3vw, 2rem);
}

.home-poll-total {
    flex: 0 0 auto;
    padding: 8px 12px;
    color: #bfe8ff;
    font-size: .74rem;
    font-weight: 800;
    background: rgba(0, 140, 255, .09);
    border: 1px solid rgba(0, 157, 255, .45);
    border-radius: 999px;
}

.home-poll-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.home-poll-option {
    position: relative;
    display: block;
    overflow: hidden;
    cursor: pointer;
}

.home-poll-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.home-poll-option-content {
    position: relative;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    min-height: 58px;
    padding: 12px 14px;
    color: #fff;
    background: linear-gradient(180deg, rgba(7, 25, 53, .96), rgba(4, 13, 31, .96));
    border: 1px solid #315f96;
    border-radius: 9px;
    transition: .18s ease;
}

.home-poll-option:hover .home-poll-option-content {
    border-color: #9c3be6;
    transform: translateY(-1px);
}

.home-poll-radio {
    width: 19px;
    height: 19px;
    border: 2px solid #27b7ff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(0, 140, 255, .08);
}

.home-poll-option input:checked + .home-poll-option-content {
    background:
        linear-gradient(135deg, rgba(0, 140, 255, .18), rgba(109, 52, 232, .18), rgba(255, 0, 140, .18)),
        #071326;
    border-color: #ff26a3;
    box-shadow:
        0 0 15px rgba(0, 140, 255, .14),
        0 0 20px rgba(255, 0, 140, .10);
}

.home-poll-option input:checked + .home-poll-option-content .home-poll-radio {
    border-color: #ff2bab;
    background: radial-gradient(circle, #ff2bab 0 42%, transparent 46%);
}

.home-poll-option-text {
    font-size: .9rem;
    font-weight: 800;
}

.home-poll-result {
    min-width: 62px;
    text-align: right;
    color: #b8d0ea;
    font-size: .75rem;
}

.home-poll-result strong {
    color: #fff;
}

.home-poll-result-bar {
    grid-column: 2 / -1;
    height: 5px;
    overflow: hidden;
    background: rgba(255, 255, 255, .08);
    border-radius: 999px;
}

.home-poll-result-bar i {
    display: block;
    width: var(--poll-width, 0%);
    height: 100%;
    background: linear-gradient(90deg, #009cff, #7440eb, #ff008c);
    border-radius: inherit;
    transition: width .35s ease;
}

.home-poll-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}

.home-poll-submit {
    min-height: 46px;
    padding: 10px 22px;
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    background: linear-gradient(135deg, #008cff, #633ee8 58%, #ff008c);
    border: 1px solid #43c4ff;
    border-radius: 8px;
    box-shadow:
        0 10px 24px rgba(0, 140, 255, .18),
        0 0 18px rgba(255, 0, 140, .14);
}

.home-poll-submit:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.home-poll-message {
    min-height: 20px;
    margin: 0;
    color: #a9c7df;
    font-size: .8rem;
}

.home-poll-message.success {
    color: #54e6b1;
}

.home-poll-message.error {
    color: #ff7c99;
}

.home-poll-voted .home-poll-submit {
    display: none;
}

@media (max-width: 760px) {
    .home-poll-options {
        grid-template-columns: 1fr;
    }

    .home-poll-header {
        flex-direction: column;
    }

    .home-poll-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-poll-submit {
        width: 100%;
    }
}
