/* style/slot-games.css */

/* Base Styles */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background #0d0d0d is dark, so use light text */
  background-color: #0d0d0d; /* Ensure consistent background for the page content */
}

.page-slot-games__section {
  padding: 60px 20px;
  text-align: left;
  position: relative;
}

.page-slot-games__dark-bg {
  background-color: #1A237E;
  color: #ffffff;
}

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

.page-slot-games__dark-bg a {
  color: #FFD700;
}

.page-slot-games__light-bg a {
  color: #1A237E;
}

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

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

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

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

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

.page-slot-games__text-center {
  text-align: center;
}

.page-slot-games__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #ffffff;
}

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

.page-slot-games__list li {
  margin-bottom: 10px;
}

.page-slot-games__list li a {
  color: #FFD700;
  text-decoration: none;
}

.page-slot-games__list li a:hover {
  text-decoration: underline;
}

/* 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,
.page-slot-games__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-slot-games__btn-primary {
  background-color: #FFD700;
  color: #1A237E;
  border: 2px solid #FFD700;
}

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

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-slot-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A237E;
}

.page-slot-games__btn-tertiary {
  background-color: #1A237E;
  color: #FFD700;
  border: 2px solid #1A237E;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-slot-games__btn-tertiary:hover {
  background-color: #0e144a;
  border-color: #0e144a;
}

/* Hero Section */
.page-slot-games__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  overflow: hidden;
}

.page-slot-games__hero-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.page-slot-games__hero-content {
  flex: 1;
  padding: 20px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

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

.page-slot-games__intro-text {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-slot-games__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 20px;
}

.page-slot-games__hero-image {
  max-width: 100%;\  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

/* Two Column Layout */
.page-slot-games__two-column-layout {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-slot-games__content-left,
.page-slot-games__content-right {
  flex: 1;
}

.page-slot-games__image-left,
.page-slot-games__image-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__app-image,
.page-slot-games__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

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

.page-slot-games__game-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

.page-slot-games__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-slot-games__game-title {
  font-size: 1.8em;
  color: #1A237E;
  margin-bottom: 10px;
}

.page-slot-games__game-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

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

.page-slot-games__promo-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-slot-games__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-slot-games__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-slot-games__card-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

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

.page-slot-games__faq-item {
  background-color: #ffffff;
  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: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #1A237E;
  cursor: pointer;
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
}

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

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

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

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

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 25px;
}

.page-slot-games__faq-answer p {
  margin-bottom: 15px;
  font-size: 1em;
  color: #333333;
}

/* Final CTA */
.page-slot-games__cta-final {
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-slot-games__hero-section .page-slot-games__hero-content-wrapper {
    flex-direction: column;
    text-align: center;
  }

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

  .page-slot-games__hero-image-wrapper {
    justify-content: center;
    padding-right: 0;
    padding-top: 30px;
  }

  .page-slot-games__two-column-layout {
    flex-direction: column;
  }

  .page-slot-games__reverse-on-mobile {
    flex-direction: column-reverse;
  }

  .page-slot-games__content-left,
  .page-slot-games__content-right,
  .page-slot-games__image-left,
  .page-slot-games__image-right {
    flex: none;
    width: 100%;
  }

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

  .page-slot-games__main-title {
    font-size: 2.8em;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-tertiary {
    width: 100%;
  }
}

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

  .page-slot-games__section {
    padding: 40px 15px;
  }

  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
  }

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

  .page-slot-games__main-title {
    font-size: 2.2em;
  }

  .page-slot-games__intro-text {
    font-size: 1.1em;
  }

  /* Responsive images */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__image-left,
  .page-slot-games__image-right,
  .page-slot-games__game-card,
  .page-slot-games__promo-card,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Responsive buttons */
  .page-slot-games__cta-button,
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-tertiary,
  .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;
    overflow: hidden !important;
  }
  
  .page-slot-games__cta-buttons {
    flex-direction: column;
  }
  
  .page-slot-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

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