.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy); /* Body background is dark, so text is light */
}

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

.page-slot-games__section-title {
  font-size: clamp(28px, 4vw, 38px);
  color: #F3F8FF; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.3;
}

.page-slot-games__text-block {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #AFC4E8; /* Text Secondary */
}

.page-slot-games__text-block strong {
  color: #F3F8FF;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: #F3F8FF;
  border: 2px solid #244D84; /* Border */
  box-shadow: none;
}

.page-slot-games__btn-secondary:hover {
  background: rgba(43, 115, 246, 0.1);
  color: #2B73F6;
  border-color: #2B73F6;
}

.page-slot-games__btn-small {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
}

.page-slot-games__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-slot-games__hero-image {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  margin-top: -100px; /* Adjust to slightly overlap image for visual effect, but not cover text */
  max-width: 900px;
  padding: 0 20px;
}

.page-slot-games__main-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  color: #F2C14E; /* Gold */
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
  margin-bottom: 15px;
}

.page-slot-games__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  line-height: 1.5;
}

/* Intro Section */
.page-slot-games__intro-section {
  padding: 60px 0;
  text-align: center;
}

/* Game Types Section */
.page-slot-games__game-types-section {
  padding: 60px 0;
}

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

.page-slot-games__game-card {
  background: #10233F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-slot-games__game-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #1B3357; /* Divider */
}

.page-slot-games__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin: 20px 15px 10px;
}

.page-slot-games__card-description {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How-to-Play Section */
.page-slot-games__how-to-play-section {
  padding: 60px 0;
}

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

.page-slot-games__step-item {
  background: #10233F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(43, 115, 246, 0.5);
}

.page-slot-games__step-title {
  font-size: 24px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-slot-games__step-description {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 60px 0;
}

.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-item {
  background: #10233F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-slot-games__promo-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #1B3357; /* Divider */
}

/* Security Section */
.page-slot-games__security-section {
  padding: 60px 0;
}

.page-slot-games__security-layout {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
}

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

.page-slot-games__security-content .page-slot-games__section-title {
  text-align: left;
  margin-bottom: 25px;
}

.page-slot-games__security-content .page-slot-games__text-block {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

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

.page-slot-games__security-list li {
  font-size: 17px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-slot-games__security-list li::before {
  content: '✔';
  color: #4FA8FF; /* Glow */
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-slot-games__security-list li strong {
  color: #F3F8FF;
}

.page-slot-games__security-image {
  flex: 0 0 500px;
  max-width: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-slot-games__security-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* FAQ Section */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
  background: rgba(43, 115, 246, 0.1);
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}
.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 20px;
  width: 32px;
  text-align: center;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 25px 20px;
  background: #08162B; /* Deep Navy - darker for answer background */
  border-radius: 0 0 10px 10px;
}
.page-slot-games__faq-answer p {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 0;
}

/* CTA Section */
.page-slot-games__cta-section {
  padding: 60px 0 80px;
  text-align: center;
}

/* General Image Responsiveness */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-slot-games__container {
    padding: 20px 30px;
  }
  .page-slot-games__hero-content {
    margin-top: -80px;
  }
  .page-slot-games__main-title {
    font-size: clamp(32px, 4.5vw, 48px);
  }
  .page-slot-games__hero-description {
    font-size: clamp(16px, 2vw, 20px);
  }
  .page-slot-games__security-layout {
    flex-direction: column;
    gap: 30px;
  }
  .page-slot-games__security-content .page-slot-games__section-title,
  .page-slot-games__security-content .page-slot-games__text-block {
    text-align: center;
  }
  .page-slot-games__security-list {
    padding-left: 20px;
    text-align: left;
  }
  .page-slot-games__security-image {
    flex: 0 0 auto;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  /* General responsiveness for all elements */
  .page-slot-games__container {
    padding: 15px;
  }

  /* HERO 主图区域 */
  .page-slot-games__hero-section {
    padding-top: 10px; /* Small top padding, shared.css body handles header offset */
    padding-bottom: 30px;
  }
  .page-slot-games__hero-image img {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important;
    height: auto !important;
  }
  .page-slot-games__hero-content {
    margin-top: -50px; /* Adjust overlap for mobile */
    padding: 0 15px;
  }
  .page-slot-games__main-title {
    font-size: clamp(28px, 8vw, 36px) !important;
  }
  .page-slot-games__hero-description {
    font-size: clamp(15px, 4vw, 18px) !important;
  }

  /* Section Titles */
  .page-slot-games__section-title {
    font-size: clamp(24px, 7vw, 30px) !important;
    margin-bottom: 20px;
  }
  .page-slot-games__text-block {
    font-size: 15px !important;
    padding: 0 5px;
  }

  /* 按钮与按钮容器 */
  .page-slot-games__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding-left: 15px;
    padding-right: 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 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-image,
  .page-slot-games__game-card,
  .page-slot-games__step-item,
  .page-slot-games__promo-item,
  .page-slot-games__security-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 产品展示图区域 (Game Grid) */
  .page-slot-games__game-grid {
    grid-template-columns: 1fr 1fr !important; /* 2 columns for mobile */
    gap: 20px;
    overflow-x: hidden !important;
  }
  .page-slot-games__game-card img {
     /* Adjust height for smaller screens */
  }
  .page-slot-games__card-title {
    font-size: 20px;
  }
  .page-slot-games__card-description {
    font-size: 14px;
  }

  /* How-to-Play Section */
  .page-slot-games__steps-list {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .page-slot-games__step-item {
    padding: 25px;
  }
  .page-slot-games__step-number {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }

  /* Promotions Section */
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
    overflow-x: hidden !important;
  }
  .page-slot-games__promo-item img {
    
  }

  /* Security Section */
  .page-slot-games__security-layout {
    flex-direction: column;
    gap: 20px;
  }
  .page-slot-games__security-content .page-slot-games__section-title,
  .page-slot-games__security-content .page-slot-games__text-block {
    text-align: center !important;
  }
  .page-slot-games__security-list {
    padding-left: 0;
    text-align: center;
  }
  .page-slot-games__security-list li {
    padding-left: 0;
    text-align: left;
    margin-left: 20px;
  }
  .page-slot-games__security-list li::before {
    left: -20px;
  }

  /* FAQ Section */
  details.page-slot-games__faq-item summary.page-slot-games__faq-question {
    padding: 15px;
  }
  .page-slot-games__faq-qtext {
    font-size: 16px;
  }
  .page-slot-games__faq-toggle {
    font-size: 24px;
    width: 28px;
    margin-left: 10px;
  }
  details.page-slot-games__faq-item .page-slot-games__faq-answer {
    padding: 0 15px 15px;
  }
  .page-slot-games__faq-answer p {
    font-size: 15px;
  }
}