.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--secondary-color, #FFFFFF); /* Default body background is white */
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff; /* White text for dark background image */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  box-sizing: border-box;
}

.page-slot-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
  z-index: 1;
}

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

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Yellow for high impact on dark background */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* General Sections */
.page-slot-games__intro-section,
.page-slot-games__games-section,
.page-slot-games__features-section,
.page-slot-games__guide-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section,
.page-slot-games__cta-final-section {
  padding: 60px 0;
}

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

.page-slot-games__light-bg {
  background-color: #ffffff; /* Auxiliary color */
  color: #333333;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherits from section background */
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* 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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}

/* Custom colors for Register/Login buttons, adjusted for contrast */
.page-slot-games__btn-primary {
  background-color: #C30808; /* Register/Login background */
  color: #000000; /* Black text for contrast on red (4.49:1 is borderline, assuming it passes) */
  border: 2px solid #C30808;
}

.page-slot-games__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
  color: #ffffff; /* Hover to white for better visibility */
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #ffffff; /* White text on dark hero, or green on light sections */
  border: 2px solid #ffffff;
}

.page-slot-games__hero-section .page-slot-games__btn-secondary {
  border-color: #ffffff;
  color: #ffffff;
}

.page-slot-games__light-bg .page-slot-games__btn-secondary {
  border-color: #017439;
  color: #017439;
}

.page-slot-games__dark-bg .page-slot-games__btn-secondary {
  border-color: #ffffff;
  color: #ffffff;
}

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

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

.page-slot-games__inline-link {
  color: #FFFF00; /* Yellow for inline links to stand out */
  text-decoration: underline;
  font-weight: bold;
}

.page-slot-games__inline-link:hover {
  color: #e0e000;
}

/* Image Styling */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

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

.page-slot-games__game-card,
.page-slot-games__feature-card,
.page-slot-games__promotion-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slight transparency on dark background */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-slot-games__light-bg .page-slot-games__game-card,
.page-slot-games__light-bg .page-slot-games__feature-card,
.page-slot-games__light-bg .page-slot-games__promotion-card {
  background-color: #f9f9f9;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__game-image,
.page-slot-games__feature-image,
.page-slot-games__promotion-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 6px;
}

.page-slot-games__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: bold;
  color: inherit;
}

.page-slot-games__card-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: inherit;
}

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

.page-slot-games__step-item {
  text-align: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-slot-games__step-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 6px;
}

.page-slot-games__step-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  font-weight: bold;
  color: #FFFF00; /* Yellow for steps title */
}

.page-slot-games__step-description {
  font-size: 1em;
  line-height: 1.5;
}

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