.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
  line-height: 1.6;
  font-size: 16px;
}

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

.page-slot-games__hero-section {
  padding-top: 10px; /* Consistent with header offset rule */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__hero-content {
  max-width: 900px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* H1 font size with clamp */
  color: #FFD86A; /* Gold/Yellow for title */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 200, 0, 0.5);
}

.page-slot-games__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF5E1;
}

.page-slot-games__description a {
  color: #FFCC66;
  text-decoration: underline;
}

.page-slot-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #7A0E0E; /* Deep Red for text on gold button */
  border: 2px solid #F2B544; /* Border */
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-slot-games__btn-secondary {
  background: #C91F17; /* Main color */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border */
  box-shadow: 0 4px 15px rgba(201, 31, 23, 0.4);
}

.page-slot-games__btn-secondary:hover {
  background: #E53935; /* Auxiliary color */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #FFD86A; /* Gold/Yellow for section titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 200, 0, 0.3);
}

.page-slot-games__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  color: #FFF5E1;
}

.page-slot-games__text-block a {
  color: #FFCC66;
  text-decoration: underline;
}

.page-slot-games__intro-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
}

.page-slot-games__dark-section {
  background-color: #7A0E0E; /* Deep Red */
  padding: 60px 0;
}

.page-slot-games__features-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
}

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

.page-slot-games__feature-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF5E1; /* Text Main */
  border: 1px solid rgba(242, 181, 68, 0.3); /* Border with transparency */
}

.page-slot-games__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__feature-icon {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-slot-games__card-title {
  font-size: 1.5em;
  color: #FFD86A; /* Gold/Yellow for card titles */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__card-text {
  font-size: 1em;
  line-height: 1.7;
  color: #FFF5E1;
}

.page-slot-games__how-to-play-section {
  padding: 60px 0;
}

.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  margin-top: 40px;
}

.page-slot-games__step-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  padding: 25px 30px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #FFF5E1;
  border-left: 5px solid #F2B544; /* Border */
}

.page-slot-games__step-item::before {
  counter-increment: step-counter;
  content: "Bước " counter(step-counter);
  position: absolute;
  left: -15px;
  top: -15px;
  background: #FFD86A; /* Button */
  color: #7A0E0E; /* Deep Red */
  padding: 5px 15px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.9em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-title {
  font-size: 1.3em;
  color: #FFCC66; /* Glow */
  margin-bottom: 10px;
  margin-top: 10px;
}

.page-slot-games__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #FFF5E1;
}

.page-slot-games__step-description a {
  color: #FFCC66;
  text-decoration: underline;
}

.page-slot-games__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-slot-games__popular-games-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
}

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

.page-slot-games__game-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(242, 181, 68, 0.3); /* Border with transparency */
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-slot-games__game-info {
  padding: 20px;
  color: #FFF5E1;
}

.page-slot-games__game-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #7A0E0E; /* Deep Red */
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background 0.3s ease;
  border: 1px solid #F2B544; /* Border */
}

.page-slot-games__game-btn:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
}

.page-slot-games__promotions-section {
  padding: 60px 0;
}

.page-slot-games__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__promo-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #FFF5E1;
  border-left: 5px solid #F2B544; /* Border */
}

.page-slot-games__promo-title {
  font-size: 1.4em;
  color: #FFCC66; /* Glow */
  margin-bottom: 10px;
}

.page-slot-games__promo-description {
  font-size: 1em;
  line-height: 1.6;
  color: #FFF5E1;
}

.page-slot-games__promo-description a {
  color: #FFCC66;
  text-decoration: underline;
}

.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
}

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

.page-slot-games__accordion-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(242, 181, 68, 0.3); /* Border with transparency */
}

.page-slot-games__accordion-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #C91F17; /* Main color */
  color: #FFCC66; /* Glow */
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: 1px solid rgba(252,139,0,0.25);
}

.page-slot-games__accordion-title h3 {
  margin: 0;
  color: inherit;
  font-size: 1.2em;
  font-weight: bold;
}

.page-slot-games__accordion-title span {
  color: inherit;
}

.page-slot-games__accordion-toggle {
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.3s ease;
}

.page-slot-games__accordion-toggle::before,
.page-slot-games__accordion-toggle::after {
  content: '';
  position: absolute;
  background-color: #FFCC66; /* Glow */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.page-slot-games__accordion-toggle::before {
  width: 2px;
  height: 12px;
}

.page-slot-games__accordion-toggle::after {
  width: 12px;
  height: 2px;
}

.page-slot-games__accordion-item.is-active .page-slot-games__accordion-toggle::before {
  transform: translate(-50%, -50%) rotate(90deg);
}

.page-slot-games__accordion-item.is-active .page-slot-games__accordion-toggle::after {
  transform: translate(-50%, -50%) rotate(180deg);
  opacity: 0;
}

.page-slot-games__accordion-inner {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  padding: 0 25px;
  color: #FFF5E1;
}

.page-slot-games__accordion-item.is-active .page-slot-games__accordion-inner {
  max-height: 2000px; /* Sufficiently large height */
  padding: 20px 25px;
}

.page-slot-games__accordion-inner p {
  margin: 0;
  line-height: 1.6;
}

.page-slot-games__accordion-inner a {
  color: #FFCC66;
  text-decoration: underline;
}

.page-slot-games__blog-block {
  padding: 60px 0;
}

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

.page-slot-games__blog-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 3px solid #F2B544; /* Border */
}

.page-slot-games__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__blog-image {
  width: 100%;
  height: 200px; /* Consistent height for blog cards */
  object-fit: cover;
  display: block;
}

.page-slot-games__blog-content {
  padding: 20px;
  color: #FFF5E1;
}

.page-slot-games__blog-content .page-slot-games__card-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  text-align: left;
}

.page-slot-games__blog-content .page-slot-games__card-title a {
  color: #FFD86A; /* Gold/Yellow for blog title links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games__blog-content .page-slot-games__card-title a:hover {
  color: #FFCC66;
}

.page-slot-games__blog-date {
  font-size: 0.9em;
  color: #FFCC66; /* Glow */
  margin-bottom: 10px;
}

.page-slot-games__blog-excerpt {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 15px;
}

.page-slot-games__blog-excerpt a {
  color: #FFCC66;
  text-decoration: underline;
}

.page-slot-games__read-more-btn {
  display: inline-block;
  padding: 8px 15px;
  background: #C91F17; /* Main color */
  color: #FFF5E1; /* Text Main */
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: bold;
  transition: background 0.3s ease;
  border: 1px solid #F2B544; /* Border */
}

.page-slot-games__read-more-btn:hover {
  background: #E53935; /* Auxiliary color */
}

.page-slot-games__final-cta-section {
  padding: 60px 0;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__container {
    padding: 15px;
  }

  .page-slot-games__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-slot-games__section-title {
    font-size: 2em;
  }

  .page-slot-games__hero-image {
    height: auto;
  }

  .page-slot-games__game-image,
  .page-slot-games__blog-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-slot-games__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-slot-games__hero-content {
    padding: 0 15px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-slot-games__description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column !important; /* Multiple buttons arranged vertically */
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__hero-image,
  .page-slot-games__feature-icon,
  .page-slot-games__game-image,
  .page-slot-games__blog-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }

  .page-slot-games__intro-section,
  .page-slot-games__features-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__popular-games-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section,
  .page-slot-games__blog-block,
  .page-slot-games__final-cta-section {
    padding: 40px 0;
  }

  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-slot-games__text-block {
    font-size: 1em;
    margin-bottom: 15px;
  }

  .page-slot-games__features-grid,
  .page-slot-games__games-grid,
  .page-slot-games__blog-grid {
    grid-template-columns: 1fr; /* Single column for grids */
    gap: 20px;
  }

  .page-slot-games__feature-card,
  .page-slot-games__game-card,
  .page-slot-games__promo-item,
  .page-slot-games__step-item,
  .page-slot-games__blog-card,
  .page-slot-games__accordion-item {
    padding: 20px;
    border-radius: 8px;
  }

  .page-slot-games__step-item::before {
    left: 10px;
    top: -10px;
    padding: 3px 10px;
    font-size: 0.8em;
  }

  .page-slot-games__step-title {
    font-size: 1.2em;
  }

  .page-slot-games__game-image,
  .page-slot-games__blog-image {
    height: 150px;
  }

  .page-slot-games__accordion-title {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-slot-games__accordion-title h3 {
    font-size: 1.1em;
  }

  .page-slot-games__accordion-inner {
    padding: 0 20px;
  }

  .page-slot-games__accordion-item.is-active .page-slot-games__accordion-inner {
    padding: 15px 20px;
  }

  .page-slot-games__blog-content .page-slot-games__card-title {
    font-size: 1.2em;
  }

  .page-slot-games__read-more-btn {
    padding: 6px 12px;
    font-size: 0.85em;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }

  .page-slot-games__section-title {
    font-size: 1.6em;
  }
}