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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 1200px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
}

h1 {
    color: #333;
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.voting-area {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.cat-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cat-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.cat-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.vote-count {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 20px;
}

.vote-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.vote-btn:hover {
    background: linear-gradient(45deg, #5a67d8, #6b5b95);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.vote-btn:active {
    transform: translateY(0);
}

.total-votes {
    margin-top: 40px;
    font-size: 1.4rem;
    color: #333;
    background: rgba(102, 126, 234, 0.1);
    padding: 20px;
    border-radius: 15px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
}

.pulse-animation {
    animation: pulse 0.6s ease-in-out;
}

.winner-crown {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.winner .winner-crown {
    opacity: 1;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 20px;
        margin: 0 10px;
    }
    
    .voting-area {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin: 30px 0;
    }
    
    .cat-card {
        width: 100%;
        max-width: 350px;
        padding: 20px;
    }
    
    .cat-image {
        width: 100%;
        max-width: 280px;
        height: 280px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .cat-name {
        font-size: 1.6rem;
    }
    
    .vote-count {
        font-size: 1.8rem;
    }
    
    .vote-btn {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100%;
        max-width: 200px;
    }
    
    .total-votes {
        font-size: 1.2rem;
        padding: 15px;
        margin-top: 30px;
    }
    
    .winner-crown {
        font-size: 1.8rem;
        top: -12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
        margin: 0 5px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .cat-image {
        max-width: 240px;
        height: 240px;
    }
    
    .cat-card {
        padding: 15px;
    }
    
    .vote-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .winner-crown {
        font-size: 1.5rem;
    }
}