.page-slot-games {
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --card-bg-color: #D32F2F;
  --background-color: #B71C1C;
  --text-main-color: #FFF5E1;
  --border-color: #F2B544;
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red-color: #7A0E0E;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Default text color for dark background */
  background: var(--background-color);
}

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

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

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

.page-slot-games__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-slot-games__section-title {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--gold-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__section-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding-top: 10px; /* Fixed header spacing */
  padding-bottom: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 400px;
}

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

.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 4em);
  color: var(--gold-color);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  color: var(--text-main-color);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: var(--button-gradient);
  color: #7A0E0E; /* Deep Red for text on gold button */
  border: 2px solid var(--border-color);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

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

.page-slot-games__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: var(--primary-color);
  color: #ffffff;
}

.page-slot-games__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* About Section & General Content */
.page-slot-games__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

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

.page-slot-games__text-block {
  flex: 1;
  padding: 20px;
  background: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__text-block p {
  margin-bottom: 15px;
  color: #333333;
}

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

.page-slot-games__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games__image-block--full-width {
  flex: none;
  width: 100%;
  margin-top: 40px;
}

.page-slot-games__image-block--center {
  flex: none;
  width: 100%;
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* Game Types Grid */
.page-slot-games__grid-3-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__card {
  background: #ffffff;
  color: #333333;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-slot-games__card-bg {
  background: var(--card-bg-color);
  color: var(--text-main-color);
  border: 1px solid var(--border-color);
}

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

.page-slot-games__card img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.page-slot-games__card-text {
  font-size: 1em;
  color: var(--text-main-color);
}

/* Features List */
.page-slot-games__feature-list,
.page-slot-games__promotion-list,
.page-slot-games__tip-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-slot-games__feature-list li,
.page-slot-games__promotion-list li,
.page-slot-games__tip-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  font-size: 1.1em;
  color: #333333;
}

.page-slot-games__feature-list li strong,
.page-slot-games__promotion-list li strong,
.page-slot-games__tip-list li strong {
  color: var(--deep-red-color);
}

.page-slot-games__feature-list li::before,
.page-slot-games__promotion-list li::before,
.page-slot-games__tip-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-color);
  font-weight: bold;
  font-size: 1.2em;
}

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

.page-slot-games__step-card {
  background: var(--card-bg-color);
  color: var(--text-main-color);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  text-align: center;
  border: 1px solid var(--border-color);
}

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

.page-slot-games__step-text {
  font-size: 1.1em;
  color: var(--text-main-color);
}

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

/* FAQ Section */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
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: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333;
  text-align: left;
}

/* CTA Section */
.page-slot-games__cta-container {
  padding: 60px 20px;
  background: var(--deep-red-color);
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  margin-top: 60px;
}

.page-slot-games__cta-title {
  font-size: 3em;
  color: var(--gold-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__cta-description {
  font-size: 1.2em;
  color: var(--text-main-color);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__section-title {
    font-size: 2.5em;
  }
  .page-slot-games__main-title {
    font-size: clamp(2em, 4.5vw, 3.5em);
  }
  .page-slot-games__hero-description {
    font-size: 1.1em;
  }
  .page-slot-games__cta-title {
    font-size: 2.5em;
  }
  .page-slot-games__content-wrapper {
    flex-direction: column;
  }
  .page-slot-games__text-block, .page-slot-games__image-block {
    flex: none;
    width: 100%;
  }
  .page-slot-games__text-block {
    padding: 20px;
  }
  .page-slot-games__image-block img {
    max-width: 90%;
  }
  .page-slot-games__grid-3-col {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 15px;
  }
  .page-slot-games__section {
    padding: 40px 0;
  }
  .page-slot-games__hero-section {
    padding-top: 10px;
    padding-bottom: 40px;
  }
  .page-slot-games__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-slot-games__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    min-height: 250px;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 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__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__section-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-slot-games__text-block {
    padding: 15px;
  }
  .page-slot-games__image-block img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__grid-3-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__card {
    padding: 20px;
  }
  .page-slot-games__card-title {
    font-size: 1.5em;
  }
  .page-slot-games__feature-list li,
  .page-slot-games__promotion-list li,
  .page-slot-games__tip-list li {
    font-size: 1em;
  }
  .page-slot-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__step-title {
    font-size: 1.8em;
  }
  details.page-slot-games__faq-item summary.page-slot-games__faq-question { padding: 15px; }
  .page-slot-games__faq-qtext { font-size: 15px; }
  .page-slot-games__cta-title {
    font-size: 2em;
  }
  .page-slot-games__cta-description {
    font-size: 1em;
  }
  .page-slot-games__cta-container {
    padding: 40px 15px;
  }
  /* Universal image and container responsive styles */
  .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-content,
  .page-slot-games__content-wrapper,
  .page-slot-games__text-block,
  .page-slot-games__image-block,
  .page-slot-games__grid-3-col,
  .page-slot-games__steps-grid,
  .page-slot-games__faq-list,
  .page-slot-games__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}