/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Default body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

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

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

/* 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 15px;
  background: linear-gradient(rgba(1, 116, 57, 0.8), rgba(1, 116, 57, 0.8)); /* Overlay for text readability */
  color: #FFFFFF;
  overflow: hidden;
}

.page-slot-games__hero-content {
  z-index: 1;
  max-width: 900px;
}

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

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

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

/* Button styles - Specific colors from requirements */
.page-slot-games__btn-register {
  display: inline-block;
  background-color: #C30808; /* Custom Register color */
  color: #FFFF00; /* Custom Register font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
}

.page-slot-games__btn-register:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

.page-slot-games__btn-login {
  display: inline-block;
  background-color: #C30808; /* Custom Login color */
  color: #FFFF00; /* Custom Login font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
}

.page-slot-games__btn-login:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

.page-slot-games__btn-primary {
  display: inline-block;
  background-color: #017439;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid transparent;
}

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

.page-slot-games__btn-secondary {
  display: inline-block;
  background-color: #FFFFFF;
  color: #017439;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: 2px solid #017439;
}

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

.page-slot-games__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

/* Section backgrounds and text colors for contrast */
.page-slot-games__dark-bg {
  background-color: #017439;
  color: #FFFFFF;
}

.page-slot-games__dark-bg .page-slot-games__section-title {
  color: #FFFFFF;
}

.page-slot-games__dark-bg .page-slot-games__text-block {
  color: #f0f0f0;
}

.page-slot-games__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-slot-games__light-bg .page-slot-games__section-title {
  color: #017439;
}

/* General Section Padding */
.page-slot-games__introduction,
.page-slot-games__why-choose,
.page-slot-games__game-types,
.page-slot-games__how-to-play,
.page-slot-games__promotions,
.page-slot-games__platform-features,
.page-slot-games__tips,
.page-slot-games__faq-section,
.page-slot-games__cta-final {
  padding: 80px 0;
}

/* Introduction Section */
.page-slot-games__image-content {
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  max-width: 100%;
  height: auto;
}

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

.page-slot-games__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-slot-games__feature-title {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.page-slot-games__feature-description {
  color: #f0f0f0;
  font-size: 1em;
}

/* Game Types Section */
.page-slot-games__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
}

.page-slot-games__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-slot-games__game-card-title {
  font-size: 1.4em;
  color: #017439;
  margin: 20px 15px 10px;
}

.page-slot-games__game-card-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px 20px;
}

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

/* How To Play Section */
.page-slot-games__numbered-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__numbered-list li {
  background-color: #f9f9f9;
  margin-bottom: 15px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  counter-increment: step-counter;
  position: relative;
  padding-left: 60px; /* Space for number */
}

.page-slot-games__numbered-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #017439;
  color: #FFFFFF;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1em;
}

.page-slot-games__list-title {
  font-size: 1.3em;
  color: #017439;
  margin-bottom: 10px;
}

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

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

.page-slot-games__promo-card:hover {
  transform: translateY(-5px);
}

.page-slot-games__promo-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-slot-games__promo-card-title {
  font-size: 1.4em;
  color: #FFFFFF;
  margin: 20px 15px 10px;
}

.page-slot-games__promo-card-description {
  font-size: 0.95em;
  color: #f0f0f0;
  padding: 0 15px 20px;
}

.page-slot-games__promo-card .page-slot-games__btn-secondary {
  margin-bottom: 20px;
}

/* Platform Features Section */
.page-slot-games__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__feature-list li {
  font-size: 1.1em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-slot-games__feature-list li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #017439;
}

/* Tips Section */
.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__tips-list li {
  background-color: #f9f9f9;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-size: 1.1em;
  color: #333333;
  position: relative;
  padding-left: 50px;
}

.page-slot-games__tips-list li::before {
  content: '💡';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
}

.page-slot-games__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #FFFFFF;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: #f0f0f0;
}