.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy); /* Body background from shared.css */
}

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

.page-slot-games__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
  background: linear-gradient(180deg, rgba(17, 59, 122, 0.8) 0%, rgba(29, 95, 209, 0.8) 100%);
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  position: relative;
  z-index: 0;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: -200px auto 40px auto; /* Adjust to float above image */
  padding: 40px;
  background: rgba(16, 35, 63, 0.8); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-50%);
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: #F3F8FF; /* Text Main */
  margin-bottom: 30px;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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;
  max-width: 100%;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button */
  color: #F3F8FF; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: #F3F8FF; /* Text Main */
  border: 2px solid #2B73F6;
}

.page-slot-games__btn-secondary:hover {
  background: #2B73F6;
  transform: translateY(-3px);
}

.page-slot-games__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-slot-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #2B73F6;
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.page-slot-games__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: justify;
}

.page-slot-games__introduction-section,
.page-slot-games__advantages-section,
.page-slot-games__strategy-section,
.page-slot-games__cta-section {
  padding: 60px 0;
}

.page-slot-games__popular-slots-section,
.page-slot-games__guide-section,
.page-slot-games__faq-section,
.page-slot-games__dark-bg {
  background-color: #08162B; /* Deep Navy */
  padding: 60px 0;
  color: #F3F8FF; /* Text Main */
}

.page-slot-games__light-bg {
  background-color: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
}

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

.page-slot-games__slot-card,
.page-slot-games__feature-card,
.page-slot-games__card {
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #244D84; /* Border */
  color: #F3F8FF; /* Text Main */
}

.page-slot-games__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 15px #4FA8FF; /* Glow */
}

.page-slot-games__slot-image,
.page-slot-games__feature-icon,
.page-slot-games__guide-image,
.page-slot-games__cta-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
}

.page-slot-games__slot-image {
  aspect-ratio: 4/3;
}

.page-slot-games__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: contain;
  background-color: #1D5FD1;
  padding: 10px;
}

.page-slot-games__card-title,
.page-slot-games__feature-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-slot-games__card-description,
.page-slot-games__feature-description {
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
}

.page-slot-games__highlight {
  color: #F2C14E;
  font-weight: bold;
}

.page-slot-games__inline-link {
  color: #2B73F6;
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__inline-link:hover {
  text-decoration: underline;
}

.page-slot-games__guide-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-slot-games__guide-steps {
  flex: 1;
}

.page-slot-games__guide-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-slot-games__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  text-align: left;
}

.page-slot-games__step-number {
  background: #2B73F6;
  color: #F3F8FF;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 15px;
  flex-shrink: 0;
}

.page-slot-games__step-title {
  font-size: 1.3rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 5px;
}

.page-slot-games__step-description {
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
}

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

.page-slot-games__list-item {
  background-color: #10233F; /* Card BG */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  border-left: 5px solid #2B73F6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #F3F8FF; /* Text Main */
  font-size: 1.1rem;
  line-height: 1.7;
}

.page-slot-games__list-item strong {
  color: #F2C14E; /* Gold */
}

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

.page-slot-games__faq-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F3F8FF; /* Text Main */
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  background-color: #113B7A; /* Primary */
  user-select: none;
  list-style: none;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-slot-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #AFC4E8; /* Text Secondary */
}

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

.page-slot-games__cta-container {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #10233F; /* Card BG */
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid #244D84;
}

.page-slot-games__cta-image {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
}

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

.page-slot-games__cta-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
}

.page-slot-games__cta-description {
  font-size: 1.1rem;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  line-height: 1.7;
}

.page-slot-games__footer-info {
  padding: 30px 0;
  text-align: center;
  background-color: #08162B; /* Deep Navy */
  border-top: 1px solid #1B3357; /* Divider */
}

.page-slot-games__copyright {
  font-size: 0.9rem;
  color: #AFC4E8; /* Text Secondary */
  margin: 0;
}

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

  .page-slot-games__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 1. HERO 主图区域 */
  .page-slot-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 0;
  }

  .page-slot-games__hero-content {
    margin: -100px auto 20px auto; /* Adjust for smaller screens */
    padding: 20px;
    transform: translateY(-20%);
    max-width: calc(100% - 30px); /* Account for container padding */
  }

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

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

  /* 2. 产品展示图区域 & 3. 通用图片与容器 */
  .page-slot-games__slots-grid,
  .page-slot-games__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-slot-games__slot-card,
  .page-slot-games__feature-card,
  .page-slot-games__card,
  .page-slot-games__section,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__guide-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-slot-games__guide-image-wrapper {
    order: -1; /* Image above text on mobile */
  }

  .page-slot-games__step-item {
    margin-bottom: 20px;
  }

  /* 4. 按钮与按钮容器 */
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .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;
    text-align: center;
  }

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

  .page-slot-games__cta-image {
    max-width: 100%;
    width: 100%;
  }

  .page-slot-games__cta-content {
    text-align: center;
  }

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

  .page-slot-games__cta-description {
    font-size: 1rem;
  }

  /* 5. 其他内容模块 (e.g., FAQ) */
  .page-slot-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-slot-games__text-block {
    font-size: 1rem;
    line-height: 1.5;
  }

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

  .page-slot-games__faq-toggle {
    font-size: 1.5rem;
  }

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

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

  .page-slot-games__introduction-section,
  .page-slot-games__advantages-section,
  .page-slot-games__strategy-section,
  .page-slot-games__cta-section,
  .page-slot-games__popular-slots-section,
  .page-slot-games__guide-section,
  .page-slot-games__faq-section {
    padding: 40px 0;
  }
}

/* --- Responsive Styles (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    margin: -150px auto 40px auto; /* Adjust for tablets */
    padding: 30px;
    transform: translateY(-30%);
    max-width: 700px;
  }

  .page-slot-games__main-title {
    font-size: 3rem;
  }

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

  .page-slot-games__slots-grid,
  .page-slot-games__features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .page-slot-games__guide-content {
    flex-direction: column;
  }

  .page-slot-games__guide-image-wrapper {
    order: -1;
  }

  .page-slot-games__cta-container {
    flex-direction: column;
    text-align: center;
  }

  .page-slot-games__cta-image {
    max-width: 80%;
  }

  .page-slot-games__cta-content {
    text-align: center;
  }
}