/* style/slot-games.css */
.page-slot-games {
  background-color: var(--bg-color, #08160F);
  color: var(--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__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  background: linear-gradient(180deg, rgba(8, 22, 15, 0.8) 0%, rgba(8, 22, 15, 0.95) 100%);
  border-radius: 12px;
  margin-top: -80px; /* Pull up slightly over the image for better visual flow */
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.page-slot-games__main-title {
  color: var(--text-main, #F2FFF6);
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.page-slot-games__description {
  color: var(--text-secondary, #A7D9B8);
  font-size: 1.1em;
  margin-bottom: 30px;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  text-align: center;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border-color, #2E7A4E);
}

.page-slot-games__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2);
  color: #57E38D;
}

.page-slot-games__section-title {
  color: var(--text-main, #F2FFF6);
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
  margin-top: 60px;
}

.page-slot-games__why-choose-section,
.page-slot-games__game-types-section,
.page-slot-games__how-to-play-section,
.page-slot-games__promotions-section,
.page-slot-games__tips-section,
.page-slot-games__faq-section,
.page-slot-games__conclusion-section {
  padding: 80px 0;
  background-color: var(--bg-color, #08160F);
}

.page-slot-games__dark-section {
  background-color: var(--deep-green, #0A4B2C);
  color: #ffffff;
}

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

.page-slot-games__dark-section .page-slot-games__description {
  color: var(--text-secondary, #A7D9B8);
}

.page-slot-games__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-slot-games__text-block {
  padding-right: 20px;
}

.page-slot-games__sub-title {
  color: var(--gold, #F2C14E);
  font-size: 1.6em;
  margin-bottom: 15px;
  margin-top: 30px;
}

.page-slot-games__text-block p {
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 15px;
}

.page-slot-games__image-wrapper {
  text-align: center;
}

.page-slot-games__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  display: block;
  margin: 0 auto;
}

.page-slot-games__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games__game-card,
.page-slot-games__promo-card {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--divider, #1E3A2A);
}

.page-slot-games__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__card-title {
  color: var(--text-main, #F2FFF6);
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__game-card p,
.page-slot-games__promo-card p {
  color: var(--text-secondary, #A7D9B8);
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-slot-games__step-item {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  border: 1px solid var(--divider, #1E3A2A);
  display: flex;
  flex-direction: column;
}

.page-slot-games__step-title {
  color: var(--glow, #57E38D);
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__step-item p {
  color: var(--text-secondary, #A7D9B8);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-slot-games__step-button {
  margin-top: auto;
  width: 100%;
}

.page-slot-games__how-to-play-image {
  margin-top: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.page-slot-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__tip-item {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  border: 1px solid var(--divider, #1E3A2A);
  display: flex;
  flex-direction: column;
}

.page-slot-games__tip-title {
  color: var(--gold, #F2C14E);
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__tip-item p {
  color: var(--text-secondary, #A7D9B8);
  flex-grow: 1;
}

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games__faq-item {
  background-color: var(--card-bg, #11271B);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid var(--divider, #1E3A2A);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-slot-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: var(--text-main, #F2FFF6);
  font-weight: bold;
  font-size: 1.15em;
  background-color: rgba(46, 122, 78, 0.1);
  transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-item summary:hover {
  background-color: rgba(46, 122, 78, 0.2);
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow, #57E38D);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: "−";
}

.page-slot-games__faq-answer {
  padding: 15px 25px 25px;
  color: var(--text-secondary, #A7D9B8);
  font-size: 1em;
  line-height: 1.7;
  border-top: 1px solid var(--divider, #1E3A2A);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-slot-games__content-grid {
    grid-template-columns: 1fr;
  }
  .page-slot-games__text-block {
    padding-right: 0;
  }
  .page-slot-games__hero-content {
    margin-top: -50px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-bottom: 40px;
  }
  .page-slot-games__hero-content {
    padding: 30px 15px;
    margin-top: -30px;
  }
  .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;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-slot-games__section-title {
    font-size: clamp(1.6em, 6vw, 2.2em);
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .page-slot-games__why-choose-section,
  .page-slot-games__game-types-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__promotions-section,
  .page-slot-games__tips-section,
  .page-slot-games__faq-section,
  .page-slot-games__conclusion-section {
    padding: 50px 0;
  }

  .page-slot-games__content-image,
  .page-slot-games__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__image-wrapper,
  .page-slot-games__game-card,
  .page-slot-games__promo-card,
  .page-slot-games__step-item,
  .page-slot-games__tip-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-slot-games__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-slot-games__hero-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  .page-slot-games__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-slot-games__faq-answer {
    padding: 10px 20px 20px;
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: clamp(1.6em, 8vw, 2.2em);
  }
  .page-slot-games__section-title {
    font-size: clamp(1.4em, 7vw, 2em);
  }
  .page-slot-games__sub-title,
  .page-slot-games__card-title,
  .page-slot-games__step-title,
  .page-slot-games__tip-title {
    font-size: 1.2em;
  }
  .page-slot-games__game-cards-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__tips-list {
    gap: 20px;
  }
}