/* Base styles for the page-slot-games content */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #333333); /* Default to dark text for light background */
  background: var(--background, #F5F7FA); /* Default light background */
}

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

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

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color, #E53935);
}

.page-slot-games__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main, #333333);
}

/* Color contrast adaptations */
.page-slot-games__dark-section {
  background: var(--primary-color, #E53935);
  color: #ffffff; /* Force white text on dark background */
}

.page-slot-games__dark-section .page-slot-games__section-title,
.page-slot-games__dark-section .page-slot-games__section-description {
  color: #ffffff;
}

.page-slot-games__light-bg {
  background: var(--background, #F5F7FA);
  color: var(--text-main, #333333);
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

.page-slot-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background: #ffffff;
  color: var(--primary-color, #E53935);
  border: 2px solid var(--primary-color, #E53935);
}

.page-slot-games__btn-secondary:hover {
  background: var(--primary-color, #E53935);
  color: #ffffff;
}

.page-slot-games__link-text {
  color: var(--primary-color, #E53935);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-slot-games__link-text:hover {
  color: var(--secondary-color, #FF5A4F);
}

/* Images */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-slot-games__hero-content {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: center;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Using clamp as per H1 font size rule */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff; /* On dark hero section */
}

.page-slot-games__intro-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0; /* Lighter text on dark hero section */
}

.page-slot-games__hero-content .page-slot-games__btn-primary {
  margin-top: 20px;
}

/* Intro Section */
.page-slot-games__intro-section {
  padding: 60px 0;
  background: var(--background, #F5F7FA);
  color: var(--text-main, #333333);
}

.page-slot-games__intro-section p {
  margin-bottom: 15px;
  text-align: justify;
}

/* Game Types Section */
.page-slot-games__game-types-section {
  padding: 60px 0;
}

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

.page-slot-games__game-type-card {
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-color, #E0E0E0);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main, #333333);
}

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

.page-slot-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-slot-games__card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-color, #E53935);
  padding: 0 15px;
}

.page-slot-games__card-text {
  font-size: 15px;
  padding: 0 15px;
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
  padding: 60px 0;
}

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

.page-slot-games__feature-card {
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-color, #E0E0E0);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main, #333333);
}

.page-slot-games__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Guide Section */
.page-slot-games__guide-section {
  padding: 60px 0;
}

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

.page-slot-games__guide-step {
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-color, #E0E0E0);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  color: var(--text-main, #333333);
}

.page-slot-games__step-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-slot-games__step-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color, #E53935);
}

.page-slot-games__step-text {
  font-size: 15px;
  margin-bottom: 20px;
}

/* Tips Section */
.page-slot-games__tips-section {
  padding: 60px 0;
}

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

.page-slot-games__tips-list li {
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-color, #E0E0E0);
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: var(--text-main, #333333);
}

.page-slot-games__list-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-color, #E53935);
}

.page-slot-games__tips-list p {
  font-size: 16px;
  margin-bottom: 10px;
}

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

.page-slot-games__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color, #E0E0E0);
  overflow: hidden;
  background: var(--card-bg, #FFFFFF);
  color: var(--text-main, #333333);
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}