/* ================================================
   CHUNG: CÁC THIẾT LẬP CHUNG CHO TẤT CẢ CÁC STYLE
   ================================================ */
.toplist-container {
  margin: 24px auto;
}

/* Thiết lập chung cho items */
.toplist-item {
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.toplist-item p,
.toplist-item span,
.toplist-item a,
.toplist-item h3 {
  margin: 0 !important;
}

.toplist-item-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.toplist-item-name {
  margin: 0;
  font-size: 1.4em;
  font-weight: 600;
  color: inherit;
}

.toplist-item-description {
  color: #999;
  line-height: 1.6;
  font-size: 0.95em;
}

.toplist-item-link {
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.toplist-item-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #777;
  font-size: 0.9em;
}

.toplist-item-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.star {
  font-size: 1.2em;
}

.star.full {
  color: #ffc107;
}

.star.half {
  color: #ffc107;
  position: relative;
}

.star.half::after {
  content: "☆";
  position: absolute;
  left: 0;
  color: #e0e0e0;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.star.empty {
  color: #e0e0e0;
}

.rating-value {
  margin-left: 4px;
  font-weight: 500;
}

/* ================================================
   STYLE 1: Light Card Layout – Thẻ Sáng, Bo Góc Nhẹ
   ================================================ */
.toplist-container.style-1 .toplist-item {
  background: #ffffff;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  margin-bottom: 20px;
  padding: 20px;
  display: flex;
  gap: 20px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.01);
}

.toplist-container.style-1 .toplist-item-order {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 1.2em;
  font-weight: bold;
  color: #555;
  background: #fff;
  padding: 4px 8px;
  border-radius: 0 0 6px 0;
  border: 1px solid #e1e1e1;
}

.toplist-container.style-1 .toplist-item-logo {
  flex: 0 0 100px;
  height: 100px;
  width: 100px;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
  border: 1px solid #e1e1e1;
}

.toplist-container.style-1 .toplist-item-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 350px;
}

.toplist-container.style-1 .toplist-item-promotion-full {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.toplist-container.style-1 .toplist-item-promotion {
  color: #218838;
  font-size: 20px;
  font-weight: 600;
}

.toplist-container.style-1 .toplist-item-description-promotion {
  margin-top: 6px;
  font-size: 16px;
  color: #666;
}

.toplist-container.style-1 .toplist-item-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
}

.toplist-container.style-1 .toplist-item-link {
  background: var(--primary-color);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  max-width: 140px;
  min-width: 140px;
}

.toplist-container.style-1 .toplist-item-link:hover {
  background: var(--secondary-color);
}

.toplist-container.style-1 .rating-value {
  color: #333;
  font-size: 0.9em;
}

@media screen and (max-width: 768px) {
  .toplist-container.style-1 .toplist-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .toplist-container.style-1 .toplist-item-logo {
    height: 100px;
    width: 100px;
    margin-bottom: 12px;
  }
  .toplist-container.style-1 .toplist-item-buttons {
    width: 100%;
  }
  .toplist-container.style-1 .toplist-item-link {
    max-width: none;
    min-width: auto;
    width: 100%;
  }
}

/* ================================================
   STYLE 2: Grid Cards with Overlay – Lưới Ảnh Chồng Lớp
   ================================================ */
.toplist-container.style-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 3fr));
  gap: 24px;
}

.toplist-container.style-2 .toplist-item {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.toplist-container.style-2 .toplist-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.toplist-container.style-2 .toplist-item-order {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-size: 1.4em;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.toplist-container.style-2 .toplist-item-media {
  position: relative;
  height: 180px;
  background: #f0f0f0;
}

.toplist-container.style-2 .toplist-item-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.toplist-container.style-2 .toplist-item-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.toplist-container.style-2 .toplist-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-sizing: border-box;
}

.toplist-container.style-2 .toplist-item-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toplist-container.style-2 .toplist-item-content .toplist-item-name {
  font-size: 1.3em;
  color: #333;
}

.toplist-container.style-2 .toplist-item-content .toplist-item-link {
  background: var(--primary-color);
  color: #fff;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  margin-top: auto;
}

.toplist-container.style-2 .toplist-item-content .toplist-item-link:hover {
  background: var(--secondary-color);
}

.toplist-container.style-2 .toplist-item-promotion {
  color: #218838;
  font-size: 20px;
  font-weight: 600;
}

.toplist-container.style-2 .toplist-item-description-promotion {
  margin-top: 6px;
  font-size: 16px;
  color: #666;
}

@media screen and (max-width: 768px) {
  .toplist-container.style-2 {
    grid-template-columns: 1fr;
  }

  .toplist-container.style-2 .toplist-item-media {
    height: 220px;
  }
}

/* ================================================
   STYLE 3: Minimal List – Danh Sách Tối Giản
   ================================================ */
.toplist-container.style-3 .toplist-item {
  background: #fafafa;
  border-left: 4px solid var(--secondary-color);
  margin-bottom: 18px;
  padding: 16px 20px 20px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  position: relative;
  border-radius: 4px;
}

.toplist-container.style-3 .toplist-item:hover {
  background: #f5f5f5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.toplist-container.style-3 .toplist-item-order {
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1em;
}

.toplist-container.style-3 .toplist-item-rating {
  display: flex;
  align-items: flex-end;
  gap: 0;
  color: #777;
  font-size: 0.9em;
  flex-direction: column;
}

.toplist-container.style-3 .toplist-item-main {
  display: flex;
  gap: 8px;
}

.toplist-container.style-3 .toplist-item-main-content {
  display: flex;
  flex-direction: column;
}

.toplist-container.style-3 .toplist-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  min-width: 100px;
}

.toplist-container.style-3 .toplist-item-logo {
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: #e0e0e0;
  border: var(--primary-color) 1px solid;
}

.toplist-container.style-3 .toplist-item-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.toplist-container.style-3 .star {
  font-size: 2em;
}
.toplist-container.style-3 .toplist-item-link {
  background: #6c757d;
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 1em;
  height: max-content;
}

.toplist-container.style-3 .toplist-item-buttons {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.toplist-container.style-3 .toplist-item-link:hover {
  background: #5a6268;
}

.toplist-container.style-3 .toplist-item-promotion {
  margin-top: 10px;
  padding: 10px;
  background: #fff;
  border-left: 4px solid #39cb28;
  color: #39cb28;
  font-weight: 600;
  width: max-content;
  position: relative;
  height: 40px;
}

.toplist-container.style-3 .toplist-item-promotion::after {
  content: "";
  position: absolute;
  top: 10px;
  right: -30px;
  border-width: 0 20px 20px;
  border-style: solid;
  border-color: transparent #fff transparent #fff;
  rotate: -90deg;
}

@media screen and (max-width: 768px) {
  .toplist-container.style-3 .toplist-item {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 8px;
  }

  .toplist-container.style-3 .toplist-item-side {
    align-items: flex-start;
  }

  .toplist-container.style-3 .toplist-item-rating {
    align-items: flex-start;
  }
}

/* ================================================
   STYLE 4: Dark Theme Grid – Lưới Chủ Đề Tối
   ================================================ */
.toplist-container.style-4 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 10px;
}

.toplist-container.style-4 .toplist-item {
  background: #2c3e50;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  color: #ecf0f1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.toplist-container.style-4 .toplist-item .toplist-item-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.toplist-container.style-4 .toplist-item-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.toplist-container.style-4 .toplist-item-order {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 1.2em;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.2);
}

.toplist-container.style-4 .toplist-item-logo {
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  border-radius: 6px;
  overflow: hidden;
  background: #34495e;
}

.toplist-container.style-4 .toplist-item-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.toplist-container.style-4 .toplist-item-name {
  font-size: 1.25em;
  color: #ecf0f1;
}

.toplist-container.style-4 .toplist-item-description {
  color: #bdc3c7;
  font-size: 0.9em;
}

.toplist-container.style-4 .toplist-item-promotion {
  background: rgba(255, 255, 255, 0.1);
  color: #39cb28;
  padding: 10px;
  border-radius: 4px;
  font-size: 1em;
  font-weight: 600;
}

.toplist-container.style-4 .toplist-item-link {
  background: var(--primary-color);
  color: #fff;
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  margin-top: auto;
  font-size: 1em;
}

.toplist-container.style-4 .toplist-item-link:hover {
  background: var(--secondary-color);
}

@media screen and (max-width: 768px) {
  .toplist-container.style-4 {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .toplist-container.style-4 .toplist-item {
    padding: 16px;
  }
}

/* ================================================
   STYLE 5: Gradient Cards – Thẻ Hiệu Ứng Gradient
   ================================================ */
.toplist-container.style-5 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.toplist-container.style-5 .toplist-item-rating {
  display: flex;
  align-items: flex-start;
  gap: 0px;
  color: #777;
  font-size: 0.8em;
  flex-direction: column;
}

.toplist-container.style-5 .toplist-item {
  background: linear-gradient(135deg, #ffffff 0%, #f2f2f2 100%);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.toplist-container.style-5 .toplist-item-order {
  position: absolute;
  top: -8px;
  left: 16px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.toplist-container.style-5 .toplist-item-header {
  display: flex;
  gap: 18px;
  align-items: center;
}

.toplist-container.style-5 .toplist-item-logo {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background: #eaeaea;
}

.toplist-container.style-5 .toplist-item-title {
  flex: 1;
  font-size: 1.3em;
  color: #333;
}

.toplist-container.style-5 .toplist-item-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.toplist-container.style-5 .toplist-item-promotion {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
  color: #856404;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ffeeba;
  font-size: 0.9em;
}

.toplist-container.style-5 .toplist-item-link {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: #fff;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  margin-top: auto;
  font-size: 1em;
}

.toplist-container.style-5 .toplist-item-link:hover {
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--primary-color) 100%
  );
}

@media screen and (max-width: 768px) {
  .toplist-container.style-5 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .toplist-container.style-5 .toplist-item {
    padding: 20px;
  }
}

/* ================================================
   STYLE 6: Magazine Layout – Bố Cục Tạp Chí
   ================================================ */
.toplist-container.style-6 {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.toplist-container.style-6 .toplist-featured {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.toplist-container.style-6 .toplist-featured img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.toplist-container.style-6 .toplist-featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
}

.toplist-container.style-6 .toplist-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 12px;
  position: relative;
}

.toplist-container.style-6 .toplist-item-promotion {
  position: absolute;
  top: 0;
  right: 50%;
  transform: translateX(50%);
  background: #328e6e;
  color: #fff085;
  padding: 6px 12px;
  border-radius: 0% 0% 6px 6px;
}

.toplist-container.style-6 .toplist-item-rating {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.toplist-container.style-6 .toplist-item-star-value {
  font-size: 24px !important;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1;
}
.toplist-container.style-6 .toplist-item-stars span {
  line-height: 1;
}

.toplist-container.style-6 .toplist-item-logo {
  width: 100px;
  height: 100px;
  min-width: 100px;
  min-height: 100px;
  background: #f0f0f0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #e1e1e1;
}

.toplist-container.style-6 .toplist-item-order {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  background: none;
  color: var(--primary-color);
  font-size: 1.2em;
  border: var(--primary-color) 5px solid;
  border-radius: 50%;
}

.toplist-container.style-6 .toplist-item-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.toplist-container.style-6 .toplist-item-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.toplist-container.style-6 .toplist-item-link {
  background: var(--primary-color);
  color: #fff;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  margin-top: auto;
  min-width: 140px;
  max-width: 140px;
}

.toplist-container.style-6 .toplist-item-link:hover {
  background: var(--secondary-color);
}

@media screen and (max-width: 992px) {
  .toplist-container.style-6 .toplist-item {
    flex-direction: column;
    position: relative;
    padding-top: 60px;
  }
  .toplist-container.style-6 .toplist-item-order {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
  .toplist-container.style-6 .toplist-item-link {
    width: 100%;
    max-width: none;
    margin-top: 12px;
    min-width: none;
    max-width: auto;
  }
}

/* ================================================
   STYLE 7: Horizontal Slider – Thanh Cuộn Ngang
   ================================================ */
.toplist-container.style-7 {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding-bottom: 10px;
}

.toplist-container.style-7::-webkit-scrollbar {
  height: 8px;
}

.toplist-container.style-7::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.toplist-container.style-7 .toplist-item {
  background: #ffffff;
  border-radius: 10px;
  flex: 0 0 260px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.toplist-container.style-7 .toplist-item-promotion {
  background: #39cb28;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: bold;
}

.toplist-container.style-7 .toplist-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.toplist-container.style-7 .toplist-item-logo {
  width: 100%;
  height: 140px;
  background: #f2f2f2;
  overflow: hidden;
  border-radius: 10px;
}

.toplist-container.style-7 .toplist-item-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.toplist-container.style-7 .toplist-item-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toplist-container.style-7 .toplist-item-stars span {
  line-height: 1;
}

.toplist-container.style-7 .toplist-item-link {
  background: var(--primary-color);
  color: #fff;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  margin-top: auto;
}

.toplist-container.style-7 .toplist-item-link:hover {
  background: var(--secondary-color);
}

/* Không cần media query riêng vì đã scroll ngang ổn trên mobile */

/* ================================================
   STYLE 8: Masonry Layout – Bố Cục Xếp Sóng
   ================================================ */
.toplist-container.style-8 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.toplist-container.style-8 .toplist-item {
  background: #ffffff;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  width: 100%;
}

.toplist-container.style-8 .toplist-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.toplist-container.style-8 .toplist-item-logo {
  width: 100%;
  height: auto;
  background: #eaeaea;
  overflow: hidden;
}

.toplist-container.style-8 .toplist-item-logo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.toplist-container.style-8 .toplist-item-content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toplist-container.style-8 .toplist-item-link {
  background: var(--primary-color);
  color: #fff;
  padding: 8px;
  border-radius: 4px;
  text-align: center;
  margin-top: auto;
  font-size: 0.95em;
}

.toplist-container.style-8 .toplist-item-link:hover {
  background: var(--secondary-color);
}

.toplist-container.style-8 .toplist-item-stars span {
  line-height: 1;
}

.toplist-container.style-8 .toplist-item-promotion {
  color: #39cb28;
  font-size: 1.5em;
  font-weight: bold;
}

@media screen and (max-width: 992px) {
  .toplist-container.style-8 {
    column-count: 2;
  }
}

@media screen and (max-width: 768px) {
  .toplist-container.style-8 {
    column-count: 1;
  }
}

/* ================================================
   STYLE 9: Classic List – Danh Sách Cổ Điển
   ================================================ */
.toplist-container.style-9 .toplist-item {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #e1e1e1;
  padding: 16px 20px;
  transition: background 0.3s ease;
}

.toplist-container.style-9 .toplist-item:nth-child(even) {
  background: #f9f9f9;
}

.toplist-container.style-9 .toplist-item:hover {
  background: #f1f1f1;
}
.toplist-container.style-9 .toplist-item-header {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.toplist-container.style-9 .toplist-item-logo {
  height: 100px;
  width: 100px;
  min-width: 100px;
  min-height: 100px;
  overflow: hidden;
  border-radius: 6px;
  background: #e0e0e0;
}

.toplist-container.style-9 .toplist-item-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.toplist-container.style-9 .toplist-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-left: 16px;
}

.toplist-container.style-9 .toplist-item-order {
  margin-right: 16px;
  font-size: 1.2em;
  font-weight: bold;
  color: #555;
  width: 30px;
  text-align: center;
}

.toplist-container.style-9 .toplist-item-link {
  background: var(--primary-color);
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.9em;
}

.toplist-container.style-9 .toplist-item-link:hover {
  background: var(--primary-color);
}

.toplist-container.style-9 .toplist-item-promotion {
  color: #39cb28;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 8px;
}

@media screen and (max-width: 768px) {
  .toplist-container.style-9 .toplist-item {
    flex-direction: column;
  }

  .toplist-container.style-9 .toplist-item-logo {
    margin-bottom: 10px;
  }

  .toplist-container.style-9 .toplist-item-order {
    margin: 0 0 8px 0;
  }

  .toplist-container.style-9 .toplist-item-content {
    margin-left: 0;
    width: 100%;
  }

  .toplist-container.style-9 .toplist-item-link {
    width: 100%;
    text-align: center;
  }
}

/* ================================================
   STYLE 10: Spotlight Overlay – Phong Cách Ánh Sáng
   ================================================ */
.toplist-container.style-10 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.toplist-container.style-10 .toplist-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #000;
}

.toplist-container.style-10 .toplist-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.toplist-container.style-10 .toplist-item-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  transition: filter 0.3s ease;
}

.toplist-container.style-10 .toplist-item:hover .toplist-item-logo img {
  filter: brightness(0.4);
}

.toplist-container.style-10 .toplist-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 60%);
  opacity: 1;
  transition: opacity 0.3s ease;
}

.toplist-container.style-10 .toplist-item:hover .toplist-item-overlay {
  opacity: 0.8;
}

.toplist-container.style-10 .toplist-item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 16px;
  color: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.toplist-container.style-10 .toplist-item-order {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 1.3em;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.2);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.toplist-container.style-10 .toplist-item-name {
  font-size: 1.3em;
  font-weight: 600;
  margin: 0;
}

.toplist-container.style-10 .toplist-item-link {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.95em;
  align-self: start;
  width: 100%;
}

.toplist-container.style-10 .toplist-item-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media screen and (max-width: 768px) {
  .toplist-container.style-10 {
    grid-template-columns: 1fr;
  }

  .toplist-container.style-10 .toplist-item {
    height: 240px;
  }
}
