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

.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__section-title {
  font-size: 36px;
  color: #26A9E0; /* Brand color for titles */
  margin-bottom: 30px;
  font-weight: bold;
}

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

.page-slot-games__grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__grid--two-cols {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-slot-games__grid--three-cols {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-slot-games__card {
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-slot-games__card-title {
  font-size: 24px;
  color: #26A9E0;
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-slot-games__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary:hover {
  background: #1e87b8;
  border-color: #1e87b8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: #ffffff;
  color: #26A9E0;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #26A9E0;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-secondary:hover {
  background: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

/* 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); /* Ensure space for fixed header */
  background: linear-gradient(135deg, #26A9E0, #FFFFFF); /* Fading brand color to white */
  color: #FFFFFF;
}

.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;
  max-width: 1000px; /* Limit hero image width */
}

.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%;
  max-width: 800px;
  color: #FFFFFF; /* Ensure text color is white on dark/brand background */
}

.page-slot-games__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-slot-games__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #EA7C07; /* Login color for CTA */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__cta-button:hover {
  background: #d46f06;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Intro Section */
.page-slot-games__intro-section {
  background-color: #f9f9f9;
  color: #333333;
}

.page-slot-games__image-wrapper {
  margin-top: 30px;
  margin-bottom: 30px;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.page-slot-games__image-wrapper--bottom {
  margin-top: 50px;
}

/* Quick Access Section */
.page-slot-games__quick-access-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-slot-games__quick-access-section .page-slot-games__section-title,
.page-slot-games__quick-access-section .page-slot-games__text-block {
  color: #ffffff;
}

.page-slot-games__card--light-bg {
  background: #ffffff;
  color: #333333;
}

.page-slot-games__card--light-bg .page-slot-games__card-title {
  color: #26A9E0;
}

/* Core Games Section */
.page-slot-games__core-games-section {
  background-color: #FFFFFF;
  color: #333333;
}

.page-slot-games__game-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__game-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-slot-games__game-title {
  font-size: 22px;
  color: #26A9E0;
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: 600;
}