/* style/slot-game-list.css */

:root {
  --page-slot-game-list-primary-color: #11A84E;
  --page-slot-game-list-secondary-color: #22C768;
  --page-slot-game-list-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-slot-game-list-card-bg: #11271B;
  --page-slot-game-list-background: #08160F;
  --page-slot-game-list-text-main: #F2FFF6;
  --page-slot-game-list-text-secondary: #A7D9B8;
  --page-slot-game-list-border-color: #2E7A4E;
  --page-slot-game-list-glow-color: #57E38D;
  --page-slot-game-list-gold-color: #F2C14E;
  --page-slot-game-list-divider-color: #1E3A2A;
  --page-slot-game-list-deep-green: #0A4B2C;
}

.page-slot-game-list {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-slot-game-list-text-main);
  background-color: var(--page-slot-game-list-background); /* Body background is handled by shared.css, this is for main content sections */
}

.page-slot-game-list__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-slot-game-list__section {
  padding: 60px 0;
  text-align: center;
}

.page-slot-game-list__dark-bg {
  background-color: var(--page-slot-game-list-background);
  color: var(--page-slot-game-list-text-main);
}

.page-slot-game-list__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-slot-game-list__section-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--page-slot-game-list-gold-color);
  letter-spacing: -0.02em;
}

.page-slot-game-list__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--page-slot-game-list-primary-color);
}

.page-slot-game-list__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-game-list__text-secondary {
  color: var(--page-slot-game-list-text-secondary);
}

/* Hero Section */
.page-slot-game-list__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles top padding, this is decorative */
  overflow: hidden;
  min-height: 600px;
  background-color: var(--page-slot-game-list-background);
}

.page-slot-game-list__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-game-list__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-slot-game-list__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 20px;
  margin-top: -200px; /* Pull content up over the bottom part of the image, but not on top of it */
  background: linear-gradient(to top, var(--page-slot-game-list-background) 0%, transparent 100%);
  padding-top: 200px;
}

.page-slot-game-list__hero-title {
  font-size: clamp(2.5em, 5vw, 3.8em);
  font-weight: 800;
  color: var(--page-slot-game-list-gold-color);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-slot-game-list__hero-description {
  font-size: 1.2em;
  color: var(--page-slot-game-list-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-slot-game-list__btn-primary,
.page-slot-game-list__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-slot-game-list__btn-primary {
  background: var(--page-slot-game-list-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-game-list__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-slot-game-list__btn-secondary {
  background: transparent;
  color: var(--page-slot-game-list-primary-color);
  border: 2px solid var(--page-slot-game-list-primary-color);
}

.page-slot-game-list__btn-secondary:hover {
  background: var(--page-slot-game-list-primary-color);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Image & Text Grid Layouts */
.page-slot-game-list__image-text-grid,
.page-slot-game-list__guide-grid,
.page-slot-game-list__strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
  text-align: left;
}

.page-slot-game-list__image-text-grid:nth-of-type(even) {
  direction: rtl; /* Reverse order for alternating sections */
}

.page-slot-game-list__image-text-grid:nth-of-type(even) .page-slot-game-list__image-wrapper {
  grid-column: 2;
}

.page-slot-game-list__image-text-grid:nth-of-type(even) .page-slot-game-list__text-content {
  grid-column: 1;
}

.page-slot-game-list__image-wrapper {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-game-list__image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-slot-game-list__list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-slot-game-list__list-item {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #333333;
}

.page-slot-game-list__list-item::before {
  content: '✔';
  color: var(--page-slot-game-list-primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-slot-game-list__numbered-list {
  list-style: decimal;
  padding-left: 20px;
  margin-top: 20px;
}

.page-slot-game-list__numbered-list .page-slot-game-list__list-item {
  padding-left: 0;
}

.page-slot-game-list__numbered-list .page-slot-game-list__list-item::before {
  content: none;
}

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

.page-slot-game-list__card {
  background-color: var(--page-slot-game-list-card-bg);
  border: 1px solid var(--page-slot-game-list-border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: var(--page-slot-game-list-text-main);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-game-list__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-slot-game-list__card-title {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--page-slot-game-list-gold-color);
  margin: 20px 20px 10px 20px;
}

.page-slot-game-list__card-description {
  font-size: 1em;
  color: var(--page-slot-game-list-text-secondary);
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

/* Providers Section */
.page-slot-game-list__provider-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
  text-align: left;
}

.page-slot-game-list__provider-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  color: #333333;
}

.page-slot-game-list__provider-list .page-slot-game-list__list-item {
  margin-bottom: 8px;
  padding-left: 20px;
}

.page-slot-game-list__provider-list .page-slot-game-list__list-item::before {
  content: '•';
  color: var(--page-slot-game-list-primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-slot-game-list__provider-image-wrapper {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* CTA Container */
.page-slot-game-list__cta-container {
  margin-top: 40px;
}

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

/* FAQ Section */
.page-slot-game-list__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-slot-game-list__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-slot-game-list__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  background-color: #f9f9f9;
  color: var(--page-slot-game-list-deep-green);
  border-bottom: 1px solid #e0e0e0;
}

.page-slot-game-list__faq-question:hover {
  background-color: #f0f0f0;
}

.page-slot-game-list__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--page-slot-game-list-primary-color);
  transition: transform 0.3s ease;
}

.page-slot-game-list__faq-item[open] .page-slot-game-list__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-game-list__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-slot-game-list__faq-answer p {
  margin: 0;
}

/* Conclusion Section */
.page-slot-game-list__conclusion .page-slot-game-list__section-title {
  color: var(--page-slot-game-list-gold-color);
}

/* Global image rules for content area - ensure minimum size */
.page-slot-game-list img {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-slot-game-list__section-title {
    font-size: 2.2em;
  }

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

  .page-slot-game-list__image-text-grid,
  .page-slot-game-list__guide-grid,
  .page-slot-game-list__strategy-grid,
  .page-slot-game-list__provider-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-slot-game-list__image-text-grid:nth-of-type(even) .page-slot-game-list__image-wrapper,
  .page-slot-game-list__image-text-grid:nth-of-type(even) .page-slot-game-list__text-content {
    grid-column: unset;
    direction: ltr; /* Reset direction for mobile */
  }

  .page-slot-game-list__text-content {
    order: 2;
  }

  .page-slot-game-list__image-wrapper {
    order: 1;
  }

  .page-slot-game-list__provider-image-wrapper {
    order: 2; /* Move image below text for providers */
  }
}

@media (max-width: 768px) {
  .page-slot-game-list__section {
    padding: 40px 0;
  }

  .page-slot-game-list__hero-section {
    padding-top: 10px !important; /* body has padding-top, this is decorative */
    min-height: 450px;
  }

  .page-slot-game-list__hero-content {
    margin-top: -100px;
    padding-top: 100px;
  }

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

  .page-slot-game-list__hero-description {
    font-size: 1em;
  }

  .page-slot-game-list__btn-primary,
  .page-slot-game-list__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-game-list__hero-cta-buttons,
  .page-slot-game-list__cta-buttons--center {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-game-list__container {
    padding: 0 15px;
  }

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

  .page-slot-game-list__sub-title {
    font-size: 1.3em;
  }

  /* Mobile image responsiveness */
  .page-slot-game-list img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-game-list__section,
  .page-slot-game-list__card,
  .page-slot-game-list__container,
  .page-slot-game-list__image-wrapper,
  .page-slot-game-list__hero-image-wrapper,
  .page-slot-game-list__provider-image-wrapper,
  .page-slot-game-list__cta-container,
  .page-slot-game-list__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  /* Ensure cards and grids adapt */
  .page-slot-game-list__card-grid,
  .page-slot-game-list__promotion-cards {
    grid-template-columns: 1fr;
    padding: 0 15px; /* Add padding to prevent cards from touching screen edges */
  }

  .page-slot-game-list__card {
    margin-left: 0;
    margin-right: 0;
  }

  .page-slot-game-list__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-slot-game-list__faq-answer {
    padding: 10px 20px;
  }
}