.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Default body background */
}

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

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
}

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

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: #C30808; /* Login/Register button color */
  color: #FFFF00; /* Login/Register font color */
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-slot-games__cta-button:hover {
  background-color: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

/* HERO Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: linear-gradient(135deg, #017439, #1a9a5a);
  color: #FFFFFF;
  overflow: hidden;
}

.page-slot-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-slot-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 100%;
  height: auto;
}

.page-slot-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-slot-games__hero-title {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* High contrast for title */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-slot-games__hero-description {
  font-size: 22px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-slot-games__cta-button--register {
  background-color: #C30808;
  color: #FFFF00;
}

.page-slot-games__cta-button--login {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-slot-games__cta-button--login:hover {
  background-color: #005f2f;
}

/* Introduction Section */
.page-slot-games__introduction-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-slot-games__feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__feature-item img {
  
  
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

.page-slot-games__feature-item h3 {
  font-size: 22px;
  color: #017439;
  margin-bottom: 10px;
}

.page-slot-games__feature-item p {
  font-size: 16px;
  color: #666666;
}

/* Quick Access Section */
.page-slot-games__quick-access-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

.page-slot-games__quick-access-section .page-slot-games__section-title {
  color: #FFFF00;
}

.page-slot-games__quick-access-section .page-slot-games__section-description {
  color: #f0f0f0;
}

.page-slot-games__links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.page-slot-games__access-link {
  display: block;
  background: #1a9a5a;
  color: #FFFFFF;
  text-align: center;
  padding: 18px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 17px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-slot-games__access-link:hover {
  background-color: #005f2f;
  transform: translateY(-3px);
}

/* Games Showcase Section */
.page-slot-games__games-showcase-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-slot-games__game-card {
  background: #fdfdfd;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-slot-games__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-slot-games__game-card h3 {
  font-size: 24px;
  color: #017439;
  margin: 20px 20px 10px 20px;
  line-height: 1.3;
}

.page-slot-games__game-card h3 a {
  color: #017439;
  text-decoration: none;
}

.page-slot-games__game-card h3 a:hover {
  text-decoration: underline;
}

.page-slot-games__game-card p {
  font-size: 16px;
  color: #666666;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-slot-games__game-button {
  display: block;
  text-align: center;
  padding: 12px 20px;
  background-color: #C30808;
  color: #FFFF00;
  text-decoration: none;
  font-weight: bold;
  border-radius: 0 0 10px 10px;
  transition: background-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-slot-games__game-button:hover {
  background-color: #a30606;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

.page-slot-games__promotions-section .page-slot-games__section-title {
  color: #FFFF00;
}

.page-slot-games__promotions-section .page-slot-games__section-description {
  color: #f0f0f0;
}

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

.page-slot-games__promo-card {
  background: #1a9a5a;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__promo-card img {
  width: 100%;
  
  object-fit: cover;
  display: block;
}

.page-slot-games__promo-card h3 {
  font-size: 22px;
  color: #FFFF00;
  margin: 20px 20px 10px 20px;
  line-height: 1.3;
}

.page-slot-games__promo-card h3 a {
  color: #FFFF00;
  text-decoration: none;
}

.page-slot-games__promo-card h3 a:hover {
  text-decoration: underline;
}

.page-slot-games__promo-card p {
  font-size: 16px;
  color: #f0f0f0;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-slot-games__promo-button {
  display: block;
  text-align: center;
  padding: 12px 20px;
  background-color: #C30808;
  color: #FFFF00;
  text-decoration: none;
  font-weight: bold;
  border-radius: 0 0 10px 10px;
  transition: background-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-slot-games__promo-button:hover {
  background-color: #a30606;
}

/* Security & Support Section */
.page-slot-games__security-support-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-slot-games__info-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__info-card img {
  
  
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

.page-slot-games__info-card h3 {
  font-size: 22px;
  color: #017439;
  margin-bottom: 10px;
}

.page-slot-games__info-card p {
  font-size: 16px;
  color: #666666;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

.page-slot-games__faq-section .page-slot-games__section-title {
  color: #FFFF00;
}

.page-slot-games__faq-section .page-slot-games__section-description {
  color: #f0f0f0;
}

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: #1a9a5a;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #1a9a5a;
  border: 1px solid #2eaf6e;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #FFFFFF;
}

.page-slot-games__faq-question:hover {
  background: #2eaf6e;
  border-color: #4dc28e;
}

.page-slot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFFF00;
}

.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFFF00;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  transform: rotate(45deg); /* Change to X for minus */
  color: #FFFFFF;
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #f0f0f0;
  background: #1a9a5a;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

/* News & Blog Section */
.page-slot-games__news-blog-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-slot-games__blog-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-slot-games__blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-slot-games__blog-card h3 {
  font-size: 22px;
  color: #017439;
  margin: 20px 20px 10px 20px;
  line-height: 1.3;
}

.page-slot-games__blog-card h3 a {
  color: #017439;
  text-decoration: none;
}

.page-slot-games__blog-card h3 a:hover {
  text-decoration: underline;
}

.page-slot-games__blog-card p {
  font-size: 16px;
  color: #666666;
  padding: 0 20px 15px 20px;
  flex-grow: 1;
}

.page-slot-games__blog-date {
  font-size: 14px;
  color: #999999;
  padding: 0 20px 20px 20px;
  display: block;
}

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

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

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

  /* HERO Section Mobile */
  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__hero-title {
    font-size: 36px;
    margin-bottom: 15px;
  }

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

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

  .page-slot-games__cta-button {
    padding: 12px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General Image & Card/Container Responsive */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__introduction-section,
  .page-slot-games__quick-access-section,
  .page-slot-games__games-showcase-section,
  .page-slot-games__promotions-section,
  .page-slot-games__security-support-section,
  .page-slot-games__faq-section,
  .page-slot-games__news-blog-section {
    padding: 40px 0;
  }

  .page-slot-games__feature-item,
  .page-slot-games__game-card,
  .page-slot-games__promo-card,
  .page-slot-games__info-card,
  .page-slot-games__blog-card {
    margin-bottom: 20px;
  }
  
  .page-slot-games__feature-item img,
  .page-slot-games__info-card img {
    
    
  }

  .page-slot-games__access-link {
    padding: 15px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__game-card img,
  .page-slot-games__promo-card img,
  .page-slot-games__blog-card img {
    
  }

  .page-slot-games__game-card h3,
  .page-slot-games__promo-card h3,
  .page-slot-games__info-card h3,
  .page-slot-games__blog-card h3 {
    font-size: 20px;
  }

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

  .page-slot-games__faq-question h3 {
    font-size: 16px;
  }

  .page-slot-games__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

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

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px !important;
  }

  .page-slot-games__blog-date {
    padding-bottom: 15px;
  }
}

/* Ensure all image containers handle overflow on mobile */
.page-slot-games__hero-image,
.page-slot-games__feature-item,
.page-slot-games__game-card,
.page-slot-games__promo-card,
.page-slot-games__info-card,
.page-slot-games__blog-card {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Button containers responsive */
.page-slot-games__hero-buttons,
.page-slot-games__links-grid,
.page-slot-games__cta-center {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-slot-games__hero-buttons,
  .page-slot-games__links-grid,
  .page-slot-games__cta-center {
    padding-left: 15px;
    padding-right: 15px;
  }
}