/* Base styles for the slot games page */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
  line-height: 1.6;
}

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

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF5E1; /* Text Main */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  color: #FFF5E1;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding-top: 10px; /* Small top spacing, relying on body padding-top from shared.css */
  margin-bottom: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

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

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 20px;
  margin-top: -150px; /* Pull content up over the image slightly for visual effect, but not text on image */
  background: linear-gradient(0deg, #B71C1C 0%, rgba(183, 28, 28, 0.8) 50%, rgba(183, 28, 28, 0.5) 100%);
  border-radius: 15px;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 900;
  color: #FFCC66; /* Glow */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-slot-games__intro-text {
  font-size: 1.1em;
  color: #FFF5E1;
  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__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.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #7A0E0E; /* Deep Red for contrast */
  border: 2px solid #F4D34D; /* Gold border */
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-slot-games__btn-secondary {
  background: #7A0E0E; /* Deep Red */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F4D34D; /* Gold border */
}

.page-slot-games__btn-secondary:hover {
  background: #5a0a0a;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* About Section */
.page-slot-games__about-section {
  padding: 60px 0;
  margin-bottom: 40px;
  background-color: #7A0E0E; /* Deep Red for contrast */
}

.page-slot-games__dark-section {
  background-color: #7A0E0E;
  color: #FFF5E1;
}

.page-slot-games__dark-section .page-slot-games__section-title {
  color: #FFCC66;
}

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

.page-slot-games__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-slot-games__text-block {
  flex: 1;
}

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

.page-slot-games__image-block {
  flex: 1;
  min-width: 300px;
}

.page-slot-games__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Game Types Section */
.page-slot-games__game-types-section {
  padding: 60px 0;
  margin-bottom: 40px;
  background-color: #B71C1C;
}

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

.page-slot-games__game-card {
  background-color: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-slot-games__game-card-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #FFCC66; /* Glow */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__game-card-text {
  font-size: 0.95em;
  color: #FFF5E1;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-slot-games__game-card-button {
  margin: 0 auto;
  width: fit-content;
}

/* How-To-Play Section */
.page-slot-games__how-to-play-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-slot-games__instruction-list {
  list-style: none;
  padding: 0;
}

.page-slot-games__instruction-list li {
  background-color: #D32F2F; /* Card BG */
  border-left: 5px solid #F4D34D; /* Gold border */
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-slot-games__instruction-title {
  font-size: 1.3em;
  color: #FFCC66; /* Glow */
  margin-bottom: 10px;
}

.page-slot-games__instruction-list p {
  color: #FFF5E1;
  font-size: 1em;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 60px 0;
  background-color: #B71C1C;
  margin-bottom: 40px;
}

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

.page-slot-games__promo-card {
  background-color: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__promo-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-slot-games__promo-card-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #FFCC66; /* Glow */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__promo-card-text {
  font-size: 0.95em;
  color: #FFF5E1;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-slot-games__promo-card-button {
  margin: 0 auto;
  width: fit-content;
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-slot-games__feature-list {
  list-style: none;
  padding: 0;
}

.page-slot-games__feature-list li {
  margin-bottom: 25px;
  position: relative;
  padding-left: 40px;
}

.page-slot-games__feature-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5em;
  color: #F4D34D; /* Gold */
  font-weight: bold;
}

.page-slot-games__feature-title {
  font-size: 1.3em;
  color: #FFCC66; /* Glow */
  margin-bottom: 5px;
}

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

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

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #F2B544; /* Border */
  overflow: hidden;
  background: #D32F2F; /* Card BG */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
  background: #7A0E0E; /* Deep Red */
}

.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF5E1; /* Text Main */
}

.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F4D34D; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

details.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 25px 25px;
  background: #7A0E0E; /* Deep Red */
  border-radius: 0 0 10px 10px;
  color: #FFF5E1;
  font-size: 1em;
}

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

  .page-slot-games__hero-content {
    margin-top: -100px;
    max-width: 80%;
  }

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

  .page-slot-games__section-title {
    font-size: 30px;
  }

  .page-slot-games__content-wrapper {
    flex-direction: column;
  }

  .page-slot-games__content-wrapper--reversed {
    flex-direction: column;
  }

  .page-slot-games__image-block {
    order: -1; /* Image appears above text on smaller screens */
    margin-bottom: 30px;
  }

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

@media (max-width: 768px) {
  /* Banner __hero-section */
  .page-slot-games__hero-section {
    min-height: 450px;
    padding-top: 10px; /* Consistent small top spacing */
  }

  .page-slot-games__hero-image {
    object-fit: contain !important; /* Force contain for smaller screens */
    height: 250px;
  }

  .page-slot-games__hero-content {
    margin-top: -80px;
    padding: 15px;
    border-radius: 10px;
    max-width: calc(100% - 30px) !important; /* Ensure content fits */
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
    margin-bottom: 10px;
  }

  .page-slot-games__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* Buttons - General */
  .page-slot-games__cta-buttons,
  .page-slot-games__btn-container {
    flex-direction: column !important;
    gap: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 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: 12px 20px !important;
    font-size: 1em !important;
  }

  /* Images - General */
  .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__game-card,
  .page-slot-games__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Section titles and descriptions */
  .page-slot-games__section-title {
    font-size: 26px;
    margin-bottom: 25px;
  }

  .page-slot-games__section-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  /* Content Sections */
  .page-slot-games__about-section,
  .page-slot-games__game-types-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__promotions-section,
  .page-slot-games__why-choose-section,
  .page-slot-games__faq-section {
    padding: 40px 0;
    margin-bottom: 20px;
  }

  .page-slot-games__instruction-list li,
  .page-slot-games__feature-list li {
    padding: 15px;
    padding-left: 35px;
    margin-bottom: 15px;
  }

  .page-slot-games__instruction-title,
  .page-slot-games__feature-title {
    font-size: 1.1em;
  }

  .page-slot-games__feature-list li::before {
    font-size: 1.3em;
  }

  /* FAQ Section */
  details.page-slot-games__faq-item summary.page-slot-games__faq-question {
    padding: 15px 20px;
  }

  .page-slot-games__faq-qtext {
    font-size: 1em;
  }

  .page-slot-games__faq-toggle {
    font-size: 24px;
    width: 25px;
  }

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