/* Base styles for the slot-games page */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main, #1F2D3D); /* Using custom text color, with fallback */
  line-height: 1.6;
  background-color: var(--bg-color, #F4F7FB); /* Using custom background color for main content area if body is not overriding */
}

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

.page-slot-games__section {
  padding: 60px 0;
  background-color: var(--card-bg, #FFFFFF); /* Default section background */
  margin-bottom: 20px; /* Spacing between sections */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-slot-games__section:nth-of-type(even) {
  background-color: var(--background, #F4F7FB); /* Alternate section background */
}

.page-slot-games__section-title {
  font-size: 36px;
  color: var(--text-main, #1F2D3D);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  position: relative;
}

.page-slot-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2F6BFF, #6FA3FF);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-slot-games__text-block {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main, #1F2D3D);
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  margin-bottom: 20px;
  background-color: var(--background, #F4F7FB);
}

.page-slot-games__hero-image {
  width: 100%;
  height: 600px; /* Fixed height for desktop */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-slot-games__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Desktop: cover to fill */
  display: block;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games__main-title {
  font-size: clamp(32px, 4vw, 48px); /* Clamp for H1, avoiding fixed large sizes */
  color: var(--text-main, #1F2D3D);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-slot-games__description {
  font-size: 20px;
  color: var(--text-main, #1F2D3D);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
  width: 100%; /* Ensure container takes full width */
  max-width: 100%; /* Ensure container takes full width */
  box-sizing: border-box;
}

/* Button Styles */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box; /* Include padding in width calculation */
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.6);
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__btn-secondary:hover {
  background: #f0f5ff;
  color: #1a5ac9;
  border-color: #1a5ac9;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.page-slot-games__btn-small {
  padding: 10px 20px;
  font-size: 16px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border-radius: 5px;
}

.page-slot-games__btn-small:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

.page-slot-games__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Feature Grid (About Section) */
.page-slot-games__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__feature-item {
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border, #D6E2FF);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 0 20px var(--glow, #A5C4FF);
}

.page-slot-games__feature-item img {
  
  
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 50%;
  border: 3px solid #2F6BFF;
}

.page-slot-games__feature-item h3 {
  font-size: 22px;
  color: var(--text-main, #1F2D3D);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__feature-item p {
  font-size: 16px;
  color: var(--text-main, #1F2D3D);
}

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

.page-slot-games__game-card,
.page-slot-games__promotion-card {
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border, #D6E2FF);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-slot-games__game-card:hover,
.page-slot-games__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 0 20px var(--glow, #A5C4FF);
}

.page-slot-games__game-card img,
.page-slot-games__promotion-card img {
  width: 100%;
  height: 200px; /* Fixed height for card images */
  object-fit: cover;
  display: block;
}

.page-slot-games__game-card .page-slot-games__card-title,
.page-slot-games__promotion-card .page-slot-games__card-title {
  font-size: 22px;
  color: var(--text-main, #1F2D3D);
  margin: 20px 20px 10px;
  font-weight: 600;
}

.page-slot-games__game-card p,
.page-slot-games__promotion-card p {
  font-size: 16px;
  color: var(--text-main, #1F2D3D);
  padding: 0 20px 20px;
  flex-grow: 1; /* Allow paragraph to take available space */
}

.page-slot-games__game-card .page-slot-games__btn-small,
.page-slot-games__promotion-card .page-slot-games__btn-small {
  margin: 0 20px 20px;
  align-self: flex-start; /* Align button to start */
  width: auto; /* Allow button to size to content */
}


/* Benefits Grid (Why Choose Section) */
.page-slot-games__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__benefit-item {
  background: var(--background, #F4F7FB);
  border: 1px solid var(--border, #D6E2FF);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 0 20px var(--glow, #A5C4FF);
}

.page-slot-games__benefit-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
}

.page-slot-games__benefit-item h3 {
  font-size: 22px;
  color: var(--text-main, #1F2D3D);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__benefit-item p {
  font-size: 16px;
  color: var(--text-main, #1F2D3D);
}

/* How to Play Section */
.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__steps-list li {
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border, #D6E2FF);
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.page-slot-games__steps-list li:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__steps-list li h3 {
  font-size: 24px;
  color: #2F6BFF;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-slot-games__steps-list li p {
  font-size: 17px;
  color: var(--text-main, #1F2D3D);
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border, #D6E2FF);
  overflow: hidden;
  background: var(--card-bg, #FFFFFF);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  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: #f5f5f5;
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main, #1F2D3D);
}
.page-slot-games__faq-toggle {
  font-size: 28px; /* Larger for better visibility */
  font-weight: bold;
  color: #2F6BFF; /* Brand color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px; /* Adjust size */
  text-align: center;
  line-height: 1;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 20px 20px;
  background: #f9fbfd; /* Lighter background for answer */
  border-radius: 0 0 8px 8px;
  color: var(--text-main, #1F2D3D);
  font-size: 16px;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer p {
  margin-bottom: 0;
}

/* Contact CTA Section */
.page-slot-games__contact-cta {
  background: linear-gradient(135deg, #2F6BFF, #6FA3FF);
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
  border-radius: 0; /* No border-radius for full width gradient */
  box-shadow: none;
}