/* ===== HERO / SLIDER ===== */

.hero{
  margin-top:20px;
}

.slider{
  position:relative;
  min-height:520px;
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow);
  border:1px solid var(--border);
}

.slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transition:opacity .6s;
}

.slide.active{
  opacity:1;
}

.slide-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 80% 18%, rgba(168,85,247,.10), transparent 24%),
    linear-gradient(90deg, rgba(11,7,22,.52), rgba(11,7,22,.12));
}

.hero-card{
  position:absolute;
  left:48px;
  right:auto;
  bottom:40px;
  max-width:520px;
  background:rgba(20,14,40,.18);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  border:1px solid rgba(255,255,255,.06);
  padding:24px;
  border-radius:20px;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}

.hero-topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
  flex-wrap:wrap;
}

.hero-title{
  font-size:42px;
  font-weight:900;
  line-height:1.05;
  margin-bottom:10px;
  letter-spacing:.2px;
  text-shadow:0 2px 10px rgba(0,0,0,.65), 0 1px 2px rgba(0,0,0,.55);
}

.hero-desc{
  margin-bottom:18px;
  color:rgba(243,237,255,.92);
  font-size:15px;
  text-shadow:0 2px 10px rgba(0,0,0,.65), 0 1px 2px rgba(0,0,0,.55);
}

.hero-buttons{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.hero-chips{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.hero-chip{
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.10);
  font-size:12px;
  font-weight:800;
  text-shadow:0 2px 10px rgba(0,0,0,.65), 0 1px 2px rgba(0,0,0,.55);
}

.hero-status{
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  text-shadow:0 2px 10px rgba(0,0,0,.65), 0 1px 2px rgba(0,0,0,.55);
}

.hero-status.ongoing{
  background:#22c55e;
  color:#08130c;
}

.hero-status.complete{
  background:#ef4444;
  color:#fff;
}

.slider-nav{
  position:absolute;
  inset:auto 16px 16px auto;
  display:flex;
  gap:10px;
  z-index:3;
}

.slider-nav button{
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.45);
  color:#fff;
  font-size:22px;
}

.slider-dots{
  position:absolute;
  left:50%;
  bottom:20px;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  z-index:3;
}

.slider-dots .dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(255,255,255,.35);
}

.slider-dots .dot.active{
  background:#fff;
}

/* ===== HOME SECTIONS ===== */

.home-section{
  margin-top:34px;
}

.home-split{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:18px;
  margin-top:34px;
}

/* ===== ROWS / CARDS ===== */

.row{
  display:flex;
  gap:16px;
  overflow-x:auto;
  padding-bottom:8px;
  scroll-snap-type:x mandatory;
}

.row::-webkit-scrollbar{
  height:8px;
}

.row::-webkit-scrollbar-thumb{
  background:#3c2a6e;
  border-radius:10px;
}

.row--tight{
  align-items:stretch;
}

.manga-card{
  position:relative;
  min-width:190px;
  background:var(--card);
  border-radius:18px;
  padding:12px;
  border:1px solid var(--border);
  scroll-snap-align:start;
  box-shadow:var(--shadow);
  transition:.2s;
}

.manga-card:hover{
  transform:translateY(-4px);
  border-color:rgba(168,85,247,.45);
}

.row--tight .manga-card{
  min-width:186px;
  flex:0 0 186px;
}

.cover{
  height:240px;
  border-radius:14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)),
    #211a3a;
  margin-bottom:12px;
}

.row--tight .cover{
  height:250px;
}

.card-title{
  font-weight:800;
  font-size:15px;
  margin-bottom:4px;
}

.card-sub{
  color:var(--muted);
  font-size:13px;
}

/* ===== LATEST CHAPTERS ===== */

.chapter-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.chapter-item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px;
  border-radius:16px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
}

.chapter-thumb{
  width:52px;
  height:72px;
  border-radius:12px;
  background:#211a3a;
  flex:0 0 auto;
}

.chapter-body{
  min-width:0;
  flex:1;
}

.chapter-name{
  font-weight:800;
  margin-bottom:4px;
}

.chapter-meta{
  color:var(--muted);
  font-size:13px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.chapter-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  background:rgba(168,85,247,.18);
  border:1px solid rgba(168,85,247,.25);
}

/* ===== ANNOUNCEMENT ===== */

.announcement{
  padding:24px;
  background:
    radial-gradient(circle at top right, rgba(168,85,247,.18), transparent 30%),
    var(--card);
  border:1px solid var(--border);
  border-radius:20px;
  box-shadow:var(--shadow);
  text-align:center;
}

.announcement h3{
  margin-bottom:10px;
  font-size:24px;
  font-weight:900;
}

.announcement p{
  color:var(--muted);
  margin-bottom:16px;
}

@media(max-width:900px){
  .slider{
    min-height:0;
    aspect-ratio:16 / 10;
  }

  .slide-overlay{
    background:
      linear-gradient(180deg, rgba(11,7,22,.14), rgba(11,7,22,.42));
  }

  .hero-card{
    left:14px;
    right:14px;
    bottom:14px;
    max-width:none;
    padding:14px;
    background:rgba(20,14,40,.08);
    backdrop-filter:blur(2px);
    -webkit-backdrop-filter:blur(2px);
    border:1px solid rgba(255,255,255,.04);
    box-shadow:none;
  }

  .hero-topline{
    margin-bottom:10px;
  }

  .hero-title{
    font-size:30px;
    margin-bottom:8px;
  }

  .hero-desc{
    font-size:14px;
    line-height:1.45;
    margin-bottom:14px;
  }

  .hero-chips{
    gap:6px;
  }

  .hero-chip{
    padding:5px 8px;
    font-size:11px;
  }

  .home-split{
    grid-template-columns:1fr;
  }

  .cover{
    height:220px;
  }

  .manga-card{
    min-width:158px;
  }

  .row--tight .manga-card{
    min-width:158px;
    flex:0 0 158px;
  }

  .row--tight .cover{
    height:220px;
  }
}