/* style/slot-games.css */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #333333);
  background-color: var(--background-color, #F5F7FA);
}

/* 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: 10px; /* Small top padding, body handles header offset */
  color: #ffffff;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Use brand colors for background if no image */
}

.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;
}

.page-slot-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  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%;
  padding: 0 15px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-slot-games__section {
  padding: 80px 20px;
  text-align: center;
}

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

.page-slot-games__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--text-main-color, #333333);
}

.page-slot-games__section-title--white {
  color: #ffffff;
}

.page-slot-games__text-block {
  font-size: 1.1rem;
  margin-bottom: 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main-color, #333333);
}

.page-slot-games__text-block--white {
  color: #f0f0f0;
}

.page-slot-games__highlight {
  color: var(--primary-color, #E53935);
  font-weight: bold;
}

.page-slot-games__dark-bg {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
}

.page-slot-games__light-bg {
  background-color: var(--card-bg-color, #FFFFFF);
  color: var(--text-main-color, #333333);
}

.page-slot-games__background-section {
  background-color: var(--background-color, #F5F7FA);
  color: var(--text-main-color, #333333);
}

.page-slot-games__image-wrapper {
  margin: 40px auto;
  max-width: 900px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-slot-games__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-slot-games__list-item {
  background: var(--card-bg-color, #FFFFFF);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1.1rem;
  color: var(--text-main-color, #333333);
}

.page-slot-games__list-item strong {
  color: var(--primary-color, #E53935);
}

.page-slot-games__list-item::before {
  content: '✓';
  color: var(--primary-color, #E53935);
  font-weight: bold;
  font-size: 1.2em;
  margin-top: 2px;
}

.page-slot-games__ordered-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  counter-reset: step-counter;
  text-align: left;
}

.page-slot-games__ordered-list .page-slot-games__list-item {
  background: var(--card-bg-color, #FFFFFF);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1.1rem;
  color: var(--text-main-color, #333333);
}

.page-slot-games__ordered-list .page-slot-games__list-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  background-color: var(--primary-color, #E53935);
  color: #ffffff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

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

.page-slot-games__card {
  background: var(--card-bg-color, #FFFFFF);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color, #E0E0E0);
  color: var(--text-main-color, #333333);
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color, #E53935);
}

.page-slot-games__card img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary {
  background: #ffffff;
  color: var(--primary-color, #E53935);
  border-color: var(--primary-color, #E53935);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__btn-secondary:hover {
  background: var(--primary-color, #E53935);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

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

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color, #E0E0E0);
  overflow: hidden;
  background: var(--card-bg-color, #FFFFFF);
  color: var(--text-main-color, #333333);
}

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;
  color: var(--text-main-color, #333333);
}

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: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color, #333333);
}

.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color, #E53935);
  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: var(--text-main-color, #333333);
}

/* Call to Action Section */
.page-slot-games__call-to-action {
  padding: 80px 20px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
}

.page-slot-games__cta-content {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-button--inverted {
  background: #ffffff;
  color: var(--primary-color, #E53935);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__cta-button--inverted:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__section {
    padding: 60px 15px;
  }
  .page-slot-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-slot-games__hero-description {
    font-size: 1.1rem;
  }
  .page-slot-games__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  }
  .page-slot-games__text-block {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__hero-image img {
    border-radius: 4px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-slot-games__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-slot-games__cta-button {
    padding: 12px 30px;
    font-size: 1rem;
    width: 100% !important;
    max-width: 300px !important; /* Constrain width for a better look on mobile */
    margin-left: auto !important;
    margin-right: auto !important;
  }

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

  .page-slot-games__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 30px;
  }

  .page-slot-games__text-block {
    font-size: 0.95rem;
  }

  .page-slot-games__image-wrapper {
    margin: 30px auto;
    border-radius: 8px;
  }

  .page-slot-games__list,
  .page-slot-games__ordered-list {
    margin: 30px auto;
  }

  .page-slot-games__list-item,
  .page-slot-games__ordered-list .page-slot-games__list-item {
    padding: 15px;
    font-size: 1rem;
    gap: 10px;
  }

  .page-slot-games__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-slot-games__card-title {
    font-size: 1.3rem;
  }

  .page-slot-games__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 300px !important; /* Constrain width for a better look on mobile */
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 12px 25px;
    font-size: 0.95rem;
  }

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

  .page-slot-games__faq-qtext {
    font-size: 1rem;
  }

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

  details.page-slot-games__faq-item .page-slot-games__faq-answer {
    padding: 0 15px 15px;
  }
  
  /* Force responsive images and containers */
  .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,
  .page-slot-games__hero-container,
  .page-slot-games__image-wrapper,
  .page-slot-games__cta-group,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__cta-group {
      flex-wrap: wrap !important;
      gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__cta-button,
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
  .page-slot-games__list-item,
  .page-slot-games__ordered-list .page-slot-games__list-item {
    font-size: 0.95rem;
  }
}