/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text on light background */
  background-color: var(--secondary-color, #FFFFFF); /* Ensures light background */
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed, responsive via object-fit */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-slot-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
  z-index: 2;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #FFFFFF;
  max-width: 800px;
  padding: 30px;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.6); /* Dark background for text on image */
}

.page-slot-games__hero-title {
  font-size: 3em;
  margin-bottom: 15px;
  color: #FFFF00; /* Bright color for emphasis */
}

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

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

/* General Section Styles */
.page-slot-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: var(--primary-color, #017439);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

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

.page-slot-games__dark-section {
  background-color: var(--primary-color, #017439);
  color: #FFFFFF;
  padding: 60px 20px;
}

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

.page-slot-games__dark-section p {
  color: #FFFFFF;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

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

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

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: var(--primary-color, #017439);
  border: 2px solid var(--primary-color, #017439);
}

.page-slot-games__dark-section .page-slot-games__btn-secondary {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-slot-games__btn-secondary:hover {
  background-color: var(--primary-color, #017439);
  color: #FFFFFF;
}

.page-slot-games__dark-section .page-slot-games__btn-secondary:hover {
  background-color: #FFFFFF;
  color: var(--primary-color, #017439);
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Grid Layout for Game Types and Promotions */
.page-slot-games__grid-layout,
.page-slot-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__card,
.page-slot-games__promo-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__card-image,
.page-slot-games__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  display: block; /* Ensures no extra space below image */
}

.page-slot-games__card-title,
.page-slot-games__promo-title {
  font-size: 1.5em;
  color: var(--primary-color, #017439);
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-slot-games__card p,
.page-slot-games__promo-card p {
  color: #555555;
  padding: 0 20px 20px;
  flex-grow: 1; /* Allows paragraph to take available space */
}

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

.page-slot-games__provider-info {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  color: #FFFFFF;
}

/* Guide Section */
.page-slot-games__guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-slot-games__guide-step {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  border-left: 5px solid var(--primary-color, #017439);
}

.page-slot-games__guide-step-title {
  font-size: 1.8em;
  color: var(--primary-color, #017439);
  margin-bottom: 15px;
}

.page-slot-games__guide-step p {
  color: #555555;
}

/* Security Section */
.page-slot-games__security-content {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap; /* Allow wrapping */
}

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

.page-slot-games__security-text ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-slot-games__security-text li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #555555;
}

.page-slot-games__security-text li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: var(--primary-color, #017439);
}

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

.page-slot-games__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block; /* Prevents extra space below image */
  margin: 0 auto;
}

/* FAQ Section */
.page-slot-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-slot-games__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.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: var(--primary-color, #017439);
  cursor: pointer;
  background-color: #F8F8F8;
  border-bottom: 1px solid #E0E0E0;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  transform: rotate(45deg); /* Changes '+' to 'x' visually */
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 20px 25px; /* Expanded padding */
}

.page-slot-games__faq-answer p {
  margin-bottom: 15px;
}

.page-slot-games__faq-answer .page-slot-games__btn-secondary {
  margin-top: 10px;
}

/* Conclusion Section */
.page-slot-games__conclusion-section {
  text-align: center;
}

.page-slot-games__conclusion-section p {
  margin-bottom: 20px;
  color: #555555;
}


/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 2.5em;
  }

  .page-slot-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    height: 450px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-slot-games__hero-content {
    padding: 20px;
    max-width: 90%;
  }

  .page-slot-games__hero-title {
    font-size: 2em;
  }

  .page-slot-games__hero-description {
    font-size: 1em;
  }

  .page-slot-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__content-area {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__dark-section {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-slot-games__grid-layout,
  .page-slot-games__promo-grid,
  .page-slot-games__guide-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__card,
  .page-slot-games__promo-card,
  .page-slot-games__guide-step {
    padding: 20px;
  }

  .page-slot-games__card-image,
  .page-slot-games__promo-image,
  .page-slot-games__security-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Image containers */
  .page-slot-games__security-image-wrapper,
  .page-slot-games__card,
  .page-slot-games__promo-card,
  .page-slot-games__grid-layout,
  .page-slot-games__promo-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-games__security-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-slot-games__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-slot-games__faq-answer {
    padding: 0 20px;
  }

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 1.8em;
  }
  .page-slot-games__hero-description {
    font-size: 0.9em;
  }
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
}

/* Ensure no image filters */
.page-slot-games img {
  filter: none;
}