
body{
margin:0;
font-family:Inter,Arial;
background:linear-gradient(180deg,#0f172a,#020617);
color:white;
}

.container{
max-width:520px;
margin:auto;
padding:20px;
}

.logo{
text-align:center;
font-size:28px;
font-weight:700;
margin-top:10px;
}

.tagline{
text-align:center;
color:#94a3b8;
margin-bottom:30px;
}

.question-card{
background:#0f172a;
border-radius:16px;
padding:24px;
box-shadow:0 10px 30px rgba(0,0,0,0.5);
}

.question{
font-size:22px;
text-align:center;
margin-bottom:25px;
line-height:1.4;
}

.vote-btn{
width:100%;
padding:18px;
border-radius:12px;
border:none;
font-size:20px;
margin-top:12px;
cursor:pointer;
transition:transform .1s,box-shadow .1s;
}

.vote-btn:hover{
transform:scale(1.03);
box-shadow:0 6px 20px rgba(0,0,0,0.5);
}

.yes{
background:#22c55e;
}

.no{
background:#ef4444;
}

.alt1 { background:#3b82f6; }   /* blue */
.alt2 { background:#a855f7; }   /* purple */
.alt3 { background:#f59e0b; }   /* orange */

.blur{
filter:blur(6px);
opacity:0.6;
}

.vote-lock{
text-align:center;
font-size:14px;
color:#94a3b8;
margin-top:10px;
}

.results{
margin-top:25px;
}

.bar {
    background:#1e293b;
    height:22px;
    border-radius:10px;
    margin:8px 0;
    overflow:hidden;
    width:100%;
}

.bar-inner {
    display:block;
    height:100%;
    width:0%;
    background:#38bdf8;
    transition: width 0.4s ease;
}

.section{
margin-top:40px;
}

.section h3{
margin-bottom:12px;
}

.compare{
background:#0f172a;
padding:16px;
border-radius:12px;
}

.compare2{
background:#0f172a;
padding:16px;
border-radius:12px;
}

.share-card{
background:#1e293b;
padding:16px;
border-radius:12px;
text-align:center;
}

.share-buttons a{
margin:8px;
display:inline-block;
padding:10px 14px;
border-radius:8px;
background:#334155;
color:white;
text-decoration:none;
}


.next-btn{
    position:relative;
    width:100%;
    margin-top:20px;
    padding:16px;
    height:80px;
    font-size:18px;
	
    border-radius:12px;
    background:#6366f1;
    border:none;
    color:white;
    cursor:pointer;
}

.btn-main{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    font-weight:600;
	white-space: nowrap;

}

/* Малък текст долу */
.btn-sub{
    position:absolute;
    bottom:8px;
    left:50%;
    transform:translateX(-50%);
    font-size:12px;
    opacity:0.8;
	white-space: nowrap;
}

/* hover */
.next-btn:hover{
	background:#6366a3;
    color:#fff;
	transform:scale(1.03);
}

.next-btn.active{
    border-bottom:5px solid #38bdf8;
    box-shadow:none;
}




.leaderboard{
background:#0f172a;
padding:16px;
border-radius:12px;
}

.leaderboard table{
width:100%;
border-collapse:collapse;
}

.leaderboard td{
padding:8px;
border-bottom:1px solid #1e293b;
}

@media (max-width:600px){

.question{
font-size:20px;
}

.vote-btn{
font-size:18px;
}



.history-card{

    padding:15px;
    border-radius:12px;
    margin-bottom:12px;
    border:1px solid #1e293b;
}

.history-question{
    color:#fff;
    font-size:16px;
    margin-bottom:8px;
}

.history-answer{
    color:#94a3b8;
    margin-bottom:6px;

}

.history-points{
    color:#22c55e;
    font-weight:bold;
    border-top:1px solid #1e293b;
    margin-top:10px;
    padding-top:10px;
}


}


table td{
    padding:8px;
}

.score{
    text-align:right;
    font-weight:bold;
    color:#22c55e;
}

/* highlight на текущия user */
.me{
    background:#0f172a;
    border:1px solid #38bdf8;
}

/* hover ефект */
table tr:hover{
    background:#020617;
}
/*
tr:nth-child(1){
    color:#facc15;
}
tr:nth-child(2){
    color:#cbd5f5;
}
tr:nth-child(3){
    color:#f59e0b;
}*/



#shareOverlay{

position:fixed;
top:0;
left:0;
width:100%;
height:100%;

background:rgba(0,0,0,0.8);

display:none;

align-items:center;
justify-content:center;

z-index:9999;

}

.shareBox{

background:#0f172a;
padding:40px;
border-radius:14px;
text-align:center;
width:320px;

}

.shareBtn{

display:block;
width:100%;
margin:10px 0;
padding:14px;
font-size:18px;
border:none;
border-radius:8px;
cursor:pointer;

}

.fb{background:#1877f2;color:white;}
.x{background:black;color:white;}
.insta{background:#e1306c;color:white;}

.closeBtn{

margin-top:20px;
padding:10px 20px;
background:#334155;
color:white;
border:none;
border-radius:8px;

}

.shareBox{
position:relative;
background:#0f172a;
padding:40px;
border-radius:14px;
text-align:center;
width:320px;
}

/* X button */

.closeX{

position:absolute;
top:10px;
right:12px;

background:none;
border:none;

color:white;
font-size:22px;

cursor:pointer;

opacity:0.7;
}

.closeX:hover{
opacity:1;
}


.tabs{
    display:flex;
    gap:8px;

    margin-bottom:15px;
	width: 100%;
}

.tab-btn{
	flex: 1; 
    padding:8px 14px;
    border:none;
    border-radius:20px;
    background:#1e293b;
    color:#94a3b8;
    cursor:pointer;
    white-space:nowrap;
}

.tab-btn.active{
    background:#38bdf8;
    color:#fff;
}

.timer{
    font-size:13px;
    color:#94a3b8;
    text-align:right;
    margin-bottom:6px;
}

.timer.urgent{
    color:#facc15;
}

.timer.expired{
    color:#ef4444;
    font-weight:600;
}

.nick-inline{
    background: transparent;
    border: 1px solid rgba(255,255,255,0.08);
    color: inherit;
    font: inherit;
    padding: 2px 6px;
    border-radius: 6px;
    outline: none;
    width: 120px;
}

.nick-inline:focus{
    border: 1px solid rgba(250,204,21,0.4);
    background: rgba(255,255,255,0.03);
}

.points-info{
    font-size:12px;
    color:#777;
    text-align:center;
    margin-top:6px;
}

.cookie-banner{
position:fixed;
bottom:0;
left:0;
width:100%;
background:#020617;
border-top:1px solid #1e293b;
padding:16px;
z-index:9999;
box-shadow:0 -4px 20px rgba(0,0,0,.35);
}

.cookie-content{
max-width:1000px;
margin:0 auto;
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
flex-wrap:wrap;
}

.cookie-text{
color:#cbd5e1;
font-size:14px;
line-height:1.6;
flex:1;
}

.cookie-text a{
color:#38bdf8;
text-decoration:none;
}

.cookie-btn{
background:#38bdf8;
color:#fff;
border:none;
padding:12px 20px;
border-radius:10px;
font-weight:700;
cursor:pointer;
transition:.2s;
}

.cookie-btn:hover{
background:#0ea5e9;
}

.site-footer{
margin-top:40px;
padding:20px;
border-top:1px solid #1e293b;
background:#0f172a;
border-radius:12px;
}

.footer-inner{
max-width:900px;
margin:0 auto;
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
gap:12px;
}

.footer-copy{
color:#94a3b8;
font-size:14px;
}

.footer-links{
display:flex;
gap:18px;
}

.footer-links a{
color:#38bdf8;
text-decoration:none;
font-size:14px;
transition:.2s;

}

.footer-links a:hover{
color:#facc15;
}

.back-link{
display:inline-block;
padding:10px 16px;
background:#1e293b;
color:#38bdf8;
text-decoration:none;
border-radius:10px;
font-weight:600;
transition:.2s;
margin-bottom:10px;
}

.back-link:hover{
background:#334155;
color:#facc15;
}