/* style/slot-games.css */

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

.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.5rem;
  color: #E3B505; /* Gold for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-slot-games__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-slot-games__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
}

.page-slot-games__hero-section .page-slot-games__container {
  position: relative;
  z-index: 1;
}

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

.page-slot-games__hero-title {
  font-size: 3.8rem;
  color: #E3B505; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-slot-games__hero-description {
  font-size: 1.4rem;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background-color: #E3B505;
  color: #0A2463; /* Dark blue text on gold button */
  border: 2px solid #E3B505;
}

.page-slot-games__btn-primary:hover {
  background-color: #f0c94b;
  transform: translateY(-3px);
}

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

.page-slot-games__btn-secondary:hover {
  background-color: rgba(227, 181, 5, 0.1);
  transform: translateY(-3px);
}

/* Section styles */
.page-slot-games__introduction-section,
.page-slot-games__game-types-section,
.page-slot-games__how-to-play-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

.page-slot-games__advantages-section,
.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: #0A2463; /* Brand dark blue background */
  color: #ffffff;
}

.page-slot-games__promotions-section {
  padding: 60px 0;
  background-color: #2a2a2a; /* Another dark background variation */
  color: #ffffff;
}

.page-slot-games__cta-section {
  padding: 80px 0;
  background-color: #0A2463; /* Brand dark blue background */
  text-align: center;
  color: #ffffff;
}

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

.page-slot-games__advantage-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games__advantage-title {
  font-size: 1.8rem;
  color: #E3B505;
  margin-bottom: 15px;
}

.page-slot-games__advantage-description {
  font-size: 1rem;
  color: #f0f0f0;
}

/* Game List */
.page-slot-games__game-list,
.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__game-list .page-slot-games__list-item,
.page-slot-games__steps-list .page-slot-games__list-item {
  background-color: #2a2a2a;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__list-title {
  font-size: 1.6rem;
  color: #E3B505;
  margin-bottom: 10px;
}

.page-slot-games__btn-link {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #0A2463;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.page-slot-games__btn-link:hover {
  background-color: #1a3c7c;
}

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

.page-slot-games__promo-card {
  background-color: rgba(10, 36, 99, 0.7); /* Semi-transparent brand blue */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__promo-title {
  font-size: 1.8rem;
  color: #E3B505;
  margin-bottom: 15px;
}

.page-slot-games__promo-description {
  font-size: 1rem;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #1a3c7c; /* Darker blue for question header */
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #E3B505;
}

.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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

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

.page-slot-games__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* CTA Section specific */
.page-slot-games__btn-large {
  padding: 18px 40px;
  font-size: 1.3rem;
  margin-top: 30px;
}

/* Dark background color classes for contrast */
.page-slot-games__dark-bg {
  background-color: #0A2463;
  color: #ffffff;
}

.page-slot-games__medium-bg {
  background-color: #2a2a2a;
  color: #ffffff;
}

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

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    min-height: 400px;
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure padding for mobile */
  }
  .page-slot-games__hero-title {
    font-size: 2.2rem;
  }
  .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: 1.8rem;
  }
  .page-slot-games__text-block,
  .page-slot-games__advantage-description,
  .page-slot-games__promo-description,
  .page-slot-games__faq-answer p {
    font-size: 0.95rem;
  }
  .page-slot-games__grid-advantages,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-slot-games__faq-question {
    font-size: 1.1rem;
    padding: 15px;
  }
  .page-slot-games__faq-toggle {
    font-size: 1.5rem;
  }
  .page-slot-games__faq-answer {
    padding: 0 15px;
  }
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 1.8rem;
  }
  .page-slot-games__section-title {
    font-size: 1.5rem;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    padding: 12px 20px;
    font-size: 1rem;
  }
  .page-slot-games__btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
  }
}