/* style/slot-games.css */
:root {
  --page-slot-games-background: #08160F;
  --page-slot-games-card-bg: #11271B;
  --page-slot-games-text-main: #F2FFF6;
  --page-slot-games-text-secondary: #A7D9B8;
  --page-slot-games-border: #2E7A4E;
  --page-slot-games-glow: #57E38D;
  --page-slot-games-gold: #F2C14E;
  --page-slot-games-divider: #1E3A2A;
  --page-slot-games-deep-green: #0A4B2C;
  --page-slot-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-slot-games {
  background-color: var(--page-slot-games-background);
  color: var(--page-slot-games-text-main);
  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__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles header-offset, so small padding-top here */
  overflow: hidden;
  background-color: var(--page-slot-games-deep-green);
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  box-sizing: border-box;
  margin-top: -100px; /* Adjust to bring text closer to image, but not over it */
  background: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--page-slot-games-border);
}

.page-slot-games__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Use clamp for H1 */
  font-weight: bold;
  color: var(--page-slot-games-gold);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px var(--page-slot-games-glow);
}

.page-slot-games__hero-description {
  font-size: 1.1em;
  color: var(--page-slot-games-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__hero-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: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-btn-gradient);
  color: #ffffff; /* White text on dark button */
  border: 2px solid var(--page-slot-games-glow);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-slot-games__btn-secondary {
  background: var(--page-slot-games-card-bg);
  color: var(--page-slot-games-glow);
  border: 2px solid var(--page-slot-games-glow);
}

.page-slot-games__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  background: var(--page-slot-games-deep-green);
  color: #ffffff;
}

.page-slot-games__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: var(--page-slot-games-gold);
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-slot-games__text-block {
  font-size: 1.05em;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-slot-games__text-link {
  color: var(--page-slot-games-glow);
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__text-link:hover {
  text-decoration: underline;
  color: var(--page-slot-games-gold);
}

.page-slot-games__image-wrapper {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-slot-games__image-wrapper--full-width {
  margin: 50px -20px;
}

.page-slot-games__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto; /* Center block images */
}

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

.page-slot-games__advantage-card {
  background: var(--page-slot-games-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-slot-games-border);
  transition: transform 0.3s ease;
}

.page-slot-games__advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.page-slot-games__card-title {
  font-size: 1.5em;
  color: var(--page-slot-games-gold);
  margin-bottom: 15px;
  text-shadow: 0 0 5px rgba(242, 193, 78, 0.3);
}

.page-slot-games__card-text {
  color: var(--page-slot-games-text-secondary);
  font-size: 1em;
  line-height: 1.7;
}

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

.page-slot-games__game-card {
  background: var(--page-slot-games-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-slot-games-border);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.page-slot-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-slot-games__game-title {
  font-size: 1.4em;
  color: var(--page-slot-games-gold);
  margin: 20px 15px 10px 15px;
  text-shadow: 0 0 5px rgba(242, 193, 78, 0.3);
}

.page-slot-games__game-description {
  color: var(--page-slot-games-text-secondary);
  font-size: 0.95em;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-slot-games__game-card .page-slot-games__btn-primary {
  margin: 0 15px 20px 15px;
  width: calc(100% - 30px);
}

.page-slot-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__guide-item {
  background: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-slot-games__guide-step-title {
  font-size: 1.3em;
  color: var(--page-slot-games-gold);
  margin-bottom: 10px;
  text-shadow: 0 0 4px rgba(242, 193, 78, 0.3);
}

.page-slot-games__guide-step-description {
  color: var(--page-slot-games-text-secondary);
  font-size: 1em;
}

.page-slot-games__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__promotion-item {
  background: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-slot-games__promotion-title {
  font-size: 1.3em;
  color: var(--page-slot-games-gold);
  margin-bottom: 10px;
  text-shadow: 0 0 4px rgba(242, 193, 78, 0.3);
}

.page-slot-games__promotion-description {
  color: var(--page-slot-games-text-secondary);
  font-size: 1em;
}

.page-slot-games__cta-center {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__tips-item {
  background: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-slot-games__tips-title {
  font-size: 1.3em;
  color: var(--page-slot-games-gold);
  margin-bottom: 10px;
  text-shadow: 0 0 4px rgba(242, 193, 78, 0.3);
}

.page-slot-games__tips-description {
  color: var(--page-slot-games-text-secondary);
  font-size: 1em;
}

.page-slot-games__faq-list {
  margin-top: 30px;
}

.page-slot-games__faq-item {
  background: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-border);
  border-radius: 8px;
  margin-bottom: 15px;
  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 25px;
  cursor: pointer;
  font-size: 1.2em;
  color: var(--page-slot-games-gold);
  font-weight: bold;
  border-bottom: 1px solid var(--page-slot-games-divider);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  background-color: var(--page-slot-games-deep-green);
}

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

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-slot-games-glow);
  transition: transform 0.3s ease;
}

.page-slot-games__faq-answer {
  padding: 20px 25px;
  color: var(--page-slot-games-text-secondary);
  font-size: 1em;
  line-height: 1.7;
  border-top: 1px solid var(--page-slot-games-divider);
}

.page-slot-games__faq-answer p {
  margin-bottom: 0; /* Remove default paragraph margin */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    margin-top: -50px;
  }
  .page-slot-games__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games__hero-section {
    padding-bottom: 40px;
  }
  .page-slot-games__hero-content {
    margin-top: -30px;
    padding: 30px 15px;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__hero-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;
    overflow: hidden !important;
  }

  .page-slot-games__container,
  .page-slot-games__intro-section,
  .page-slot-games__advantages-section,
  .page-slot-games__hot-games-section,
  .page-slot-games__guide-section,
  .page-slot-games__promotions-section,
  .page-slot-games__tips-section,
  .page-slot-games__faq-section,
  .page-slot-games__conclusion-section {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .page-slot-games__grid-container,
  .page-slot-games__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__advantage-card,
  .page-slot-games__game-card,
  .page-slot-games__guide-item,
  .page-slot-games__promotion-item,
  .page-slot-games__tips-item,
  .page-slot-games__faq-item {
    padding: 20px;
  }
  .page-slot-games__card-title,
  .page-slot-games__game-title,
  .page-slot-games__guide-step-title,
  .page-slot-games__promotion-title,
  .page-slot-games__tips-title,
  .page-slot-games__faq-question {
    font-size: 1.1em;
  }
  .page-slot-games__image-content,
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__image-wrapper,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-slot-games__hero-section {
    padding-top: 10px !important;
  }
}

/* Ensure content area images maintain minimum size if not handled by max-width */
.page-slot-games__content-area img,
.page-slot-games__game-card img,
.page-slot-games__image-content {
  min-width: 200px;
  min-height: 200px;
}

/* No filter property on images */
.page-slot-games img {
  filter: none; /* Ensure no filter is applied */
}