/* style/slot-games.css */

/* --- Variables --- */
:root {
  --primary-color: #26A9E0; /* 淡蓝色 */
  --secondary-color: #FFFFFF; /* 白色 */
  --accent-color-login: #EA7C07; /* 登录按钮色 */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f5f5f5;
  --border-color: #e0e0e0;
}

/* --- Base Styles for .page-slot-games --- */
.page-slot-games {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light background */
  background-color: var(--background-light); /* Default background, will be overridden by shared if different */
  overflow-x: hidden; /* Prevent horizontal scroll */
}

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

.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-slot-games__sub-title {
  font-size: 28px;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-slot-games__paragraph {
  font-size: 18px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__list {
  list-style: none;
  padding: 0;
  margin: 20px auto 40px auto;
  max-width: 900px;
  text-align: left;
}

.page-slot-games__list-item {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 17px;
}

.page-slot-games__list-item::before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-slot-games__image-wrapper {
  margin: 40px auto;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- Buttons --- */
.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box; /* Ensure padding is included in width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-slot-games__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-slot-games__btn-primary:hover {
  background: #1e87b7; /* A slightly darker shade of #26A9E0 */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  transition: color 0.3s ease;
}

.page-slot-games__btn-link:hover {
  color: #1e87b7; /* A slightly darker shade of #26A9E0 */
  text-decoration: underline;
}

/* --- Cards --- */
.page-slot-games__card {
  background: var(--secondary-color);
  color: var(--text-dark);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin: 15px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency in cards */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-slot-games__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-slot-games__card-text {
  font-size: 16px;
  line-height: 1.6;
}

/* --- Hero Section --- */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: linear-gradient(135deg, var(--primary-color) 0%, #aed6f1 100%); /* Lighter gradient */
  color: var(--text-light); /* Light text for dark/primary background */
}

.page-slot-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-slot-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-slot-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-slot-games__main-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-slot-games__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

/* --- Dark Background Sections --- */
.page-slot-games__dark-bg {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-slot-games__dark-bg .page-slot-games__section-title,
.page-slot-games__dark-bg .page-slot-games__sub-title {
  color: var(--text-light);
}

.page-slot-games__dark-bg .page-slot-games__paragraph,
.page-slot-games__dark-bg .page-slot-games__list-item,
.page-slot-games__dark-bg .page-slot-games__card-text {
  color: var(--text-light);
}

.page-slot-games__dark-bg .page-slot-games__list-item::before {
  color: var(--secondary-color);
}

/* --- Specific Section Styles --- */
.page-slot-games__overview-section {
  background-color: var(--secondary-color);
}

.page-slot-games__game-types-section {
  background-color: var(--primary-color);
}

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

.page-slot-games__game-cards .page-slot-games__card {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
}

.page-slot-games__game-cards .page-slot-games__card-title {
  color: var(--primary-color);
}

.page-slot-games__guide-section {
  background-color: var(--background-light);
}

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

.page-slot-games__step-item {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-slot-games__step-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-slot-games__step-text {
  font-size: 16px;
  margin-bottom: 15px;
}

.page-slot-games__tips-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-slot-games__tips-list {
  color: var(--text-light);
}

.page-slot-games__tips-list .page-slot-games__list-item::before {
  color: var(--secondary-color);
}

.page-slot-games__promotions-section {
  background-color: var(--secondary-color);
}

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

.page-slot-games__promo-cards .page-slot-games__card {
  text-align: center;
}

.page-slot-games__promo-cards .page-slot-games__card-title {
  color: var(--primary-color);
}

/* --- FAQ Section --- */
.page-slot-games__faq-section {
  background-color: var(--background-light);
}

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

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