.page-slot-games {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --background-dark: #0A0A0A;
  --card-bg: #111111;
  --text-light: #FFF6D6;
  --border-color: #3A2A12;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --button-text-dark: #000000; /* Overriding white text for contrast on bright buttons */
  --button-hover-bg: #FFD36B;
  --button-hover-border: #F2C14E;
}

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

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

.page-slot-games__card {
  background: var(--card-bg);
  color: var(--text-light);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__card-title {
  color: var(--secondary-color);
  font-size: 20px;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-slot-games__card-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-light);
}

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

.page-slot-games__btn-primary {
  background: var(--button-gradient);
  color: var(--button-text-dark); /* Black for contrast on bright gradient */
  border: none;
  box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  box-shadow: 0 6px 15px rgba(242, 193, 78, 0.6);
}

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

.page-slot-games__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--button-text-dark);
}

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-slot-games__section-description {
  font-size: 18px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  background-color: var(--background-dark);
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  height: auto;
  max-height: 675px; /* Max height for 16:9 aspect ratio at 1200px width */
  overflow: hidden;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  color: var(--text-light);
}

.page-slot-games__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.5;
  color: var(--text-light);
}

.page-slot-games__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Intro Section */
.page-slot-games__intro-section {
  padding: 80px 0;
}

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

.page-slot-games__intro-text {
  flex: 1;
}

.page-slot-games__intro-text p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-light);
}

.page-slot-games__intro-text a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-slot-games__intro-text strong {
  color: var(--secondary-color);
}

.page-slot-games__intro-image-wrapper {
  flex: 1;
  max-width: 50%;
}

.page-slot-games__intro-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.page-slot-games__intro-btn {
  margin-top: 20px;
}

/* Game Types Section */
.page-slot-games__game-types-section {
  padding: 80px 0;
  background: var(--background-dark);
}

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

.page-slot-games__game-type-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-slot-games__card-btn {
  margin-top: auto;
  width: fit-content;
}

/* Benefits Section */
.page-slot-games__benefits-section {
  padding: 80px 0;
}

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

.page-slot-games__benefit-item {
  text-align: left;
}

.page-slot-games__benefits-image-wrapper {
  text-align: center;
}

.page-slot-games__benefits-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

/* Guide Section */
.page-slot-games__guide-section {
  padding: 80px 0;
  background: var(--background-dark);
}

.page-slot-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-slot-games__guide-step-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-color);
  color: var(--button-text-dark);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-slot-games__step-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-slot-games__step-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
}

.page-slot-games__step-text a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-slot-games__guide-cta {
  text-align: center;
}

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

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

.page-slot-games__promotions-text {
  flex: 1;
}

.page-slot-games__promotions-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.page-slot-games__promotions-text li {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.5;
  position: relative;
  padding-left: 40px;
}

.page-slot-games__promotions-text li::before {
  content: '★'; /* Star icon */
  color: var(--secondary-color);
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
}

.page-slot-games__promotions-text strong {
  color: var(--secondary-color);
}

.page-slot-games__promotions-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 25px;
}

.page-slot-games__promotions-image-wrapper {
  flex: 1;
  max-width: 50%;
}

.page-slot-games__promotions-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* FAQ Section */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
}

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;
  color: var(--secondary-color);
  font-weight: bold;
}

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(var(--secondary-color), 0.1);
}

.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-light); /* Ensure text is light on dark card background */
}

.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 25px 25px;
  background: rgba(17, 17, 17, 0.8); /* Slightly lighter dark background for answer */
  border-radius: 0 0 10px 10px;
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.7;
}

.page-slot-games__faq-answer p {
  margin: 0;
  color: var(--text-light);
}

/* Global image and button responsive styles */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-slot-games__section,
.page-slot-games__container,
.page-slot-games__card {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.page-slot-games__cta-button,
.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%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__hero-buttons,
.page-slot-games__button-group,
.page-slot-games__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 15px;
  }

  .page-slot-games__section-title {
    font-size: 28px;
    padding-top: 30px;
    margin-bottom: 15px;
  }

  .page-slot-games__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* Hero Section */
  .page-slot-games__hero-section {
    min-height: auto;
    padding-top: 10px;
    padding-bottom: 40px;
  }

  .page-slot-games__hero-image-wrapper {
    max-height: 400px; /* Adjusted for mobile */
  }

  .page-slot-games__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-slot-games__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-slot-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
}