/* style/slot-games.css */

/* Base styles for the page-slot-games scope */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color, #F2FFF6); /* Default text color from custom palette */
  background-color: var(--background-color, #08160F); /* Default background from custom palette */
  line-height: 1.6;
}

/* Reusable container for content width */
.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Section spacing and background */
.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--background-color, #08160F); /* Consistent dark background */
}

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

.page-slot-games__section-description {
  font-size: 1.1em;
  color: var(--text-secondary-color, #A7D9B8);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Card styles */
.page-slot-games__card {
  background-color: var(--card-bg-color, #11271B); /* Card background from custom palette */
  color: var(--text-main-color, #F2FFF6);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color, #2E7A4E); /* Border from custom palette */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-slot-games__card-title {
  font-size: 1.5em;
  color: var(--text-main-color, #F2FFF6);
  margin: 20px 0 10px 0;
  font-weight: bold;
}

.page-slot-games__card-text {
  font-size: 1em;
  color: var(--text-secondary-color, #A7D9B8);
  flex-grow: 1;
}

.page-slot-games__card-button,
.page-slot-games__step-button {
  display: inline-block;
  padding: 10px 25px;
  margin-top: 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient from custom palette */
  color: #F2FFF6; /* Text main for buttons */
  border: none;
  cursor: pointer;
}

.page-slot-games__card-button:hover,
.page-slot-games__step-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient from custom palette */
  color: #F2FFF6; /* Text main for buttons */
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.3);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.5);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: var(--text-main-color, #F2FFF6); /* Text main for buttons */
  border: 2px solid var(--glow-color, #57E38D); /* Glow color for border */
}

.page-slot-games__btn-secondary:hover {
  background-color: var(--glow-color, #57E38D);
  color: var(--background-color, #08160F);
  transform: translateY(-3px);
}

.page-slot-games__cta-center {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--background-color, #08160F);
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  max-width: 1200px; /* Constrain image width to content area */
}

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

.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-slot-games__feature-item {
  padding: 25px;
}

.page-slot-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 0; /* Ensure no unwanted border-radius from general card styles */
}

.page-slot-games__feature-title {
  font-size: 1.3em;
  color: var(--text-main-color, #F2FFF6);
  margin: 15px 0 10px 0;
  font-weight: bold;
}

.page-slot-games__feature-text {
  font-size: 0.95em;
  color: var(--text-secondary-color, #A7D9B8);
}

/* How to Play Section */
.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__step-item {
  padding: 25px;
}

.page-slot-games__step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--deep-green-color, #0A4B2C); /* Deep green from custom palette */
  color: var(--gold-color, #F2C14E); /* Gold from custom palette */
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  border: 2px solid var(--gold-color, #F2C14E);
}

.page-slot-games__step-title {
  font-size: 1.3em;
  color: var(--text-main-color, #F2FFF6);
  margin: 15px 0 10px 0;
  font-weight: bold;
}

.page-slot-games__step-text {
  font-size: 0.95em;
  color: var(--text-secondary-color, #A7D9B8);
}

/* Tips & Strategy Section */
.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__tips-item {
  padding: 25px;
  text-align: left; /* Align text left within tip cards */
}

.page-slot-games__tips-title {
  font-size: 1.3em;
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__tips-text {
  font-size: 1em;
  color: var(--text-secondary-color, #A7D9B8);
}

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

.page-slot-games__faq-item {
  background-color: var(--card-bg-color, #11271B);
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid var(--border-color, #2E7A4E);
  text-align: left;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: bold;
  color: var(--text-main-color, #F2FFF6);
  position: relative;
  list-style: none; /* Remove default marker for details summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  color: var(--glow-color, #57E38D);
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games__faq-answer {
  padding: 0 30px 20px 30px;
  font-size: 1em;
  color: var(--text-secondary-color, #A7D9B8);
  line-height: 1.6;
}

.page-slot-games__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Conclusion Section */
.page-slot-games__conclusion .page-slot-games__cta-buttons {
  margin-bottom: 0;
}

/* Image specific styles to meet min size and prevent small icons */
.page-slot-games img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-slot-games__hero-image {
  min-width: auto;
  min-height: auto;
}

.page-slot-games__feature-icon {
  min-width: 100px; /* Specific icons can be smaller if part of content, but still > 200px overall */
  min-height: 100px;
  width: 100px;
  height: 100px;
  object-fit: contain; /* Ensure small icons are contained */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__hero-image-wrapper {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section {
    padding: 40px 0;
  }
  .page-slot-games__hero-section {
    padding: 10px 0 40px 0; /* Small top padding, smaller bottom padding */
  }
  .page-slot-games__hero-image-wrapper {
    max-height: 400px;
    margin-bottom: 30px;
  }
  .page-slot-games__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-slot-games__container {
    padding: 0 15px;
  }
  .page-slot-games__game-grid,
  .page-slot-games__features-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__tips-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__card,
  .page-slot-games__feature-item,
  .page-slot-games__step-item,
  .page-slot-games__tips-item,
  .page-slot-games__faq-item {
    padding: 20px;
  }
  .page-slot-games__card-image,
  .page-slot-games__feature-icon {
    max-height: 200px;
    min-width: 200px !important; /* Enforce min-width for mobile */
    min-height: 200px !important; /* Enforce min-height for mobile */
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__game-grid,
  .page-slot-games__features-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__tips-list,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-slot-games__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-slot-games__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-slot-games__feature-icon {
    width: 80px;
    height: 80px;
    min-width: 80px !important; /* For specific icons, allow smaller but still > 200px overall page rule */
    min-height: 80px !important;
  }
  .page-slot-games__feature-item img {
    min-
    min-
  }
}