:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --bg-color-dark: #1a1a1a; /* From body background */
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --border-color: rgba(255, 255, 255, 0.2);
  --section-padding: 80px 0;
  --container-max-width: 1200px;
  --gap-spacing: 20px;
}

.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-light); /* Default text color for dark body background */
  background-color: var(--bg-color-dark); /* Ensure consistency */
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjusted for larger screens */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  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: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 1;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  color: var(--text-color-light);
}

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

.page-slot-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-color-light);
}

.page-slot-games__hero-cta-buttons {
  display: flex;
  gap: var(--gap-spacing);
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* 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;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons are responsive */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-color-dark); /* Dark text on gold button */
  border: 2px solid var(--primary-color);
}

.page-slot-games__btn-primary:hover {
  background-color: #e6c200; /* Darken primary color */
  border-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-slot-games__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--bg-color-dark);
  transform: translateY(-2px);
}

.page-slot-games__inline-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__inline-link:hover {
  text-decoration: underline;
}

/* General Section Styling */
.page-slot-games__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--gap-spacing);
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-slot-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-color-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__highlight {
  color: var(--primary-color);
  font-weight: bold;
}

/* About Section */
.page-slot-games__about-section {
  padding: var(--section-padding);
  background-color: var(--bg-color-dark);
}

/* Games Section */
.page-slot-games__games-section {
  padding: var(--section-padding);
  background-color: #2a2a2a; /* Slightly lighter dark for contrast */
}

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

.page-slot-games__game-card {
  background-color: var(--card-bg-dark);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-light);
}

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

.page-slot-games__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
  display: block; /* Ensure image behaves as a block element */
}

.page-slot-games__game-card-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__game-card-text {
  font-size: 0.95em;
  color: var(--text-color-light);
  padding: 0 15px;
}

/* Benefits Section */
.page-slot-games__benefits-section {
  padding: var(--section-padding);
  background-color: var(--bg-color-dark);
}

.page-slot-games__benefits-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gap-spacing) 40px;
}

.page-slot-games__benefits-item {
  background-color: var(--card-bg-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-color-light);
}

.page-slot-games__benefits-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-slot-games__benefits-text {
  font-size: 1em;
}

/* Guide Section */
.page-slot-games__guide-section {
  padding: var(--section-padding);
  background-color: #2a2a2a; /* Slightly lighter dark for contrast */
}

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

.page-slot-games__guide-item {
  background-color: var(--card-bg-dark);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-color-light);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__guide-number {
  background-color: var(--primary-color);
  color: var(--bg-color-dark);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-slot-games__guide-heading {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-slot-games__guide-text {
  font-size: 0.95em;
  flex-grow: 1; /* Ensure consistent height */
}

.page-slot-games__responsible-gambling-note {
  text-align: center;
  font-size: 0.9em;
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.7);
}

/* Strategies Section */
.page-slot-games__strategies-section {
  padding: var(--section-padding);
  background-color: var(--bg-color-dark);
}

.page-slot-games__strategy-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gap-spacing) 40px;
  margin-top: 40px;
}

.page-slot-games__strategy-item {
  background-color: var(--card-bg-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-color-light);
}

.page-slot-games__strategy-heading {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-slot-games__strategy-text {
  font-size: 1em;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: var(--section-padding);
  background-color: #2a2a2a; /* Slightly lighter dark for contrast */
}

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

.page-slot-games__promo-card {
  background-color: var(--card-bg-dark);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-light);
}

.page-slot-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games__promo-card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

.page-slot-games__promo-card-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__promo-card-text {
  font-size: 0.95em;
  color: var(--text-color-light);
  padding: 0 15px;
}

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

/* FAQ Section */
.page-slot-games__faq-section {
  padding: var(--section-padding);
  background-color: var(--bg-color-dark);
}

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

.page-slot-games__faq-item {
  background-color: var(--card-bg-dark);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}