.page-slot-games {
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #017439;
  color: #ffffff;
}

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

.page-slot-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
  z-index: 2;
}

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

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFFF00; /* Register/Login font color */
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #ffffff;
}

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

.page-slot-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  color: #ffffff; /* Ensure text is light on dark body background */
}

.page-slot-games__dark-section {
  background-color: #017439; /* Brand color as background */
  color: #ffffff;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  color: #FFFF00; /* Register/Login font color */
  font-weight: bold;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: justify;
  max-width: 900px;
  margin: 0 auto;
}

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

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

.page-slot-games__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

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

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

.page-slot-games__card-text {
  font-size: 1em;
  line-height: 1.6;
  padding: 0 15px;
  color: #ffffff;
}

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

.page-slot-games__benefit-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

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

.page-slot-games__benefit-text {
  font-size: 1em;
  line-height: 1.6;
  color: #ffffff;
}

.page-slot-games__steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.page-slot-games__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 30px;
  width: 100%;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  color: #ffffff;
}

.page-slot-games__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #017439;
}

.page-slot-games__step-title {
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-slot-games__step-text {
  font-size: 1em;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-slot-games__btn-link {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-slot-games__btn-link:hover {
  background-color: #005f2c;
}

.page-slot-games__video-section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  text-align: center;
  color: #ffffff;
}

.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto 30px;
  background-color: #000;
  border-radius: 15px;
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.page-slot-games__video-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #ffffff;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary {
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #FFFF00; /* Register/Login font color for border */
}

.page-slot-games__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-slot-games__btn-video-cta {
  margin-top: 20px;
}

.page-slot-games__faq-container {
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
}

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  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;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFF00;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-question h3 {
  margin: 0;
  color: inherit;
}

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

.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 20px;
  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; /* Sufficient height for content */
  padding: 20px;
}

.page-slot-games__faq-answer p {
  margin: 0;
  line-height: 1.6;
  color: #ffffff;
}

.page-slot-games__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #017439;
  color: #ffffff;
}

.page-slot-games__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-slot-games__cta-title {
  font-size: 2.8em;
  margin-bottom: 25px;
  color: #FFFF00;
  font-weight: bold;
}

.page-slot-games__cta-description {
  font-size: 1.2em;
  line-height: 1.7;
  margin-bottom: 40px;
  color: #ffffff;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 2.8em;
  }
  .page-slot-games__section-title,
  .page-slot-games__cta-title {
    font-size: 2em;
  }
  .page-slot-games__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-slot-games__hero-title {
    font-size: 2.2em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__hero-buttons,
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100%;
    max-width: 300px; /* Constrain button width on mobile */
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-slot-games__grid-container,
  .page-slot-games__benefits-grid,
  .page-slot-games__steps-container {
    grid-template-columns: 1fr;
  }
  .page-slot-games__card,
  .page-slot-games__benefit-item,
  .page-slot-games__step-item {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .page-slot-games__section-title,
  .page-slot-games__cta-title {
    font-size: 1.8em;
  }
  .page-slot-games__content-area, 
  .page-slot-games__video-section, 
  .page-slot-games__cta-section {
    padding: 40px 15px;
  }
  
  /* Mobile image responsive adaptation */
  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__card-image {
    height: 200px;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__grid-container,
  .page-slot-games__benefits-grid,
  .page-slot-games__steps-container,
  .page-slot-games__faq-container,
  .page-slot-games__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Mobile video responsive adaptation */
  .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: 0; /* Handled by parent section */
    padding-right: 0; /* Handled by parent section */
    overflow: hidden !important;
  }
  .page-slot-games__video-wrapper {
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
  }
  
  /* Mobile button responsive adaptation */
  .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: 0; /* Handled by parent section */
    padding-right: 0; /* Handled by parent section */
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
}