body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    transition: 0.4s;
    background: #121212;
    color: white;
}

/* Light Mode */
.light {
    background: #e2e2e2;
    color: black;
}

.welcome {
    text-align: center;
    margin-top: 160px;
    animation: fadeIn 1.4s;
}

.startBtn, .themeBtn {
    padding: 14px 28px;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin: 10px;
    transition: 0.3s;
}

.startBtn {
    background: #1bc9c9;
}

.themeBtn {
    background: #ffd700;
}

.container {
    padding: 20px;
}

.importance, .candidate-card, .results {
    animation: fadeIn 1s ease-in-out;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.candidate-card {
    background: rgba(255,255,255,0.09);
    width: 260px;
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    transition: 0.3s;
}

.candidate-card:hover {
    transform: scale(1.08);
    background: rgba(255,255,255,0.18);
}

.cand-img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 12px;
}

.voteBtn {
    padding: 12px 22px;
    background: #ffd700;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    transition: 0.3s;
}

.voteBtn:hover {
    background: #ffef6a;
}

.resultsBtn, .resetBtn, .printBtn, .closeBtn {
    padding: 12px 22px;
    border: none;
    border-radius: 10px;
    margin: 8px;
    font-size: 18px;
    cursor: pointer;
}

.results {
    background: rgba(0,0,0,0.3);
    width: 70%;
    margin: auto;
    padding: 25px;
    text-align: center;
    border-radius: 15px;
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px);
}

.popup-box {
    background: #292929;
    width: 350px;
    margin: 200px auto;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.hidden {
    display: none;
}

@keyframes fadeIn {
    from {opacity:0; transform: translateY(20px)}
    to {opacity:1; transform: translateY(0)}
}

