/* style/slot-games.css */
.page-slot-games {
  color: #ffffff; /* Default text color for dark background */
  background-color: var(--dark-bg-1); /* Inherited from shared.css, assumed dark */
}

.page-slot-games__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 40px;
  gap: 40px;
  padding-top: 0; /* Assumed shared.css handles body padding-top */
  background: linear-gradient(135deg, #26A9E0, #007bb6);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 20px;
}

.page-slot-games__hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 1;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #FFFFFF;
}

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

.page-slot-games__hero-buttons {
  display: flex;
  gap: 20px;
}

.page-slot-games__hero-image-wrapper {
  flex: 1;
  max-width: 700px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

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

.page-slot-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-slot-games__btn-primary {
  background: #EA7C07; /* Login color for primary action */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.page-slot-games__btn-primary:hover {
  background-color: #d16b00;
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background: #FFFFFF;
  color: #26A9E0;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 2px solid #26A9E0;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.page-slot-games__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.page-slot-games__games-showcase-section {
  padding: 80px 0;
  background-color: var(--dark-bg-1);
}

.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-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

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

.page-slot-games__game-card-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games__game-card-title a:hover {
  color: #EA7C07;
}

.page-slot-games__game-card-text {
  font-size: 0.95em;
  color: #f0f0f0;
  line-height: 1.5;
  padding: 0 15px;
  flex-grow: 1;
}

.page-slot-games__game-card-button {
  margin-top: 20px;
  width: calc(100% - 30px);
  margin-left: 15px;
  margin-right: 15px;
}

.page-slot-games__benefits-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #007bb6, #26A9E0);
  color: #FFFFFF;
}

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

.page-slot-games__benefits-section .page-slot-games__section-description {
  color: #f0f0f0;
}

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

.page-slot-games__benefit-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-slot-games__benefit-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__benefit-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-slot-games__benefit-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-slot-games__benefit-text {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-slot-games__guide-section {
  padding: 80px 0;
  background-color: var(--dark-bg-1);
}

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

.page-slot-games__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__step-item:hover {
  transform: translateY(-5px);
}

.page-slot-games__step-number {
  width: 60px;
  height: 60px;
  background-color: #26A9E0;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

.page-slot-games__step-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-slot-games__step-text {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-slot-games__strategies-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #26A9E0, #007bb6);
  color: #FFFFFF;
}

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

.page-slot-games__strategies-section .page-slot-games__section-description {
  color: #f0f0f0;
}

.page-slot-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.page-slot-games__strategy-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #EA7C07;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__strategy-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.page-slot-games__strategy-text {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: var(--dark-bg-1);
}

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

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #FFFFFF;
}

.page-slot-games__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 20px 20px 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 30px;
  }

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

  .page-slot-games__hero-image-wrapper {
    max-width: 90%;
  }

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

  .page-slot-games__hero-description {
    font-size: 1.1em;
  }

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

  .page-slot-games__games-grid,
  .page-slot-games__benefits-grid,
  .page-slot-games__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-slot-games__section-title {
    font-size: 2em;
  }

  .page-slot-games__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-slot-games__hero-section {
    padding: 40px 15px;
    padding-top: 0; /* Ensures no double padding if shared.css sets body padding */
    margin: 10px;
  }

  .page-slot-games__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-slot-games__hero-description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }

  .page-slot-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
  }

  /* 游戏展示区域 */
  .page-slot-games__games-showcase-section,
  .page-slot-games__benefits-section,
  .page-slot-games__guide-section,
  .page-slot-games__strategies-section,
  .page-slot-games__faq-section {
    padding: 40px 0;
  }

  .page-slot-games__container {
    padding: 20px 15px;
  }

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

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

  .page-slot-games__games-grid,
  .page-slot-games__benefits-grid,
  .page-slot-games__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__game-card-image {
    height: 180px;
  }

  .page-slot-games__game-card-title {
    font-size: 1.3em;
  }

  .page-slot-games__benefit-icon {
    width: 60px;
    height: 60px;
  }

  .page-slot-games__benefit-title {
    font-size: 1.4em;
  }

  .page-slot-games__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }

  .page-slot-games__step-title {
    font-size: 1.3em;
  }

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

  /* 🚨 LOGO轮播项必须单独设置，保持固定尺寸，不在此处通用规则中 */
  /* .page-slot-games__logo-item (if it existed) would be handled separately */

  .page-slot-games__hero-image-wrapper,
  .page-slot-games__game-card,
  .page-slot-games__benefit-item,
  .page-slot-games__step-item,
  .page-slot-games__strategy-item,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 按钮与按钮容器 (already covered by hero-buttons, but general rule for safety) */
  .page-slot-games__cta-button,
  .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-buttons,
  .page-slot-games__game-card-button-group { /* Example for button containers */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* 其他内容模块 */
  .page-slot-games p,
  .page-slot-games li {
    font-size: 0.95em;
    line-height: 1.5;
  }

  .page-slot-games__faq-question {
    padding: 15px;
  }

  .page-slot-games__faq-title {
    font-size: 1.1em;
  }

  .page-slot-games__faq-answer {
    padding: 0 15px;
  }

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 10px 15px 15px 15px;
  }
}