/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #121212; /* Matches body background */
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-slot-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-slot-games__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-slot-games__paragraph {
  margin-bottom: 15px;
  color: #f0f0f0;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

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

.page-slot-games__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-slot-games__btn-tertiary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
  margin-top: 15px;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

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

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

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

/* About Section (Features) */
.page-slot-games__about-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-slot-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-slot-games__feature-card:hover {
  transform: translateY(-10px);
}

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

.page-slot-games__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-slot-games__feature-text {
  color: #f0f0f0;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
  padding: 80px 0;
  background-color: #121212;
}

.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-title {
  font-size: 1.6em;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.page-slot-games__step-text {
  color: #f0f0f0;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-slot-games__promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-slot-games__promo-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-slot-games__promo-text {
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Tips Section */
.page-slot-games__tips-section {
  padding: 80px 0;
  background-color: #121212;
}

.page-slot-games__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__tip-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__tip-title {
  font-size: 1.6em;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.page-slot-games__tip-text {
  color: #f0f0f0;
}

/* Security Section */
.page-slot-games__security-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-slot-games__security-text {
  flex: 1;
}

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

.page-slot-games__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  min-width: 200px;
  min-height: 200px;
}

/* App Download Section */
.page-slot-games__app-download-section {
  padding: 80px 0;
  background-color: #121212;
}

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

.page-slot-games__app-info {
  flex: 1;
}

.page-slot-games__app-benefits-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-slot-games__app-benefits-list li {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2326A9E0'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E") no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-slot-games__app-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.page-slot-games__app-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-slot-games__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  min-width: 200px;
  min-height: 200px;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.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: #FFFFFF;
  cursor: pointer;
  background-color: #26A9E0;
  border-radius: 8px;
}

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

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

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

.page-slot-games__faq-answer p {
  padding-top: 15px;
  padding-bottom: 15px;
  margin: 0;
  color: #f0f0f0;
}

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

.page-slot-games__faq-item.active .page-slot-games__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

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

/* Global image styles to prevent small icons */
.page-slot-games img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

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

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

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

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

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-tertiary {
    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__about-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__promotions-section,
  .page-slot-games__tips-section,
  .page-slot-games__security-section,
  .page-slot-games__app-download-section,
  .page-slot-games__faq-section {
    padding: 50px 0;
  }

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

  .page-slot-games__section-description {
    font-size: 0.9em;
  }

  .page-slot-games__features-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__promo-cards-grid,
  .page-slot-games__tips-grid {
    grid-template-columns: 1fr;
  }

  .page-slot-games__security-content,
  .page-slot-games__app-download-content {
    flex-direction: column;
  }

  .page-slot-games__security-image-wrapper,
  .page-slot-games__app-image-wrapper {
    order: -1; /* Image above text on mobile */
    margin-bottom: 30px;
  }

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

  .page-slot-games__container,
  .page-slot-games__hero-content,
  .page-slot-games__feature-card,
  .page-slot-games__step-card,
  .page-slot-games__promo-card,
  .page-slot-games__tip-item,
  .page-slot-games__security-text,
  .page-slot-games__app-info,
  .page-slot-games__app-buttons,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

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

  .page-slot-games__faq-question,
  .page-slot-games__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Color Contrast Fixes */
.page-slot-games__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-slot-games__medium-bg {
  background-color: #FFFFFF;
  color: #000000;
}

/* Ensure content area images maintain minimum size */
.page-slot-games__hero-image,
.page-slot-games__feature-image,
.page-slot-games__promo-image,
.page-slot-games__security-image,
.page-slot-games__app-image {
  min-width: 200px;
  min-height: 200px;
}

/* Reset filter for all images if any was set by mistake */
.page-slot-games img {
  filter: none; /* Ensure no CSS filter changes original image color */
}