.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background #f8f8f8 */
  background-color: #f8f8f8; /* Inherited from body, explicit for clarity */
}

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

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

.page-slot-games__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

.page-slot-games__dark-bg {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #017439; /* Brand primary color */
}

.page-slot-games__section-title--white {
  color: #ffffff;
}

.page-slot-games__subsection-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #017439;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__text-block--white {
  color: #ffffff;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  text-align: center;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

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

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  box-sizing: border-box;
  white-space: nowrap;
}

.page-slot-games__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border-color: #C30808;
}

.page-slot-games__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-slot-games__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

/* About Section specific */
.page-slot-games__feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-slot-games__feature-item strong {
  color: #017439;
  font-size: 1.2em;
  display: block;
  margin-bottom: 10px;
}

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

.page-slot-games__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-slot-games__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-slot-games__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-slot-games__card-title {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 15px;
  color: #017439;
}

.page-slot-games__card-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__card .page-slot-games__btn-primary {
  width: 100%;
  text-align: center;
  margin-top: auto; /* Push button to bottom */
  background-color: #017439; /* Use brand primary for game cards */
  border-color: #017439;
  color: #ffffff; 
}

.page-slot-games__card .page-slot-games__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

/* Features and Benefits */
.page-slot-games__feature-item-row {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 60px;
  text-align: left;
}

.page-slot-games__feature-item-row--reverse {
  flex-direction: row-reverse;
}

.page-slot-games__feature-content {
  flex: 1;
}

.page-slot-games__feature-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  display: block; /* Ensure it behaves as a block element */
}

/* How to Play */
.page-slot-games__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__step-item {
  position: relative;
  text-align: left;
  padding-left: 70px;
}

.page-slot-games__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background-color: #017439;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-slot-games__step-title {
  font-size: 1.5em;
  color: #017439;
  margin-top: 0;
  margin-bottom: 10px;
}

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

.page-slot-games__step-description a:hover {
  color: #005a2e;
}

/* Promotions */
.page-slot-games__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-slot-games__promo-item {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-slot-games__promo-item strong {
  color: #017439;
  font-size: 1.2em;
  display: block;
  margin-bottom: 10px;
}

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

/* Video Section */
.page-slot-games__video-section {
  padding-top: 60px; /* Default padding, adjusted by media query for header offset */
}

.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-slot-games__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #017439;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: #e0e0e0;
}

.page-slot-games__faq-title {
  margin: 0;
  font-size: 1.2em;
  color: #017439;
}

.page-slot-games__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333;
}