/* Promo vote hero — 50/50 row 2, equal-height rows, Chipy-style card */

section.casino-hero.casino-hero--vote {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
        "promo rating"
        "media vote";
    gap: 24px;
    align-items: stretch;
    margin-bottom: 24px;
}

.casino-hero--vote .casino-hero-promo,
.casino-hero--vote .casino-hero-left.casino-hero-promo {
    grid-area: promo;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

.casino-hero--vote .casino-hero-left .promo-codes-section,
.casino-hero--vote .casino-hero-left .promo-codes-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.casino-hero--vote .casino-hero-left .promo-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.casino-hero--vote .casino-hero-left .promo-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.casino-hero--vote .casino-hero-rating {
    grid-area: rating;
    align-self: stretch;
    min-height: 100%;
}

.casino-hero--vote .casino-hero-media {
    grid-area: media;
    display: flex;
    min-width: 0;
    min-height: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #e8ecf2;
}

.casino-hero--vote .casino-hero-media--empty {
    min-height: 200px;
}

.casino-hero--vote .casino-hero-media__img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    max-width: none;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.casino-hero--vote .casino-hero-vote {
    grid-area: vote;
    display: flex;
    align-items: stretch;
    min-width: 0;
    min-height: 0;
}

/* Vote card */
.promo-vote {
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 18px;
    background: #f7f9fc;
    border: 1px solid rgba(15, 23, 48, 0.1);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(15, 23, 48, 0.06);
    font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.promo-vote__question {
    margin: 0 0 16px;
    width: 100%;
    font-size: clamp(16px, 3.6vw, 18px);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0b1228;
    line-height: 1.3;
    text-align: center;
}

.promo-vote__actions {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 320px;
}

.promo-vote__btn {
    flex: 0 1 auto;
    min-width: 0;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.promo-vote__btn:active:not(:disabled) {
    transform: scale(0.97);
}

.promo-vote__btn--ok {
    background: #e8f8f1;
    color: #067a52;
    border-color: rgba(13, 159, 110, 0.28);
}

.promo-vote__btn--ok:hover:not(:disabled) {
    background: #0d9f6e;
    border-color: #0d9f6e;
    color: #fff;
}

.promo-vote__btn--no {
    background: #fdeeee;
    color: #b91c1c;
    border-color: rgba(220, 76, 76, 0.28);
}

.promo-vote__btn--no:hover:not(:disabled) {
    background: #dc4c4c;
    border-color: #dc4c4c;
    color: #fff;
}

.promo-vote__btn--ok.is-selected {
    background: #0d9f6e;
    border-color: #0d9f6e;
    color: #fff;
}

.promo-vote__btn--no.is-selected {
    background: #dc4c4c;
    border-color: #dc4c4c;
    color: #fff;
}

.promo-vote__btn:disabled {
    cursor: default;
    opacity: 0.9;
}

.promo-vote__meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 16px 0 0;
    width: 100%;
    text-align: center;
    line-height: 1.25;
}

.promo-vote__pct {
    display: block;
    font-size: 28px;
    font-weight: 900;
    color: #0d9f6e;
    letter-spacing: -0.02em;
}

.promo-vote__pct-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0d9f6e;
}

.promo-vote__detail {
    margin: 10px 0 0;
    max-width: 300px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    color: #64748b;
    text-align: center;
}

.promo-vote__thanks {
    margin: 8px 0 0;
    width: 100%;
    font-size: 11px;
    font-weight: 700;
    color: #0d9f6e;
    text-align: center;
}

.promo-vote.is-voted .promo-vote__btn:not(.is-selected) {
    opacity: 0.55;
}

@media (max-width: 900px) {
    section.casino-hero.casino-hero--vote {
        grid-template-columns: 1fr;
        grid-template-areas:
            "promo"
            "rating"
            "media"
            "vote";
        gap: 16px;
    }

    .casino-hero--vote .casino-hero-rating {
        min-height: 120px;
    }

    .casino-hero--vote .casino-hero-media__img {
        min-height: 180px;
    }

    .casino-hero--vote .promo-vote {
        padding: 18px 16px;
    }
}
