:root {
  --page-slot-games-primary-color: #E53935;
  --page-slot-games-secondary-color: #FF5A4F;
  --page-slot-games-text-main: #333333;
  --page-slot-games-card-bg: #FFFFFF;
  --page-slot-games-bg: #F5F7FA;
  --page-slot-games-border-color: #E0E0E0;
}

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

/* Ensure all images are responsive */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Default object-fit for content images */
}

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

/* Section titles and descriptions */
.page-slot-games__section-title {
  font-size: 2.5em;
  color: var(--page-slot-games-primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-slot-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__sub-title {
  font-size: 1.8em;
  color: var(--page-slot-games-primary-color);
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: center;
}

/* Card styling */
.page-slot-games__card {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-text-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't overflow */
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, var(--page-slot-games-secondary-color) 0%, var(--page-slot-games-primary-color) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.4);
}

.page-slot-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: var(--page-slot-games-primary-color);
  border: 2px solid var(--page-slot-games-primary-color);
  margin-left: 15px;
}

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

.page-slot-games__btn-text-link {
  background: none;
  border: none;
  color: var(--page-slot-games-primary-color);
  padding: 8px 0;
  font-size: 1em;
  text-decoration: underline;
  margin-top: 10px;
}

.page-slot-games__btn-text-link:hover {
  color: var(--page-slot-games-secondary-color);
}

.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 */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  color: #ffffff;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover; /* Covers the area, might crop */
  max-height: 600px; /* Limit height for desktop */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  padding: 30px 20px 60px;
  max-width: 900px;
  margin: 0 auto;
}