/* style/slot-games.css */

/* Base styles for the page content, ensuring contrast with dark body background */
.page-slot-games {
  color: #ffffff; /* Light text for dark body background */
  background-color: #121212; /* Inherited from shared, but explicitly set for clarity */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-slot-games a {
  color: #FFD700; /* Gold for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games a:hover {
  color: #ffffff;
  text-decoration: underline;
}

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

.page-slot-games__heading {
  font-size: 36px;
  color: #FFD700; /* Gold for main headings */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-slot-games__heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #0A2E5B; /* Dark blue underline */
  border-radius: 2px;
}

.page-slot-games__heading--light {
  color: #ffffff; /* White for headings on dark backgrounds */
}

.page-slot-games__heading--light::after {
  background-color: #FFD700; /* Gold underline on dark backgrounds */
}

.page-slot-games__sub-heading {
  font-size: 18px;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__sub-heading--light {
  color: #e0e0e0;
}

/* Section specific styles */
.page-slot-games__section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-slot-games__dark-bg {
  background-color: #0A2E5B; /* Brand primary dark blue for sections */
  color: #ffffff;
}

.page-slot-games__section:nth-child(even) {
  background-color: #121212; /* Alternate background for sections */
}

/* Hero Section (page-specific) */
.page-slot-games__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure spacing from fixed header */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #0A2E5B, #121212); /* Gradient background */
  overflow: hidden;
}

.page-slot-games__hero-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-slot-games__hero-content {
  flex: 1;
  text-align: left;
  z-index: 1;
}

.page-slot-games__hero-title {
  font-size: 48px;
  color: #FFD700; /* Gold for hero title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 600px;
}

.page-slot-games__hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-slot-games__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

.page-slot-games__hero-image-wrapper img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: block;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure responsive button width */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-slot-games__btn-primary {
  background-color: #FFD700; /* Gold button */
  color: #0A2E5B; /* Dark blue text */
  border: 2px solid #FFD700;
}

.page-slot-games__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-slot-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2E5B;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.page-slot-games__btn-primary--small,
.page-slot-games__btn-secondary--small {
  padding: 10px 20px;
  font-size: 16px;
}

.page-slot-games__btn-primary--large,
.page-slot-games__btn-secondary--large {
  padding: 16px 35px;
  font-size: 20px;
}

/* Content wrappers */
.page-slot-games__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-slot-games__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-slot-games__text-content {
  flex: 1;
  min-width: 0; /* Allow flex item to shrink */
}

.page-slot-games__text-content p {
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-slot-games__image-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__image-content img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: block;
}

/* Grid layouts */
.page-slot-games__grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__grid--2-col {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.page-slot-games__grid--3-col {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Cards */
.page-slot-games__card {
  background-color: #2a2a2a; /* Darker background for cards */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards in grid have equal height */
  display: flex;
  flex-direction: column;
}

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

.page-slot-games__card-title {
  font-size: 24px;
  color: #FFD700; /* Gold for card titles */
  margin-bottom: 15px;
}

.page-slot-games__card-text {
  font-size: 16px;
  color: #cccccc;
  line-height: 1.6;
  flex-grow: 1; /* Allow text to fill space */
}

/* Numbered list */
.page-slot-games__numbered-list {
  list-style: none;
  padding: 0;
  counter-reset: item;
  margin-bottom: 20px;
}

.page-slot-games__numbered-list li {
  counter-increment: item;
  margin-bottom: 15px;
  padding-left: 35px;
  position: relative;
  color: #e0e0e0;
}

.page-slot-games__numbered-list li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: #FFD700; /* Gold numbers */
  font-size: 20px;
}

.page-slot-games__numbered-list li strong {
  color: #FFD700;
}

/* Bullet list */
.page-slot-games__bullet-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-slot-games__bullet-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #e0e0e0;
}

.page-slot-games__bullet-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #FFD700; /* Gold bullets */
  font-size: 20px;
  line-height: 1;
}

.page-slot-games__bullet-list li strong {
  color: #FFD700;
}

/* Promotion cards */
.page-slot-games__card--promotion {
  padding: 0;
  overflow: hidden;
  background-color: #2a2a2a;
}

.page-slot-games__card-image-wrapper {
  width: 100%;
  height: 250px; /* Fixed height for promo images */
  overflow: hidden;
}

.page-slot-games__card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-slot-games__card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-slot-games__card--promotion .page-slot-games__card-title {
  font-size: 22px;
  margin-bottom: 10px;
}

.page-slot-games__card--promotion .page-slot-games__card-text {
  font-size: 15px;
  margin-bottom: 20px;
}

/* CTA Banner */
.page-slot-games__cta-banner {
  background-color: #0A2E5B; /* Dark blue background */
  padding: 50px;
  border-radius: 12px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-slot-games__cta-banner--final {
  margin-top: 0; /* No top margin if it's the last section's banner */
  padding: 80px 50px;
}

.page-slot-games__cta-banner-title {
  font-size: 32px;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-slot-games__cta-banner-text {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-slot-games__faq-list {
  max-width: 900px;
  margin: 60px auto 0;
}

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #2a2a2a; /* Dark background for FAQ items */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #333333; /* Slightly lighter dark for question header */
  border: 1px solid rgba(255, 215, 0, 0.3); /* Gold border */
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-slot-games__faq-question:hover {
  background: #444444;
  border-color: #FFD700;
}

.page-slot-games__faq-question:active {
  background: #555555;
}

.page-slot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff; /* White text for question */
  pointer-events: none;
}

.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Gold for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Rotate plus to form cross */
}