/* style/slot-games.css */
:root {
  --primary-color: #0047AB;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #000000;
  --background-light: #f8f8f8;
  --card-background-dark: rgba(255, 255, 255, 0.1);
  --card-background-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so main text is light */
  background-color: var(--background-dark); /* Ensure main content area respects body background */
}

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 60px;
  padding-top: var(--header-offset, 120px); /* Ensure content starts below fixed header */
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, #002D62 100%);
  overflow: hidden;
  color: var(--text-light);
}

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

.page-slot-games__main-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__hero-image-wrapper {
  position: absolute;
  bottom: -50px; /* Adjust as needed */
  right: -100px; /* Adjust as needed */
  width: 60%;
  max-width: 900px;
  opacity: 0.2;
  z-index: 1;
}

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

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__cta-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-slot-games__section {
  padding: 60px 20px;
  text-align: center;
}

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

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

.page-slot-games__section p {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-slot-games__dark-bg .page-slot-games__section-title {
  color: var(--secondary-color);
}

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

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

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

.page-slot-games__grid-item.page-slot-games__card {
  background: var(--card-background-light);
  color: var(--text-dark);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 350px; /* Ensure cards have minimum height */
  display: flex;
  flex-direction: column;
}

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

.page-slot-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-slot-games__card-description {
  font-size: 1em;
  color: var(--text-dark);
  flex-grow: 1;
}

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

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

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

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

.page-slot-games__btn-secondary:hover {
  background: #e6c200;
  border-color: #e6c200;
}

.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__step-item {
  background: var(--card-background-dark);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-light);
}

.page-slot-games__step-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-slot-games__step-item p {
  font-size: 1.1em;
  color: var(--text-light);
}

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

.page-slot-games__benefit-item.page-slot-games__card {
  text-align: center;
  padding: 30px;
  background: var(--card-background-light);
  color: var(--text-dark);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 250px;
}

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

.page-slot-games__benefit-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-slot-games__benefit-item p {
  font-size: 1em;
  color: var(--text-dark);
}

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

.page-slot-games__promo-item {
  background: var(--card-background-dark);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-light);
  min-height: 200px;
}

.page-slot-games__promo-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-slot-games__promo-item p {
  font-size: 1em;
  color: var(--text-light);
}

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

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

.page-slot-games__mobile-text p {
  margin-left: 0;
  margin-right: 0;
  color: var(--text-dark);
}

.page-slot-games__mobile-features {
  list-style: disc;
  margin-left: 20px;
  margin-top: 20px;
  color: var(--text-dark);
}

.page-slot-games__mobile-features li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--text-dark);
}

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