/* ================= RESET ================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, sans-serif;
}

body{
  background:#0d0d0d;
  color:#fff;
}

/* ================= HEADER ================= */
.header{
  position:sticky;
  top:0;
  background:#111;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 18px;
  z-index:999;
}

/* FIX LOGO */
.header img{
  width:28px;
  height:28px;
  object-fit:cover;
}

.logo{
  font-weight:bold;
  font-size:18px;
}

.menu-btn,
.search-btn{
  font-size:22px;
  cursor:pointer;
}

/* ================= SIDEBAR ================= */
.sidebar{
  position:fixed;
  left:-260px;
  top:0;
  width:260px;
  height:100%;
  background:#141414;
  padding:20px;
  transition:0.3s;
  z-index:1000;
}

.sidebar.show{
  left:0;
}

.sidebar a{
  display:block;
  margin:18px 0;
  color:#fff;
  text-decoration:none;
  font-size:15px;
}

.close-btn{
  text-align:right;
  font-size:22px;
  cursor:pointer;
}

/* ================= SEARCH ================= */
.search-box{
  display:none;
  padding:15px 20px;
  background:#111;
}

.search-box.show{
  display:block;
}

.search-box input{
  width:100%;
  padding:12px;
  border:none;
  border-radius:10px;
  background:#1c1c1c;
  color:#fff;
}

/* ================= SLIDER SMOOTH ================= */

.slider{
  overflow:hidden;
  margin:0 20px 20px;
  border-radius:18px;
}

.slider-track{
  display:flex;
  transition:transform 0.5s ease;
}

.slide{
  min-width:100%;
  height:190px;
  object-fit:cover;
  }

/* ================= SECTION TITLE ================= */
.section-title{
  margin:24px 20px 14px;
  font-size:18px;
  font-weight:bold;
}

/* ================= GRID 3 KOLOM ================= */
.popular{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  padding:0 20px 20px;
}

.pop-card{
  background:#161616;
  border-radius:18px;
  overflow:hidden;
  transition:0.2s;
}

.pop-card img{
  width:100%;
  display:block;
  object-fit:cover;
}

.pop-card:active{
  transform:scale(0.97);
}

/* ================= FOOTER ================= */
footer{
  background:#0f0f0f;
  padding:50px 22px 35px;
  margin-top:60px;
}

.footer-container{
  max-width:500px;
  margin:auto;
}

.footer-logo{
  font-size:20px;
  font-weight:700;
  letter-spacing:1px;
  color:#f2e6d9; /* cream muda */
  margin-bottom:18px;
}

.footer-desc{
  font-size:14px;
  line-height:1.7;
  color:#b8b8b8;
  margin-bottom:12px;
}

.footer-follow{
  margin-top:35px;
}

.follow-title{
  font-size:16px;
  font-weight:600;
  color:#f2e6d9; /* cream muda */
  margin-bottom:16px;
  letter-spacing:0.5px;
}

.socials{
  display:flex;
  gap:28px;
}

.socials a{
  text-decoration:none;
  font-size:14px;
  color:#9a9a9a;
  transition:0.25s ease;
  position:relative;
}

.socials a:hover{
  color:#f2e6d9;
}

.footer-bottom{
  margin-top:45px;
  font-size:12px;
  color:#555;
  text-align:center;
  letter-spacing:0.5px;
  }

/* ================= PAYMENT ================= */

.payment-title{
  margin-top:32px;
  color:#f5e6d3;
  font-size:16px;
  letter-spacing:1px;
}

.payment-wrapper{
  overflow:hidden;
  margin-top:18px;
}

.payment-track{
  display:flex;
  gap:28px;
  width:max-content;
  animation:scrollPayment 25s linear infinite;
  align-items:center;
}

.payment-track img{
  height:48px;
  width:48px;
  object-fit:contain;
  background:#1a1a1a;
  padding:10px;
  border-radius:14px;
  opacity:0.95;
  transition:0.3s;
  }

.payment-track img:hover{
  opacity:1;
  transform:scale(1.05);
}

@keyframes scrollPayment{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}

/* ================= RESPONSIVE ================= */
@media(max-width:400px){
  .popular{
    grid-template-columns:repeat(3,1fr);
  }
}
