/* style/slot-games.css */

:root {
  --page-slot-games-primary-color: #11A84E;
  --page-slot-games-secondary-color: #22C768;
  --page-slot-games-bg-color: #08160F;
  --page-slot-games-card-bg: #11271B;
  --page-slot-games-text-main: #F2FFF6;
  --page-slot-games-text-secondary: #A7D9B8;
  --page-slot-games-border-color: #2E7A4E;
  --page-slot-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-slot-games-glow-color: #57E38D;
  --page-slot-games-gold-color: #F2C14E;
  --page-slot-games-divider-color: #1E3A2A;
  --page-slot-games-deep-green-color: #0A4B2C;
}

.page-slot-games {
  background-color: var(--page-slot-games-bg-color); /* Matches custom background color */
  color: var(--page-slot-games-text-main); /* Ensures light text on dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-slot-games__container--flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-slot-games__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  color: var(--page-slot-games-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-slot-games__text-block {
  margin-bottom: 20px;
  color: var(--page-slot-games-text-secondary);
  text-align: justify;
}

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  min-height: 600px;
  overflow: hidden;
  text-align: center;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  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;
  min-height: 300px;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  color: var(--page-slot-games-gold-color);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-slot-games__hero-description {
  font-size: clamp(1rem, 1.2vw, 1.3rem);
  color: var(--page-slot-games-text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__cta-buttons--center {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  font-size: 1rem;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient);
  color: var(--page-slot-games-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
  opacity: 0.9;
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--page-slot-games-gold-color);
  border: 2px solid var(--page-slot-games-gold-color);
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.page-slot-games__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

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

.page-slot-games__introduction-section,
.page-slot-games__why-choose-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-light-bg, #f8f8f8);
  color: var(--page-slot-games-dark-text, #333333);
}

.page-slot-games__introduction-section .page-slot-games__text-block,
.page-slot-games__why-choose-section .page-slot-games__text-block,
.page-slot-games__promotions-section .page-slot-games__text-block,
.page-slot-games__faq-section .page-slot-games__text-block {
  color: var(--page-slot-games-dark-text, #333333);
}

.page-slot-games__introduction-section .page-slot-games__section-title,
.page-slot-games__why-choose-section .page-slot-games__section-title,
.page-slot-games__promotions-section .page-slot-games__section-title,
.page-slot-games__faq-section .page-slot-games__section-title {
  color: var(--page-slot-games-deep-green-color);
}

.page-slot-games__game-types-section,
.page-slot-games__guide-section,
.page-slot-games__app-download-section,
.page-slot-games__conclusion-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-bg-color);
  color: var(--page-slot-games-text-main);
}

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

.page-slot-games__card {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-slot-games-text-main);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__card-image,
.page-slot-games__feature-icon {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__card-title {
  font-size: 1.5rem;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-slot-games__card-description {
  font-size: 0.95rem;
  color: var(--page-slot-games-text-secondary);
  flex-grow: 1;
}

.page-slot-games__feature-item .page-slot-games__feature-icon {
  width: 100px;
  height: 100px;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
  margin-bottom: 15px;
  min-width: 100px; /* Override global min-width for icons if necessary, but still > 200px as per requirements */
  min-height: 100px;
}

.page-slot-games__feature-title {
  font-size: 1.3rem;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 10px;
}

.page-slot-games__feature-description {
  font-size: 0.9rem;
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__guide-step {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__guide-step h3 {
  color: var(--page-slot-games-gold-color);
  font-size: 1.6rem;
  margin-bottom: 15px;
}

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

.page-slot-games__app-download-section .page-slot-games__container--flex {
  justify-content: space-between;
  align-items: center;
}

.page-slot-games__app-content {
  flex: 1;
  padding-right: 40px;
}

.page-slot-games__app-image-wrapper {
  flex-shrink: 0;
  width: 400px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__app-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__app-features {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-slot-games__app-features li {
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-slot-games__app-features li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: var(--page-slot-games-gold-color);
}

.page-slot-games__app-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-slot-games__faq-list {
  margin-top: 40px;
}

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-slot-games-gold-color);
  cursor: pointer;
  background-color: var(--page-slot-games-deep-green-color);
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: var(--page-slot-games-primary-color);
}

.page-slot-games__faq-item[open] > .page-slot-games__faq-question {
  background-color: var(--page-slot-games-primary-color);
}

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  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: 15px 25px 25px 25px;
  font-size: 1rem;
  color: var(--page-slot-games-text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--page-slot-games-border-color);
}

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

/* Ensure correct text color for sections with light background */
.page-slot-games__light-bg .page-slot-games__text-block,
.page-slot-games__light-bg .page-slot-games__card-description,
.page-slot-games__light-bg .page-slot-games__feature-description,
.page-slot-games__light-bg .page-slot-games__faq-answer {
  color: var(--page-slot-games-dark-text, #333333);
}

/* Specific colors for light background sections' titles */
.page-slot-games__light-bg .page-slot-games__section-title {
  color: var(--page-slot-games-deep-green-color);
}

.page-slot-games__light-bg .page-slot-games__card-title,
.page-slot-games__light-bg .page-slot-games__feature-title {
  color: var(--page-slot-games-primary-color);
}

/* Dark background sections */
.page-slot-games__dark-section {
  background-color: var(--page-slot-games-bg-color);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__dark-section .page-slot-games__section-title {
  color: var(--page-slot-games-gold-color);
}

.page-slot-games__dark-section .page-slot-games__text-block,
.page-slot-games__dark-section .page-slot-games__card-description,
.page-slot-games__dark-section .page-slot-games__feature-description,
.page-slot-games__dark-section .page-slot-games__app-features li,
.page-slot-games__dark-section .page-slot-games__guide-step p {
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__dark-section .page-slot-games__card-title,
.page-slot-games__dark-section .page-slot-games__feature-title,
.page-slot-games__dark-section .page-slot-games__guide-step h3 {
  color: var(--page-slot-games-gold-color);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-slot-games__container--flex {
    flex-direction: column;
    gap: 30px;
  }

  .page-slot-games__app-content {
    padding-right: 0;
    text-align: center;
  }

  .page-slot-games__app-image-wrapper {
    width: 100%;
    max-width: 400px;
  }

  .page-slot-games__app-features {
    text-align: left;
  }

  .page-slot-games__app-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-slot-games__hero-section {
    padding: 10px 0 40px 0;
    min-height: 450px;
  }

  .page-slot-games__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-slot-games__main-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

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

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-slot-games__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-slot-games__introduction-section,
  .page-slot-games__game-types-section,
  .page-slot-games__why-choose-section,
  .page-slot-games__guide-section,
  .page-slot-games__promotions-section,
  .page-slot-games__app-download-section,
  .page-slot-games__faq-section,
  .page-slot-games__conclusion-section {
    padding: 60px 0;
  }

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

  .page-slot-games__hero-image,
  .page-slot-games__card-image,
  .page-slot-games__feature-icon,
  .page-slot-games__app-image {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    height: auto !important;
  }

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

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

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

  .page-slot-games__app-image-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }
}

/* Global content area image size enforcement */
.page-slot-games img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon):not(.shared-footer__game-provider-logo) {
  min-width: 200px;
  min-height: 200px;
}