/* style/slot-games.css */
.page-slot-games {
  font-family: Arial, sans-serif;
  color: #333333;
  background-color: #F5F7FA;
  line-height: 1.6;
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #E53935;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-slot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Rely on body padding-top for header offset */
  margin-bottom: 60px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-slot-games__hero-content-wrapper {
  padding: 40px 20px;
  text-align: center;
  max-width: 900px;
}

.page-slot-games__main-title {
  font-size: 3.2em;
  color: #E53935;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
}

.page-slot-games__description {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__cta-buttons--centered {
  margin-top: 40px;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

.page-slot-games__btn-primary:hover {
  box-shadow: 0 6px 15px rgba(229, 57, 53, 0.4);
  transform: translateY(-2px);
}

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

.page-slot-games__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(229, 57, 53, 0.2);
  transform: translateY(-2px);
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
  padding: 60px 0;
  margin-bottom: 60px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

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

.page-slot-games__feature-item {
  background-color: #F5F7FA;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-slot-games__feature-item:hover {
  transform: translateY(-5px);
}

.page-slot-games__feature-title {
  font-size: 1.6em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__feature-item p {
  font-size: 1em;
  color: #333333;
}

.page-slot-games__feature-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Game Showcase Section */
.page-slot-games__game-showcase-section {
  padding: 60px 0;
  margin-bottom: 60px;
  background-color: #F5F7FA;
  border-radius: 8px;
}

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

.page-slot-games__game-tile {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__game-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__game-tile img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page-slot-games__game-title {
  font-size: 1.4em;
  color: #E53935;
  margin: 15px 10px 10px 10px;
  font-weight: bold;
}

.page-slot-games__game-btn {
  display: inline-block;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background 0.3s ease;
  min-width: 120px;
  box-sizing: border-box;
}

.page-slot-games__game-btn:hover {
  opacity: 0.9;
}

/* How To Play Section */
.page-slot-games__how-to-play-section {
  padding: 60px 0;
  margin-bottom: 60px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

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

.page-slot-games__step-item {
  background-color: #F5F7FA;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-slot-games__step-item:hover {
  transform: translateY(-5px);
}

.page-slot-games__step-number {
  font-size: 2.5em;
  color: #FF5A4F;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-slot-games__step-title {
  font-size: 1.5em;
  color: #E53935;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__step-item p {
  font-size: 1em;
  color: #333333;
}

.page-slot-games__how-to-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 60px 0;
  margin-bottom: 60px;
  background-color: #F5F7FA;
  border-radius: 8px;
}

.page-slot-games__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

.page-slot-games__promo-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-slot-games__promo-title {
  font-size: 1.6em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__promo-item p {
  font-size: 1em;
  color: #333333;
}

.page-slot-games__promo-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsible Gaming Section */
.page-slot-games__responsible-gaming-section {
  padding: 60px 0;
  margin-bottom: 60px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.page-slot-games__responsible-list {
  list-style: disc;
  padding-left: 40px;
  margin-top: 30px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-slot-games__responsible-item {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 10px;
}

.page-slot-games__responsible-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: #F5F7FA;
  border-radius: 8px;
}

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

.page-slot-games__faq-item {
  background-color: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #FFFFFF;
  transition: background-color 0.3s ease;
  list-style: none;
  user-select: none;
}

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

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

.page-slot-games__faq-qtext {
  flex-grow: 1;
  color: #E53935;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #E53935;
  margin-left: 15px;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: "−";
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #333333;
  line-height: 1.6;
  opacity: 0.9;
}

/* Global image and button responsive styles */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.page-slot-games__cta-buttons,
.page-slot-games__button-group,
.page-slot-games__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__container {
    padding: 15px;
  }

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

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

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

  .page-slot-games__promo-list {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

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

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

  /* Hero Section */
  .page-slot-games__hero-section {
    flex-direction: column;
    padding-top: 10px !important; /* Fixed top padding, not header offset */
    margin-bottom: 40px;
    border-radius: 0; /* Full width on mobile */
  }

  .page-slot-games__hero-image {
    object-fit: contain !important; /* Ensure image is not cropped */
    aspect-ratio: unset !important;
    max-height: none !important;
  }

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

  .page-slot-games__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-slot-games__description {
    font-size: 1em;
    margin-bottom: 25px;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Game Grid Section */
  .page-slot-games__game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .page-slot-games__game-tile {
    margin-bottom: 0; /* Remove extra margin if any */
  }

  .page-slot-games__game-tile img {
    aspect-ratio: 1 / 1 !important; /* Enforce square aspect ratio */
    object-fit: cover !important;
  }

  .page-slot-games__game-title {
    font-size: 1.2em;
    margin: 10px 5px;
  }

  .page-slot-games__game-btn {
    padding: 8px 15px;
    font-size: 0.9em;
    margin-bottom: 10px;
    width: calc(100% - 20px) !important; /* Adjust for padding if needed */
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* General content sections */
  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

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

  /* Features grid */
  .page-slot-games__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-title {
    font-size: 1.4em;
  }

  /* How To Play Section */
  .page-slot-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__step-title {
    font-size: 1.3em;
  }

  /* Promotions Section */
  .page-slot-games__promo-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__promo-title {
    font-size: 1.4em;
  }

  /* Responsible Gaming Section */
  .page-slot-games__responsible-list {
    padding-left: 25px;
    font-size: 1em;
  }

  /* FAQ Section */
  .page-slot-games__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-slot-games__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }

  /* Universal image and container sizing */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__game-tile,
  .page-slot-games__feature-item,
  .page-slot-games__step-item,
  .page-slot-games__promo-item,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__responsible-list {
    padding-left: 25px !important;
    padding-right: 15px !important;
  }
}