/* GENERAL */
body {
    margin: 0;
    padding: 0;
    background: #FFF9F4;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

/* SPLASH SCREEN */
#splash {
    position: fixed;
    inset: 0;
    background: #F6EFE6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    text-align: center;
}

.splash-title {
    font-family: 'Amatic SC', cursive;
    font-size: 90px;
    color: #5A3A2E;
    margin-bottom: 50px;
    text-shadow: 0px 3px 5px rgba(0,0,0,0.15);
}

.big-btn {
    font-size: 32px;
    padding: 25px 60px;
    cursor: pointer;
    border: none;
    border-radius: 10px;
    background: #C24A3A;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: 0.25s ease-in-out;
}

.big-btn:hover { background: #A83F32; transform: scale(1.05); }

#curtain {
    position: fixed;
    inset: 0;
    background: #5A3A2E;
    z-index: 9;
    transform: translateY(0);
    transition: transform 1s ease-in-out;
}

/* MAIN PAGE */
.hidden { display: none; }
#mainContent { padding: 40px; margin-top: 20px; animation: fadeIn 1s ease-in forwards; }

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

/* TABLE */
table { margin: 0 auto; width: 80%; border-collapse: collapse; }
.title-row { height: 60px; }

.title-label { font-family:'Amatic SC', cursive; font-size:36px; color:#5A3A2E; text-align:left; }
.vote-count { font-size:22px; font-weight:600; text-align:right; color:#5A3A2E; }

.bar-container { background: rgba(90,58,46,0.1); height:35px; border-radius:10px; overflow:hidden; border:1px solid rgba(90,58,46,0.25); }
.bar-fill { height:100%; width:0%; background:#C24A3A; transition:width .4s ease; box-shadow: inset 0 0 10px rgba(0,0,0,0.2); }

.vote-btn { padding: 8px 18px; cursor: pointer; border: none; border-radius: 8px; background: #F3D19C; color:#5A3A2E; font-weight:600; transition:.2s; }
.vote-btn:hover { background:#e8c48a; transform:scale(1.05); }
