/* =========================
NN TỔNG THỂ
========================= */

body,
#wrapper,
#main{
background:#0b0b0b !important;
color:#eaeaea;
}

/* Box / section */

.section,
.section-content,
.row,
.col-inner{
background:transparent !important;
}

/* =========================
HEADER
========================= */

.header-main,
.header-bottom,
.header-bg-container{
background:#000 !important;
}

/* Menu */

.nav > li > a{
color:#fff !important;
}

/* Dropdown */

.nav-dropdown{
background:#111 !important;
}

/* =========================
FOOTER
========================= */

.footer-wrapper,
.absolute-footer{
background:#000 !important;
color:#ccc;
}

/* =========================
CARD
========================= */

.box,
.box-text,
.box-image,
.blog-post-inner,
.article-inner{
background:#111 !important;
color:#eaeaea;
border-radius:6px;
}

/* =========================
LINK
========================= */

a{
color:#f1c40f;
}

a:hover{
color:#ffd84d;
}

/* =========================
SNOW EFFECT
========================= */

#snow-container{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
pointer-events:none;
z-index:9999;
}

.snow{
position:absolute;
top:-10px;
color:#fff;
animation:snowFall linear infinite;
}

.snow::after{
content:"❄";
}

@keyframes snowFall{
from{transform:translateY(0)}
to{transform:translateY(100vh)}
}

/* =========================
COUNTDOWN
========================= */

.fake-countdown{
margin:28px auto;
padding:22px 18px;
max-width:1200px;
background:linear-gradient(135deg,#181818,#242424);
border-radius:16px;
text-align:center;
border:1px solid rgba(255,255,255,.06);
box-shadow:0 10px 30px rgba(0,0,0,.45);
}

.fake-countdown .fc-title{
color:#ffcc66;
font-weight:700;
margin-bottom:6px;
}

.fake-countdown .fc-status{
color:#d0d0d0;
font-size:13px;
margin-bottom:14px;
}

.fake-countdown .fc-time{
font-size:30px;
font-weight:800;
color:#fff;
background:rgba(0,0,0,.35);
display:inline-block;
padding:10px 18px;
border-radius:12px;
letter-spacing:2px;
}

.fc-actions{
margin-top:18px;
}

.fc-chap-list-btn{
display:inline-flex;
gap:8px;
align-items:center;
padding:12px 22px;
background:#0d6efd;
color:#fff;
border-radius:12px;
font-weight:600;
text-decoration:none;
transition:.25s;
}

.fc-chap-list-btn:hover{
background:#0b5ed7;
transform:translateY(-2px);
}

/* =========================
CHARACTER GRID
========================= */

.character-wrapper{
max-width:1200px;
margin:40px auto;
padding:0 15px;
}

.character-title{
text-align:center;
font-size:30px;
margin-bottom:40px;
}

.character-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
}

.character-card{
background:#111;
border-radius:15px;
overflow:hidden;
transition:.3s;
box-shadow:0 8px 25px rgba(0,0,0,.4);
}

.character-card:hover{
transform:translateY(-6px);
}

.character-card img{
width:100%;
height:320px;
object-fit:cover;
}

.character-info{
padding:15px;
text-align:center;
}

.character-info h2 a{
color:#fff;
font-size:18px;
text-decoration:none;
}

.character-btn{
display:inline-block;
margin-top:10px;
padding:6px 14px;
background:#e50914;
color:#fff;
border-radius:6px;
font-size:13px;
text-decoration:none;
}

/* =========================
NOTICE
========================= */

.fan-rank-notice{
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
background:linear-gradient(90deg,#111,#1c1c1c,#111);
border:1px solid #333;
padding:20px;
border-radius:20px;
margin-bottom:40px;
color:#fff;
box-shadow:0 0 20px rgba(0,0,0,.6);
flex-wrap:wrap;
}

.notice-left{
font-size:16px;
line-height:1.6;
flex:1;
min-width:200px;
}

.notice-right{
flex-shrink:0;
}

.fan-rank-btn{
display:inline-block;
background:linear-gradient(45deg,#ffb300,#ff5722);
padding:12px 22px;
border-radius:30px;
color:#fff;
font-weight:bold;
text-decoration:none;
transition:.3s;
white-space:nowrap;
}

.fan-rank-btn:hover{
transform:scale(1.05);
box-shadow:0 0 15px #ff9800;
}

/* =========================
TOP CHARACTERS
========================= */

.top-characters-home{
background:#111;
padding:30px;
border-radius:16px;
margin:40px 0;
}

.top-list{
display:flex;
flex-direction:column;
gap:16px;
}

.top-item{
display:flex;
align-items:center;
gap:20px;
background:#1b1b1b;
padding:18px;
border-radius:12px;
transition:.3s;
}

.top-item:hover{
transform:translateY(-3px);
background:#222;
}

.rank{
font-size:22px;
font-weight:700;
color:#ffd700;
width:60px;
}

.char-info{
flex:1;
}

.char-name{
color:#fff;
font-size:18px;
font-weight:600;
text-decoration:none;
}

.power-bar{
height:8px;
background:#333;
border-radius:10px;
margin-top:8px;
overflow:hidden;
}

.power-fill{
height:100%;
background:linear-gradient(90deg,#ffcc00,#ff4d00);
border-radius:10px;
transition:width .6s;
}

.votes{
color:#aaa;
font-size:14px;
}

.top-item:nth-child(1){
background:linear-gradient(90deg,#3a2c00,#4a3b00);
box-shadow:0 0 25px rgba(255,215,0,.6);
}

.view-all-top{
display:block;
text-align:center;
margin-top:25px;
background:#ff0000;
padding:14px;
border-radius:10px;
color:#fff;
font-weight:700;
text-decoration:none;
}

/* =========================
CHAPTER GRID
========================= */

.chapter-grid{
display:grid;
grid-template-columns:repeat(9,1fr);
gap:12px;
}

.chapter-grid a{
display:block;
background:#2f3553;
color:#fff;
text-align:center;
padding:12px;
border-radius:8px;
text-decoration:none;
font-weight:600;
}

.chapter-grid a:hover{
background:#1e2238;
}

/* =========================
SEARCH CHAPTER
========================= */

.onepiece-search{
display:flex;
align-items:center;
justify-content:center;
gap:12px;
width:100%;
max-width:900px;
margin:40px auto;
position:relative;
}

.onepiece-search input{
flex:1;
height:60px;
padding:0 20px 0 50px;
font-size:18px;
border-radius:12px;
border:1px solid #2a2a2a;
background:#111;
color:#fff;
outline:none;
transition:.2s;
}

.onepiece-search input:focus{
border-color:#3b82f6;
box-shadow:0 0 0 2px rgba(59,130,246,.3);
}

.onepiece-search:before{
content:"";
position:absolute;
left:18px;
font-size:18px;
opacity:.7;
}

.onepiece-search button{
height:60px;
padding:0 40px;
border:none;
border-radius:12px;
background:linear-gradient(135deg,#3b82f6,#2563eb);
color:#fff;
font-weight:700;
font-size:16px;
cursor:pointer;
transition:.2s;
}

.onepiece-search button:hover{
transform:translateY(-2px);
box-shadow:0 8px 20px rgba(59,130,246,.4);
}

/* =========================
MOBILE
========================= */

@media (max-width:768px){

.character-grid{
grid-template-columns:repeat(2,1fr);
gap:15px;
}

.character-card img{
height:220px;
}

.chapter-grid{
grid-template-columns:repeat(3,1fr);
}

.top-characters-home{
padding:20px;
}

.top-item{
flex-direction:column;
align-items:flex-start;
gap:10px;
padding:16px;
}

.rank{
font-size:18px;
}

.char-name{
font-size:16px;
}

.votes{
font-size:13px;
}

.power-bar{
width:100%;
height:7px;
}

.onepiece-search{
flex-direction:column;
}

.onepiece-search button{
width:100%;
}

}

/* MOBILE NOTICE */

@media (max-width:600px){

.fan-rank-notice{
flex-direction:column;
align-items:flex-start;
}

.notice-right{
width:100%;
margin-top:10px;
}

.fan-rank-btn{
width:100%;
text-align:center;
}

}

