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

body{
    font-family:Arial, sans-serif;
    background:#150609;
    color:white;
}

.container{
    width:92%;
    max-width:1120px;
    margin:auto;
}

header{
    background:#0b0305;
    border-bottom:1px solid rgba(255,255,255,.08);
    position:sticky;
    top:0;
    z-index:10;
}

.nav{
    height:75px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    font-size:25px;
    font-weight:bold;
    color:#ffcc00;
}

.nav-btn{
    color:#150609;
    background:#ffcc00;
    padding:12px 18px;
    border-radius:10px;
    text-decoration:none;
    font-weight:bold;
}

.hero{
    padding:70px 0;
    text-align:center;
    background:
        linear-gradient(rgba(21,6,9,.85),rgba(21,6,9,.98)),
        url("https://images.unsplash.com/photo-1517927033932-b3d18e61fb3a?auto=format&fit=crop&w=1600&q=80");
    background-size:cover;
    background-position:center;
}

.tag{
    display:inline-block;
    background:#e30613;
    color:white;
    padding:9px 15px;
    border-radius:30px;
    font-weight:bold;
    margin-bottom:18px;
}

.hero h1{
    font-size:58px;
    margin-bottom:20px;
    color:#ffcc00;
}

.quote{
    font-size:24px;
    line-height:1.5;
    max-width:760px;
    margin:0 auto 10px;
    font-weight:bold;
}

.quote-tr{
    color:#ffdede;
    font-size:17px;
}

.main-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
    padding:50px 0;
}

.card{
    background:#230b10;
    border:1px solid rgba(255,255,255,.10);
    border-radius:22px;
    padding:28px;
    box-shadow:0 15px 35px rgba(0,0,0,.25);
}

.card h2{
    font-size:28px;
    margin-bottom:10px;
    color:#ffcc00;
}

.desc{
    color:#e7c7c7;
    line-height:1.6;
    margin-bottom:20px;
}

.vote-form{
    display:grid;
    gap:12px;
    margin-bottom:22px;
}

.vote-form button,
.message-form button{
    border:none;
    padding:17px;
    border-radius:13px;
    font-size:17px;
    font-weight:bold;
    cursor:pointer;
}

.yes-btn{
    background:#ffcc00;
    color:#170609;
}

.no-btn{
    background:#e30613;
    color:white;
}

.already{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.10);
    padding:15px;
    border-radius:12px;
    margin-bottom:20px;
    color:#ffcc00;
    font-weight:bold;
}

.result-row{
    margin-bottom:18px;
}

.result-top{
    display:flex;
    justify-content:space-between;
    gap:15px;
    margin-bottom:8px;
    color:#f5dddd;
}

.bar{
    height:15px;
    background:rgba(255,255,255,.12);
    border-radius:30px;
    overflow:hidden;
}

.bar-fill{
    height:100%;
    border-radius:30px;
}

.yellow{
    background:#ffcc00;
}

.red{
    background:#e30613;
}

.total{
    background:rgba(255,255,255,.08);
    padding:15px;
    border-radius:12px;
    margin-top:15px;
}

.alert{
    padding:13px;
    border-radius:10px;
    margin-bottom:15px;
    font-weight:bold;
}

.success{
    background:rgba(32,201,151,.18);
    color:#9ff5d7;
}

.warning{
    background:rgba(255,204,0,.18);
    color:#ffdf65;
}

.message-form input,
.message-form textarea{
    width:100%;
    padding:14px;
    border:none;
    border-radius:12px;
    margin-bottom:12px;
    font-size:15px;
    font-family:Arial;
}

.message-form textarea{
    height:120px;
    resize:none;
}

.message-form button{
    width:100%;
    background:#ffcc00;
    color:#150609;
}

.message-list{
    margin-top:22px;
    max-height:420px;
    overflow:auto;
    padding-right:5px;
}

.message-item{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.08);
    padding:15px;
    border-radius:14px;
    margin-bottom:12px;
}

.message-item strong{
    color:#ffcc00;
}

.message-item p{
    color:#f0d0d0;
    margin-top:7px;
    line-height:1.5;
}

.empty{
    color:#e0bebe;
}

footer{
    text-align:center;
    padding:25px;
    background:#0b0305;
    color:#d2b2b2;
    font-size:14px;
}

@media(max-width:850px){
    .main-grid{
        grid-template-columns:1fr;
    }

    .hero h1{
        font-size:40px;
    }

    .quote{
        font-size:20px;
    }

    .nav{
        height:auto;
        padding:18px 0;
        flex-direction:column;
        gap:12px;
    }
}

.header-right{
    display:flex;
    align-items:center;
    gap:14px;
}

.insta-link{
    color:#ffd86b;
    text-decoration:none;
    font-weight:bold;
    font-size:15px;
    transition:.2s;
}

.insta-link:hover{
    opacity:.8;
}
