/* style/slot-games.css */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  text-align: center;
  overflow: hidden;
  background-color: #017439; /* Brand color as hero background */
}

.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-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: #ffffff;
}

.page-slot-games__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-slot-games__btn-primary:hover {
  background-color: #e02020;
  transform: translateY(-2px);
}

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

.page-slot-games__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-slot-games__section {
  padding: 80px 20px;
  text-align: center;
}

.page-slot-games__intro-section {
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-slot-games__features-section {
  background-color: #017439;
  color: #ffffff;
}

.page-slot-games__game-types-section {
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-slot-games__guide-section {
  background-color: #017439;
  color: #ffffff;
}

.page-slot-games__strategy-section {
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-slot-games__promotions-section {
  background-color: #017439;
  color: #ffffff;
}

.page-slot-games__faq-section {
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-slot-games__final-cta-section {
  position: relative;
  padding: 100px 20px;
  background-color: #017439;
  color: #ffffff;
  overflow: hidden;
}

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

.page-slot-games__final-cta-section .page-slot-games__container {
  position: relative;
  z-index: 2;
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #ffffff;
}

.page-slot-games__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #FFFF00; /* Highlight color for titles */
  text-align: center;
}

.page-slot-games__card-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  text-align: center;
}

.page-slot-games__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-top: auto; /* Push image to bottom if content above is short */
  object-fit: cover;
}

.page-slot-games__list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 20px auto 40px auto;
  text-align: left;
}

.page-slot-games__numbered-list {
  list-style: decimal;
  padding-left: 25px;
  max-width: 900px;
  margin: 20px auto 40px auto;
  text-align: left;
}

.page-slot-games__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  padding-left: 10px;
  position: relative;
}

.page-slot-games__list-item::before {
  content: '✓';
  color: #FFFF00; /* Checkmark color */
  position: absolute;
  left: -15px;
  font-weight: bold;
}

.page-slot-games__numbered-list .page-slot-games__list-item::before {
  content: none; /* Remove checkmark for numbered list */
}

.page-slot-games__inline-link {
  color: #FFFF00; /* Highlight links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-slot-games__inline-link:hover {
  color: #e02020;
}

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

.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 40px auto;
  background-color: #000;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-slot-games__video-caption {
  font-style: italic;
  margin-top: 20px;
  color: #f0f0f0;
}

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

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

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

.page-slot-games__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

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

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  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: #f0f0f0;
}

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

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

.page-slot-games__faq-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-top: 50px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Image sizing for content area */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 2.8em;
  }

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

  .page-slot-games__hero-section {
    min-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

  .page-slot-games__intro-text {
    font-size: 1em;
  }

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

  .page-slot-games__section {
    padding: 60px 15px;
  }

  .page-slot-games__grid {
    grid-template-columns: 1fr;
  }

  .page-slot-games__card {
    padding: 20px;
  }

  .page-slot-games__video-wrapper {
    padding-bottom: 75%; /* Adjust for mobile 4:3 or keep 16:9 */
    margin-left: 0;
    margin-right: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-games__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Important for mobile video section */
  }

  .page-slot-games__video,
  .page-slot-games__faq-image,
  .page-slot-games__hero-image,
  .page-slot-games__card-image,
  .page-slot-games__cta-image,
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .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,
  .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;
    overflow-x: hidden;
  }

  .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;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__list,
  .page-slot-games__numbered-list {
    padding-left: 20px;
  }

  .page-slot-games__list-item::before {
    left: -10px;
  }

  .page-slot-games__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

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

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: 1.8em;
  }

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

  .page-slot-games__hero-section {
    min-height: 350px;
  }

  .page-slot-games__btn-primary, .page-slot-games__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
}