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

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(180deg, #f5f7fa 0%, #e4e8ec 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1976D2 0%, #E91E63 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

header .parents-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #9C27B0;
    margin-bottom: 5px;
}

header .subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 500;
}

.vote-counts {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 30px;
}

.count {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 40px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.boy-count {
    background: linear-gradient(135deg, #E1F5FE, #B3E5FC);
}

.girl-count {
    background: linear-gradient(135deg, #FCE4EC, #FFCDD2);
}

.count-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.count-label {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vote-display {
    display: flex;
    gap: 0;
    margin-bottom: 40px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-height: 300px;
}

.vote-section {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.boy-section {
    background: linear-gradient(135deg, #B3E5FC 0%, #81D4FA 50%, #4FC3F7 100%);
}

.girl-section {
    background: linear-gradient(135deg, #FFCDD2 0%, #F8BBD9 50%, #F48FB1 100%);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 25px;
}

.vote-divider {
    width: 4px;
    background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.3), rgba(255,255,255,0.8));
}

.hearts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: flex-start;
}

.heart-vote {
    position: relative;
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatIn 0.5s ease-out;
}

.heart-svg {
    width: 70px;
    height: 63px;
    filter: drop-shadow(2px 3px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.heart-vote:hover .heart-svg {
    transform: scale(1.1);
}

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.vote-form-container {
    max-width: 500px;
    margin: 0 auto 40px;
    background: white;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.error-message {
    background: #FFEBEE;
    color: #C62828;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-family: 'Quicksand', sans-serif;
    border: 3px solid #E0E0E0;
    border-radius: 15px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    border-color: #9C27B0;
    box-shadow: 0 0 0 4px rgba(156, 39, 176, 0.1);
}

.gender-buttons {
    display: flex;
    gap: 15px;
}

.vote-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.vote-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.boy-btn {
    background: linear-gradient(135deg, #81D4FA, #4FC3F7);
}

.girl-btn {
    background: linear-gradient(135deg, #F8BBD9, #F48FB1);
}

.btn-icon {
    font-size: 2rem;
    margin-bottom: 5px;
}

.btn-text {
    font-size: 1.1rem;
}

.voters-list {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.voters-column {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.voters-column h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid;
}

.boy-voters h3 {
    border-color: #64B5F6;
    color: #1976D2;
}

.girl-voters h3 {
    border-color: #F48FB1;
    color: #E91E63;
}

.voters-column ul {
    list-style: none;
}

.voters-column li {
    padding: 10px 15px;
    margin-bottom: 8px;
    border-radius: 10px;
    font-weight: 500;
}

.boy-voters li {
    background: #E3F2FD;
    color: #1565C0;
}

.girl-voters li {
    background: #FCE4EC;
    color: #C2185B;
}

footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }
    
    .vote-counts {
        gap: 20px;
    }
    
    .count {
        padding: 15px 25px;
    }
    
    .count-number {
        font-size: 2rem;
    }
    
    .vote-display {
        flex-direction: column;
    }
    
    .vote-divider {
        width: 100%;
        height: 4px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .gender-buttons {
        flex-direction: column;
    }
    
    .voters-list {
        flex-direction: column;
    }
}
