/* style/slot-games.css */

/* --- Base Styles --- */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text for light body background */
  line-height: 1.6;
  background-color: #FFFFFF; /* Ensure consistency with body background */
}

.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: #017439; /* Brand green for titles */
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  font-weight: bold;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 20px;
  color: #333333;
}

/* --- Color Contrast Classes --- */
.page-slot-games__dark-bg {
  background-color: #017439; /* Main brand color */
  color: #ffffff; /* White text for dark background */
}

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

/* --- Buttons --- */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

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

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

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #017439; /* Main brand color for text */
  border: 2px solid #017439;
}

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

.page-slot-games__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
}

/* --- Images & Video Base Styles --- */
.page-slot-games img,
.page-slot-games video {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 20px auto; /* Center images/videos */
  object-fit: cover;
}

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

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

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken background image for text readability */
  border-radius: 0; /* Hero image usually full width, no radius */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: #ffffff;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFFF00; /* Highlight title with yellow */
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-slot-games__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

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

.page-slot-games__content-image {
  margin-top: 30px;
  margin-bottom: 30px;
}

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

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

.page-slot-games__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  color: #333333;
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-slot-games__card-text {
  font-size: 0.95em;
  line-height: 1.5;
  color: #555555;
}

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

/* --- Why Choose Section --- */
.page-slot-games__why-choose-section {
  padding: 60px 0;
}

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