/* ============================================
   VOTING POLL - CLEAN & PROFESSIONAL DESIGN
   Powered by Navsangam News
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #F5F5F7;
    color: #1D1D1F;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   NAVSANGAM NEWS BRANDING - TOP LEFT
   ============================================ */

.header-brand-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.brand-logo {
    display: flex;
    align-items: center;
}

.navsangam-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.navsangam-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: linear-gradient(180deg, #E53935 0%, #C62828 100%);
    padding: 6px 12px;
    border-radius: 6px;
}

.nav-hindi {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.nav-news {
    font-size: 12px;
    font-weight: 800;
    color: #1D1D1F;
    background: #F5F5F5;
    padding: 2px 8px;
    border-radius: 3px;
}

.header-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================================
   HEADER - CLEAN & BOLD
   ============================================ */

.header {
    background: linear-gradient(135deg, #1D1D1F 0%, #2D2D30 100%);
    color: white;
    padding: 20px 16px 32px;
    text-align: center;
}

.header-top {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FF3B30;
    color: white;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.update-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
}

.update-badge .material-icons-outlined {
    font-size: 14px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.header-title {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.header-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
}

.header-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    padding: 12px 20px;
    border-radius: 12px;
}

.header-stat-item .material-icons-outlined {
    font-size: 24px;
    color: #FF9500;
}

.header-stat-item .stat-value {
    font-size: 22px;
    font-weight: 800;
    display: block;
}

.header-stat-item .stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   LEADER SECTION
   ============================================ */

/* Engagement Banner */
.engagement-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #FFF9E6, #FFF3CC);
    padding: 12px 20px;
    margin: 0 16px;
    border-radius: 12px;
    margin-top: -10px;
    position: relative;
    z-index: 5;
    border: 1px solid #FFE082;
}

.engagement-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #5D4E00;
}

.engagement-content .material-icons-outlined {
    font-size: 18px;
    color: #FF9500;
}

.engagement-meter {
    color: #FF6B00;
}

.time-remaining {
    font-size: 12px;
    color: #86868B;
    font-weight: 500;
}

.leader-section {
    padding: 24px 20px;
    background: white;
    margin: -20px 16px 0;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    position: relative;
    z-index: 10;
}

.leader-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFD60A;
    color: #1D1D1F;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.leader-label .material-icons-outlined {
    font-size: 16px;
}

.leader-card {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.leader-avatar {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.leader-avatar .leader-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.leader-info {
    flex: 1;
    min-width: 150px;
}

.leader-name {
    font-size: 24px;
    font-weight: 900;
    color: #1D1D1F;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.leader-party {
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    display: inline-block;
}

.leader-stats {
    display: flex;
    gap: 24px;
    margin-left: auto;
}

.leader-stat {
    text-align: center;
}

.leader-percent {
    font-size: 32px;
    font-weight: 900;
    display: block;
}

.leader-votes {
    font-size: 24px;
    font-weight: 800;
    display: block;
    color: #1D1D1F;
}

.leader-stat-label {
    font-size: 11px;
    color: #86868B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-top: 2px;
}

/* ============================================
   CANDIDATES SECTION
   ============================================ */

.candidates-section {
    padding: 32px 16px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: #1D1D1F;
    margin-bottom: 20px;
    padding: 0 4px;
}

.section-title .material-icons-outlined {
    font-size: 24px;
    color: #FF9500;
}

.section-subtitle {
    font-size: 14px;
    color: #86868B;
    margin: -12px 0 20px 4px;
    font-weight: 500;
}

.candidates-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: stretch; /* Ensure all cards same height */
}

/* ============================================
   CANDIDATE CARDS - EQUAL HEIGHT FLEXBOX
   ============================================ */

.candidate-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Fill grid cell height */
}

.candidate-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* Cover Image Section - ENHANCED */
.card-cover {
    position: relative;
    height: 140px;
    background-size: cover;
    background-position: center top;
    flex-shrink: 0; /* Don't shrink cover */
}

.cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.4) 100%);
}

.party-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    color: white;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Voting indicator on cover */
.vote-indicator {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    color: white;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
}

.vote-indicator .material-icons-outlined {
    font-size: 14px;
}

.vote-indicator.hot {
    background: rgba(255,59,48,0.85);
    animation: hotPulse 2s ease-in-out infinite;
}

@keyframes hotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,59,48,0.4); }
    50% { box-shadow: 0 0 0 6px rgba(255,59,48,0); }
}

/* Ballot info - inside card content */
.ballot-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    color: #495057;
    margin-bottom: 10px;
    border: 1px solid #DEE2E6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ballot-info .material-icons-outlined {
    font-size: 16px;
    color: #6C757D;
}

/* Party-colored ballot info */
.candidate-card.bjp .ballot-info {
    background: linear-gradient(135deg, #FFF3E6 0%, #FFE5D4 100%);
    border-color: #FFCBA4;
    color: #CC5500;
}
.candidate-card.bjp .ballot-info .material-icons-outlined { color: #FF6B00; }

.candidate-card.aap .ballot-info {
    background: linear-gradient(135deg, #E5F2FF 0%, #CCE5FF 100%);
    border-color: #99CCFF;
    color: #0056B3;
}
.candidate-card.aap .ballot-info .material-icons-outlined { color: #007AFF; }

.candidate-card.inc .ballot-info {
    background: linear-gradient(135deg, #E8F9ED 0%, #D4F5DD 100%);
    border-color: #A8E6B8;
    color: #1E7E34;
}
.candidate-card.inc .ballot-info .material-icons-outlined { color: #34C759; }

.candidate-card.others .ballot-info {
    background: linear-gradient(135deg, #F5E6FA 0%, #EBD6F5 100%);
    border-color: #D4A8E8;
    color: #7B2D9E;
}
.candidate-card.others .ballot-info .material-icons-outlined { color: #AF52DE; }

/* Profile Picture - Circular Overlapping */
.profile-wrapper {
    display: flex;
    justify-content: center;
    margin-top: -55px;
    position: relative;
    z-index: 10;
    flex-shrink: 0; /* Don't shrink profile */
}

.profile-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid white;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F5F7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.candidate-card:hover .profile-circle {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.22);
}

.profile-circle .profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-circle .material-icons-outlined {
    font-size: 40px;
    color: #86868B;
}

/* Party colored borders for profile */
.profile-circle.bjp { border-color: #FF6B00; background: linear-gradient(135deg, #FFF3E6, #FFE5D4); }
.profile-circle.aap { border-color: #007AFF; background: linear-gradient(135deg, #E5F2FF, #CCE5FF); }
.profile-circle.inc { border-color: #34C759; background: linear-gradient(135deg, #E8F9ED, #D4F5DD); }
.profile-circle.others { border-color: #AF52DE; background: linear-gradient(135deg, #F5E6FA, #EBD6F5); }

/* Card Content - FLEX LAYOUT FOR EQUAL BUTTON POSITION */
.card-content {
    padding: 12px 20px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1; /* Take remaining space */
}

/* Name wrapper to ensure consistent height */
.candidate-name-wrapper {
    min-height: 70px; /* Fixed height for name area */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.candidate-name {
    font-size: 19px;
    font-weight: 900;
    color: #1D1D1F;
    letter-spacing: -0.3px;
    line-height: 1.25;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    margin: 0 0 4px 0;
}

.candidate-party-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    display: block;
}

.candidate-card.bjp .candidate-party-label { color: #FF6B00; }
.candidate-card.aap .candidate-party-label { color: #007AFF; }
.candidate-card.inc .candidate-party-label { color: #34C759; }
.candidate-card.others .candidate-party-label { color: #AF52DE; }

.ballot-tag {
    display: none; /* Moved to cover as badge */
}

/* Vote Stats */
.vote-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 14px;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-value {
    font-size: 28px;
    font-weight: 900;
    display: block;
    line-height: 1;
    margin-bottom: 3px;
}

.stat-item .stat-label {
    font-size: 11px;
    color: #86868B;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
}

.stat-divider {
    width: 2px;
    height: 35px;
    background: linear-gradient(180deg, transparent, #E5E5EA, transparent);
    border-radius: 2px;
}

/* Party Colors for Stats */
.candidate-card.bjp .stat-value { color: #FF6B00; }
.candidate-card.aap .stat-value { color: #007AFF; }
.candidate-card.inc .stat-value { color: #34C759; }
.candidate-card.others .stat-value { color: #AF52DE; }

/* Progress Bar */
.vote-progress {
    margin-bottom: 14px;
}

.progress-track {
    height: 6px;
    background: #F0F0F0;
    border-radius: 100px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 100px;
    transition: width 0.5s ease;
}

/* Vote Button Wrapper - Pushes button to bottom */
.vote-btn-wrapper {
    margin-top: auto; /* Push to bottom of flex container */
    padding-top: 8px;
}

.candidate-card.bjp .progress-bar-fill { background: linear-gradient(90deg, #FF6B00, #FF9500); }
.candidate-card.aap .progress-bar-fill { background: linear-gradient(90deg, #007AFF, #5AC8FA); }
.candidate-card.inc .progress-bar-fill { background: linear-gradient(90deg, #34C759, #30D158); }
.candidate-card.others .progress-bar-fill { background: linear-gradient(90deg, #AF52DE, #BF5AF2); }

/* Vote Button */
.vote-btn {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.candidate-card.bjp .vote-btn { background: linear-gradient(135deg, #FF6B00, #FF8C00); }
.candidate-card.bjp .vote-btn:hover { background: linear-gradient(135deg, #E65C00, #FF6B00); }

.candidate-card.aap .vote-btn { background: linear-gradient(135deg, #007AFF, #0099FF); }
.candidate-card.aap .vote-btn:hover { background: linear-gradient(135deg, #0066CC, #007AFF); }

.candidate-card.inc .vote-btn { background: linear-gradient(135deg, #34C759, #4CD964); }
.candidate-card.inc .vote-btn:hover { background: linear-gradient(135deg, #28A745, #34C759); }

.candidate-card.others .vote-btn { background: linear-gradient(135deg, #AF52DE, #BF5AF2); }
.candidate-card.others .vote-btn:hover { background: linear-gradient(135deg, #9B47C5, #AF52DE); }

.vote-btn:active {
    transform: scale(0.98);
}

.vote-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.vote-btn .material-icons-outlined {
    font-size: 18px;
}

.vote-btn.voted {
    background: linear-gradient(135deg, #34C759, #30D158) !important;
}

/* ============================================
   RESULTS SECTION
   ============================================ */

.results-section {
    padding: 32px 16px;
    background: white;
    margin: 0 16px 24px;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: #F5F5F7;
    border-radius: 14px;
    border-left: 4px solid;
}

.result-item.bjp { border-left-color: #FF6B00; }
.result-item.aap { border-left-color: #007AFF; }
.result-item.inc { border-left-color: #34C759; }
.result-item.others { border-left-color: #AF52DE; }

.result-avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.result-avatar .result-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-avatar.bjp { background: linear-gradient(135deg, #FF6B00, #FF9500); }
.result-avatar.aap { background: linear-gradient(135deg, #007AFF, #5AC8FA); }
.result-avatar.inc { background: linear-gradient(135deg, #34C759, #30D158); }
.result-avatar.others { background: linear-gradient(135deg, #AF52DE, #BF5AF2); }

.result-info {
    flex: 1;
    min-width: 0;
}

.result-name {
    font-size: 15px;
    font-weight: 800;
    color: #1D1D1F;
    margin-bottom: 2px;
}

.result-party-label {
    font-size: 11px;
    color: #86868B;
    font-weight: 600;
}

.result-bar {
    flex: 1;
    height: 8px;
    background: #E5E5EA;
    border-radius: 100px;
    overflow: hidden;
    min-width: 80px;
}

.result-bar-fill {
    height: 100%;
    border-radius: 100px;
    transition: width 0.4s ease;
}

.result-item.bjp .result-bar-fill { background: linear-gradient(90deg, #FF6B00, #FF9500); }
.result-item.aap .result-bar-fill { background: linear-gradient(90deg, #007AFF, #5AC8FA); }
.result-item.inc .result-bar-fill { background: linear-gradient(90deg, #34C759, #30D158); }
.result-item.others .result-bar-fill { background: linear-gradient(90deg, #AF52DE, #BF5AF2); }

.result-stats {
    text-align: right;
    min-width: 70px;
}

.result-percent {
    font-size: 18px;
    font-weight: 900;
    color: #1D1D1F;
    display: block;
}

.result-votes {
    font-size: 11px;
    color: #86868B;
    font-weight: 600;
}

/* ============================================
   INFO SECTION
   ============================================ */

.info-section {
    display: flex;
    gap: 12px;
    padding: 0 16px 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 16px 20px;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    min-width: 160px;
    flex: 1;
}

.info-card .material-icons-outlined {
    font-size: 28px;
    color: #34C759;
}

.info-card strong {
    font-size: 14px;
    font-weight: 700;
    color: #1D1D1F;
    display: block;
}

.info-card p {
    font-size: 12px;
    color: #86868B;
    margin: 2px 0 0;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    text-align: center;
    padding: 24px 16px 32px;
    color: #86868B;
    font-size: 13px;
}

.footer-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #86868B;
}

.footer-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 12px;
    color: #E53935;
}

.footer-logo-text strong {
    font-weight: 800;
}

.footer-small {
    font-size: 11px;
    margin-top: 8px;
    color: #AEAEB2;
}

/* ============================================
   NOTIFICATION
   ============================================ */

.notification {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1D1D1F;
    color: white;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.notification.success {
    background: #34C759;
}

.notification.warning {
    background: #FF9500;
}

.notification.error {
    background: #FF3B30;
}

/* ============================================
   MOBILE RESPONSIVE - ENHANCED UI
   ============================================ */

@media (max-width: 600px) {
    body {
        background: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 50%, #F5F5F7 100%);
    }

    .header {
        padding: 20px 16px 28px;
        background: linear-gradient(180deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
        border-radius: 0 0 28px 28px;
        box-shadow: 0 8px 32px rgba(15,52,96,0.4);
    }

    .header-top {
        margin-bottom: 14px;
    }

    .live-badge {
        font-size: 10px;
        padding: 5px 12px;
        border-radius: 100px;
        box-shadow: 0 3px 10px rgba(255,59,48,0.4);
    }

    .header-title {
        font-size: 24px;
        font-weight: 900;
        letter-spacing: -0.5px;
        color: white;
        text-shadow: none;
    }

    .header-subtitle {
        font-size: 13px;
        margin-top: 4px;
        color: rgba(255,255,255,0.8);
        text-shadow: none;
    }

    .header-stats {
        display: flex;
        gap: 10px;
        margin-top: 16px;
    }

    .header-stat-item {
        display: flex;
        align-items: center;
        padding: 10px 14px;
        gap: 10px;
        flex: 1;
        min-width: 0;
        border-radius: 14px;
        background: rgba(255,255,255,0.12);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.15);
    }

    .header-stat-item .material-icons-outlined {
        font-size: 20px;
        flex-shrink: 0;
        color: #FF6B00;
    }

    .header-stat-item div {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .header-stat-item .stat-value {
        font-size: 18px;
        font-weight: 800;
        color: white;
    }

    .header-stat-item .stat-label {
        font-size: 9px;
        letter-spacing: 0.3px;
        color: rgba(255,255,255,0.7);
    }

    .engagement-banner {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        text-align: left;
        margin: -12px 16px 0;
        padding: 12px 14px;
        background: white;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.06);
        border: 1px solid #E5E5EA;
        color: #1D1D1F;
    }

    .engagement-content {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        color: #1D1D1F;
    }

    .engagement-content .material-icons-outlined {
        font-size: 16px;
        color: #FF6B00;
    }

    .engagement-meter {
        color: #34C759;
        font-size: 12px;
        font-weight: 700;
    }

    .time-remaining {
        font-size: 11px;
        color: #86868B;
        flex-shrink: 0;
    }

    .leader-section {
        margin: 16px 16px 0;
        padding: 20px 16px;
        border-radius: 20px;
        background: white;
        box-shadow: 0 4px 20px rgba(0,0,0,0.06);
        border: 1px solid #E5E5EA;
    }

    .leader-label {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 10px;
        padding: 5px 12px;
        border-radius: 100px;
        margin-bottom: 14px;
        background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
        color: #1D1D1F;
        box-shadow: 0 3px 10px rgba(255,215,0,0.25);
    }

    .leader-label .material-icons-outlined {
        font-size: 14px;
    }

    .leader-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 14px;
    }

    .leader-avatar {
        width: 70px;
        height: 70px;
        min-width: 70px;
        font-size: 28px;
        border-radius: 18px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        overflow: hidden;
    }

    .leader-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .leader-avatar .leader-img {
        border-radius: 18px;
    }

    .leader-info {
        flex: 1;
        min-width: 0;
        text-align: left;
    }

    .leader-name {
        font-size: 16px;
        font-weight: 800;
        letter-spacing: -0.2px;
        color: #1D1D1F;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .leader-party {
        display: inline-block;
        font-size: 10px;
        padding: 4px 10px;
        border-radius: 100px;
        margin-top: 6px;
    }

    .leader-stats {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        margin-left: 0;
        margin-top: 0;
        gap: 2px;
        flex-shrink: 0;
    }

    .leader-stat {
        padding: 0;
        background: transparent;
        border-radius: 0;
        border: none;
        text-align: right;
    }

    .leader-percent {
        font-size: 24px;
        font-weight: 900;
    }

    .leader-votes {
        font-size: 12px;
        font-weight: 600;
        color: #86868B;
    }

    .leader-stat-label {
        font-size: 9px;
        letter-spacing: 0.5px;
        margin-top: 4px;
        color: #86868B;
    }

    .candidates-section {
        padding: 20px 16px;
    }

    .section-title {
        font-size: 16px;
        font-weight: 800;
        margin-bottom: 4px;
        color: #1D1D1F;
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: nowrap;
    }

    .section-title .material-icons-outlined {
        font-size: 18px;
        flex-shrink: 0;
        color: #0F3460;
    }

    .section-subtitle {
        font-size: 11px;
        color: #86868B;
        margin-bottom: 14px;
    }

    .candidates-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .candidate-card {
        border-radius: 20px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.06);
        border: 1px solid #E5E5EA;
        overflow: hidden;
        background: white;
    }

    .candidate-card:hover {
        transform: translateY(-2px);
    }

    .card-cover {
        height: 140px;
    }

    .party-badge {
        font-size: 10px;
        padding: 5px 10px;
        border-radius: 100px;
    }

    .vote-indicator {
        font-size: 9px;
        padding: 5px 8px;
        border-radius: 100px;
    }

    .profile-wrapper {
        margin-top: -50px;
    }

    .profile-circle {
        width: 100px;
        height: 100px;
        border-width: 4px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    }

    .card-content {
        padding: 10px 16px 18px;
    }

    .ballot-info {
        font-size: 10px;
        padding: 6px 12px;
        margin-bottom: 10px;
    }

    .candidate-name-wrapper {
        min-height: 55px;
    }

    .candidate-name {
        font-size: 18px;
        font-weight: 800;
        letter-spacing: -0.3px;
    }

    .candidate-party-label {
        font-size: 10px;
        margin-top: 3px;
    }

    .vote-stats {
        padding: 12px 0;
        margin: 12px 0;
        background: #F8F9FA;
        border-radius: 12px;
    }

    .stat-item .stat-value {
        font-size: 22px;
        font-weight: 800;
    }

    .stat-item .stat-label {
        font-size: 9px;
        letter-spacing: 0.3px;
    }

    .stat-divider {
        height: 36px;
    }

    .vote-progress {
        margin-bottom: 14px;
    }

    .progress-track {
        height: 6px;
        border-radius: 10px;
    }

    .vote-btn {
        padding: 12px 16px;
        font-size: 12px;
        font-weight: 700;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    }

    .vote-btn:not(:disabled):active {
        transform: scale(0.98);
    }

    .results-section {
        margin: 0 16px 20px;
        padding: 20px 14px;
        border-radius: 20px;
        background: white;
        box-shadow: 0 4px 20px rgba(0,0,0,0.06);
        border: 1px solid #E5E5EA;
    }

    .results-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .result-item {
        display: flex;
        align-items: center;
        padding: 12px;
        gap: 10px;
        border-radius: 14px;
        background: #F8F9FA;
        margin-bottom: 0;
        border: 1px solid #F0F0F0;
    }

    .result-avatar {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 12px;
        font-size: 18px;
        flex-shrink: 0;
    }

    .result-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }

    .result-info {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }

    .result-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 6px;
    }

    .result-name {
        font-size: 13px;
        font-weight: 700;
        color: #1D1D1F;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
    }

    .result-percent {
        font-size: 14px;
        font-weight: 800;
        flex-shrink: 0;
    }

    .result-bar {
        height: 6px;
        border-radius: 10px;
        background: #E5E5EA;
        overflow: hidden;
    }

    .result-fill {
        height: 100%;
        border-radius: 10px;
    }

    .result-votes {
        font-size: 10px;
        color: #86868B;
        margin-top: 4px;
    }

    .info-section {
        padding: 0 16px 20px;
        display: flex;
        flex-direction: row;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .info-section::-webkit-scrollbar {
        display: none;
    }

    .info-card {
        display: flex;
        align-items: center;
        padding: 12px 14px;
        min-width: 140px;
        flex-shrink: 0;
        gap: 10px;
        border-radius: 14px;
        background: white;
        border: 1px solid #E5E5EA;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }

    .info-card .material-icons-outlined {
        font-size: 22px;
        color: #FF6B00;
        flex-shrink: 0;
    }

    .info-card div {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .info-card strong {
        font-size: 12px;
        font-weight: 700;
        color: #1D1D1F;
        white-space: nowrap;
    }

    .info-card p {
        font-size: 10px;
        color: #86868B;
        margin: 0;
        white-space: nowrap;
    }

    .share-section {
        padding: 0 16px 20px;
    }

    .share-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 14px;
        border-radius: 16px;
        background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
        box-shadow: 0 4px 16px rgba(37,211,102,0.3);
    }

    .footer {
        padding: 20px 16px;
        background: linear-gradient(180deg, #1A1A2E 0%, #16213E 100%);
        border-top: none;
    }

    .footer p {
        font-size: 11px;
        color: rgba(255,255,255,0.8);
    }

    .footer-branding {
        gap: 6px;
        font-size: 11px;
        color: rgba(255,255,255,0.7);
        margin-bottom: 8px;
    }

    .footer-logo {
        height: 20px;
    }

    .footer-logo-text {
        color: #FF6B6B;
    }

    .footer-small {
        font-size: 10px;
        color: rgba(255,255,255,0.5);
        margin-top: 4px;
    }

    /* Navsangam branding mobile - Top Left */
    .header-brand-bar {
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .navsangam-logo {
        height: 40px;
    }

    .header-badges {
        gap: 6px;
    }

    .header-badges .live-badge {
        padding: 5px 10px;
        font-size: 10px;
        gap: 4px;
    }

    .header-badges .update-badge {
        display: none;
    }

    .navsangam-text {
        padding: 4px 8px;
    }

    .nav-hindi {
        font-size: 14px;
    }

    .nav-news {
        font-size: 10px;
        padding: 2px 6px;
    }

    /* Snapshot mobile */
    .snapshot-container {
        margin: 16px;
        border-radius: 24px;
        overflow: hidden;
    }

    .snapshot-card {
        padding: 20px;
    }

    .snapshot-actions {
        padding: 14px 16px;
        gap: 10px;
    }

    .snapshot-action-btn {
        padding: 14px 20px;
        font-size: 13px;
        border-radius: 14px;
    }
}

@media (max-width: 380px) {
    .header {
        padding: 16px 14px 24px;
    }

    .header-title {
        font-size: 20px;
    }

    .header-subtitle {
        font-size: 11px;
    }

    .header-stats {
        flex-direction: row;
        gap: 8px;
    }

    .header-stat-item {
        padding: 8px 10px;
        gap: 8px;
    }

    .header-stat-item .stat-value {
        font-size: 16px;
    }

    .header-stat-item .stat-label {
        font-size: 8px;
    }

    .engagement-banner {
        padding: 10px 12px;
        margin: -10px 14px 0;
    }

    .engagement-content {
        font-size: 11px;
    }

    .time-remaining {
        font-size: 10px;
    }

    .leader-section {
        margin: 14px 14px 0;
        padding: 16px 14px;
    }

    .leader-avatar {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .leader-name {
        font-size: 14px;
    }

    .leader-party {
        font-size: 9px;
        padding: 3px 8px;
    }

    .leader-percent {
        font-size: 20px;
    }

    .leader-votes {
        font-size: 11px;
    }

    .section-title {
        font-size: 14px;
    }

    .section-title .material-icons-outlined {
        font-size: 16px;
    }

    .candidate-name {
        font-size: 16px;
    }

    .stat-item .stat-value {
        font-size: 20px;
    }

    .profile-circle {
        width: 90px;
        height: 90px;
    }

    .card-cover {
        height: 120px;
    }

    .result-name {
        font-size: 12px;
        max-width: 100px;
    }

    .result-avatar {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .info-card {
        min-width: 130px;
        padding: 10px 12px;
    }

    .info-card .material-icons-outlined {
        font-size: 20px;
    }

    .info-card strong {
        font-size: 11px;
    }

    .info-card p {
        font-size: 9px;
    }
}

/* ============================================
   MOBILE-OPTIMIZED SNAPSHOT STYLES
   Designed specifically for mobile sharing
   ============================================ */

/* Mobile Snapshot Container */
.snap-mobile {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
    padding: 20px;
    min-height: auto;
}

.snap-header {
    text-align: center;
    margin-bottom: 16px;
}

.snap-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FF3B30;
    color: white;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.snap-live-dot {
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.snap-title {
    font-size: 18px;
    font-weight: 900;
    color: #1D1D1F;
    margin-bottom: 2px;
}

.snap-subtitle {
    font-size: 11px;
    color: #86868B;
}

/* Snap Leader Section */
.snap-leader {
    margin-bottom: 16px;
}

.snap-leader-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1D1D1F;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.snap-leader-badge .material-icons-outlined {
    font-size: 12px;
}

.snap-leader-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 14px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid #E5E5EA;
}

.snap-leader-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--leader-color, #FF6B00);
    flex-shrink: 0;
}

.snap-leader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.snap-leader-info {
    flex: 1;
    min-width: 0;
}

.snap-leader-name {
    font-size: 14px;
    font-weight: 800;
    color: #1D1D1F;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.snap-leader-party {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    color: white;
    padding: 3px 8px;
    border-radius: 100px;
}

.snap-leader-stats {
    text-align: right;
    flex-shrink: 0;
}

.snap-leader-percent {
    font-size: 22px;
    font-weight: 900;
    color: var(--leader-color, #FF6B00);
    line-height: 1;
}

.snap-leader-votes {
    font-size: 10px;
    color: #86868B;
    margin-top: 2px;
}

/* Snap Results List */
.snap-results {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.snap-result-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 10px 12px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #F0F0F0;
}

.snap-result-row.is-leader {
    background: linear-gradient(135deg, #FFF8F0 0%, white 100%);
    border-color: #FFE5D4;
}

.snap-result-rank {
    font-size: 12px;
    font-weight: 900;
    color: #86868B;
    width: 18px;
    text-align: center;
}

.snap-result-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid;
    flex-shrink: 0;
}

.snap-result-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.snap-result-avatar .material-icons-outlined {
    font-size: 18px;
}

.snap-result-info {
    flex: 1;
    min-width: 0;
}

.snap-result-name {
    font-size: 12px;
    font-weight: 700;
    color: #1D1D1F;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.snap-result-bar {
    height: 4px;
    background: #E5E5EA;
    border-radius: 100px;
    overflow: hidden;
}

.snap-result-fill {
    height: 100%;
    border-radius: 100px;
}

.snap-result-stats {
    text-align: right;
    flex-shrink: 0;
    min-width: 50px;
}

.snap-result-pct {
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.snap-result-votes {
    font-size: 9px;
    color: #86868B;
    margin-top: 2px;
}

/* Snap Footer with CTA */
.snap-footer {
    background: linear-gradient(135deg, #C84B00 0%, #FF6B00 100%);
    margin: 0 -20px -20px;
    padding: 16px 20px;
    text-align: center;
    color: white;
}

.snap-total {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.snap-total .material-icons-outlined {
    font-size: 16px;
}

.snap-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    color: #C84B00;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 10px;
}

.snap-cta .material-icons-outlined {
    font-size: 16px;
}

.snap-url {
    font-size: 9px;
    color: rgba(255,255,255,0.85);
    word-break: break-all;
    padding: 6px 10px;
    background: rgba(0,0,0,0.15);
    border-radius: 6px;
    display: inline-block;
    max-width: 100%;
    margin-bottom: 8px;
}

.snap-time {
    font-size: 9px;
    color: rgba(255,255,255,0.7);
}

/* ============================================
   SHARE BUTTON & SNAPSHOT OVERLAY STYLES
   ============================================ */

.share-section {
    padding: 0 16px 24px;
    display: flex;
    justify-content: center;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
    transition: all 0.3s ease;
    font-family: inherit;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37,211,102,0.45);
}

.share-btn:active {
    transform: scale(0.98);
}

.share-btn .material-icons-outlined {
    font-size: 22px;
}

/* Shareable Snapshot Card */
.snapshot-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.snapshot-overlay.show {
    opacity: 1;
    visibility: visible;
}

.snapshot-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    max-width: 340px;
    width: 100%;
    box-shadow: 0 25px 80px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.snapshot-overlay.show .snapshot-container {
    transform: scale(1);
}

/* The actual shareable card - now using mobile styles */
.snapshot-card {
    background: white;
    padding: 0;
    color: #1D1D1F;
}

/* Keep old snapshot styles for desktop fallback */
.snapshot-header {
    text-align: center;
    margin-bottom: 20px;
}

.snapshot-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FF3B30;
    color: white;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.snapshot-badge .dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

.snapshot-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
}

.snapshot-subtitle {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

/* Leader in snapshot */
.snapshot-leader {
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.snapshot-leader-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.snapshot-leader-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.snapshot-leader-info {
    flex: 1;
}

.snapshot-leader-label {
    font-size: 10px;
    color: #FF9500;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.snapshot-leader-name {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 4px;
}

.snapshot-leader-party {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
}

.snapshot-leader-stats {
    text-align: right;
}

.snapshot-leader-percent {
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.snapshot-leader-votes {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

/* All candidates in snapshot */
.snapshot-candidates {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.snapshot-candidate {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
}

/* Rank number in snapshot */
.snapshot-rank {
    font-size: 14px;
    font-weight: 900;
    min-width: 28px;
}

.snapshot-candidate-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid;
    flex-shrink: 0;
}

.snapshot-candidate-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    flex-shrink: 0;
}

.snapshot-candidate-name {
    flex: 1;
    font-size: 13px;
    font-weight: 700;
    min-width: 80px;
}

.snapshot-candidate-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 100px;
    overflow: hidden;
    min-width: 60px;
}

.snapshot-candidate-bar-fill {
    height: 100%;
    border-radius: 100px;
}

.snapshot-candidate-percent {
    font-size: 14px;
    font-weight: 800;
    min-width: 50px;
    text-align: right;
}

/* Snapshot CTA - Vote link */
.snapshot-cta {
    margin-top: 16px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(255,107,0,0.15) 0%, rgba(255,149,0,0.1) 100%);
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255,107,0,0.3);
}

.snapshot-cta-text {
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
}

.snapshot-url {
    font-size: 11px;
    color: #5AC8FA;
    word-break: break-all;
    font-family: 'Courier New', monospace;
    background: rgba(0,0,0,0.3);
    padding: 6px 10px;
    border-radius: 6px;
    display: inline-block;
}

/* Snapshot footer */
.snapshot-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.snapshot-total {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
}

.snapshot-total strong {
    color: white;
    font-weight: 800;
    font-size: 14px;
}

.snapshot-date {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
}

/* Snapshot actions - Mobile optimized */
.snapshot-actions {
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    background: linear-gradient(180deg, #F5F5F7 0%, #E8E8ED 100%);
    border-top: 1px solid #E5E5EA;
}

.snapshot-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 12px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.snapshot-action-btn .material-icons-outlined {
    font-size: 18px;
}

.snapshot-action-btn.primary {
    background: linear-gradient(135deg, #1D1D1F 0%, #3D3D40 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.snapshot-action-btn.secondary {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(37,211,102,0.3);
}

.snapshot-action-btn:active {
    transform: scale(0.98);
}

.close-snapshot {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: #1D1D1F;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 10;
}

.close-snapshot:active {
    transform: scale(0.95);
}

/* Vote Toast */
.vote-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1D1D1F;
    color: white;
    padding: 16px 24px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 3000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vote-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.vote-toast .material-icons-outlined {
    color: #34C759;
    font-size: 24px;
}

/* Laptop/Desktop responsive */
@media (min-width: 1024px) {
    .header {
        padding: 32px 40px 40px;
    }
    
    .header-title {
        font-size: 36px;
    }
    
    .engagement-banner {
        max-width: 900px;
        margin: -10px auto 0;
    }
    
    .leader-section {
        max-width: 900px;
        margin: 24px auto 0;
    }
    
    .candidates-section {
        max-width: 1000px;
        margin: 0 auto;
        padding: 40px 24px;
    }
    
    .candidates-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
    
    .card-cover {
        height: 160px;
    }
    
    .profile-circle {
        width: 110px;
        height: 110px;
    }
    
    .profile-wrapper {
        margin-top: -60px;
    }
    
    .candidate-name {
        font-size: 20px;
    }
    
    .results-section {
        max-width: 900px;
        margin: 0 auto 32px;
    }
    
    .info-section {
        max-width: 900px;
        margin: 0 auto;
        padding: 0 24px 32px;
        justify-content: center;
    }
    
    .share-section {
        max-width: 900px;
        margin: 0 auto;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .candidates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .card-cover {
        height: 150px;
    }
}