/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-slot-games__inline-link {
  color: #FFFF00; /* Yellow for better visibility on dark green/dark backgrounds */
  text-decoration: underline;
}

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

/* Color contrast classes */
.page-slot-games__dark-bg {
  background-color: #017439; /* Brand primary color */
  color: #ffffff; /* White text for contrast */
}

.page-slot-games__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for contrast */
}

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

.page-slot-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Slightly dim image for text readability */
}

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

.page-slot-games__main-title {
  font-size: 3.8em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Yellow for main title on dark green */
}

.page-slot-games__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #ffffff;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* For responsive buttons */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

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

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

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

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

.page-slot-games__btn-small {
  padding: 10px 20px;
  font-size: 1em;
}

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

/* About Section */
.page-slot-games__about-section {
  padding: 80px 0;
}

.page-slot-games__about-section .page-slot-games__section-title {
  color: #017439;
}

.page-slot-games__about-section .page-slot-games__text-block {
  color: #333333;
}

.page-slot-games__about-section .page-slot-games__inline-link {
  color: #017439;
}

.page-slot-games__about-section .page-slot-games__inline-link:hover {
  color: #004d26;
}

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

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

.page-slot-games__feature-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-slot-games__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-slot-games__feature-description {
  font-size: 1em;
  line-height: 1.7;
}

/* Game Showcase Section */
.page-slot-games__game-showcase {
  padding: 80px 0;
}

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

.page-slot-games__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
}

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

.page-slot-games__game-title {
  font-size: 1.4em;
  font-weight: bold;
  margin: 20px 15px 10px 15px;
  color: #FFFF00; /* Yellow for game titles on dark background */
}

.page-slot-games__game-title a {
  color: inherit;
  text-decoration: none;
}

.page-slot-games__game-title a:hover {
  text-decoration: underline;
}

.page-slot-games__game-description {
  font-size: 0.95em;
  line-height: 1.6;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
  color: #f0f0f0;
}

/* How To Play Section */
.page-slot-games__how-to-play {
  padding: 80px 0;
}

.page-slot-games__how-to-play .page-slot-games__section-title {
  color: #017439;
}

.page-slot-games__how-to-play .page-slot-games__text-block {
  color: #333333;
}

.page-slot-games__how-to-play .page-slot-games__inline-link {
  color: #017439;
}

.page-slot-games__how-to-play .page-slot-games__inline-link:hover {
  color: #004d26;
}

.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

.page-slot-games__step-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-slot-games__step-item p {
  margin-bottom: 20px;
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

/* Promotions Section */
.page-slot-games__promotions {
  padding: 80px 0;
}

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

.page-slot-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
}

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

.page-slot-games__promo-title {
  font-size: 1.4em;
  font-weight: bold;
  margin: 20px 15px 10px 15px;
  color: #FFFF00; /* Yellow for promo titles */
}

.page-slot-games__promo-title a {
  color: inherit;
  text-decoration: none;
}

.page-slot-games__promo-title a:hover {
  text-decoration: underline;
}

.page-slot-games__promo-description {
  font-size: 0.95em;
  line-height: 1.6;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
  color: #f0f0f0;
}

/* Benefits Section */
.page-slot-games__benefits {
  padding: 80px 0;
}

.page-slot-games__benefits .page-slot-games__section-title {
  color: #017439;
}

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