.vote-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin: 0 auto;
    scroll-padding: 2rem;
    overscroll-behavior: contain;
    padding: 2rem;
}

@media (min-width: 1024px) {
    .vote-cards {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.5rem;
    }
}

.vote-card {
    background: #fff;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    padding: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.vote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -8px rgba(0, 0, 0, 0.1);
}

.vote-count {
    font-size: 1.5rem;
    font-weight: 800;
    color: #228be6;
    margin: 0.5rem 0;
    letter-spacing: -1px;
}

.vote-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.vote-button {
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    opacity: 1;
    font-weight: 600;
}

.vote-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.upvote {
    background: #e9ecef;
    color: #212529;
    text-transform: uppercase;
}

.upvote:hover:not(:disabled) {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
}

.downvote {
    background: #dc3545;
    color: white;
}

.downvote:hover:not(:disabled) {
    background: #c82333;
    transform: translateY(-2px);
}

.error-message {
    background-color: #dc3545;
    color: white;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    text-align: center;
    animation: slideIn 0.3s ease-out;
    font-weight: 500;
}

@media (min-width: 1920px) {
    .vote-card {
        padding: 1.75rem;
    }

    .vote-count {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .vote-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}
