.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #121212; /* Inherited from shared.css body */
}

.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-slot-games__section-heading {
  font-size: 32px;
  font-weight: bold;
  color: #E5B80B; /* Auxiliary color for headings */
  text-align: center;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.page-slot-games__main-heading {
  font-size: 44px;
  font-weight: bold;
  color: #E5B80B; /* Auxiliary color for main heading */
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-slot-games__description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__image-wrapper {
  margin: 40px auto;
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: #E5B80B; /* Auxiliary color */
  color: #0A2463; /* Main color */
  border: 2px solid #E5B80B;
}

.page-slot-games__btn-primary:hover {
  background: #ffc107;
  border-color: #ffc107;
  box-shadow: 0 6px 15px rgba(229, 184, 11, 0.4);
}

.page-slot-games__btn-secondary {
  background: #0A2463; /* Main color */
  color: #E5B80B; /* Auxiliary color */
  border: 2px solid #E5B80B;
}

.page-slot-games__btn-secondary:hover {
  background: #061944;
  border-color: #ffc107;
  box-shadow: 0 6px 15px rgba(229, 184, 11, 0.4);
}

.page-slot-games__dark-section {
  background-color: #0A2463; /* Main brand color for dark sections */
  color: #ffffff;
  padding: 60px 0;
}

.page-slot-games__dark-section .page-slot-games__section-heading,
.page-slot-games__dark-section .page-slot-games__main-heading {
  color: #E5B80B;
}

.page-slot-games__dark-section .page-slot-games__description {
  color: #f0f0f0;
}

/* HERO Section */
.page-slot-games__hero-section {
  position: relative;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0; /* shared đã cho body padding-top, nên hero không cần */
  margin-top: 0;
  background-color: #0A2463;
}

.page-slot-games__hero-container {
  position: relative;
  margin: 0 auto;
  width: 100%;
}

.page-slot-games__hero-image {
  width: 100%;
  margin: 0;
}

.page-slot-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* LOGO Carousel Section */
.page-slot-games__logo-carousel-section {
  width: 100%;
  padding: 30px 0;
  background: #0A2463; /* Sử dụng màu nền chính */
  box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__logo-carousel-container {
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.page-slot-games__logo-carousel {
  display: flex;
  gap: 20px;
  overflow: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  padding: 10px 0;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none; /* Ngăn chặn tương tác của người dùng với carousel */
}

.page-slot-games__logo-carousel::-webkit-scrollbar {
  display: none;
}

.page-slot-games__logo-item {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #E5B80B;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: auto; /* Cho phép các mục logo có thể click */
}

.page-slot-games__logo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(229, 184, 11, 0.4);
}

.page-slot-games__logo-item a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 15px;
  box-sizing: border-box;
  pointer-events: auto;
}

.page-slot-games__logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Games Section */
.page-slot-games__games-section {
  width: 100%;
  padding: 60px 0;
  background: #1e1e1e; /* Nền tối khác để tạo sự tương phản */
}

.page-slot-games__games-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-slot-games__games-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: start;
}

.page-slot-games__featured-game-area {
  width: 100%;
}

.page-slot-games__featured-game-title {
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 25px 0;
  color: #E5B80B; /* Vàng kim */
  text-align: left;
  text-transform: uppercase;
}

.page-slot-games__featured-game {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #2a2a2a;
  border: 1px solid #E5B80B;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__featured-game:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__featured-game-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-slot-games__featured-game-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.page-slot-games__featured-game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-slot-games__games-grid-area {
  width: 100%;
}

.page-slot-games__games-tabs {
  display: flex;
  gap: 25px;
  margin-bottom: 25px;
  align-items: center;
  justify-content: flex-start;
}

.page-slot-games__games-tab {
  background: none;
  border: none;
  padding: 10px 15px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  color: #999999;
  transition: color 0.3s ease, border-bottom-color 0.3s ease;
  text-decoration: none;
  position: relative;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
}

.page-slot-games__games-tab:hover {
  color: #ffffff;
}

.page-slot-games__games-tab.active {
  color: #E5B80B; /* Vàng kim */
  border-bottom-color: #E5B80B;
}

.page-slot-games__games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  display: none;
}

.page-slot-games__games-grid.active {
  display: grid;
}

.page-slot-games__game-card {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-slot-games__game-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-slot-games__game-card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.page-slot-games__game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-slot-games__game-card-title {
  font-size: 15px;
  font-weight: 600;
  margin: 10px 0;
  padding: 0 8px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  line-height: 1.4;
}

/* Intro Section */
.page-slot-games__intro-section {
  padding: 80px 0;
  background-color: #0A2463; /* Main brand color */
}

.page-slot-games__intro-section .page-slot-games__container {
  color: #ffffff;
}

.page-slot-games__content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__content-block h2 {
  font-size: 24px;
  color: #E5B80B;
  margin-bottom: 15px;
}

.page-slot-games__content-block p {
  font-size: 16px;
  line-height: 1.7;
  color: #f0f0f0;
}

/* Advantages Section */
.page-slot-games__advantages-section {
  padding: 80px 0;
  background-color: #121212;
}

.page-slot-games__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__advantage-card {
  background: #2a2a2a;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__advantage-card h3 {
  font-size: 22px;
  color: #E5B80B;
  margin-bottom: 15px;
}

.page-slot-games__advantage-card p {
  font-size: 16px;
  color: #f0f0f0;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
}

.page-slot-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__promo-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-10px);
  background: rgba(229, 184, 11, 0.2);
}

.page-slot-games__promo-card h3 {
  font-size: 22px;
  color: #E5B80B;
  margin-bottom: 15px;
}

.page-slot-games__promo-card p {
  font-size: 16px;
  color: #f0f0f0;
}

/* Categories Section */
.page-slot-games__categories-section {
  padding: 80px 0;
  background-color: #121212;
}

.page-slot-games__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__category-card {
  background: #2a2a2a;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__category-card h3 {
  font-size: 22px;
  color: #E5B80B;
  margin-bottom: 15px;
}

.page-slot-games__category-card p {
  font-size: 16px;
  color: #f0f0f0;
}

/* Security & Support Section */
.page-slot-games__security-support-section {
  padding: 80px 0;
}

.page-slot-games__support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__support-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-slot-games__support-item:hover {
  transform: translateY(-10px);
  background: rgba(229, 184, 11, 0.2);
}

.page-slot-games__support-item h3 {
  font-size: 22px;
  color: #E5B80B;
  margin-bottom: 15px;
}

.page-slot-games__support-item p {
  font-size: 16px;
  color: #f0f0f0;
}

/* Quick Links Section */
.page-slot-games__quick-links-section {
  padding: 80px 0;
  background-color: #121212;
}

.page-slot-games__link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__quick-link-card {
  display: block;
  background: #2a2a2a;
  border-radius: 12px;
  padding: 30px;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__quick-link-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__quick-link-card h3 {
  font-size: 22px;
  color: #E5B80B;
  margin-bottom: 10px;
}

.page-slot-games__quick-link-card p {
  font-size: 15px;
  color: #f0f0f0;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
}

.page-slot-games__faq-list {
  margin-top: 40px;
}

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: #f0f0f0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0 0 5px 5px;
  color: #f0f0f0;
}

.page-slot-games__faq-answer p {
  color: #f0f0f0;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-slot-games__faq-question:hover {
  background: #3a3a3a;
  border-color: #E5B80B;
}

.page-slot-games__faq-question:active {
  background: #4a4a4a;
}

.page-slot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #E5B80B;
}

.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #E5B80B;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  color: #ffffff;
}

/* News Section */
.page-slot-games__news-section {
  padding: 80px 0;
  background-color: #121212;
}

.page-slot-games__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__news-card {
  background: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__news-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-slot-games__news-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-slot-games__news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-slot-games__news-title {
  font-size: 20px;
  font-weight: bold;
  color: #E5B80B;
  margin: 15px 20px 10px 20px;
  line-height: 1.4;
}

.page-slot-games__news-excerpt {
  font-size: 15px;
  color: #f0f0f0;
  margin: 0 20px 15px 20px;
}

.page-slot-games__news-date {
  display: block;
  font-size: 14px;
  color: #999999;
  margin: 0 20px 20px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__main-heading {
    font-size: 38px;
  }

  .page-slot-games__section-heading {
    font-size: 28px;
  }

  .page-slot-games__description {
    font-size: 17px;
  }

  .page-slot-games__games-layout {
    grid-template-columns: 1fr;
  }

  .page-slot-games__featured-game-image {
    height: 400px;
  }

  .page-slot-games__games-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-slot-games__games-tab {
    font-size: 18px;
    padding: 8px 12px;
  }

  .page-slot-games__game-card-image {
    height: 160px;
  }

  .page-slot-games__game-card-title {
    font-size: 14px;
  }

  .page-slot-games__content-grid {
    grid-template-columns: 1fr;
  }

  .page-slot-games__support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 0 15px;
  }

  .page-slot-games__hero-section {
    padding-top: 0 !important; /* shared đã cho body padding-top */
  }

  .page-slot-games__main-heading {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .page-slot-games__section-heading {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .page-slot-games__description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 0 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  /* LOGO Carousel Section Mobile */
  .page-slot-games__logo-carousel-section {
    padding: 20px 0;
  }

  .page-slot-games__logo-carousel {
    gap: 15px;
    padding: 5px 0;
  }

  .page-slot-games__logo-item {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    min-width: 80px !important; /* Đảm bảo không bị co lại */
  }

  .page-slot-games__logo-item a {
    padding: 10px;
  }

  /* Games Section Mobile */
  .page-slot-games__games-section {
    padding: 40px 0;
  }

  .page-slot-games__games-container {
    padding: 0 15px;
  }

  .page-slot-games__games-layout {
    gap: 20px;
  }

  .page-slot-games__featured-game-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .page-slot-games__featured-game-image {
    height: 300px;
  }

  .page-slot-games__games-tabs {
    gap: 15px;
    margin-bottom: 20px;
  }

  .page-slot-games__games-tab {
    font-size: 16px;
    padding: 6px 10px;
  }

  .page-slot-games__games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .page-slot-games__game-card-image {
    height: 140px;
  }

  .page-slot-games__game-card-title {
    font-size: 13px;
    margin: 8px 0;
  }

  /* General content sections mobile */
  .page-slot-games__intro-section,
  .page-slot-games__advantages-section,
  .page-slot-games__promotions-section,
  .page-slot-games__categories-section,
  .page-slot-games__security-support-section,
  .page-slot-games__quick-links-section,
  .page-slot-games__faq-section,
  .page-slot-games__news-section {
    padding: 40px 0;
  }

  .page-slot-games__content-grid,
  .page-slot-games__advantages-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__category-grid,
  .page-slot-games__support-grid,
  .page-slot-games__link-grid,
  .page-slot-games__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
  }

  .page-slot-games__content-block h2,
  .page-slot-games__advantage-card h3,
  .page-slot-games__promo-card h3,
  .page-slot-games__category-card h3,
  .page-slot-games__support-item h3,
  .page-slot-games__quick-link-card h3,
  .page-slot-games__news-title {
    font-size: 18px;
  }

  .page-slot-games__content-block p,
  .page-slot-games__advantage-card p,
  .page-slot-games__promo-card p,
  .page-slot-games__category-card p,
  .page-slot-games__support-item p,
  .page-slot-games__quick-link-card p,
  .page-slot-games__news-excerpt {
    font-size: 14px;
  }

  .page-slot-games__image-wrapper {
    margin: 30px auto;
  }

  /* FAQ Mobile */
  .page-slot-games__faq-question {
    padding: 15px;
  }

  .page-slot-games__faq-question h3 {
    font-size: 16px;
  }

  .page-slot-games__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px !important;
  }

  /* General image responsive */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__container,
  .page-slot-games__content-grid,
  .page-slot-games__advantages-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__category-grid,
  .page-slot-games__support-grid,
  .page-slot-games__link-grid,
  .page-slot-games__news-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}