/* Base styles */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  background-color: #f8f8f8; /* A light background for the page content */
  line-height: 1.6;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
  margin-top: 0;
  overflow: hidden;
  background-color: #000; /* Dark background for the hero image */
}

.page-slot-games__hero-container {
  position: relative;
  margin: 0 auto;
  width: 100%;
}

.page-slot-games__hero-image {
  width: 100%;
  margin: 0;
  line-height: 0; /* Remove extra space below image */
}

.page-slot-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum image size */
}

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

/* Headings */
.page-slot-games__main-title {
  font-size: 3.2em;
  color: #B22222;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #B22222;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.3;
}

.page-slot-games__game-title,
.page-slot-games__benefit-title,
.page-slot-games__guide-step-title,
.page-slot-games__tip-title,
.page-slot-games__promo-title {
  font-size: 1.5em;
  color: #333333;
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.4;
}

/* Paragraphs and Descriptions */
.page-slot-games__description,
.page-slot-games__game-description,
.page-slot-games__benefit-description,
.page-slot-games__tip-description,
.page-slot-games__promo-description,
.page-slot-games p,
.page-slot-games li {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 1em;
}

/* Call to Action Buttons */
.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure buttons don't overflow */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-slot-games__btn-primary:hover {
  background-color: #FFD700;
  border-color: #FFD700;
  color: #B22222;
  transform: translateY(-2px);
}

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

.page-slot-games__btn-secondary:hover {
  background-color: #B22222;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Games Showcase Section */
.page-slot-games__games-showcase-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

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

.page-slot-games__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__game-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto 15px auto;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px;
  object-fit: cover;
}

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

.page-slot-games__dark-section {
  background-color: #B22222;
  color: #ffffff;
}

.page-slot-games__dark-section .page-slot-games__section-title,
.page-slot-games__dark-section .page-slot-games__benefit-title,
.page-slot-games__dark-section .page-slot-games__benefit-description {
  color: #ffffff;
}

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

.page-slot-games__benefit-item {
  text-align: center;
  padding: 25px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.1); /* Light background for dark section */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__benefit-item .page-slot-games__benefit-title {
  color: #FFD700; /* Gold for titles on dark background */
}

/* Guide Section */
.page-slot-games__guide-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-slot-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__guide-item {
  background-color: #f9f9f9;
  border-left: 5px solid #B22222;
  padding: 20px 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-slot-games__guide-item p {
  margin-bottom: 0;
}

.page-slot-games__guide-item a {
  color: #B22222;
  text-decoration: underline;
}

.page-slot-games__guide-item a:hover {
  color: #FFD700;
}

/* Tips Section */
.page-slot-games__tips-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

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