/* style/slot-games.css */

/* Base styles for the page content, ensuring contrast with body background */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

/* Container for content, centered and max-width */
.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-slot-games__hero-section,
.page-slot-games__game-types-section,
.page-slot-games__why-choose-us-section,
.page-slot-games__guide-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section,
.page-slot-games__conclusion-section {
  padding: 60px 0;
  position: relative;
  overflow: hidden; /* Ensure no overflow for internal elements */
}

/* Dark background sections */
.page-slot-games__dark-section {
  background-color: #0D0E12; /* Background */
  color: #FFF3E6; /* Text Main */
}

/* Hero Section */
.page-slot-games__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #0D0E12;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-slot-games__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* H1 font size with clamp */
  font-weight: 700;
  line-height: 1.2;
  color: #FFB04D; /* Glow color for main title */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 176, 77, 0.5); /* Soft glow */
}

.page-slot-games__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF3E6; /* Text Main */
}

/* Section titles */
.page-slot-games__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFB04D; /* Glow color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
  text-shadow: 0 0 8px rgba(255, 176, 77, 0.3);
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #FF8C1A, transparent);
  border-radius: 2px;
}

.page-slot-games__text-block {
  font-size: 1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #FFF3E6; /* Text Main */
}

/* Buttons */
.page-slot-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-slot-games__cta-buttons--center {
  justify-content: center;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #FFF3E6; /* Text Main */
  border: 2px solid #A84F0C; /* Border */
  box-shadow: 0 0 15px rgba(255, 140, 26, 0.5);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  box-shadow: 0 0 20px rgba(255, 176, 77, 0.7);
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background-color: #17191F; /* Card BG */
  color: #FF8C1A; /* Primary color */
  border: 2px solid #FF8C1A; /* Primary color */
  box-shadow: 0 0 10px rgba(255, 140, 26, 0.3);
}

.page-slot-games__btn-secondary:hover {
  background-color: #FF8C1A; /* Primary color */
  color: #FFF3E6; /* Text Main */
  box-shadow: 0 0 15px rgba(255, 140, 26, 0.5);
  transform: translateY(-2px);
}

/* Grid for game types */
.page-slot-games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

/* Card styling */
.page-slot-games__card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF3E6; /* Text Main */
}

.page-slot-games__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 140, 26, 0.4);
}

.page-slot-games__card-title {
  font-size: 1.5rem;
  color: #FFB04D; /* Glow color */
  margin-bottom: 15px;
}

.page-slot-games__card-description {
  font-size: 0.95rem;
  color: #FFF3E6; /* Text Main */
}

/* Feature list */
.page-slot-games__feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
  text-align: left;
}

.page-slot-games__feature-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 140, 26, 0.4);
}

.page-slot-games__feature-title {
  font-size: 1.4rem;
  color: #FFB04D; /* Glow color */
  margin-bottom: 10px;
}

.page-slot-games__feature-description {
  font-size: 0.95rem;
  color: #FFF3E6; /* Text Main */
}

/* Steps grid */
.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-slot-games__step-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF3E6; /* Text Main */
}

.page-slot-games__step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 140, 26, 0.4);
}

.page-slot-games__step-title {
  font-size: 1.5rem;
  color: #FFB04D; /* Glow color */
  margin-bottom: 15px;
}

.page-slot-games__step-description {
  font-size: 0.95rem;
  color: #FFF3E6; /* Text Main */
}

/* Promotion list */
.page-slot-games__promotion-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-slot-games__promotion-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF3E6; /* Text Main */
}

.page-slot-games__promotion-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 140, 26, 0.4);
}

.page-slot-games__promotion-title {
  font-size: 1.4rem;
  color: #FFB04D; /* Glow color */
  margin-bottom: 10px;
}

.page-slot-games__promotion-description {
  font-size: 0.95rem;
  color: #FFF3E6; /* Text Main */
}

/* FAQ Section */
.page-slot-games__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-slot-games__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.page-slot-games__faq-item[open] {
  box-shadow: 0 5px 20px rgba(255, 140, 26, 0.3);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #FFB04D; /* Glow color */
  cursor: pointer;
  background-color: #17191F; /* Card BG */
  border-radius: 10px;
  user-select: none;
  transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-item details > summary {
  list-style: none; /* Hide default marker */
}
.page-slot-games__faq-item details > summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #FF8C1A; /* Primary color */
}

.page-slot-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: #FFF3E6; /* Text Main */
  background-color: #17191F; /* Card BG */
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.page-slot-games__faq-answer p {
  margin: 0;
}

/* Images within content */
.page-slot-games__content-image {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

/* Responsive design */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-slot-games__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding: 40px 0;
    padding-top: 10px !important;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-slot-games__description {
    font-size: 1rem;
  }
  .page-slot-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-slot-games__text-block {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .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__container {
    padding: 0 15px;
  }

  /* Images responsive */
  .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__game-types-section,
  .page-slot-games__why-choose-us-section,
  .page-slot-games__guide-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section,
  .page-slot-games__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Override min-width/height for mobile to allow scaling */
  .page-slot-games__content-image {
    min-width: unset;
    min-height: unset;
  }
}

/* Ensure content area images CSS size is not less than 200px for desktop */
.page-slot-games__game-types-section img,
.page-slot-games__why-choose-us-section img,
.page-slot-games__promotions-section img {
  width: 100%; /* Default to 100% width within its container */
  height: auto;
  max-width: 800px; /* Example max-width for content images */
  min-width: 200px; /* Enforce minimum size for desktop */
  min-height: 200px;
}

/* Override min-width/height for mobile to allow scaling */
@media (max-width: 768px) {
  .page-slot-games__game-types-section img,
  .page-slot-games__why-choose-us-section img,
  .page-slot-games__promotions-section img {
    min-width: unset;
    min-height: unset;
  }
}