/* style/slot-games.css */

/* Variables for colors */
:root {
  --page-slot-games-primary-color: #001f3f;
  --page-slot-games-secondary-color: #FFD700;
  --page-slot-games-light-text-color: #ffffff;
  --page-slot-games-dark-text-color: #333333;
  --page-slot-games-background-dark: #0a0a0a; /* Body background from shared */
}

.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-slot-games-light-text-color); /* Default text color for dark body background */
  background-color: var(--page-slot-games-background-dark);
}

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

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 600px;
  overflow: hidden;
  color: var(--page-slot-games-light-text-color);
  background-color: var(--page-slot-games-primary-color);
}

.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;
  opacity: 0.3;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--page-slot-games-secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: var(--page-slot-games-light-text-color);
}

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

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

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

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

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

.page-slot-games__btn-secondary:hover {
  background-color: var(--page-slot-games-secondary-color);
  color: var(--page-slot-games-primary-color);
}

.page-slot-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-slot-games__text-block a {
  color: var(--page-slot-games-secondary-color);
  text-decoration: underline;
}

.page-slot-games__text-block a:hover {
  color: #e6c200;
}

/* Sections */
.page-slot-games__introduction,
.page-slot-games__registration-guide,
.page-slot-games__strategies,
.page-slot-games__video-section,
.page-slot-games__faq-section {
  padding: 80px 0;
  color: var(--page-slot-games-dark-text-color);
  background-color: #f8f8f8; /* Light background for contrast */
}

.page-slot-games__benefits,
.page-slot-games__game-types,
.page-slot-games__promotions,
.page-slot-games__mobile-experience,
.page-slot-games__conclusion {
  padding: 80px 0;
  color: var(--page-slot-games-light-text-color);
  background-color: var(--page-slot-games-primary-color);
}

/* Specific section styles */
.page-slot-games__game-grid,
.page-slot-games__promo-grid,
.page-slot-games__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-slot-games__game-card,
.page-slot-games__promo-card,
.page-slot-games__strategy-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--page-slot-games-light-text-color);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

.page-slot-games__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--page-slot-games-secondary-color);
}

.page-slot-games__card-description {
  font-size: 0.95em;
  flex-grow: 1;
}

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

.page-slot-games__step-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: var(--page-slot-games-dark-text-color);
}

.page-slot-games__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--page-slot-games-secondary-color);
  color: var(--page-slot-games-primary-color);
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-slot-games__step-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--page-slot-games-primary-color);
}

.page-slot-games__step-description {
  font-size: 0.95em;
}

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

.page-slot-games__benefit-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--page-slot-games-light-text-color);
}

.page-slot-games__benefit-item strong {
  color: var(--page-slot-games-secondary-color);
  font-size: 1.1em;
}

.page-slot-games__benefit-item::before {
  content: '✔';
  color: var(--page-slot-games-secondary-color);
  font-size: 1.5em;
  line-height: 1;
}

.page-slot-games__image-centered {
  text-align: center;
  margin: 40px 0;
}

.page-slot-games__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 30px;
  background-color: #000;
  border-radius: 10px;
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
  min-width: 200px;
  min-height: 200px;
}

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

.page-slot-games__mobile-experience {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 0;
}

.page-slot-games__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  justify-content: center;
}

.page-slot-games__mobile-image {
  max-width: 45%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__mobile-features {
  max-width: 500px;
  color: var(--page-slot-games-light-text-color);
}

.page-slot-games__mobile-features .page-slot-games__card-title {
  color: var(--page-slot-games-secondary-color);
  text-align: left;
  margin-top: 0;
}

.page-slot-games__mobile-features .page-slot-games__benefit-list {
  margin-bottom: 30px;
}

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

.page-slot-games__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-slot-games-dark-text-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--page-slot-games-primary-color);
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-question h3 {
  margin: 0;
  font-size: 1em;
}

.page-slot-games__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

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

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 1em;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px 25px;
}

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

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

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

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

.page-slot-games__conclusion .page-slot-games__btn-secondary:hover {
  background-color: var(--page-slot-games-secondary-color);
  color: var(--page-slot-games-primary-color);
}

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

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

  .page-slot-games__mobile-content {
    flex-direction: column;
    text-align: center;
  }

  .page-slot-games__mobile-image {
    max-width: 80%;
  }

  .page-slot-games__mobile-features {
    max-width: 100%;
    text-align: center;
  }

  .page-slot-games__mobile-features .page-slot-games__card-title {
    text-align: center;
  }
}

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

  .page-slot-games__hero-section {
    padding: 60px 20px;
    min-height: 500px;
  }

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

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

  .page-slot-games__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

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

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

  .page-slot-games__introduction,
  .page-slot-games__registration-guide,
  .page-slot-games__strategies,
  .page-slot-games__video-section,
  .page-slot-games__faq-section,
  .page-slot-games__benefits,
  .page-slot-games__game-types,
  .page-slot-games__promotions,
  .page-slot-games__mobile-experience,
  .page-slot-games__conclusion {
    padding: 40px 0;
  }

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

  .page-slot-games__game-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__strategy-grid,
  .page-slot-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__card-image,
  .page-slot-games__content-image,
  .page-slot-games__mobile-image {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-slot-games__benefit-list {
    grid-template-columns: 1fr;
  }

  .page-slot-games__video-wrapper {
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 56.25% !important; /* 16:9 Aspect Ratio */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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