/* style/slot-games.css */

:root {
  --primary-color: #FFD700;
  --secondary-color: #000080;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212;
  --bg-light: #f9f9f9;
  --border-color: #e0e0e0;
}

.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so use light text */
  background-color: var(--bg-dark);
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0; /* shared already handles body padding-top */
  margin-top: 0;
  min-height: 450px; /* Minimum height for visibility */
}

.page-slot-games__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-slot-games__hero-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color);
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-slot-games__hero-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: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color); /* Gold background with dark blue text for contrast */
  border: 2px solid var(--primary-color);
}

.page-slot-games__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-slot-games__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

/* General Section Styling */
.page-slot-games__section {
  padding: 80px 20px;
  text-align: center;
  color: var(--text-light);
}

.page-slot-games__section:nth-of-type(even) {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background for contrast */
}

.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 25px;
  line-height: 1.7;
  text-align: left;
  color: #f0f0f0;
}

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

.page-slot-games__list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  text-align: left;
}

.page-slot-games__list-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: #f0f0f0;
}

.page-slot-games__list-item::before {
  content: '★';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
}

.page-slot-games__list--ordered {
  list-style: decimal;
  padding-left: 20px;
}

.page-slot-games__list--ordered .page-slot-games__list-item {
  padding-left: 0;
}

.page-slot-games__list--ordered .page-slot-games__list-item::before {
  content: none;
}

.page-slot-games__list--ordered .page-slot-games__list-item strong {
  color: var(--primary-color);
}

.page-slot-games__button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-slot-games__faq-list {
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: left;
}

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ items */
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-slot-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-slot-games__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.page-slot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-light);
}

.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Change + to X */
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: #f0f0f0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
}

/* CTA Section */
.page-slot-games__section--cta {
  background-color: var(--secondary-color); /* Dark blue background */
  color: var(--text-light);
  padding: 60px 20px;
}

.page-slot-games__container--flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
}

.page-slot-games__cta-content {
  flex: 1;
}

.page-slot-games__cta-title {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.3;
}

.page-slot-games__cta-description {
  font-size: 1.1em;
  line-height: 1.7;
  color: #f0f0f0;
}

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

.page-slot-games__cta-buttons .page-slot-games__btn-primary,
.page-slot-games__cta-buttons .page-slot-games__btn-secondary {
  min-width: 220px;
  text-align: center;
}

/* Copyright */
.page-slot-games__copyright {
  padding: 20px;
  text-align: center;
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.7);
  background-color: #0c0c0c;
}

.page-slot-games__copyright p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 2.8em;
  }
  .page-slot-games__hero-description {
    font-size: 1.1em;
  }
  .page-slot-games__section-title {
    font-size: 2.2em;
  }
  .page-slot-games__cta-title {
    font-size: 2em;
  }
  .page-slot-games__container {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-slot-games__hero-section {
    min-height: 400px;
    padding-top: 0 !important; /* shared handles body padding-top */
  }
  .page-slot-games__hero-content {
    padding: 30px 15px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-slot-games__hero-title {
    font-size: 2em !important;
    margin-bottom: 15px;
  }
  .page-slot-games__hero-description {
    font-size: 1em !important;
    margin-bottom: 25px;
  }
  .page-slot-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-slot-games__hero-buttons .page-slot-games__btn-primary,
  .page-slot-games__hero-buttons .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
  }

  /* 其他内容模块 - 通用 Section */
  .page-slot-games__section {
    padding: 50px 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .page-slot-games__container {
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .page-slot-games__section-title {
    font-size: 1.8em !important;
    margin-bottom: 30px;
  }
  .page-slot-games__text-block,
  .page-slot-games__list-item {
    font-size: 1em !important;
    text-align: left;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__list-item::before {
    left: 15px;
  }
  .page-slot-games__list--ordered {
    padding-left: 30px;
  }
  .page-slot-games__image {
    margin: 30px auto;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
    padding: 0 15px;
  }

  /* 按钮与按钮容器 */
  .page-slot-games__button-group {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* FAQ */
  .page-slot-games__faq-list {
    padding: 0 15px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-slot-games__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-slot-games__faq-question h3 {
    font-size: 1em !important;
    width: calc(100% - 40px);
  }
  .page-slot-games__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-slot-games__faq-answer {
    padding: 0 15px;
  }
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px !important;
  }

  /* CTA Section */
  .page-slot-games__section--cta {
    padding: 40px 15px;
  }
  .page-slot-games__container--flex {
    flex-direction: column;
    gap: 30px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-slot-games__cta-title {
    font-size: 1.8em !important;
    margin-bottom: 15px;
  }
  .page-slot-games__cta-description {
    font-size: 1em !important;
  }
  .page-slot-games__cta-buttons {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-slot-games__cta-buttons .page-slot-games__btn-primary,
  .page-slot-games__cta-buttons .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Copyright */
  .page-slot-games__copyright {
    padding: 15px;
  }
}