:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-dark: #017439; /* Use primary color for dark sections */
  --button-register-bg: #C30808;
  --button-login-bg: #C30808;
  --font-register-login: #FFFF00;
}

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

/* Helper classes for background and text colors based on contrast */
.page-slot-games__dark-bg {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-slot-games__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

/* Section titles */
.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit color from parent section (dark or light) */
}

/* Container for consistent spacing */
.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

/* --- HERO Section --- */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  background: linear-gradient(135deg, var(--primary-color), #004d2b); /* Darker green gradient */
  color: var(--text-light);
}

.page-slot-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-slot-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-slot-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-slot-games__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-register-bg); /* Specific color for registration */
  color: var(--font-register-login); /* Specific font color for registration */
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__cta-button:hover {
  background: #a90707; /* Slightly darker on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__cta-button--small {
  padding: 10px 25px;
  font-size: 1em;
  margin-top: 15px;
}

/* --- Intro Section --- */
.page-slot-games__intro-section p {
  font-size: 1.1em;
  margin-bottom: 15px;
  text-align: justify;
}
.page-slot-games__intro-section p strong {
  color: var(--primary-color);
}

.page-slot-games__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.page-slot-games__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-slot-games__btn-primary:hover {
  background: #005c2e;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.page-slot-games__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__btn-secondary--small {
  padding: 8px 20px;
  font-size: 0.9em;
}

/* --- Benefits Section --- */
.page-slot-games__benefits-section .page-slot-games__section-title {
  color: var(--text-light);
}

.page-slot-games__benefits-section p {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.9);
}

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

.page-slot-games__benefit-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-slot-games__benefit-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-slot-games__benefit-title {
  font-size: 1.5em;
  color: var(--text-light);
  margin-bottom: 15px;
}

.page-slot-games__benefit-item p {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  text-align: center;
}

/* --- Games Section --- */
.page-slot-games__games-section p {
  font-size: 1.1em;
  margin-bottom: 25px;
  text-align: justify;
}

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

.page-slot-games__game-card {
  background: var(--bg-light);
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

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

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

.page-slot-games__game-title {
  font-size: 1.4em;
  padding: 20px 20px 10px;
  color: var(--primary-color);
}

.page-slot-games__game-card p {
  font-size: 0.95em;
  padding: 0 20px 20px;
  margin-bottom: 0;
  text-align: left;
}

.page-slot-games__text-center {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
}

/* --- How To Register Section --- */
.page-slot-games__how-to-register-section .page-slot-games__section-title,
.page-slot-games__how-to-register-section p {
  color: var(--text-light);
}
.page-slot-games__how-to-register-section p {
  text-align: center;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

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

.page-slot-games__step-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-light);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--font-register-login); /* Yellow for numbers */
  background: var(--button-register-bg); /* Red circle */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-title {
  font-size: 1.4em;
  color: var(--text-light);
  margin-bottom: 15px;
}

.page-slot-games__step-item p {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  text-align: center;
}

/* --- Promotions Section --- */
.page-slot-games__promotions-section p {
  font-size: 1.1em;
  margin-bottom: 25px;
  text-align: justify;
}

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

.page-slot-games__promo-card {
  background: var(--bg-light);
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

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

.page-slot-games__promo-card img {
  width: 100%;
   /* Consistent image height for promo cards */
  object-fit: cover;
  display: block;
}

.page-slot-games__promo-title {
  font-size: 1.4em;
  padding: 20px 20px 10px;
  color: var(--primary-color);
}

.page-slot-games__promo-card p {
  font-size: 0.95em;
  padding: 0 20px 15px;
  margin-bottom: 0;
  text-align: left;
}

.page-slot-games__promo-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  padding: 0 20px 20px;
  transition: color 0.3s ease;
}

.page-slot-games__promo-link:hover {
  color: #004d2b;
}

/* --- Security Section --- */
.page-slot-games__security-section .page-slot-games__section-title,
.page-slot-games__security-section p {
  color: var(--text-light);
}
.page-slot-games__security-section p {
  text-align: center;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

.page-slot-games__security-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-slot-games__security-text {
  flex: 1;
  min-width: 300px;
}

.page-slot-games__security-text h3 {
  font-size: 1.8em;
  color: var(--text-light);
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
}

.page-slot-games__security-text p {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: left;
  color: rgba(255, 255, 255, 0.85);
}

.page-slot-games__security-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-slot-games__security-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* --- FAQ Section --- */
.page-slot-games__faq-section p {
  font-size: 1.1em;
  margin-bottom: 25px;
  text-align: justify;
}

.page-slot-games__faq-intro {
  text-align: center;
  margin-bottom: 40px;
}