/* ==========================================================================
   BB10 Theme Voting & Opinion Polls UI
   Strict 2-Color Architecture: Bigg Boss Gold (#f59e0b) + Obsidian / Clean Canvas
   Zero Multi-Color / Zero Rainbow Gradients
   ========================================================================== */

.bb-voting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.bb-vote-card {
    background: var(--bb-card-bg, #0b1120);
    border: 1px solid var(--bb-border, rgba(255, 255, 255, 0.08));
    border-radius: 1.25rem;
    padding: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.bb-vote-card:hover {
    border-color: var(--bb-gold, #f59e0b);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 0 0 15px rgba(245, 158, 11, 0.2);
}

.btn-vote-submit {
    width: 100%;
    padding: 0.85rem;
    background: var(--bb-gold, #f59e0b);
    color: #000000;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
    transition: all 0.2s ease;
}

.btn-vote-submit:hover:not(:disabled) {
    background: var(--bb-gold-hover, #d97706);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    transform: translateY(-2px);
}

.btn-vote-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

/* Live Result Bars */
.bb-result-progress {
    height: 10px;
    background: var(--bb-border-subtle, rgba(255, 255, 255, 0.08));
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}

.bb-result-bar-fill {
    height: 100%;
    border-radius: 9999px;
    background: var(--bb-gold, #f59e0b);
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Sticky Voting CTA Bar */
.bb-mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--bb-surface-header, rgba(7, 9, 14, 0.95));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--bb-border, rgba(255, 255, 255, 0.1));
    padding: 0.75rem 1rem;
}

@media (max-width: 768px) {
    .bb-mobile-sticky-bar {
        display: block;
    }
}

.sticky-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto;
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bb-gold, #f59e0b);
    box-shadow: 0 0 10px var(--bb-gold, #f59e0b);
    margin-right: 6px;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.btn-sticky-vote {
    background: var(--bb-gold, #f59e0b);
    color: #000000;
    font-weight: 900;
    font-size: 0.8rem;
    padding: 0.5rem 1.25rem;
    border-radius: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.4);
}

/* ==========================================================================
   Hotstar Native Mobile Voting UI (Pixel-Matched to Official Disney+ Hotstar)
   ========================================================================== */

.hotstar-voting-card {
    background-color: var(--bb-card-bg, #0b1120);
    border: 1px solid var(--bb-border, rgba(255, 255, 255, 0.08));
    border-radius: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hotstar-header-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bb-text-main, #ffffff);
    letter-spacing: -0.01em;
}

@media (min-width: 640px) {
    .hotstar-header-title {
        font-size: 1.35rem;
    }
}

.hotstar-sub-instructions {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bb-text-muted, #94a3b8);
}

@media (min-width: 640px) {
    .hotstar-sub-instructions {
        font-size: 0.85rem;
    }
}

.hotstar-status-pill {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bb-text-main, #ffffff);
}

@media (min-width: 640px) {
    .hotstar-status-pill {
        font-size: 1.15rem;
    }
}

/* 3-Column Native Mobile Grid Matching Disney+ Hotstar Screenshot */
.hotstar-contestant-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 0.5rem;
    justify-items: center;
    align-items: start;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

@media (min-width: 480px) {
    .hotstar-contestant-grid {
        gap: 2rem 1.25rem;
    }
}

@media (min-width: 640px) {
    .hotstar-contestant-grid {
        gap: 2.5rem 1.75rem;
    }
}

@media (min-width: 1024px) {
    .hotstar-contestant-grid {
        gap: 3rem 2.25rem;
    }
}

/* Circular Avatar Item */
.hotstar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.25rem 0.1rem;
    width: 100%;
    max-width: 120px;
}

@media (min-width: 640px) {
    .hotstar-item {
        max-width: 150px;
    }
}

@media (min-width: 1024px) {
    .hotstar-item {
        max-width: 180px;
    }
}

.hotstar-item:active {
    transform: scale(0.96);
}

/* Unselected State */
.hotstar-item.is-unselected {
    opacity: 1 !important;
    filter: none !important;
}

.hotstar-item.is-unselected:hover {
    opacity: 1 !important;
    filter: brightness(1.05) !important;
}

/* Selected State */
.hotstar-item.is-selected {
    opacity: 1 !important;
    filter: brightness(1.08) !important;
}

.hotstar-avatar-circle {
    position: relative;
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 9999px;
    border: 2.5px solid var(--bb-border, rgba(255, 255, 255, 0.15));
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    background-color: var(--bb-card-hover, #1e293b);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

@media (min-width: 380px) {
    .hotstar-avatar-circle {
        width: 6rem;
        height: 6rem;
    }
}

@media (min-width: 480px) {
    .hotstar-avatar-circle {
        width: 6.75rem;
        height: 6.75rem;
    }
}

@media (min-width: 640px) {
    .hotstar-avatar-circle {
        width: 7.75rem;
        height: 7.75rem;
    }
}

@media (min-width: 1024px) {
    .hotstar-avatar-circle {
        width: 8.75rem;
        height: 8.75rem;
    }
}

.hotstar-item.is-selected .hotstar-avatar-circle {
    border: 3.5px solid var(--bb-gold, #f59e0b) !important;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.6), 0 0 35px rgba(245, 158, 11, 0.3) !important;
    transform: scale(1.06);
}

.hotstar-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hotstar-check-badge,
.hotstar-item.is-selected .hotstar-check-badge {
    display: none !important;
}

/* Contestant Name Label Underneath */
.hotstar-name-label {
    margin-top: 0.55rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--bb-text-main, #ffffff) !important;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
    line-height: 1.25;
    transition: color 0.2s ease;
}

@media (min-width: 640px) {
    .hotstar-name-label {
        font-size: 1.05rem;
        margin-top: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .hotstar-name-label {
        font-size: 1.15rem;
        margin-top: 0.85rem;
    }
}

.hotstar-item.is-selected .hotstar-name-label {
    color: var(--bb-gold, #f59e0b) !important;
    font-weight: 800 !important;
}

/* Iconic Solid Bigg Boss Gold 'Done' CTA Button */
.hotstar-done-btn {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    height: 3.25rem;
    border-radius: 0.75rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #000000;
    text-align: center;
    background: var(--bb-gold, #f59e0b);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .hotstar-done-btn {
        height: 3.65rem;
        font-size: 1.2rem;
        border-radius: 0.85rem;
    }
}

.hotstar-done-btn:hover:not(:disabled) {
    background: var(--bb-gold-hover, #d97706);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.5);
    transform: translateY(-1px);
}

.hotstar-done-btn:active:not(:disabled) {
    transform: scale(0.98);
}

.hotstar-done-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}
