/* style/slot-games.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-dark-section: #26A9E0;
  --border-color: #e0e0e0;
}

.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

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

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

.page-slot-games__section-title {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

.page-slot-games__section-description {
  font-size: 17px;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-dark);
}

/* Color Contrast */
.page-slot-games__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-slot-games__dark-section {
  background-color: var(--bg-dark-section);
  color: var(--text-light);
}

.page-slot-games__dark-section .page-slot-games__section-title {
  color: var(--text-light);
}

.page-slot-games__dark-section .page-slot-games__section-description {
  color: var(--text-light);
}

.page-slot-games__dark-section h3 {
  color: var(--text-light);
}

/* 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 */
  background-color: var(--primary-color); /* Background for the section, not the main image */
  color: var(--text-light);
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-slot-games__hero-content h1 {
  font-size: clamp(32px, 5vw, 48px); /* H1 font size with clamp */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-light);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__hero-content p {
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-slot-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-slot-games__btn-primary:hover {
  background: #1e87c0;
  border-color: #1e87c0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-slot-games__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87c0;
  border-color: #1e87c0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* About Slots Section */
.page-slot-games__about-slots p {
  text-align: left;
}

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

.page-slot-games__feature-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-slot-games__feature-card:hover {
  transform: translateY(-5px);
}

.page-slot-games__feature-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--text-light);
}

.page-slot-games__feature-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
}

/* Game Types Section */
.page-slot-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__game-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  color: var(--text-dark);
}

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

.page-slot-games__game-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.page-slot-games__game-card h3 {
  font-size: 22px;
  padding: 20px 20px 10px;
  font-weight: 700;
  color: var(--primary-color);
}

.page-slot-games__game-card p {
  font-size: 16px;
  padding: 0 20px 20px;
  line-height: 1.6;
}

/* How To Play Section */
.page-slot-games__guide-list {
  list-style: decimal;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
  padding-left: 20px;
}

.page-slot-games__guide-list li {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-slot-games__guide-list li strong {
  color: var(--primary-color);
}

/* Strategies Section */
.page-slot-games__strategy-list {
  list-style: disc;
  text-align: left;
  max-width: 900px;
  margin: 40px auto;
  padding-left: 20px;
}

.page-slot-games__strategy-list li {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--text-light);
}

/* Promotions Section */
.page-slot-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__promo-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
}

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

.page-slot-games__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.page-slot-games__promo-card h3 {
  font-size: 22px;
  padding: 20px 20px 10px;
  font-weight: 700;
  color: var(--primary-color);
}

.page-slot-games__promo-card p {
  font-size: 16px;
  padding: 0 20px 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.page-slot-games__promo-card .page-slot-games__btn-primary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  text-align: center;
}

/* Withdrawal System Section */
.page-slot-games__withdrawal-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__withdrawal-feature {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-slot-games__withdrawal-feature:hover {
  transform: translateY(-5px);
}

.page-slot-games__withdrawal-feature img {
  width: 200px; /* Enforce minimum size */
  height: 200px; /* Enforce minimum size */
  object-fit: contain;
  margin: 0 auto 20px; /* Center if fixed size */
  display: block;
  filter: none; /* Removed filter: invert(1) as per rules */
}

.page-slot-games__withdrawal-feature h3 {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--text-light);
}

.page-slot-games__withdrawal-feature p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
}

.page-slot-games__withdrawal-feature a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-slot-games__withdrawal-feature a:hover {
  color: #f0f0f0;
}

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

/* FAQ Section */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--bg-light);
  color: var(--text-dark);
}
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: var(--primary-color);
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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;
  text-align: left;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
}

/* Final CTA Section */
.page-slot-games__final-cta .page-slot-games__section-title,
.page-slot-games__final-cta .page-slot-games__section-description {
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-image img {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section {
    padding: 40px 15px;
  }

  .page-slot-games__section-title {
    font-size: 26px;
  }

  .page-slot-games__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

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

  .page-slot-games__hero-image img {
    height: auto !important;
    max-height: 400px;
    border-radius: 4px;
  }

  .page-slot-games__hero-content h1 {
    font-size: 30px;
  }

  .page-slot-games__hero-content p {
    font-size: 17px;
  }

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

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

  .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: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 15px;
  }

  .page-slot-games__features-grid,
  .page-slot-games__game-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__withdrawal-info {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-card,
  .page-slot-games__game-card,
  .page-slot-games__promo-card,
  .page-slot-games__withdrawal-feature {
    padding: 25px;
  }

  .page-slot-games__game-card img,
  .page-slot-games__promo-card img {
    
    min- /* Ensure min size on mobile as well */
    min-
  }

  .page-slot-games__withdrawal-feature img {
     /* Adjust for mobile, still > 200px visual */
     /* Adjust for mobile, still > 200px visual */
    min-
    min-
  }

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

  details.page-slot-games__faq-item summary.page-slot-games__faq-question { padding: 15px; }
  .page-slot-games__faq-qtext { font-size: 15px; }
  details.page-slot-games__faq-item .page-slot-games__faq-answer { padding: 0 15px 15px; }
}

/* Ensure all content images meet minimum size requirements */
.page-slot-games__game-card img, 
.page-slot-games__promo-card img, 
.page-slot-games__withdrawal-feature img {
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    object-fit: cover; /* Ensure images fill their space without distortion */
}

/* The previous filter: invert(1) on .page-slot-games__withdrawal-feature img was removed as per rules. */