* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.container {
    width: 100%;
    max-width: 600px;
}

.poll-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
h1 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
    text-align: center;
}

.poll-description {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
}
.poll-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}
.poll-btn {
    position: relative;
    padding: 20px;
    border: 2px solid #eee;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 16px;
    overflow: hidden;
}

.poll-btn:hover {
    border-color: #667eea;
    transform: translateX(5px);
}

.poll-btn.active {
    border-color: #667eea;
    background: #f0f4ff;
}
.yes-btn {
    border-left: 4px solid #10b981;
}

.yes-btn.active {
    background: #f0fdf4;
}

.no-btn {
    border-left: 4px solid #ef4444;
}

.no-btn.active {
    background: #fef2f2;
}

.abstain-btn {
    border-left: 4px solid #f59e0b;
}

.abstain-btn.active {
    background: #fffbf0;
}
.option-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.percentage {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 8px;
}

.progress-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar > div {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
    width: 0%;
}
.yes-bar > div {
    background: linear-gradient(90deg, #10b981, #059669);
}

.no-bar > div {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.abstain-bar > div {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}
.poll-stats {
    text-align: center;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 20px;
}

.poll-stats p {
    color: #666;
    font-size: 14px;
}

#total-votes {
    font-weight: bold;
    color: #333;
}

.poll-message {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.poll-message.success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #86efac;
}

.poll-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}
@media (max-width: 480px) {
    .poll-card {
        padding: 25px;
    }

    h1 {
        font-size: 22px;
    }

    .poll-btn {
        padding: 15px;
    }

    .option-label {
        font-size: 15px;
    }
}
