/* style/slot-games.css */

:root {
  --page-primary-color: #26A9E0;
  --page-secondary-color: #FFFFFF;
  --page-text-dark: #333333;
  --page-text-light: #FFFFFF;
  --page-login-button-color: #EA7C07;
  --page-login-button-hover-color: #D06A00;
  --page-background-color: #FFFFFF;
  --page-black-color: #000000;
  --page-light-grey: #f9f9f9;
  --page-lighter-grey: #f0f0f0;
}

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

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

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

.page-slot-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: var(--page-text-dark);
}

.page-slot-games__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--page-text-dark);
}

/* Color Contrast Helpers */
.page-slot-games__dark-bg {
  background-color: var(--page-primary-color);
  color: var(--page-text-light);
}

.page-slot-games__dark-bg .page-slot-games__section-title,
.page-slot-games__dark-bg .page-slot-games__section-description,
.page-slot-games__dark-bg .page-slot-games__card-title,
.page-slot-games__dark-bg .page-slot-games__card-description,
.page-slot-games__dark-bg .page-slot-games__list-title,
.page-slot-games__dark-bg .page-slot-games__list-description,
.page-slot-games__dark-bg .page-slot-games__cta-title,
.page-slot-games__dark-bg .page-slot-games__cta-description {
  color: var(--page-text-light);
}

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

.page-slot-games__light-bg .page-slot-games__section-title {
  color: var(--page-primary-color);
}

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

.page-slot-games__hero-content {
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.5;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background-color: var(--page-login-button-color);
  color: var(--page-text-light);
  border: 2px solid var(--page-login-button-color);
}

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

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

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

.page-slot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Overlay effect for background image */
}

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

.page-slot-games__image-content {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Game Types Section */
.page-slot-games__game-types-section {
  padding: 80px 0;
}

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

.page-slot-games__game-type-card {
  background-color: var(--page-secondary-color);
  color: var(--page-text-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-slot-games__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-slot-games__card-title {
  font-size: 1.5em;
  margin: 20px 15px 10px 15px;
  color: var(--page-primary-color);
}

.page-slot-games__card-description {
  font-size: 1em;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

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

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

.page-slot-games__step-item {
  background-color: var(--page-secondary-color);
  color: var(--page-text-dark);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}