/* style/slot-games.css */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Default body background */
}

.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Ensure no filter applied */
  filter: none; 
}

.page-slot-games__hero-section {
  padding-top: 10px; /* Small top padding, relies on body padding-top from shared.css */
  padding-bottom: 40px;
  background-color: #FFFFFF;
  color: #333333;
}

.page-slot-games__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 40px 16px;
  gap: 24px;
}

.page-slot-games__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
}

.page-slot-games__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-slot-games__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555555;
}

.page-slot-games__hero-cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

.page-slot-games__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-slot-games__btn-secondary:hover {
  background-color: #e0f0f8;
}

.page-slot-games__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-slot-games__hero-side-image {
  max-width: 600px;
  width: 100%;
  height: 600px; /* Fixed height for consistent display */
  object-fit: contain; /* Ensure image fits without cropping */
  border-radius: 8px;
}

.page-slot-games__content-area {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-slot-games__section-title {
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-slot-games__section-title--white {
  color: #FFFFFF;
}

.page-slot-games__section-description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

.page-slot-games__section-description--white {
  color: #e0e0e0;
}

.page-slot-games__intro-section {
  padding: 60px 0;
}

.page-slot-games__icon-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__icon-box {
  flex: 0 1 30%;
  min-width: 280px;
  text-align: center;
  padding: 20px;
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-slot-games__icon-box:hover {
  transform: translateY(-10px);
}

.page-slot-games__icon-box-media {
  width: 240px;
  height: 240px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #26A9E0;
  box-sizing: border-box;
}

.page-slot-games__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-slot-games__icon-box-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-slot-games__icon-box-text {
  font-size: 1rem;
  color: #666666;
}

.page-slot-games__game-tabs-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-slot-games__tab-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-slot-games__tab-button {
  background-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__tab-button:hover,
.page-slot-games__tab-button.is-active {
  background-color: #FFFFFF;
  color: #26A9E0;
}

.page-slot-games__game-panel {
  display: none;
}

.page-slot-games__game-panel.is-active {
  display: block;
}

.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: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  color: #333333;
}

.page-slot-games__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistent card image display */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-slot-games__game-card-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
  padding: 0 15px;
}

.page-slot-games__game-card-text {
  font-size: 0.95rem;
  color: #666666;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-slot-games__btn-play {
  display: inline-block;
  background-color: #EA7C07; /* Login color for play button */
  color: #FFFFFF;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-play:hover {
  background-color: #c96806;
}

.page-slot-games__guide-section {
  padding: 60px 0;
  background-color: #f8f8f8;
  color: #333333;
}

.page-slot-games__guide-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-slot-games__guide-content {
  flex: 1 1 50%;
  min-width: 300px;
}

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

.page-slot-games__guide-list li {
  background-color: #FFFFFF;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #26A9E0;
}

.page-slot-games__guide-step-title {
  font-size: 1.3rem;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-slot-games__guide-list p {
  font-size: 1rem;
  color: #555555;
}

.page-slot-games__guide-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

.page-slot-games__promotions-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
}

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

.page-slot-games__promo-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  color: #333333;
}

.page-slot-games__promo-card img {
  width: 100%;
  height: 200px; /* Consistent height for promo images */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-slot-games__promo-card-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
  padding: 0 15px;
}

.page-slot-games__promo-card-text {
  font-size: 0.95rem;
  color: #666666;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-slot-games__btn-view-promo {
  display: inline-block;
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-view-promo:hover {
  background-color: #1a7fb8;
}

.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: #f8f8f8;
  color: #333333;
}

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

.page-slot-games__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  outline: none;
}

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

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

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-slot-games__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
}

.page-slot-games__cta-bottom-section {
  padding: 60px 0;
  background-color: #26A9E0;
  text-align: center;
  color: #FFFFFF;
}

.page-slot-games__cta-bottom-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-slot-games__cta-bottom-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-slot-games__cta-bottom-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.page-slot-games__btn-large {
  padding: 16px 35px;
  font-size: 1.2rem;
  border-radius: 10px;
}

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

  /* 1. HERO 双栏 */
  .page-slot-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-slot-games__hero-container {
    flex-direction: column;
    padding: 20px 15px;
    gap: 30px;
  }

  .page-slot-games__hero-content,
  .page-slot-games__hero-image {
    flex: 1 1 100%;
    min-width: unset;
    width: 100%;
  }

  .page-slot-games__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    text-align: center;
  }

  .page-slot-games__hero-description {
    font-size: 1rem;
    text-align: center;
  }

  .page-slot-games__hero-cta-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 10px;
  }

  .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__hero-side-image {
    height: auto; /* Allow height to adjust for responsiveness */
    max-width: 100%;
  }

  /* 2. 模块1 三栏正圆图 */
  .page-slot-games__icon-boxes {
    flex-direction: column;
    gap: 20px;
  }

  .page-slot-games__icon-box {
    flex: 0 1 100%;
    min-width: unset;
    width: 100%;
    padding: 15px;
  }

  .page-slot-games__icon-box-media {
    width: 200px;
    height: 200px;
    border-width: 3px;
  }

  .page-slot-games__icon-box-title {
    font-size: 1.3rem;
  }

  /* 3. 七 Tab 游戏区 */
  .page-slot-games__tab-nav {
    flex-direction: column;
    gap: 10px;
  }

  .page-slot-games__tab-button {
    font-size: 1rem;
    padding: 10px 20px;
    width: 100%;
  }

  .page-slot-games__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__game-card img {
     /* Adjust height for mobile cards */
  }

  .page-slot-games__btn-play {
    width: 100%;
    max-width: 100%;
  }

  /* 4. 教程长文 / 促销 / 信任 / FAQ / intro 排版 */
  .page-slot-games__content-area {
    padding: 20px 15px;
  }

  .page-slot-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .page-slot-games__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-slot-games__guide-container {
    flex-direction: column;
    gap: 30px;
  }

  .page-slot-games__guide-content,
  .page-slot-games__guide-image {
    flex: 1 1 100%;
    min-width: unset;
    width: 100%;
  }

  .page-slot-games__guide-step-title {
    font-size: 1.2rem;
  }

  .page-slot-games__promotions-section {
    padding: 40px 0;
  }

  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__promo-card img {
     /* Adjust height for promo cards */
  }

  .page-slot-games__btn-view-promo {
    width: 100%;
    max-width: 100%;
  }

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

  .page-slot-games__faq-item summary {
    padding: 15px;
    font-size: 1rem;
  }

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

  .page-slot-games__cta-bottom-section {
    padding: 40px 0;
  }

  .page-slot-games__cta-bottom-title {
    font-size: 2rem;
  }

  .page-slot-games__cta-bottom-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-slot-games__btn-large {
    padding: 14px 28px;
    font-size: 1.1rem;
  }

  /* 5. 通用图片与容器 */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__content-area,
  .page-slot-games__icon-box,
  .page-slot-games__game-card,
  .page-slot-games__promo-card,
  .page-slot-games__faq-item,
  .page-slot-games__cta-bottom-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 6. 按钮与按钮容器 */
  .page-slot-games__hero-cta-buttons,
  .page-slot-games__tab-nav,
  .page-slot-games__game-card .page-slot-games__btn-play,
  .page-slot-games__promo-card .page-slot-games__btn-view-promo,
  .page-slot-games__cta-bottom-section .page-slot-games__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-direction: column !important; /* Ensure buttons stack or wrap */
    gap: 10px; /* Consistent spacing */
  }
}