* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(to bottom, #fffbe7, #fff4c2);
  color: #333;
  line-height: 1.6;
}

header {
  background: linear-gradient(to right, #ffb300, #ffc107);
  padding: 25px 20px;
  text-align: center;
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

nav {
  display: flex;
  justify-content: center;
  background-color: #ffe082;
  padding: 12px;
  gap: 12px;
  flex-wrap: wrap;
  box-shadow: inset 0 -1px 0 #fbc02d;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  padding: 8px 16px;
  background: #fff8e1;
  border: 2px solid #ffd54f;
  border-radius: 30px;
  transition: all 0.3s ease;
}

nav a:hover {
  background-color: #ffe082;
  transform: scale(1.05);
}

main {
  display: flex;
  flex-direction: row;
  padding: 30px 20px;
  gap: 30px;
}

.content {
  flex: 3;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}
.content h1,
.content h2,
.content h2 a {
  margin-bottom: 15px;
  text-decoration: none;
  font-size: 24px;
  color: #d68900;
}

.content img {
  max-width: 100%;
  margin: 0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

button {
  margin-top: 20px;
  padding: 10px 25px;
  background: linear-gradient(to right, #ffb300, #ffa000);
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(255, 160, 0, 0.3);
  transition: all 0.3s ease;
}

button:hover {
  background: #ff9800;
  transform: scale(1.05);
}

.ads {
  margin: 10px auto;
  border-radius: 10px;
  overflow: hidden;
}
#ads1,
#ads3 {
  position: relative;
}
.produk-ads::after {
  content: "Bersponsor";
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #fe2c55;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  padding: 4px 6px;
  border-radius: 4px;
}
.ads img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ads img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.rightbar {
  flex: 1;
  padding-left: 10px;
  height: fit-content;
}

.rightbar .sosmed,
.rightbar .links {
  margin-bottom: 25px;
  background: #fffdf4;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.rightbar ul {
  list-style: none;
  padding: 0;
}

.rightbar ul li {
  margin: 10px 0;
}

.rightbar ul li a {
  color: #555;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.rightbar ul li a:hover {
  text-decoration: underline;
  color: #f57c00;
}

footer {
  background-color: #333;
  color: white;
  padding: 18px;
  text-align: center;
  margin-top: 40px;
  font-size: 15px;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.05);
}

@media (min-width: 769px) {
  .rightbar {
    position: sticky;
    top: 20px;
    align-self: flex-start;
  }
}

@media (max-width: 768px) {
  main {
    flex-direction: column;
  }

  .rightbar {
    order: 1;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
  }

  .rightbar .sosmed,
  .rightbar .links {
    width: 100%;
  }

  .content {
    padding: 15px;
  }
  header {
    font-size: 19px;
  }
  nav {
    font-size: 10px;
  }
  #ads2,
  #ads3 {
    display: none;
  }
}
hr {
  border: none;
  height: 2px;
  background: linear-gradient(to right, #ff6a00, #ee0979);
  margin: 30px 0;
  border-radius: 1px;
}
blockquote {
  font-style: italic;
  color: #555;
  background: #f9f9f9;
  border-left: 5px solid #3498db;
  margin: 1.5em 10px;
  padding: 1em 1.5em;
  position: relative;
  font-size: 1.1em;
  line-height: 1.6;
  border-radius: 5px;
}

blockquote::before {
  content: open-quote;
  font-size: 2em;
  color: #3498db;
  position: absolute;
  left: 10px;
  top: 5px;
}

blockquote::after {
  content: close-quote;
  font-size: 2em;
  color: #3498db;
  position: absolute;
  right: 10px;
  bottom: 5px;
}
.artikel-info {
  font-size: 14px;
  color: #555;
  background-color: #f9f9f9;
  border-left: 4px solid #00aaff;
  padding: 10px 15px;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.artikel-info p {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.artikel-info .published {
  color: #444;
  margin-bottom: 5px;
}

.artikel-info .updated {
  color: #008800;
  font-weight: bold;
}
.product-gallery {
  padding: 20px 10px;
  background: linear-gradient(10deg, #fe2c55, #25f4ee);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
}

.product-gallery h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #111;
}

.product-gallery h2::before {
  content: "🎵 ";
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.product-item {
  width: 160px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  text-align: left;
  position: relative;
}

.product-item:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.product-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.product-item p {
  padding: 10px;
  background: linear-gradient(35deg, #fe2c55, #25f4ee);
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-item::after {
  content: "PROMO";
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #fe2c55;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 4px 6px;
  border-radius: 4px;
}

a {
  text-decoration: none;
  color: inherit;
}
.image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}
.image-artikel {
  width: 400px;
  max-width: 80%;
  height: auto;
  display: block;
  margin: 20px auto; /* Horizontal center */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}
.image-artikel:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
