/* style/slot-games.css */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Matches body background from shared.css */
}

.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: #017439;
  color: #ffffff;
}

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

.page-slot-games__section-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
}

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

.page-slot-games__light-bg .page-slot-games__section-title {
  color: #017439;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

.page-slot-games__light-bg .page-slot-games__text-block {
  color: #333333;
}

.page-slot-games__link {
  color: #FFFF00; /* Yellow for links */
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__link:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding: 120px 0 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 70vh;
  padding-top: var(--header-offset, 120px);
}

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

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  color: #ffffff;
  padding: 0 20px;
}

.page-slot-games__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-slot-games__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #FFFF00;
}

.page-slot-games__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808;
}

.page-slot-games__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-slot-games__center-aligned {
  text-align: center;
}

/* Images in content */
.page-slot-games__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Advantages Section */
.page-slot-games__advantages-section .page-slot-games__text-block {
  color: #ffffff;
}

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

.page-slot-games__card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.page-slot-games__card-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
}

.page-slot-games__card-text {
  font-size: 1em;
  color: #555555;
}

.page-slot-games__card .page-slot-games__link {
  color: #017439;
}

/* Popular Games Section */
.page-slot-games__popular-games-section .page-slot-games__section-title {
  color: #017439;
}

.page-slot-games__popular-games-section .page-slot-games__text-block {
  color: #333333;
}

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

.page-slot-games__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease;
}

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

.page-slot-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-slot-games__game-title {
  font-size: 1.5em;
  color: #017439;
  padding: 15px;
  margin-bottom: 0;
}

.page-slot-games__game-title a {
  color: #017439;
  text-decoration: none;
}

.page-slot-games__game-title a:hover {
  text-decoration: underline;
}

.page-slot-games__game-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px 15px;
}

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

.page-slot-games__step-card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-slot-games__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #017439;
  margin-bottom: 15px;
}

.page-slot-games__step-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 10px;
}

.page-slot-games__step-text {
  font-size: 1em;
  color: #555555;
}

/* Promotions Section */
.page-slot-games__promotions-section .page-slot-games__section-title {
  color: #017439;
}

.page-slot-games__promotions-section .page-slot-games__text-block {
  color: #333333;
}

.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-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease;
}

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

.page-slot-games__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-slot-games__promo-title {
  font-size: 1.5em;
  color: #017439;
  padding: 15px;
  margin-bottom: 0;
}

.page-slot-games__promo-title a {
  color: #017439;
  text-decoration: none;
}

.page-slot-games__promo-title a:hover {
  text-decoration: underline;
}

.page-slot-games__promo-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px 15px;
}

/* Security Section */
.page-slot-games__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-slot-games__security-list li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #ffffff;
}

.page-slot-games__icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 15px;
  background-color: #FFFF00; /* Icon color */
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.page-slot-games__icon--lock {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M18 10h-1V7c0-2.76-2.24-5-5-5S7 4.24 7 7v3H6c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm-6-6c1.66 0 3 1.34 3 3v3H9V7c0-1.66 1.34-3 3-3zm6 16H6V12h12v8zm-6-4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"/></svg>');
}
.page-slot-games__icon--certificate {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 3L1 9l11 6 11-6-11-6zm0 10.15L3.43 8.5 12 3.85 20.57 8.5 12 13.15zM12 15l-9 4.5V21l9-4.5 9 4.5v-1.5L12 15z"/></svg>');
}
.page-slot-games__icon--rng {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.93-2.52c-.08-.3-.16-.6-.27-.89l-4.2-4.2V6h-1v7.5l-3.2-3.2c-.4-.4-.58-1-.44-1.57.14-.57.65-1 1.25-1h.01c.45 0 .85.19 1.14.48l2.11 2.11L15.82 5.92c.6-.6 1.4-.92 2.2-.92.9 0 1.7.35 2.3.95.6.6.9 1.4.9 2.3 0 .8-.32 1.6-.92 2.2l-3.2 3.2z"/></svg>');
}
.page-slot-games__icon--support {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z"/></svg>');
}

/* FAQ Section */
.page-slot-games__faq-section .page-slot-games__section-title {
  color: #017439;
}

.page-slot-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-slot-games__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #f8f8f8;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: #e0e0e0;
}

.page-slot-games__faq-question h3 {
  margin: 0;
  flex-grow: 1;
  color: #017439;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #017439;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  transform: rotate(0deg);
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333;
  background-color: #ffffff;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px;
}

.page-slot-games__faq-answer p {
  margin: 0;
  color: #333333;
}

.page-slot-games__faq-answer .page-slot-games__link {
  color: #017439;
}

/* Call to Action Section */
.page-slot-games__call-to-action-section .page-slot-games__section-title {
  color: #ffffff;
}

.page-slot-games__call-to-action-section .page-slot-games__text-block {
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3em;
  }
  .page-slot-games__hero-description {
    font-size: 1.2em;
  }
  .page-slot-games__section-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    min-height: 60vh;
  }
  .page-slot-games__hero-content {
    padding: 0 15px;
  }
  .page-slot-games__hero-title {
    font-size: 2.5em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .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__section {
    padding: 40px 0;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__text-block {
    font-size: 1em;
    padding: 0 15px;
  }
  .page-slot-games__container {
    padding: 0 15px;
  }
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__promo-card,
  .page-slot-games__game-card,
  .page-slot-games__step-card,
  .page-slot-games__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .page-slot-games__faq-question,
  .page-slot-games__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__security-list {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 2em;
  }
  .page-slot-games__hero-description {
    font-size: 0.9em;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
}