/* style/slot-games.css */

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

/* General Page Styles - Dark Background from shared.css */
.page-slot-games {
  background-color: var(--page-slot-games-background); /* #08160F */
  color: var(--page-slot-games-text-main); /* #F2FFF6 */
  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-title {
  font-size: 2.5em;
  color: var(--page-slot-games-gold); /* #F2C14E */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-slot-games__sub-title {
  font-size: 1.8em;
  color: var(--page-slot-games-text-main); /* #F2FFF6 */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__text-block {
  color: var(--page-slot-games-text-secondary); /* #A7D9B8 */
  margin-bottom: 20px;
}

.page-slot-games__list,
.page-slot-games__numbered-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--page-slot-games-text-secondary); /* #A7D9B8 */
}

.page-slot-games__numbered-list {
  list-style-type: decimal;
}

.page-slot-games__list-item {
  margin-bottom: 10px;
}

/* Color Contrast Classes */
.page-slot-games__dark-bg {
  background-color: var(--page-slot-games-card-bg); /* #11271B */
  color: var(--page-slot-games-text-main); /* #F2FFF6 */
  padding: 60px 0;
}

.page-slot-games__light-bg {
  background-color: var(--page-slot-games-background); /* #08160F */
  color: var(--page-slot-games-text-main); /* #F2FFF6 */
  padding: 60px 0;
}

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

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient); /* linear-gradient */
  color: #ffffff;
  border: none;
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: var(--page-slot-games-secondary); /* #22C768 */
  border: 2px solid var(--page-slot-games-secondary); /* #22C768 */
}

.page-slot-games__btn-secondary:hover {
  background-color: var(--page-slot-games-secondary); /* #22C768 */
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-slot-games__btn-tertiary {
  background-color: var(--page-slot-games-deep-green); /* #0A4B2C */
  color: var(--page-slot-games-text-main); /* #F2FFF6 */
  border: none;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-slot-games__btn-tertiary:hover {
  background-color: var(--page-slot-games-primary); /* #11A84E */
  transform: translateY(-1px);
}

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

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

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

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  padding: 20px 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over the image slightly for visual flow */
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background for readability */
  border-radius: 15px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__main-title {
  font-weight: 700;
  color: var(--page-slot-games-gold); /* #F2C14E */
  margin-bottom: 15px;
  line-height: 1.2;
  /* clamp for responsive font size, but not fixed */
  font-size: clamp(2.2em, 5vw, 3.5em);
}

.page-slot-games__description {
  font-size: 1.2em;
  color: var(--page-slot-games-text-main); /* #F2FFF6 */
  margin-bottom: 25px;
}

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

.page-slot-games__game-card {
  background-color: var(--page-slot-games-card-bg); /* #11271B */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid var(--page-slot-games-border); /* #2E7A4E */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-slot-games__card-title {
  font-size: 1.5em;
  color: var(--page-slot-games-gold); /* #F2C14E */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__card-description {
  color: var(--page-slot-games-text-secondary); /* #A7D9B8 */
  font-size: 0.95em;
  line-height: 1.5;
  flex-grow: 1;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-slot-games__game-card .page-slot-games__btn-tertiary {
  margin: 0 auto;
}

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

.page-slot-games__promotion-card {
  background-color: var(--page-slot-games-card-bg); /* #11271B */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid var(--page-slot-games-border); /* #2E7A4E */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__promotion-card .page-slot-games__card-image {
  height: 220px;
}

/* Security Section */
.page-slot-games__security-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-slot-games__security-text {
  flex: 2;
  min-width: 300px;
}

.page-slot-games__security-image-wrapper {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.page-slot-games__security-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-slot-games-border); /* #2E7A4E */
}

/* Support Section */
.page-slot-games__support-content {
  display: flex;
  flex-wrap: wrap-reverse; /* Image on right for support */
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-slot-games__support-text {
  flex: 2;
  min-width: 300px;
}

.page-slot-games__support-image-wrapper {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.page-slot-games__support-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-slot-games-border); /* #2E7A4E */
}

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

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-card-bg); /* #11271B */
  border: 1px solid var(--page-slot-games-border); /* #2E7A4E */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-slot-games-text-main); /* #F2FFF6 */
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  background-color: var(--page-slot-games-deep-green); /* #0A4B2C */
  color: var(--page-slot-games-text-main); /* #F2FFF6 */
}

.page-slot-games__faq-question:hover {
  background-color: var(--page-slot-games-primary); /* #11A84E */
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-slot-games__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: var(--page-slot-games-text-secondary); /* #A7D9B8 */
}

.page-slot-games__faq-item[open] .page-slot-games__faq-answer {
  max-height: 500px; /* Arbitrary large value for smooth transition */
  padding: 15px 25px 25px;
}

/* Hide default details marker */
.page-slot-games__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-slot-games__faq-item summary::marker {
  display: none;
}

/* Conclusion Section */
.page-slot-games__conclusion-section {
  text-align: center;
  padding: 80px 0;
}

.page-slot-games__conclusion-section .page-slot-games__text-block {
  font-size: 1.1em;
  max-width: 800px;
  margin: 20px auto 40px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    margin-top: -100px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section-title {
    font-size: 2em;
  }

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

  .page-slot-games__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-slot-games__hero-content {
    margin-top: -80px;
    padding: 15px;
    border-radius: 10px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-tertiary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__game-cards,
  .page-slot-games__promotion-cards {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-slot-games__security-content,
  .page-slot-games__support-content {
    flex-direction: column;
    padding: 0 15px;
  }

  .page-slot-games__security-text,
  .page-slot-games__support-text {
    min-width: unset;
    width: 100%;
  }

  .page-slot-games__security-image-wrapper,
  .page-slot-games__support-image-wrapper {
    min-width: unset;
    width: 100%;
  }

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

  /* Mobile image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }}