/* =========================
   RESET
========================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins',sans-serif;
  background:
linear-gradient(
135deg,
#272626 0%,
#f5f1f4 35%,
#f4f1f5 70%,
#f4f3f5 100%
);

box-shadow:
0 0 40px rgba(63, 2, 48, 0.25);
  color:#111;
  overflow-x:hidden;
}

/* =========================
   GLOBAL
========================= */
a{
  text-decoration:none;
  color:inherit;
}

img{
  width:100%;
  display:block;
}

.container{
  width:100%;
  max-width:1280px;
  margin:auto;
  padding:0 16px;
}

/* =========================
   SCROLLBAR
========================= */
::-webkit-scrollbar{
  width:8px;
}

::-webkit-scrollbar-track{
  background:#f3f3f3;
}

::-webkit-scrollbar-thumb{
  background:linear-gradient(to bottom,#2c0338,#36072a);
  border-radius:20px;
}

/* =========================
   TOPBAR
========================= */
.topbar{
  background:
  linear-gradient(90deg,#111,#1f1f1f);

  color:#380135;

  font-size:12px;

  border-bottom:
  2px solid #330127;
}

.topbar-flex{
  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:10px 0;
}

.topbar span{
  color:#30012c;
}

/* =========================
   HEADER
========================= */
.header{
  position:sticky;
  top:0;
  z-index:999;

  background:#fff;

  border-bottom:
  1px solid #ececec;
}

.header-wrapper{
  display:flex;
  align-items:center;
  gap:15px;

  padding:18px 0;
}

/* =========================
   LOGO
========================= */
.logo{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo-icon{
  width:52px;
  height:52px;

  border-radius:16px;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:22px;

  background:
  linear-gradient(135deg,#3a0137,#3e0144);

  color:#fff;

  box-shadow:
  0 10px 25px rgba(255, 0, 242, 0.25);
}

.logo-text h1{
  font-size:22px;
  font-weight:800;
  color:#111111;
}

.logo-text p{
  font-size:12px;
  color:#777;
  margin-top:2px;
}

/* =========================
   SEARCH
========================= */
.search-box{
  flex:1;
  position:relative;
}

.search-box input{
  width:100%;
  height:52px;

  border:none;
  outline:none;

  border-radius:16px;

  background:#f7f7f7;

  padding:0 58px 0 18px;

  font-size:14px;

  border:1px solid #ececec;

  transition:.3s;
}

.search-box input:focus{
  border-color:#30022e;

  box-shadow:
  0 0 0 4px rgba(255, 0, 255, 0.12);
}

.search-box button{
  position:absolute;
  right:6px;
  top:6px;

  width:40px;
  height:40px;

  border:none;
  border-radius:12px;

  cursor:pointer;

  background:
  linear-gradient(135deg,#4b0745,#e100ff);

  color:#fff;
}

/* =========================
  
========================= */

/* =========================
  

/* =========================
   HERO
========================= */
.hero-section{
  padding:25px 0;
}

.hero-main{
  border-radius:28px;
  overflow:hidden;

  background:#f7f7f7;
}

/* HERO IMAGE */
.hero-image{
  position:relative;
  overflow:hidden;
}

.hero-image img{
  height:500px;
  object-fit:cover;

  transition:.5s;
}

.hero-image:hover img{
  transform:scale(1.04);
}

/* OVERLAY */
.hero-overlay{
  position:absolute;
  inset:0;

  display:flex;
  flex-direction:column;
  justify-content:flex-end;

  padding:35px;

  background:
  linear-gradient(to top,
  rgba(0,0,0,.92),
  rgba(0,0,0,.35),
  transparent);
}

/* CATEGORY */
.hero-overlay .category{
  display:inline-flex;

  width:max-content;

  padding:8px 16px;

  border-radius:999px;

  background:
  linear-gradient(135deg,#ea00ff,#ff00dd);

  color:#fff;

  font-size:12px;
  font-weight:700;

  margin-bottom:16px;
}

/* TITLE */
.hero-overlay h1{
  font-size:38px;
  line-height:1.35;

  color:#fff;

  margin-bottom:14px;
}

/* DESC */
.hero-overlay p{
  color:#ddd;

  font-size:15px;

  line-height:1.8;

  max-width:750px;
}

/* =========================
   SECTION TITLE
========================= */
.section-title{
  margin-bottom:24px;
}

.section-title span{
  display:inline-block;

  font-size:12px;
  font-weight:700;

  letter-spacing:1px;

  color:#ff009d;

  margin-bottom:8px;
}

.section-title h2{
  font-size:30px;
  color:#111;
}

/* =========================
   TRENDING
========================= */
.trending-section{
  padding:10px 0 30px;
}

.trending-wrapper{
  display:flex;
  gap:20px;

  overflow-x:auto;

  padding-bottom:5px;
}

.trending-wrapper::-webkit-scrollbar{
  display:none;
}

/* TRENDING CARD */
.trending-item{
  min-width:280px;

  background:#fff;

  border-radius:24px;

  overflow:hidden;

  border:1px solid #ececec;

  transition:.3s;
}

.trending-item:hover{
  transform:translateY(-5px);

  box-shadow:
  0 20px 40px rgba(0,0,0,.08);
}

.trending-item img{
  height:180px;
  object-fit:cover;
}

.trending-content{
  padding:18px;
}

.trending-content h4{
  font-size:16px;
  line-height:1.5;

  margin-bottom:10px;

  color:#111;
}

.trending-content span{
  font-size:12px;
  font-weight:600;

  color:#ff00d4;
}

/* =========================
   NEWS SECTION
========================= */
.news-section{
  padding:20px 0 60px;
}

/* NEWS GRID */
.news-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
}

/* CARD */
.news-card{
  background:#fff;

  border-radius:26px;

  overflow:hidden;

  border:1px solid #ececec;

  transition:.35s;
}

.news-card:hover{
  transform:translateY(-6px);

  box-shadow:
  0 25px 50px rgba(0,0,0,.08);
}

/* IMAGE */
.news-card img{
  height:240px;
  object-fit:cover;
}

/* CONTENT */
.news-content{
  padding:22px;
}

/* CATEGORY */
.news-content .category{
  display:inline-flex;

  padding:7px 14px;

  border-radius:999px;

  background:
  rgba(4, 0, 255, 0.1);

  color:#ea00ff;

  font-size:11px;
  font-weight:700;

  margin-bottom:14px;
}

/* TITLE */
.news-content h3{
  font-size:20px;
  line-height:1.5;

  color:#111;

  margin-bottom:12px;
}

/* DESC */
.news-content p{
  font-size:14px;
  line-height:1.8;

  color:#666;
}

/* =========================
   FOOTER
========================= */
.footer{
  background:
  linear-gradient(135deg,#111,#1a1a1a);

  color:#fff;

  margin-top:30px;

  position:relative;

  overflow:hidden;
}

/* TOP */
.footer-top{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;

  gap:40px;

  padding:70px 0 50px;
}

/* BRAND */
.footer-logo{
  font-size:30px;
  font-weight:800;

  margin-bottom:18px;
}

.footer-brand p{
  color:#bdbdbd;

  line-height:1.9;

  max-width:420px;
}

/* MENU */
.footer-menu h3,
.footer-contact h3{
  font-size:18px;

  margin-bottom:20px;

  color:#fff;
}

.footer-menu{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.footer-menu a{
  color:#cfcfcf;

  transition:.3s;
}

.footer-menu a:hover{
  color:#ff009d;

  transform:translateX(4px);
}

/* CONTACT */
.contact-item{
  margin-bottom:18px;
}

.contact-item span{
  display:block;

  font-size:12px;
  color:#ff0095;

  margin-bottom:5px;
}

.contact-item p{
  color:#d6d6d6;
  line-height:1.7;
}

/* BOTTOM */
.footer-bottom{
  padding:24px 0;

  border-top:
  1px solid rgba(255,255,255,.08);

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.footer-bottom p{
  color:#aaa;
  font-size:13px;
}

.footer-bottom-links{
  display:flex;
  gap:18px;
}

.footer-bottom-links a{
  color:#ccc;
  font-size:13px;

  transition:.3s;
}

.footer-bottom-links a:hover{
  color:#ff00b3;
}

/* =========================
   LOADING
========================= */
.loading-box{
  height:500px;

  display:flex;
  align-items:center;
  justify-content:center;

  color:#888;

  background:#f5f5f5;
}

/* =========================
   TABLET
========================= */
@media(min-width:768px){

  .news-grid{
    grid-template-columns:repeat(2,1fr);
  }

}

/* =========================
   DESKTOP
========================= */
@media(min-width:1100px){

  .news-grid{
    grid-template-columns:repeat(3,1fr);
  }

}

/* =========================
   MOBILE
========================= */
@media(max-width:768px){

  .topbar-right{
    display:none;
  }

  .header-wrapper{
    gap:10px;
  }

  .logo-text p{
    display:none;
  }

  .hero-image img{
    height:320px;
  }

  .hero-overlay{
    padding:22px;
  }

  .hero-overlay h1{
    font-size:24px;
  }

  .hero-overlay p{
    font-size:13px;
  }

  .section-title h2{
    font-size:24px;
  }

  .news-card img{
    height:210px;
  }

  .footer-top{
    grid-template-columns:1fr;
    gap:30px;
  }

  .footer-bottom{
    flex-direction:column;
    text-align:center;
  }

}


/* =========================
   BACK BUTTON
========================= */
.detail-back{
  margin-bottom:30px;
}

.back-button{
  display:inline-flex;
  align-items:center;
  gap:12px;

  padding:14px 22px;

  border-radius:16px;

  background:#fff;

  border:1px solid #ececec;

  color:#111;

  font-size:14px;
  font-weight:600;

  transition:.3s;

  box-shadow:
  0 10px 30px rgba(0,0,0,.04);
}

/* ICON */
.back-icon{
  width:34px;
  height:34px;

  border-radius:10px;

  display:flex;
  align-items:center;
  justify-content:center;

  background:
  linear-gradient(135deg,#ff00d4,#ff00bf);

  color:#fff;

  font-size:15px;
}

/* HOVER */
.back-button:hover{
  transform:translateY(-3px);

  box-shadow:
  0 20px 40px rgba(0,0,0,.08);
}




/* =========================
   DETAIL CONTAINER
========================= */
.detail-container{
  background:#fff;
  border-radius:24px;
  overflow:hidden;

  border:1px solid #ececec;

  box-shadow:
  0 15px 40px rgba(0,0,0,.05);
}

/* =========================
   IMAGE
========================= */
.detail-image img{
  width:100%;
  height:500px;

  object-fit:cover;

  display:block;
}

/* =========================
   CATEGORY
========================= */
.detail-category{
  display:inline-flex;

  margin:35px 35px 20px;

  padding:8px 16px;

  border-radius:999px;

  background:
  linear-gradient(135deg,#ff00dd,#ff00c8);

  color:#fff;

  font-size:12px;
  font-weight:700;
}

/* =========================
   TITLE
========================= */
.detail-title{
  font-size:40px;
  line-height:1.4;

  color:#111;

  padding:0 35px;

  margin-bottom:20px;
}

/* =========================
   META
========================= */
.detail-meta{
  padding:0 35px 25px;

  color:#777;

  font-size:14px;

  border-bottom:1px solid #ececec;
}

/* =========================
   CONTENT
========================= */
.detail-content{
  padding:35px;

  color:#444;

  font-size:16px;

  line-height:2;
}

/* PARAGRAPH */
.detail-content p{
  margin-bottom:24px;
}

/* IMAGE INSIDE CONTENT */
.detail-content img{
  width:100%;

  border-radius:20px;

  margin:30px 0;
}

/* HEADING */
.detail-content h2{
  font-size:30px;

  margin-top:40px;
  margin-bottom:18px;

  color:#111;
}

.detail-content h3{
  font-size:24px;

  margin-top:35px;
  margin-bottom:16px;

  color:#111;
}

/* LIST */
.detail-content ul,
.detail-content ol{
  padding-left:24px;

  margin-bottom:24px;
}

.detail-content li{
  margin-bottom:12px;
}

/* BLOCKQUOTE */
.detail-content blockquote{
  padding:24px;

  border-left:5px solid #ff00b3;

  background:#fff7ef;

  border-radius:18px;

  margin:30px 0;

  font-style:italic;
}

/* =========================
   MOBILE
========================= */
@media(max-width:768px){

  .detail-image img{
    height:260px;
  }

  .detail-category{
    margin:20px 20px 16px;
  }

  .detail-title{
    font-size:28px;

    padding:0 20px;
  }

  .detail-meta{
    padding:0 20px 20px;
  }

  .detail-content{
    padding:25px 20px;

    font-size:15px;
  }

}


/* =========================
   DETAIL SIDEBAR
========================= */
.detail-sidebar{
  display:flex;
  flex-direction:column;
  gap:24px;
}

/* =========================
   SIDEBAR CARD
========================= */
.sidebar-card{
  background:#fff;

  border-radius:24px;

  padding:24px;

  border:1px solid #ececec;

  box-shadow:
  0 10px 30px rgba(0,0,0,.04);
}

/* =========================
   SIDEBAR TITLE
========================= */
.sidebar-card-title{
  font-size:20px;
  font-weight:700;

  color:#111;

  margin-bottom:22px;

  padding-bottom:16px;

  border-bottom:1px solid #f1f1f1;
}

/* =========================
   POPULAR LIST
========================= */
.popular-list{
  display:flex;
  flex-direction:column;
  gap:18px;
}

/* =========================
   POPULAR ITEM
========================= */
.popular-item{
  display:flex;
  gap:14px;

  align-items:flex-start;

  padding-bottom:18px;

  border-bottom:1px solid #f3f3f3;

  transition:.3s;
}

/* LAST CHILD */
.popular-item:last-child{
  border-bottom:none;
  padding-bottom:0;
}

/* HOVER */
.popular-item:hover{
  transform:translateX(4px);
}

/* IMAGE */
.popular-item img{
  width:90px;
  height:75px;

  object-fit:cover;

  border-radius:14px;

  flex-shrink:0;
}

/* CONTENT */
.popular-content{
  flex:1;
}

/* TITLE */
.popular-content h4{
  font-size:14px;
  line-height:1.6;

  color:#111;

  margin-bottom:8px;

  transition:.3s;
}

/* HOVER TITLE */
.popular-item:hover h4{
  color:#ff00d4;
}

/* CATEGORY */
.popular-content span{
  display:inline-flex;

  padding:4px 10px;

  border-radius:999px;

  background:
  rgba(17, 0, 255, 0.1);

  color:#ff008c;

  font-size:11px;
  font-weight:600;
}

/* =========================
   ABOUT TEXT
========================= */
.sidebar-about{
  color:#666;

  font-size:14px;

  line-height:1.9;
}





/* =========================
  scriptttttt tambahan jeee 
========================= */




