.page-slot-games {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #FFFFFF;
}

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
}

.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.5);
  z-index: 2;
}

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

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-slot-games__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-slot-games__btn-secondary {
  background-color: #017439;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-slot-games__btn-secondary:hover {
  background-color: #005A2C;
}

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

.page-slot-games__btn-huge {
  padding: 22px 50px;
  font-size: 1.4em;
}

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

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

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

.page-slot-games__intro-section .page-slot-games__section-title,
.page-slot-games__benefits-section .page-slot-games__section-title,
.page-slot-games__strategy-section .page-slot-games__section-title,
.page-slot-games__cta-final-section .page-slot-games__section-title {
  color: #017439;
}

.page-slot-games__game-types-section .page-slot-games__section-title,
.page-slot-games__promotions-guide-section .page-slot-games__section-title,
.page-slot-games__faq-section .page-slot-games__section-title {
  color: #FFFFFF;
}

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

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

.page-slot-games__game-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-slot-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__card-title {
  font-size: 1.5em;
  color: #017439;
  margin: 20px 15px 10px;
  font-weight: bold;
}

.page-slot-games__card-text {
  padding: 0 15px 20px;
  color: #555555;
  flex-grow: 1;
}

.page-slot-games__dark-bg {
  background-color: #017439;
  color: #FFFFFF;
}

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

.page-slot-games__benefits-layout {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-slot-games__benefits-text-content {
  flex: 1;
}

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

.page-slot-games__benefits-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-slot-games__benefits-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23017439" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 24px;
  padding-left: 35px;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-slot-games__list-item-title {
  color: #017439;
}

.page-slot-games__promotions-guide-section {
  padding: 60px 0;
}

.page-slot-games__guide-steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
  text-align: center;
}

.page-slot-games__guide-item {
  flex: 1;
  max-width: 300px;
}

.page-slot-games__guide-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #C30808;
  color: #FFFF00;
  border-radius: 50%;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__guide-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-slot-games__guide-text {
  color: #E0E0E0;
}

.page-slot-games__center-content {
  text-align: center;
  margin-top: 50px;
}

.page-slot-games__promotion-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 30px;
}

.page-slot-games__strategy-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
}

.page-slot-games__strategy-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23017439" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path></svg>') no-repeat left top;
  background-size: 24px;
  padding-left: 35px;
  margin-bottom: 20px;
  font-size: 1.1em;
  text-align: left;
}

.page-slot-games__faq-section {
  padding: 60px 0;
}

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

.page-slot-games__faq-item {
  background-color: #00602F; /* Slightly darker green for FAQ items */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-item.active {
  background-color: #005026;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFFFF;
  cursor: pointer;
  transition: color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  color: #FFFF00; /* Yellow hover for questions */
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

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

.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__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 2.8em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__benefits-layout {
    flex-direction: column;
  }
  .page-slot-games__benefits-text-content, .page-slot-games__benefits-image-wrapper {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    height: 450px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-slot-games__hero-title {
    font-size: 2em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__hero-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__hero-buttons,
  .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: 1.8em;
  }
  .page-slot-games__game-grid {
    grid-template-columns: 1fr;
  }
  .page-slot-games__benefits-list li {
    font-size: 1em;
  }
  .page-slot-games__guide-steps {
    flex-direction: column;
    align-items: center;
  }
  .page-slot-games__guide-item {
    max-width: 90%;
  }
  .page-slot-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-slot-games__faq-answer {
    padding: 10px 20px 15px;
  }
  .page-slot-games__promotion-image {
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__video-section {
    padding-top: var(--header-offset, 120px) !important; 
  }
  .page-slot-games__video,
  .page-slot-games video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .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;
  }
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}