.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Assuming body background is black from shared.css */
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background-color: #FFD700;
  color: #0A1931;
  border: 2px solid #FFD700;
}

.page-slot-games__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

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

.page-slot-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height for hero */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Apply header offset */
  box-sizing: border-box;
}

.page-slot-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-slot-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 2;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-slot-games__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
}

.page-slot-games__hero-buttons a {
  margin: 10px;
}

/* General Section Styles */
.page-slot-games__dark-bg {
  background-color: #0A1931;
  color: #ffffff;
  padding: 80px 0;
}

.page-slot-games__light-bg {
  background-color: #1a2b4b; /* A slightly lighter dark background for contrast */
  color: #ffffff;
  padding: 80px 0;
}

.page-slot-games__introduction-section .page-slot-games__text-block,
.page-slot-games__strategy-section .page-slot-games__text-block,
.page-slot-games__conclusion-section .page-slot-games__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Game Types Section */
.page-slot-games__game-type-grid,
.page-slot-games__benefits-grid,
.page-slot-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__game-type-card,
.page-slot-games__benefit-card,
.page-slot-games__promo-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

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

.page-slot-games__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__card-description {
  font-size: 1em;
  padding: 0 15px;
  flex-grow: 1;
}

/* Guide Section */
.page-slot-games__guide-list,
.page-slot-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__guide-list li,
.page-slot-games__strategy-list li {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  line-height: 1.8;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-slot-games__guide-list li strong,
.page-slot-games__strategy-list li strong {
  color: #FFD700;
}

/* Download Section */
.page-slot-games__download-flex {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-slot-games__download-content {
  flex: 1;
}

.page-slot-games__download-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-slot-games__download-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__download-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: flex-start;
}

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.page-slot-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__faq-title {
  margin: 0;
  font-size: 1.3em;
  color: #FFD700;
}

.page-slot-games__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  transform: rotate(45deg); /* Plus to X / Minus */
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #ffffff;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 20px;
}

.page-slot-games__faq-answer p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3em;
  }

  .page-slot-games__hero-description {
    font-size: 1.2em;
  }

  .page-slot-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    height: auto;
    min-height: 600px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure it applies on mobile */
  }

  .page-slot-games__hero-title {
    font-size: 2.5em;
  }

  .page-slot-games__hero-description {
    font-size: 1em;
  }

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

  .page-slot-games__hero-buttons a {
    width: 100%;
    max-width: 300px; /* Constrain button width on small screens */
    margin: 0 auto;
  }

  .page-slot-games__section-title {
    font-size: 1.8em;
  }

  .page-slot-games__text-block {
    font-size: 0.95em;
  }

  .page-slot-games__game-type-grid,
  .page-slot-games__benefits-grid,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-slot-games__card-image {
    height: 200px;
  }

  .page-slot-games__download-flex {
    flex-direction: column;
    gap: 30px;
  }

  .page-slot-games__download-content,
  .page-slot-games__download-image-wrapper {
    width: 100%;
  }

  .page-slot-games__download-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .page-slot-games__download-buttons a {
    max-width: 300px !important;
    width: 100% !important;
  }

  .page-slot-games__faq-question {
    padding: 15px 20px;
  }

  .page-slot-games__faq-title {
    font-size: 1.1em;
  }

  .page-slot-games__faq-answer {
    padding: 0 20px;
  }

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 10px 20px 15px;
  }
  
  /* Mobile responsive for all images */
  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile responsive for all video */
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile responsive for containers */
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile responsive for buttons */
  .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% !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__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}