/* ===== GLOBAL ===== */
*{
  box-sizing:border-box;
}

html,body{
  margin:0;
  padding:0;
  max-width:100%;
  overflow-x:hidden;
  overflow-y:auto;
  font-family:Inter,Arial,sans-serif;
  background:#0b0b0b; 
 /* background: linear-gradient(135deg, #111, #1f1f1f);*/
  color:#fff;
}

body, input, select, textarea {
    font-size: 16px;
}

html {
  touch-action: manipulation;
}


/* ===== HEADER ===== */
.site-header{
  background:#fff;
  border-bottom:1px solid #ddd;
  position:sticky;
  top:0;
  z-index:1000;
  overflow:visible;
}

.header-inner{
  max-width:1200px;
  margin:auto;
  padding:12px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* LEFT */
.left{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo a{
  font-size:20px;
  font-weight:700;
  text-decoration:none;
  color:#111;
}

/* HAMBURGER – ALWAYS VISIBLE*/
.hamburger{
  background:none;
  border:none;
  font-size:22px;
  cursor:pointer;
  color:#111;
  margin-right:10px;
}


/* ===== SIDEBAR ===== */
.sidebar {
  position: fixed;
  left: -250px;
  top: 0;
  width: 250px;
  height: 100%;
  background: #1a1a1a;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  transition: left 0.3s ease;
  z-index: 2000;   /* 🔥 change this */
  padding-top: 17px;
}


.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  font-size: 18px;
  font-weight: bold;
  border-bottom: 1px solid #ddd;
}

.close-btn {
  color: #eee;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.sidebar-menu {
  margin: 0;
  list-style: none;
  padding: 10px 0;
}

.sidebar-menu li {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
}

.sidebar-menu li:hover {
  background: #2a2a2a;
  /*background: #ff4b2b; */
  color: #fff;
}

.sidebar-menu li i {
  width: 20px;
  text-align: center;
}

/* SHOW SIDEBAR */
.sidebar.show {
  left: 0;
}

.sidebar-menu li a{
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}


/* ===== SIDEBAR ===== */

.sidebar{
  position: fixed;
  top: 0;
  left: -260px;
  width: 250px;
  height: 100%;
  background: #111;
  color: #fff;
  transition: 0.3s ease;
  z-index: 1001;
}

.sidebar.active{
  border-top-right-radius: .8rem;
  background: linear-gradient(270deg, #272727, #000);
  left: 0;
}

/* ===== OVERLAY ===== */

.overlay{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 1000;
}

.overlay.active{
  display: block;
}

/* Sidebar open ho to body scroll band */
body.no-scroll{
  overflow: hidden;
}






/* ===== HEADER LAYOUT ===== */

.site-header{
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.left{
  display: flex;
  align-items: center;
}

.main-nav{
  display: flex;
  gap: 20px;
}

.main-nav a,
.main-nav span{
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.main-nav a:hover{
  color: #ff4b2b;
}

/* Mobile me hide karo */
@media(max-width: 768px){
  .main-nav{
    display: none;
  }
}



/* ===== RIGHT ICONS ===== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icon-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #333;
  transition: 0.3s;
}

.icon-btn:hover {
  color: #ff4b2b;
}

/* ===== SEARCH BOX ===== */

/* HEADER ko reference bana do */
.site-header{
    position: relative;
}

/* SEARCH PANEL */
.header-search{
    position: absolute;
    top: 100%;              /* header ke bilkul niche */
    left: 0;
    width: 100%;            /* header jitni width */
    background: #111;       /* apna color rakh sakte ho */
    padding: 12px 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    display: none;
    z-index: 999;
}

/* ACTIVE STATE */
.header-search.active{
    display: block;   /* agar flex chahiye to flex kar sakte ho */
}

/* INPUT FULL WIDTH */
.header-search input{
    width: 100%;
    padding: 10px 14px;
    border-radius: 6px;
    border: none;
    outline: none;
}


/*
.header-search {
  position: absolute;
  top: 100%;
  right: 20px;
  width: 250px;
  display: none;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-top: 5px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}*/

/*
.header-search input {
  width: 100%;
  padding: 8px 12px;
  border: none;
  outline: none;
  font-size: 14px;
  border-radius: 6px;
}
*/

/* ===== USER PANEL ===== */
.user-panel {
  position: absolute;
  top: 60px;
  right: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.user-panel a {
  padding: 10px 15px;
  transition: 0.3s;
}

.user-panel a:hover {
  background: #ff4b2b;
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid #ddd;
    display: none;
  }

  .main-nav.show {
    display: flex;
  }

  .dropdown-menu {
    position: relative;
    top: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }
}


/* SEARCH */
/*
.header-search{
  display:none;
  background:#fff;
  border-top:1px solid #ddd;
}

.header-search input{
  width:100%;
  padding:12px 16px;
  border:none;
  outline:none;
  font-size:15px;
}*/

/* USER PANEL */
.user-panel{
  border-radius: .5rem;
  display:none;
  position:absolute;
  right:16px;
  top:60px;
  background:#fff;
  border:1px solid #ddd;
  width:170px;
  z-index:2000;
}

.user-panel a{
    border: 1px solid #00bbff;
    background: black;
    text-align: center;
  display:block;
  padding:10px 14px;
  text-decoration:none;
  color:#fff;
}

.user-panel a:hover{
  background:#f2f2f2;
}

/* ===== PAGE ===== */
.page-content{
  padding:16px;
  min-height:100vh;
}
@media (min-width: 992px){
  .page-content{
    max-width: 1100px;
    margin: auto;
  }
}



/* ===== HERO ===== */
.hero{
  display:flex;
  align-items:center;
  background:radial-gradient(circle at top,#1a1a1a,#000);
  padding:60px 40px;
}

.hero-inner{
  max-width:720px;
}

.hero h1{
  font-size:56px;
  margin:0 0 18px;
  line-height:1.1;
}

.hero p{
  font-size:18px;
  color:#bbb;
}

/* ===== SECTIONS ===== */

.block{
  padding:10px 0px;
} 

.block.alt{
  border-radius: .8rem;

}

.block-title{
  margin:0 0 10px;
  font-size:26px;
}

/* ===== HORIZONTAL SCROLL ===== */
.h-scroll{
  width:100%;
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:180px;
  gap:20px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  padding-bottom:10px;
  scroll-behavior:smooth;
}

.h-scroll::-webkit-scrollbar{
  display:none;
}

.block-head{
  border-bottom: 1px solid #636467;
  display:flex;
  justify-content:space-between;
  margin-bottom:10px;
}

.nav-btns{
  display:flex;
  gap:8px;
}

.nav-btns button{
  width:32px;
  height:32px;
  border-radius:50%;
  border:none;
  background:#222;
  color:#fff;
  cursor:pointer;
}

.nav-btns button:hover{
  background:#5fe3b3;
  color:#000;
}



/* CARD */
.card{
  padding: 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  width:180px;
  text-decoration:none;
  color:#fff;
  scroll-snap-align:start;
}

.card img{
  width:100%;
  height:260px;
  object-fit:fill;
  border-radius:5px;
  transition:transform .35s ease;
}

.card span{
  display:block;
  margin-top:8px;
  font-size:14px;
}

.card:hover img{
  transform:scale(1.06);
}

.card .title{
  font-weight:600;
  display:-webkit-box;
  -webkit-line-clamp:2;   /* max 2 lines */
  -webkit-box-orient:vertical;
  overflow:hidden;
}


/*
.card .title{
  font-weight:600;
  display:block;
} */

.card .time{
  font-size:12px;
  color:#999;
}



.card-genre{
    text-align: center;
    display:inline-block;
    margin-top:6px;
    padding:4px 10px;
    border-radius:20px;
    font-size:11px;
    font-weight:600;
    color:#fff;
    border:1px solid rgba(255,255,255,.12);
    backdrop-filter:blur(8px);
}




/* ===== RANKING ===== */
.ranking-title{
  text-align: center;
}

.ranking-wrap{
  margin:30px auto;
  padding:10px;
}

.ranking-gird{
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2rem;
}

@media(max-width:600px){
  .ranking-gird{
    grid-template-columns: 1fr;
  }
}

.ranking-tabs{
  border-bottom: 1px solid #373738;
  display:flex;
  gap:10px;
  margin-bottom:15px;
  justify-content: center;
}

.ranking-tabs a{
  margin-bottom: 1rem;
  padding:6px 20px;
  border-radius:20px;
  background:#222;
  color:#aaa;
  text-decoration:none;
  font-size:14px;
}

.ranking-tabs a.active{
  background:#3b6cff;
  color:#fff;
}

/* Each item wrapper */
.rank-item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:8px 10px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  background:#111;
  transition:0.2s;
}

/* Make the link cover the whole content */
.rank-item a.rank-link{
  display:flex;
 /* align-items:center; */
  gap:12px;
  text-decoration:none;
  color:inherit;
  flex:1;
}

/* Hover effect for link */
.rank-item a.rank-link:hover{
  background:#272727;
}

/* Rank number */
.rank-num{
  width:28px;
  font-weight:bold;
  color:#00ffd2;
  text-align:right;
  flex-shrink:0;
}

/* Cover image */
.rank-cover{
  width:80px;   /* thoda chhota rakha */
  height:110px;
  object-fit:cover;
  border-radius:4px;
  flex-shrink:0;
}

/* Info wrapper */
.rank-info{
  flex:1;
  overflow:hidden;
}

/* Title */
.rank-info h4{
  margin:0;
  font-size:14px;
  white-space:normal;       /* allow wrapping */
  overflow-wrap: break-word; /* break long words if needed */
  word-break: break-word;    /* ensures very long words wrap */
  line-height:1.2em;         /* thoda spacing for readability */
}


/* Meta info */
.rank-meta{
  display:flex;
  align-items:center;
  gap:14px;
  font-size:13px;
  margin-top:4px;
}

.rank-meta svg{
  fill: currentColor;
}

.rank-meta .views{
  display:flex;
  align-items:center;
  gap:5px;
  color:#777;
}

.rank-meta .rating{
  font-size:14px;
  display:flex;
  align-items:center;
  gap:4px;
  color: #00bbff; /* star yellow */
}


/* ===== FOOTER ===== */
.footer{
  text-align:center;
  padding:30px;
  font-size:14px;
  color:#777;
}

/* ===== FOOTER ===== */
.site-footer{
  background:#0e0e0e;
  border-top:1px solid #222;
  margin-top:40px;
}

.footer-inner{
  max-width:1200px;
  margin:auto;
  padding:10px 20px;
  display:flex;
  /*gap:30px;*/
  justify-content:space-between;
  flex-wrap:wrap;
}

.footer-left h3{
  margin:0 0 6px;
  font-size:18px;
  color:#fff;
}

.footer-left p{
  margin:0;
  font-size:14px;
  color:#aaa;
}

.footer-links{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}

.footer-links a{
  text-decoration:none;
  font-size:14px;
  color:#bbb;
}

.footer-links a:hover{
  color:#fff;
}

.footer-right{
  font-size:13px;
  color:#777;
  text-align:right;
}

/* MOBILE */
@media(max-width:768px){
  .footer-inner{
    flex-direction:column;
    text-align:center;
  }

  .footer-links{
    justify-content:center;
  }

  .footer-right{
    text-align:center;
  }
}


.h-scroll{
  cursor:grab;
}

.h-scroll.dragging{
  cursor:grabbing;
}



/* ===== MOBILE TUNING ===== */
@media(max-width:768px){

  .hero{
    padding:36px 24px;
  }

  .hero h1{
    font-size:36px;
  }

  .hero p{
    font-size:16px;
  }

  .h-scroll{
    grid-auto-columns:140px;
  }

  .card{
    width:145px;
  }

  .card img{
    height:200px;
  }

  .ranking-wrap{
    padding:5px;
  }

  .rank-item{
    padding:8px 6px;
  }

  .rank-cover{
    width:100px;
    height:140px;
  }

  .rank-info h4{
    font-size:13px;
  }

  .novel-detail{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }

  .novel-cover img{
    width:180px;
    height:260px;
  }

  .novel-actions{
    justify-content:center;
  }

}



/* ===== NOVEL DETAIL ===== */

.novel-detail{
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 1rem;
  border-radius: .5rem;
  background: #111;
  display:flex;
  gap:30px;
  margin-bottom:40px;
}

.novel-cover img{
  width:220px;
  height:320px;
  object-fit:fill;
  border-radius:16px;
}

.novel-meta h1{
  margin:0 0 12px;
  font-size:32px;
}

@media (min-width: 992px){
  .novel-detail{
    align-items:flex-start;
  }

  .novel-meta{
    max-width: 650px;
  }
}


.meta-row{
  padding: 10px;
 /* margin: 10px; */
  border-radius: .5rem;
  border: 1px solid #999;
  margin-bottom: 8px;
  color: #f2f2f2;
}

.meta-row span{
  color:#888;
  margin-right:6px;
}

.rating{
  font-size:16px;
  color:gold;
}
.meta-row.rating .rating-number{
  color: #eee;;
}

.meta-row.rating small{
  font-size: 11px;
  color: #999;
}



.novel-actions{
  margin-top:20px;
  display:flex;
  gap:12px;
}

.btn-primary{
  background:#00bbff;
  border:none;
  padding:10px 18px;
  border-radius:20px;
  color:#fff;
  cursor:pointer;
}

.btn-outline{
  background:transparent;
  border:1px solid #555;
  padding:10px 18px;
  border-radius:20px;
  color:#fff;
  cursor:pointer;
}

.btn-outline:hover{
  background:#222;
}



.novel-desc{
  padding: 1rem;
  border-radius: .5rem;
  border: 1px solid rgba(255, 255, 255, .08);
  margin-bottom:40px;
}

/* CHAPTER LIST */
.chapter-list{
  padding: 1rem;
  border-radius: .5rem;
  border: 1px solid rgba(255, 255, 255, .08);
}

@media (min-width: 992px){
  .meta-row{
    display:inline-block;
    margin-right:10px;
  }
}


.chapter-list ul{
  list-style:none;
  padding:0;
}

.chapter-list li{
  border-radius: .5rem;
  border: 1px solid rgba(255, 255, 255, .08);
}

.chapter-list a:hover{
  background:#111;
}

/* ===== DESCRIPTION TOGGLE ===== */

.desc-box{
 /* background: #111;*/
  text-align: justify;
  border-radius: .5rem;
  border: .1rem solid rgba(255, 255, 255, .08);
  padding: .5rem;
  color: #ddd;
  max-height:90px;          /* preview height */
  overflow:hidden;
  position:relative;
  transition:max-height .4s ease;
}

.desc-box p {
  margin: 0;
}

.desc-box::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:40px;
  background:linear-gradient(to bottom, rgba(11,11,11,0), #0b0b0b);
}

.desc-box.open{
  max-height:2000px;
}

.desc-box.open::after{
  display:none;
}

.desc-toggle{
  background:none;
  border:none;
  color:#00ff99;
  font-size:14px;
  cursor:pointer;
  margin-top:8px;
  padding:0;
}

.desc-toggle:hover{
  text-decoration:none;
}
.desc-toggle{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.desc-toggle i{
  font-size:12px;
  transition:transform .3s ease;
}















/* ===== READING HISTORY ===== */
.history-list{
    max-width:800px;
    margin:30px auto;
    padding:0;
    list-style:none;
}

.history-item{
    color: #1a1a1a;
    display:flex;
    gap:14px;
    background:#fff;
    padding:14px;
    border-radius:16px;
    margin-bottom:14px;
    box-shadow:0 10px 28px rgba(0,0,0,.08);
    align-items:center;
}

.history-cover{
    width:70px;
    height:95px;
    border-radius:10px;
    overflow:hidden;
    flex-shrink:0;
}

.history-cover img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.history-info{
    flex:1;
}

.history-info h3{
    margin:0;
    font-size:16px;
    color:#1a1a1a;
}

.history-info .meta{
    font-size:13px;
    color:#666;
    margin-top:4px;
}

.history-info .continue{
    text-decoration: none;
    margin-top:8px;
    display:inline-block;
    font-size:13px;
    color:#3b6cff;
    font-weight:600;
}

.history-item:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 34px rgba(0,0,0,.12);
    transition:.25s;
}

.history-item a{
    text-decoration: none;
    cursor:pointer;
}



@media(max-width:600px){
    .history-cover{
        width:60px;
        height:85px;
    }
}


.novel-actions a{
    text-decoration:none;
}



.genre-link{
  background:#222;
  color:#fff;
  padding:4px 10px;
  border-radius:20px;
  font-size:13px;
  text-decoration:none;
}
.genre-link:hover{
  background:#444;
}

.genre-menu{
  display:flex;
  gap:10px;
  overflow-x:auto;
}
.genre-menu a{
  padding:6px 14px;
  background:#1e1e1e;
  color:#fff;
  border-radius:20px;
  text-decoration:none;
  font-size:14px;
}
.genre-menu a:hover{
  background:#333;
}






.suggestions-box {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #111;
    border: 1px solid #2a2a2a;
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    cursor: pointer;
    color: #fff;
    gap: 10px;
}

.suggestion-item img.sug-img {
    width: 40px;
    height: 55px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.suggestion-item:hover, .suggestion-item.active {
    background: #272727;
}

.suggestion-item.see-more {
    justify-content: center;
    font-weight: bold;
}




/* Popular slider */
.popular-card{
  width: 100%;
  display: flex;
  gap: 12px;
  background: #1c1c1c;
  padding: 30px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  flex-wrap: wrap;
}

@media(max-width:600px){
  .popular-card{
      height: 580px;
      flex-direction: column;
      align-items: center;
      padding: 10px;
  }
}

.popular-cover{
  width:200px;
  height:280px;
  object-fit:cover;
  border-radius:6px;
  flex-shrink:0;
}

.popular-info{
  flex: 1;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  align-items: flex-start; 
}

@media(max-width:600px){

  .popular-info{
    align-items: center;
  }

}

.popular-info h3{
  text-align:center;
  margin:0;
  font-size:16px;
  line-height:1.2em;
}


.popular-desc{
  text-align: justify;
  font-size:16px;
  color:#ccc;
  margin:5px 10px;
  overflow:hidden;
  /*width: 800px;*/
}

@media(max-width:600px){

  .popular-desc{
    font-size:12px;
    width:auto;
  }

}

.popular-meta{
  margin: 5px;
  display:flex;
  gap:14px;
  font-size:14px;
  color:#eee;
}

.popular-meta svg{
  fill: currentColor;
}
 
.popular-meta strong{
  color: gold;
}
.popular-meta strong>span{
  color: white;
}

.meta-item{
  display:flex;
  align-items:center;
  gap:4px;
}

/* exact feel */
.meta-item.rating{ 
  font-size:14px;
}    

.meta-item.bookmark{ 
  color:#eee;
}   /* cute red */
.meta-item.chapter{ 
  color:#eee; 
}    /* soft blue */
.meta-item.view{
  color:#eee;
}          /* neutral */





.ranking-page{
  max-width:1100px;
  margin:auto;
 /*padding:20px;*/
} 

/* TABS */
.ranking-tabs{
  gap:0;
  display:flex;
  column-gap: 10px;
  flex-wrap:wrap;
  margin-bottom:20px;
}
.ranking-tabs button{
  margin-bottom: .5rem;
  padding:10px 18px;
  border-radius:30px;
  border:none;
  background:#222;
  color:#bbb;
  cursor:pointer;
  font-weight:600;
}
.ranking-tabs .active{
  background:#5fe3b3;
  color:#000;
}

/* GRID */
.rank-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
  gap:18px;
}

/* CARD */
.rank-card{
  position:relative;
  background:#141414;
  border-radius:16px;
  overflow:hidden;
  transition:.25s;
}
.rank-card:hover{
  transform:translateY(-4px);
}

/* BADGE */
.rank-badge{
  position:absolute;
  top:10px;
  left:10px;
  background:#5fe3b3;
  color:#000;
  font-weight:bold;
  padding:4px 10px;
  border-radius:20px;
  font-size:13px;
  z-index:2;
}

/* LINK */
.rank-card-link{
  display:flex;
  gap:14px;
  padding:14px;
  color:#fff;
  text-decoration:none;
}

/* IMAGE */
.rank-cover{
  width:90px;
  height:125px;
  object-fit:cover;
  border-radius:10px;
}

/* INFO */
.rank-info h3{
  margin:0 0 6px;
  font-size:17px;
}
.rank-desc{
  font-size:13px;
  opacity:.75;
  margin-bottom:10px;
}


.rank-genre{
    display:inline-flex;
    align-items:center;
    padding:4px 12px;
    margin:6px 0;
    border-radius:30px;
    font-size:12px;
    font-weight:600;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    color:#fff;
    backdrop-filter:blur(10px);
}

.rank-info h4{
    margin-bottom:5px;
}



/* META */
.rank-meta{
  display:flex;
  gap:12px;
  font-size:13px;
  flex-wrap:wrap;
  opacity:.9;
}

/* PAGINATION */
.pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  margin:30px 0;
}
.pagination button{
  padding:8px 16px;
  border-radius:20px;
  border:none;
  background:#5fe3b3;
  color:#000;
  font-weight:bold;
  cursor:pointer;
}






.view-more-card{
  display:flex;
  align-items:center;
  justify-content:center;
 /* background:#111;
  min-width:160px; */
}

.view-more-inner{
  text-align:center;
  color:#fff;
}

.view-more-inner i{
  font-size:28px;
  margin-bottom:8px;
  display:block;
}

.view-more-inner span{
  font-size:14px;
  font-weight:600;
}





.ranking-more{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  margin-top:12px;
  border-radius:14px;
  background:linear-gradient(135deg,#111,#1f1f1f);
  color:#fff;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}

.ranking-more i{
  opacity:0.7;
}

.ranking-more:hover{
  transform:translateY(-2px);
  background:linear-gradient(135deg,#ff4d4d,#ff1f1f);
}


































/* ===== DISCORD CARD MOBILE FIX ===== */

.discord-card{
    width:100%;
    box-sizing:border-box;
    margin:15px 0;
    padding:18px 14px;
    text-align:center;
    color:#fff;
    border:1px solid rgba(255,255,255,0.05);
    overflow:hidden;
}

.discord-icon{
    width:55px;
    height:55px;
    margin:0 auto 14px;
    border-radius:16px;
    background:#5865F2;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:26px;
    box-shadow:0 0 15px rgba(88,101,242,0.35);
}

.discord-card h3{
    font-size:18px;
    line-height:1.4;
    margin-bottom:10px;
    font-weight:700;
}

.discord-card p{
    font-size:12px;
    line-height:1.7;
    color:#cfcfcf;
    margin-bottom:16px;
    word-break:break-word;
}

.discord-btn{
    width:100%;
    box-sizing:border-box;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:12px;
    border-radius:14px;
    text-decoration:none;
    background:#5865F2;
    color:#fff;
    font-size:14px;
    font-weight:600;
}

.discord-btn span{
    font-size:16px;
}

.discord-card small{
    display:block;
    margin-top:12px;
    color:#8d8d8d;
    font-size:11px;
}

/* EXTRA MOBILE FIX */
@media(max-width:480px){

    .discord-card{
        padding:15px 12px;
    }

    .discord-card h3{
        font-size:16px;
    }

    .discord-card p{
        font-size:11px;
    }

    .discord-btn{
        font-size:13px;
        padding:11px;
    }
}



























/* =========================
   RECENT UPDATE SWIPER
========================= */

.recent-update-section{
    padding:20px;
    border-radius:20px;
    background:#171717;
    background: linear-gradient(135deg, #111, #1f1f1f);
}

.recent-head{
    padding: 5px;
    border-bottom: 1px solid #636467;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.recent-head h2{
    color:#fff;
    font-size:28px;
    font-weight:700;
}

.recent-head a{
    text-align: center;
    color:#8d8d8d;
    text-decoration:none;
    font-size:14px;
}

/* SLIDE GROUP */

.recent-slide-group{
    display:flex;
    flex-direction:column;
}

/* ITEM */

.recent-update-item{
    display:flex;
    gap:14px;

    padding:14px 0;

    border-bottom:1px solid rgba(255,255,255,0.08);

    text-decoration:none;
}

.recent-update-item:last-child{
    border-bottom:none;
}

.recent-update-item img{
    width:45px;
    height:65px;

    border-radius:8px;

    object-fit:cover;

    flex-shrink:0;
}

.recent-update-info{
    display: flex;
    justify-content:space-between;
    flex:1;
    overflow:hidden;
}



.recent-update-info h3{
    margin-top:0;
    margin-bottom:8px;

    color:#fff;
    font-size:18px;
    line-height:1.4;

    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;

    overflow:hidden;
    text-overflow:ellipsis;

    white-space:normal;
    word-break:break-word;
}


.recent-update-info p{
    margin-top: 0;
    color:#d4d4d4;

    font-size:14px;

    margin-bottom:4px;

    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.recent-update-info span{
    color:#8c8c8c;
    font-size:12px;
}

/* PAGINATION */

.recent-pagination{
    margin-top:15px;
    text-align:center;
}

/* MOBILE */

@media(max-width:480px){

    .recent-head h2{
        font-size:18px;
    }
    
    .recent-update-info {
        display:block;
    }
    
    .recent-update-info h3{
        margin-top: 0;
        font-size:15px;
    }

    .recent-update-info p{
        font-size:13px;
    }

}




















/* =========================
   FOOTER
========================= */

.main-footer{
    border-radius: 20px;
    margin-top:60px;
    background:#111;
    color:#ccc;
    border-top:1px solid #2b2b2b;
}

.footer-container{
    max-width:1400px;
    margin:auto;
    padding:50px 20px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.footer-box h2,
.footer-box h3{
    color:#fff;
    margin-bottom:18px;
}

.footer-logo{
    font-size:32px;
    font-weight:800;
    background:linear-gradient(45deg,#00bbff,#ff3d00);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.footer-box p{
    line-height:1.8;
    font-size:15px;
    color:#aaa;
}

.footer-box ul{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-box ul li{
    margin-bottom:12px;
}

.footer-box ul li a{
    text-decoration:none;
    color:#bbb;
    transition:0.3s;
    font-size:15px;
}

.footer-box ul li a:hover{
    color:#ff9800;
    padding-left:5px;
}

.social-links{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.social-links a{
    text-decoration:none;
    color:#bbb;
    transition:0.3s;
    font-size:15px;
}

.social-links a:hover{
    color:#ff9800;
    transform:translateX(5px);
}

.footer-bottom{
    border-top:1px solid #2a2a2a;
    text-align:center;
    padding:18px;
    font-size:14px;
    color:#888;
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .footer-container{
        text-align: center;
        grid-template-columns:1fr;
        gap:30px;
    }

    .footer-logo{
        font-size:28px;
    }

}































/* =========================
   LANGUAGE DROPDOWN
========================= */

.lang-dropdown{
    text-align: center;
    position:relative;
}

.lang-btn{
    border:none;
    background:#1f1f1f;
    color:#fff;
    padding:10px 14px;
    border-radius:30px;
    cursor:pointer;
    font-size:14px;
}

.lang-menu{
    position:absolute;
    top:50px;
    right:0;
    width:250px;
    background:#1a1a1a;
    border-radius:15px;
    overflow:hidden;
    display:none;
    z-index:999;
    box-shadow:0 10px 30px rgba(0,0,0,.4);
}

.lang-dropdown:hover .lang-menu{
    display:block;
}

.lang-menu a{
    display:block;
    padding:12px 16px;
    color:#fff;
    text-decoration:none;
    border-bottom:1px solid rgba(255,255,255,.05);
    transition:.3s;
}

.lang-menu a:hover{
    background:#ff5722;
}