/* style/slot-games.css */

/* General styles for the page slot games content */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--site-bg);
}

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

.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-slot-games__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__description-text {
  font-size: 1em;
  margin-bottom: 20px;
  color: var(--text-secondary);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__button-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px;
  overflow: hidden;
  color: var(--text-main);
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and content */
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 15px;
  max-width: 900px;
}

.page-slot-games__main-title {
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2em, 5vw, 3.5em);
}

/* Overview Section */
.page-slot-games__overview-section .page-slot-games__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.page-slot-games__overview-section p {
  text-align: left;
  color: #333333; /* Dark text for light background */
}

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

.page-slot-games__game-type-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.page-slot-games__card-title {
  color: var(--text-main);
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__game-type-card p {
  color: var(--text-secondary);
}

/* Benefits Section */
.page-slot-games__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-slot-games__benefits-item {
  background-color: #ffffff; /* White card background on light section */
  padding: 25px;
  border-radius: 15px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-slot-games__benefits-title {
  color: var(--gold-color);
  font-size: 1.3em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__benefits-item p {
  color: #333333; /* Dark text for light background */
}

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

.page-slot-games__guide-step {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  text-align: left;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Push button to bottom */
}

.page-slot-games__guide-title {
  color: var(--text-main);
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__guide-step p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Promotions Section */
.page-slot-games__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-slot-games__promo-item {
  background-color: #ffffff; /* White card background on light section */
  padding: 25px;
  border-radius: 15px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-slot-games__promo-title {
  color: var(--deep-green);
  font-size: 1.3em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__promo-item p {
  color: #333333; /* Dark text for light background */
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  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: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--text-main);
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  background-color: var(--deep-green);
  color: #ffffff;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-slot-games__faq-answer {
  padding: 0 25px 18px;
  color: var(--text-secondary);
  font-size: 0.95em;
}

/* Conclusion Section */
.page-slot-games__conclusion-section .page-slot-games__description-text {
  margin-bottom: 30px;
}

/* Image styles */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-slot-games__content-image {
  max-width: 800px;
  margin: 40px auto;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Color Contrast & Theme Variables */
:root {
  --site-bg: #08160F;
  --card-bg: #11271B;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --border-color: #2E7A4E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

.page-slot-games__dark-bg {
  background-color: var(--site-bg);
  color: var(--text-main);
}

.page-slot-games__dark-bg .page-slot-games__section-title,
.page-slot-games__dark-bg .page-slot-games__card-title,
.page-slot-games__dark-bg .page-slot-games__benefits-title,
.page-slot-games__dark-bg .page-slot-games__guide-title,
.page-slot-games__dark-bg .page-slot-games__promo-title {
  color: var(--text-main);
}

.page-slot-games__dark-bg .page-slot-games__description,
.page-slot-games__dark-bg .page-slot-games__description-text,
.page-slot-games__dark-bg .page-slot-games__game-type-card p,
.page-slot-games__dark-bg .page-slot-games__benefits-item p,
.page-slot-games__dark-bg .page-slot-games__guide-step p,
.page-slot-games__dark-bg .page-slot-games__promo-item p,
.page-slot-games__dark-bg .page-slot-games__faq-answer {
  color: var(--text-secondary);
}

.page-slot-games__dark-bg .page-slot-games__card,
.page-slot-games__dark-bg .page-slot-games__benefits-item,
.page-slot-games__dark-bg .page-slot-games__guide-step,
.page-slot-games__dark-bg .page-slot-games__promo-item,
.page-slot-games__dark-bg .page-slot-games__faq-item {
  background-color: var(--card-bg);
  border-color: var(--border-color);
}

.page-slot-games__dark-bg .page-slot-games__faq-item[open] .page-slot-games__faq-question {
  background-color: var(--deep-green);
  color: #ffffff;
}

/* Ensure color contrast for light background sections */
.page-slot-games__light-bg {
  background-color: #F2FFF6; /* Using Text Main color as a very light background for light sections */
  color: #333333; /* Dark text for light background */
}

.page-slot-games__light-bg .page-slot-games__section-title,
.page-slot-games__light-bg .page-slot-games__card-title,
.page-slot-games__light-bg .page-slot-games__benefits-title,
.page-slot-games__light-bg .page-slot-games__guide-title,
.page-slot-games__light-bg .page-slot-games__promo-title {
  color: var(--deep-green); /* Use a dark green for titles on light background */
}

.page-slot-games__light-bg .page-slot-games__description,
.page-slot-games__light-bg .page-slot-games__description-text,
.page-slot-games__light-bg .page-slot-games__game-type-card p,
.page-slot-games__light-bg .page-slot-games__benefits-item p,
.page-slot-games__light-bg .page-slot-games__guide-step p,
.page-slot-games__light-bg .page-slot-games__promo-item p,
.page-slot-games__light-bg .page-slot-games__faq-answer {
  color: #333333; /* Dark text for paragraphs on light background */
}

.page-slot-games__light-bg .page-slot-games__card,
.page-slot-games__light-bg .page-slot-games__benefits-item,
.page-slot-games__light-bg .page-slot-games__guide-step,
.page-slot-games__light-bg .page-slot-games__promo-item,
.page-slot-games__light-bg .page-slot-games__faq-item {
  background-color: #ffffff; /* White card background on light section */
  border-color: #e0e0e0; /* Light border */
}

.page-slot-games__light-bg .page-slot-games__faq-item[open] .page-slot-games__faq-question {
  background-color: var(--deep-green);
  color: #ffffff;
}

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

@media (max-width: 768px) {
  .page-slot-games__section {
    padding: 40px 0;
  }

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

  .page-slot-games__description,
  .page-slot-games__description-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-slot-games__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-slot-games__hero-content {
    padding: 0 10px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-slot-games__game-type-grid,
  .page-slot-games__benefits-list,
  .page-slot-games__guide-steps,
  .page-slot-games__promo-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__game-type-card,
  .page-slot-games__benefits-item,
  .page-slot-games__guide-step,
  .page-slot-games__promo-item {
    padding: 20px;
  }

  .page-slot-games__card-title,
  .page-slot-games__benefits-title,
  .page-slot-games__guide-title,
  .page-slot-games__promo-title {
    font-size: 1.2em;
  }

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

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

  /* Responsive images */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Responsive containers for images/buttons */
  .page-slot-games__section,
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__hero-content,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__content-wrapper,
  .page-slot-games__game-type-grid,
  .page-slot-games__game-type-card,
  .page-slot-games__benefits-list,
  .page-slot-games__benefits-item,
  .page-slot-games__guide-steps,
  .page-slot-games__guide-step,
  .page-slot-games__promo-list,
  .page-slot-games__promo-item,
  .page-slot-games__faq-list,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__cta-button {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}