/* style/casino-slots.css */
.page-casino-slots {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-casino-slots__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-casino-slots__section {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

.page-casino-slots__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-casino-slots__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-casino-slots__light-text-color {
  color: #333333;
}

.page-casino-slots__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
}

.page-casino-slots__light-bg .page-casino-slots__section-title {
  color: #017439;
}

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

/* Hero Section */
.page-casino-slots__hero-section {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
}

.page-casino-slots__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5); /* Darken image for text readability, not color change */
}

.page-casino-slots__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.page-casino-slots__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-casino-slots__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-casino-slots__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-casino-slots__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.page-casino-slots__btn-primary,
.page-casino-slots__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino-slots__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
}

.page-casino-slots__btn-primary:hover {
  background-color: #E00A0A;
  transform: translateY(-2px);
}

.page-casino-slots__btn-secondary {
  background-color: #017439; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-casino-slots__btn-secondary:hover {
  background-color: #005a2b;
  transform: translateY(-2px);
}

.page-casino-slots__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Grid Layout */
.page-casino-slots__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Cards */
.page-casino-slots__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino-slots__light-bg .page-casino-slots__card {
  background: #f8f8f8; /* Light background for light section */
  color: #333333;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-casino-slots__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

.page-casino-slots__card-title {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: #ffffff;
  padding: 0 15px;
}

.page-casino-slots__light-bg .page-casino-slots__card-title {
  color: #017439;
}

.page-casino-slots__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-casino-slots__card .page-casino-slots__btn-primary {
  margin-top: auto; /* Push button to bottom */
  align-self: center;
}

/* Ordered List */
.page-casino-slots__ordered-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
  color: #333333;
}

.page-casino-slots__ordered-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.5;
  color: #333333;
}

/* Feature List (Unordered) */
.page-casino-slots__feature-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 30px;
  color: #333333;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.page-casino-slots__feature-list li {
  margin-bottom: 5px;
  font-size: 1.1em;
  line-height: 1.5;
  color: #333333;
}

.page-casino-slots__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

/* FAQ Section */
.page-casino-slots__faq-list {
  margin-top: 40px;
}

.page-casino-slots__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-casino-slots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #017439; /* Brand primary color for FAQ question */
  transition: background-color 0.3s ease;
}

.page-casino-slots__faq-question:hover {
  background-color: #005a2b;
}

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

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

.page-casino-slots__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-casino-slots__faq-item.active .page-casino-slots__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 20px;
}

.page-casino-slots__faq-answer p {
  margin: 0;
}

/* Bottom CTA */
.page-casino-slots__cta-bottom {
  padding: 80px 0;
  text-align: center;
  background-color: #017439; /* Use primary brand color for bottom CTA */
  color: #ffffff;
}

.page-casino-slots__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-casino-slots__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-casino-slots__text-center {
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-casino-slots__hero-title {
    font-size: 3em;
  }
  .page-casino-slots__hero-description {
    font-size: 1.1em;
  }
  .page-casino-slots__section-title {
    font-size: 2em;
  }
  .page-casino-slots__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-casino-slots {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-casino-slots__container {
    padding: 0 15px;
  }
  .page-casino-slots__hero-section {
    height: 60vh;
  }
  .page-casino-slots__hero-title {
    font-size: 2.2em;
  }
  .page-casino-slots__hero-description {
    font-size: 1em;
  }
  .page-casino-slots__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino-slots__btn-primary,
  .page-casino-slots__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-casino-slots__section {
    padding: 40px 0;
  }
  .page-casino-slots__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-casino-slots__grid {
    grid-template-columns: 1fr;
  }
  .page-casino-slots__card-image {
    height: 200px;
  }
  .page-casino-slots__card-title {
    font-size: 1.5em;
  }
  .page-casino-slots__ordered-list,
  .page-casino-slots__feature-list {
    padding-left: 20px;
  }
  .page-casino-slots__cta-bottom {
    padding: 60px 0;
  }
  .page-casino-slots__cta-title {
    font-size: 2em;
  }
  .page-casino-slots__cta-description {
    font-size: 1em;
  }
  /* Mobile image responsiveness */
  .page-casino-slots img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-casino-slots__section,
  .page-casino-slots__card,
  .page-casino-slots__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-casino-slots__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }
  .page-casino-slots__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-casino-slots__faq-answer {
    padding: 0 15px;
  }
  .page-casino-slots__faq-item.active .page-casino-slots__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-casino-slots__hero-title {
    font-size: 1.8em;
  }
  .page-casino-slots__hero-description {
    font-size: 0.9em;
  }
  .page-casino-slots__btn-primary,
  .page-casino-slots__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-casino-slots__section-title {
    font-size: 1.5em;
  }
  .page-casino-slots__cta-title {
    font-size: 1.8em;
  }
}