/* style/slot-games.css */

/* Custom Colors */
:root {
  --mcw-primary-green: #11A84E;
  --mcw-secondary-green: #22C768;
  --mcw-button-gradient-start: #2AD16F;
  --mcw-button-gradient-end: #13994A;
  --mcw-card-bg: #11271B;
  --mcw-background-dark: #08160F;
  --mcw-text-main: #F2FFF6;
  --mcw-text-secondary: #A7D9B8;
  --mcw-border-color: #2E7A4E;
  --mcw-glow-color: #57E38D;
  --mcw-gold-color: #F2C14E;
  --mcw-divider-color: #1E3A2A;
  --mcw-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-slot-games {
  background-color: var(--mcw-background-dark); /* Dark background from custom colors */
  color: var(--mcw-text-main); /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

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

.page-slot-games__card-bg {
  background-color: var(--mcw-card-bg);
  color: var(--mcw-text-main);
}

.page-slot-games__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: var(--mcw-gold-color);
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-slot-games__sub-title,
.page-slot-games__card-title,
.page-slot-games__list-item-title,
.page-slot-games__step-title,
.page-slot-games__promotion-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  color: var(--mcw-primary-green);
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__description {
  font-size: 1.1em;
  color: var(--mcw-text-secondary);
  max-width: 900px;
  margin: 0 auto 30px;
}

.page-slot-games p,
.page-slot-games li {
  color: var(--mcw-text-main);
  text-align: left;
  margin-bottom: 15px;
}

.page-slot-games li {
  list-style: none;
  position: relative;
  padding-left: 30px;
}

.page-slot-games li::before {
  content: '◆';
  color: var(--mcw-gold-color);
  position: absolute;
  left: 0;
  top: 0;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, var(--mcw-button-gradient-start) 0%, var(--mcw-button-gradient-end) 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, var(--mcw-button-gradient-end) 0%, var(--mcw-button-gradient-start) 100%);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

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

.page-slot-games__btn-secondary:hover {
  background-color: var(--mcw-primary-green);
  color: #ffffff;
}

.page-slot-games__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  min-height: 500px;
}

.page-slot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
  display: block;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: var(--mcw-gold-color);
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-slot-games__hero-content .page-slot-games__description {
  font-size: 1.2em;
  color: var(--mcw-text-main);
  margin-bottom: 30px;
}

.page-slot-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

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

.page-slot-games__benefits .page-slot-games__card {
  background-color: var(--mcw-card-bg);
  border: 1px solid var(--mcw-border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__benefits .page-slot-games__card p {
  color: var(--mcw-text-secondary);
  text-align: center;
}

/* Game Types Section */
.page-slot-games__game-types .page-slot-games__container {
  text-align: left;
}

.page-slot-games__game-types .page-slot-games__list {
  padding-left: 0;
  margin-top: 30px;
}

.page-slot-games__game-types .page-slot-games__list li {
  margin-bottom: 25px;
  border-bottom: 1px dashed var(--mcw-divider-color);
  padding-bottom: 20px;
}

.page-slot-games__game-types .page-slot-games__list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

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

.page-slot-games__guide .page-slot-games__step-card {
  background-color: var(--mcw-background-dark);
  border: 1px solid var(--mcw-border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--mcw-gold-color);
  margin-bottom: 15px;
  border: 3px solid var(--mcw-gold-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-slot-games__guide .page-slot-games__step-card p {
  color: var(--mcw-text-secondary);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-slot-games__guide .page-slot-games__step-card .page-slot-games__btn-primary,
.page-slot-games__guide .page-slot-games__step-card .page-slot-games__btn-secondary {
  margin-top: auto;
}

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

.page-slot-games__promotions .page-slot-games__promotion-card {
  background-color: var(--mcw-card-bg);
  border: 1px solid var(--mcw-border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.page-slot-games__promotions .page-slot-games__promotion-card p {
  color: var(--mcw-text-secondary);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-slot-games__promotions .page-slot-games__promotion-card .page-slot-games__btn-secondary {
  margin-top: auto;
}

/* Tips Section */
.page-slot-games__tips .page-slot-games__container {
  text-align: left;
}

.page-slot-games__tips-list {
  padding-left: 0;
  margin-top: 30px;
}

.page-slot-games__tips-list li {
  background-color: var(--mcw-card-bg);
  border: 1px solid var(--mcw-border-color);
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 20px 25px;
  text-align: left;
  position: relative;
  padding-left: 60px;
}

.page-slot-games__tips-list li::before {
  content: '💡';
  font-size: 1.8em;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mcw-gold-color);
}

.page-slot-games__tips-list li p {
  margin-bottom: 0;
}

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

.page-slot-games__faq-item {
  background-color: var(--mcw-card-bg);
  border: 1px solid var(--mcw-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--mcw-text-main);
  cursor: pointer;
  background-color: var(--mcw-deep-green);
  border-bottom: 1px solid var(--mcw-divider-color);
  list-style: none; /* For details/summary */
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  border-bottom: 1px solid var(--mcw-border-color);
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--mcw-gold-color);
}

.page-slot-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: var(--mcw-text-secondary);
  line-height: 1.6;
}

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

.page-slot-games__faq-answer .page-slot-games__btn-small {
  margin-top: 10px;
}

/* Conclusion Section */
.page-slot-games__cta-final {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Image Styling */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

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

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

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

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

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

  .page-slot-games__hero-content {
    padding: 15px;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    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: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    overflow: hidden !important;
  }

  .page-slot-games__benefits .page-slot-games__grid,
  .page-slot-games__guide .page-slot-games__steps-grid,
  .page-slot-games__promotions .page-slot-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper,
  .page-slot-games__cta-final {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-slot-games__tips-list li {
    padding-left: 45px;
  }

  .page-slot-games__tips-list li::before {
    left: 10px;
    font-size: 1.5em;
  }

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

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

/* Ensure content images are not smaller than 200px in content area */
.page-slot-games__content-area img,
.page-slot-games__about-slots img,
.page-slot-games__benefits img,
.page-slot-games__game-types img,
.page-slot-games__guide img,
.page-slot-games__promotions img,
.page-slot-games__tips img,
.page-slot-games__faq img,
.page-slot-games__conclusion img {
  min-width: 200px;
  min-height: 200px;
}