/* ==========================================================================
   BIGG BOSS TELUGU - AGNIPARIKSHA LIVE FAN VOTING PORTAL STYLES
   ========================================================================== */

/* --- 1. Master Page Wrapper & Background Atmosphere --- */
.bbt-voting-page-wrapper {
    position: relative;
    background-color: #0b0f19;
    color: #f8fafc;
    min-height: 100vh;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding-bottom: clamp(60px, 8vw, 100px);
}

.bbt-voting-glow-bg-1,
.bbt-voting-glow-bg-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
}

.bbt-voting-glow-bg-1 {
    width: clamp(350px, 45vw, 600px);
    height: clamp(350px, 45vw, 600px);
    background: radial-gradient(circle, #ea580c, #dc2626);
    top: -120px;
    left: -100px;
}

.bbt-voting-glow-bg-2 {
    width: clamp(300px, 40vw, 500px);
    height: clamp(300px, 40vw, 500px);
    background: radial-gradient(circle, #b91c1c, #d97706);
    top: 35%;
    right: -100px;
}

.bbt-voting-container {
    position: relative;
    z-index: 5;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3.5vw, 32px);
}

/* --- 2. Hero Header & Live Status --- */
.bbt-voting-hero {
    text-align: center;
    padding: clamp(40px, 6vw, 70px) 0 clamp(25px, 4vw, 40px);
}

.bbt-live-poll-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(234, 88, 12, 0.12);
    border: 1px solid rgba(234, 88, 12, 0.35);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 800;
    color: #fb923c;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    box-shadow: 0 0 20px rgba(234, 88, 12, 0.15);
}

.bbt-pulse-dot {
    width: 9px;
    height: 9px;
    background-color: #ea580c;
    border-radius: 50%;
    box-shadow: 0 0 10px #ea580c;
    animation: bbt-pulse-fire 1.8s infinite;
}

.bbt-pulse-dot-green {
    width: 9px;
    height: 9px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: bbt-pulse-green 1.8s infinite;
}

@keyframes bbt-pulse-fire {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.7); }
    70% { transform: scale(1.4); opacity: 0.8; box-shadow: 0 0 0 8px rgba(234, 88, 12, 0); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes bbt-pulse-green {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.4); opacity: 0.8; box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(1); opacity: 1; }
}

.bbt-voting-main-title {
    font-size: clamp(28px, 4.8vw, 48px);
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 14px 0;
    background: linear-gradient(135deg, #ffffff 30%, #fdba74 80%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.bbt-voting-subtitle {
    font-size: clamp(14px, 2vw, 17px);
    color: #94a3b8;
    max-width: 780px;
    margin: 0 auto 24px auto;
    line-height: 1.6;
}

.bbt-voting-meta-chips {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bbt-meta-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bbt-meta-chip strong {
    color: #ffffff;
    font-weight: 800;
}

/* --- 3. Official App Voting & Disclaimer Notice Banner --- */
.bbt-app-notice-box {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(234, 88, 12, 0.35);
    border-radius: 18px;
    padding: clamp(20px, 3.5vw, 28px);
    margin-bottom: clamp(30px, 5vw, 45px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.bbt-app-notice-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #ea580c, #dc2626);
}

.bbt-notice-left {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.bbt-notice-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(234, 88, 12, 0.15);
    color: #ea580c;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(234, 88, 12, 0.25);
}

.bbt-notice-title {
    font-size: clamp(16px, 2.2vw, 18px);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bbt-notice-badge {
    background: #ea580c;
    color: #ffffff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
}

.bbt-notice-desc {
    font-size: clamp(13px, 1.8vw, 14.5px);
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

.bbt-notice-desc strong {
    color: #f1f5f9;
}

.bbt-app-cta-btn {
    flex-shrink: 0;
    background: linear-gradient(135deg, #ea580c, #dc2626);
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.35);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.bbt-app-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.5);
    color: #ffffff;
}

/* --- 4. The 15 Contestants Voting Grid --- */
.bbt-contestants-vote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: clamp(18px, 2.5vw, 26px);
    margin-bottom: clamp(45px, 6vw, 65px);
}

.bbt-vote-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.bbt-vote-card:hover {
    transform: translateY(-6px);
    border-color: rgba(234, 88, 12, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(234, 88, 12, 0.15);
}

.bbt-vote-card.is-user-choice {
    border-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.05) !important;
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.2) !important;
}

/* Contender Image Wrap */
.bbt-card-img-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 115%;
    background-size: cover;
    background-position: center top;
    background-color: #1e293b;
    overflow: hidden;
}

.bbt-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 15, 25, 0.95) 0%, rgba(11, 15, 25, 0.2) 60%, rgba(11, 15, 25, 0) 100%);
}

.bbt-contender-rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(11, 15, 25, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #fdba74;
    font-size: 11.5px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 6px;
    z-index: 2;
}

.bbt-my-vote-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #10b981;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
    display: none;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* Card Content Details */
.bbt-card-info-wrap {
    padding: 16px 18px 18px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.bbt-contender-name {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 3px 0;
    line-height: 1.25;
}

.bbt-contender-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.bbt-contender-name a:hover {
    color: #fdba74;
}

.bbt-contender-prof {
    font-size: 12.5px;
    color: #94a3b8;
    margin: 0 0 14px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Live Standings Progress Bar */
.bbt-vote-progress-wrap {
    margin-bottom: 14px;
    display: none; /* Revealed in Voted Mode */
}

.bbt-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-bottom: 6px;
}

.bbt-vote-pct-num {
    font-weight: 800;
    color: #fdba74;
}

.bbt-vote-raw-count {
    color: #64748b;
    font-size: 11.5px;
}

.bbt-progress-track {
    width: 100%;
    height: 7px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.bbt-vote-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ea580c, #f59e0b);
    border-radius: 10px;
    width: 0%;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.is-user-choice .bbt-vote-progress-fill {
    background: linear-gradient(90deg, #10b981, #34d399);
}

/* Action Vote Button */
.bbt-vote-btn {
    width: 100%;
    background: linear-gradient(135deg, #ea580c, #dc2626);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 11px 16px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
}

.bbt-vote-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.45);
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.bbt-vote-btn:active:not(:disabled) {
    transform: scale(0.98);
}

.bbt-vote-btn:disabled {
    cursor: not-allowed;
}

.bbt-vote-btn.voted-btn-active {
    background: rgba(16, 185, 129, 0.15) !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    color: #34d399 !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

/* --- 5. Official App Voting Guide (JioCinema / Hotstar & Missed Call) --- */
.bbt-voting-guide-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: clamp(28px, 4.5vw, 45px);
    margin-bottom: clamp(45px, 6vw, 65px);
}

.bbt-guide-header {
    text-align: center;
    margin-bottom: 35px;
}

.bbt-guide-title {
    font-size: clamp(22px, 3.2vw, 32px);
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.bbt-guide-subtitle {
    font-size: 14.5px;
    color: #94a3b8;
    margin: 0;
}

.bbt-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.bbt-guide-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    position: relative;
}

.bbt-guide-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(234, 88, 12, 0.15);
    color: #ea580c;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border: 1px solid rgba(234, 88, 12, 0.25);
}

.bbt-guide-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.bbt-guide-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bbt-guide-steps li {
    font-size: 13.5px;
    color: #94a3b8;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.bbt-guide-steps li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ea580c;
    font-weight: 800;
}

/* --- 6. Success Modal & Confetti Canvas --- */
.bbt-vote-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bbt-vote-modal.active {
    display: flex;
}

.bbt-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bbt-confetti-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.bbt-modal-body {
    position: relative;
    z-index: 2;
    background: #0f172a;
    border: 1px solid rgba(234, 88, 12, 0.4);
    border-radius: 24px;
    max-width: 480px;
    width: 100%;
    padding: clamp(25px, 5vw, 35px);
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(234, 88, 12, 0.2);
    animation: bbt-modal-pop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bbt-modal-pop {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

.bbt-modal-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.1));
    border: 2px solid #10b981;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px auto;
}

.bbt-modal-title {
    font-size: clamp(20px, 3.5vw, 24px);
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.bbt-modal-desc {
    font-size: 14.5px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0 0 22px 0;
}

.bbt-modal-voted-name {
    color: #fdba74;
    font-weight: 800;
}

.bbt-modal-alert {
    background: rgba(234, 88, 12, 0.1);
    border: 1px dashed rgba(234, 88, 12, 0.35);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 24px;
    line-height: 1.45;
}

.bbt-modal-close-btn {
    width: 100%;
    background: linear-gradient(135deg, #ea580c, #dc2626);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(234, 88, 12, 0.35);
    transition: transform 0.2s;
}

.bbt-modal-close-btn:hover {
    transform: translateY(-2px);
}

/* --- 7. Toast Alerts --- */
.bbt-vote-toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 100000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bbt-vote-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.bbt-toast-inner {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
}

.bbt-vote-toast.error .bbt-toast-inner {
    border-color: #ef4444;
    background: #1e1b1b;
}

.bbt-vote-toast.warning .bbt-toast-inner {
    border-color: #f59e0b;
    background: #1e1d1b;
}

/* --- 8. Spinner Utility --- */
.bbt-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: bbt-spin 0.8s linear infinite;
}

@keyframes bbt-spin {
    to { transform: rotate(360deg); }
}

/* --- 9. Home Page Agnipariksha Live Voting Widget --- */
.bbt-home-agnipariksha-widget {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border: 1px solid rgba(234, 88, 12, 0.35);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), 0 0 20px rgba(234, 88, 12, 0.1);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.bbt-home-widget-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 8px;
}

.bbt-home-widget-badge {
    background: rgba(234, 88, 12, 0.15);
    color: #fb923c;
    border: 1px solid rgba(234, 88, 12, 0.3);
    font-size: 11.5px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.bbt-home-widget-title {
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.bbt-home-widget-desc {
    font-size: 13px;
    color: #94a3b8;
    margin: 0 0 16px 0;
    line-height: 1.45;
}

/* Grid layout container - 3 equal columns */
.bbt-home-contenders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

/* Each card in the grid */
.bbt-home-grid-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.bbt-home-grid-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.35);
}

/* Portrait photo background — 4:5 ratio looks great at this size */
.bbt-home-grid-photo {
    position: relative;
    width: 100%;
    padding-bottom: 130%; /* portrait ratio */
    background-size: cover;
    background-position: center top;
    background-color: #1e293b;
}

/* Dark gradient overlay from bottom */
.bbt-home-grid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.08) 100%
    );
    border-radius: 10px;
}

/* Live % badge — top-right corner */
.bbt-home-grid-pct {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(234, 88, 12, 0.85);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 5px;
    line-height: 1.3;
    z-index: 3;
    backdrop-filter: blur(4px);
}

/* Name + vote button pinned to the bottom of the card */
.bbt-home-grid-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 6px 7px 6px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.bbt-home-grid-name {
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    line-height: 1.2;
}

/* Grid vote button — compact full-width fire button */
.bbt-home-grid-vote-btn {
    width: 100%;
    background: linear-gradient(135deg, #ea580c, #dc2626);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 4px 4px;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.4);
    line-height: 1.3;
}

.bbt-home-grid-vote-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #f97316, #ea580c);
    transform: scale(1.03);
}

.bbt-home-grid-vote-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.bbt-home-grid-vote-btn.voted-active {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    opacity: 1 !important;
    pointer-events: none;
}

/* Progress bar at very bottom edge of each card */
.bbt-home-grid-card .bbt-home-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.12);
    display: block; /* always visible - tiny indicator */
}

.bbt-home-grid-card .bbt-home-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ea580c, #f59e0b);
    width: 0%;
    transition: width 0.7s ease;
}

/* Voted/chosen card glows green */
.bbt-home-grid-card.voted-card {
    box-shadow: 0 0 0 2px #10b981, 0 6px 18px rgba(16, 185, 129, 0.35);
}

.bbt-home-grid-card.voted-card .bbt-home-grid-pct {
    background: rgba(16, 185, 129, 0.9);
}

/* Keep old .bbt-home-vote-btn base so JS voted-active class still works */
.bbt-home-vote-btn {
    background: #ea580c;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.bbt-home-vote-btn:hover {
    background: #f97316;
    transform: scale(1.04);
}

.bbt-home-vote-btn.voted-active {
    background: #10b981 !important;
    color: #ffffff !important;
    pointer-events: none;
}

.bbt-home-widget-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.bbt-home-total-count {
    font-size: 12.5px;
    color: #94a3b8;
}

.bbt-home-total-count strong {
    color: #ffffff;
}

.bbt-home-full-link {
    color: #ea580c;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bbt-home-full-link:hover {
    text-decoration: underline;
    color: #fb923c;
}

.bbt-home-voted-notice {
    display: none;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    color: #34d399;
    font-weight: 600;
    margin-bottom: 12px;
    align-items: center;
    gap: 6px;
}

/* --- 10. Responsive Breakpoints --- */
@media (max-width: 768px) {
    .bbt-app-notice-box {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .bbt-app-cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .bbt-contestants-vote-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 14px;
    }
    
    .bbt-contender-name {
        font-size: 14.5px;
    }
    
    .bbt-contender-prof {
        font-size: 11px;
    }
    
    .bbt-vote-btn {
        padding: 9px 12px;
        font-size: 12.5px;
    }
    
    .bbt-card-info-wrap {
        padding: 12px 14px 14px 14px;
    }
}

/* ============================================================
   SHARE SECTION — Voting Modal
   ============================================================ */
.bbt-modal-share-section {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
    margin: 16px 0 10px 0;
    text-align: center;
}

.bbt-modal-share-label {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 600;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.bbt-modal-share-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Shared pill base */
.bbt-modal-share-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    white-space: nowrap;
    line-height: 1;
}

.bbt-modal-share-pill:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.bbt-mshare-wa {
    background: #25D366;
    color: #ffffff;
}

.bbt-mshare-tg {
    background: #0088cc;
    color: #ffffff;
}

.bbt-mshare-copy {
    background: rgba(100, 116, 139, 0.25);
    color: #cbd5e1;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.bbt-mshare-copy.copied {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.4);
}

.bbt-mshare-native {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Hide native share if not supported — JS will toggle display */
#bbt-native-share-btn {
    display: none;
}

/* ============================================================
   SHARE STRIP — Home Sidebar Widget
   ============================================================ */
.bbt-home-share-strip {
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 12px;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bbt-home-share-label {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bbt-home-share-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.bbt-hshare-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.18s, filter 0.18s;
    white-space: nowrap;
    line-height: 1;
}

.bbt-hshare-pill:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
}

.bbt-hshare-wa {
    background: #25D366;
    color: #ffffff;
}

.bbt-hshare-tg {
    background: #0088cc;
    color: #ffffff;
}

.bbt-hshare-copy {
    background: rgba(100, 116, 139, 0.25);
    color: #94a3b8;
    border: 1px solid rgba(100, 116, 139, 0.25);
}

.bbt-hshare-copy.copied {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}

/* ============================================================
   SHARE BANNER — Voting Page (between hero and disclaimer)
   ============================================================ */
.bbt-voting-share-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.08), rgba(168, 85, 247, 0.06));
    border: 1px solid rgba(234, 88, 12, 0.2);
    border-radius: 16px;
    padding: 14px 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.bbt-vsb-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 600;
    flex: 1;
    min-width: 0;
}

.bbt-vsb-left svg {
    flex-shrink: 0;
    color: #fb923c;
}

.bbt-vsb-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Hide native share banner buttons by default — shown by JS */
.bbt-vsb-native {
    display: none !important;
}

.bbt-vsb-native.visible {
    display: inline-flex !important;
}

@media (max-width: 600px) {
    .bbt-voting-share-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 16px;
    }

    .bbt-vsb-pills {
        width: 100%;
    }

    .bbt-modal-share-pill {
        flex: 1;
        justify-content: center;
        min-width: 80px;
    }
}
