/* Base Styles */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #f8f8f8; /* Light background for the page content */
}

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

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

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games a[class*="btn"] {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

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

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

.page-slot-games__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #005a2d;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero Section */
.page-slot-games__hero-section {
  padding: 60px 0 80px;
  background: linear-gradient(135deg, #017439, #005a2d);
  color: #ffffff;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
}

.page-slot-games__hero-section .page-slot-games__container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-slot-games__hero-content {
  flex: 1;
  text-align: left;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.page-slot-games__hero-image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-slot-games__feature-item {
  text-align: center;
  padding: 25px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-slot-games__feature-item img {
  
  
  object-fit: contain;
  margin: 0 auto 20px;
}

.page-slot-games__feature-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
  padding: 80px 0;
  background-color: #f0fdf5; /* Light green tint */
}

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

.page-slot-games__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

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

.page-slot-games__game-title {
  font-size: 1.3em;
  color: #017439;
  margin-bottom: 15px;
  flex-grow: 1;
  padding: 0 15px;
}

.page-slot-games__btn-play {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  margin: 0 15px;
}

.page-slot-games__btn-play:hover {
  background-color: #a00606;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-slot-games__guide-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-slot-games__guide-steps {
  flex: 1;
}

.page-slot-games__guide-steps ol {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-slot-games__guide-steps li {
  counter-increment: step-counter;
  margin-bottom: 20px;
  padding-left: 50px;
  position: relative;
}

.page-slot-games__guide-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #017439;
  color: #ffffff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-slot-games__guide-step-title {
  font-size: 1.3em;
  color: #017439;
  margin-top: 0;
  margin-bottom: 5px;
}

.page-slot-games__guide-steps p {
  margin: 0;
  font-size: 1em;
}

.page-slot-games__guide-image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-slot-games__guide-image {
  width: 100%;
  height: auto;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #005a2d, #017439);
  color: #ffffff;
}

.page-slot-games__promotions-section .page-slot-games__section-title,
.page-slot-games__promotions-section .page-slot-games__description {
  color: #ffffff;
}

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

.page-slot-games__promo-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-slot-games__promo-icon {
  font-size: 1.5em;
  margin-right: 15px;
  color: #FFFF00; /* Highlight color */
  flex-shrink: 0;
}

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

.page-slot-games__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-slot-games__security-image {
  flex: 1;
  min-width: 300px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-slot-games__security-text {
  flex: 1;
}

.page-slot-games__security-text p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

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

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

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: #017439;
  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: #555555;
}

/* Final CTA Section */
.page-slot-games__cta-final-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #017439, #005a2d);
  color: #ffffff;
  text-align: center;
}

.page-slot-games__cta-final-section .page-slot-games__section-title,
.page-slot-games__cta-final-section .page-slot-games__description {
  color: #ffffff;
}

/* Mobile Responsive - General */
@media (max-width: 1023px) {
  /* Required homepage trial CSS - included as per instruction */
  .page-slot-games__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-slot-games__hero-brand,
  .page-slot-games__hero-jackpot {
    display: none !important;
  }
  .page-slot-games__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-slot-games__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-slot-games__game-trial-topbar,
  .page-slot-games__game-trial-bottombar {
    display: none !important;
  }
  .page-slot-games__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-slot-games__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-slot-games__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-slot-games__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  /* Required homepage trial CSS - included as per instruction */
  .page-slot-games__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-slot-games__hero-brand,
  .page-slot-games__hero-jackpot,
  .page-slot-games__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-slot-games__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-slot-games__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-slot-games__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-slot-games__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-slot-games__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
  /* .page-slot-games__promo-strip { margin-top: 16px; } */ /* Not applicable for this page's layout */
}

@media (max-width: 768px) {
  .page-slot-games__hero-section .page-slot-games__container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .page-slot-games__hero-content {
    text-align: center;
  }

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

  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-slot-games__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .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__features-grid,
  .page-slot-games__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-item,
  .page-slot-games__game-card {
    padding: 20px 15px;
  }

  .page-slot-games__guide-content,
  .page-slot-games__security-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-slot-games__guide-image-wrapper,
  .page-slot-games__security-image {
    order: -1; /* Image appears before text on mobile */
  }

  .page-slot-games__promo-list li {
    font-size: 1em;
  }

  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__faq-toggle { font-size: 20px; width: 24px; }
  details.page-slot-games__faq-item .page-slot-games__faq-answer { padding: 0 15px 15px; }

  /* General image responsive for content area */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* The following are specific to homepage layout requirements for the CSS output, not directly used by this slot-games.html */
.page-slot-games__game-trial-overlay{z-index:5;pointer-events:auto;}
.page-slot-games__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}
.page-slot-games__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}
.page-slot-games__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}
.page-slot-games__reward-modal{position:fixed;inset:0;z-index:10000;display:flex;justify-content:center;align-items:center;background-color:rgba(0,0,0,0.7);}
.page-slot-games__reward-modal.is-hidden{display:none!important;}
.page-slot-games__reward-modal-content{background:#fff;padding:30px;border-radius:10px;text-align:center;position:relative;max-width:90%;}
.page-slot-games__reward-modal-close{position:absolute;top:10px;right:10px;background:none;border:none;font-size:24px;cursor:pointer;color:#333;}
.page-slot-games__reward-modal-title{color:#017439;font-size:2em;margin-bottom:15px;}
.page-slot-games__reward-modal-text{color:#555;font-size:1.1em;margin-bottom:20px;}
.page-slot-games__reward-modal-cta{background:#C30808;color:#FFFF00;padding:10px 20px;border-radius:5px;text-decoration:none;font-weight:bold;}