/* style/slot-games.css */

:root {
  --page-slot-games-primary-color: #017439;
  --page-slot-games-secondary-color: #FFFFFF;
  --page-slot-games-dark-background: #0a0a0a;
  --page-slot-games-text-light: #ffffff;
  --page-slot-games-text-dark: #333333;
  --page-slot-games-button-register-bg: #C30808;
  --page-slot-games-button-register-text: #FFFF00;
}

.page-slot-games {
  background-color: var(--page-slot-games-dark-background);
  color: var(--page-slot-games-text-light);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-slot-games a {
  color: var(--page-slot-games-primary-color);
  text-decoration: none;
}

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

.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__section-title {
  font-size: 2.8em;
  margin-bottom: 40px;
  color: var(--page-slot-games-secondary-color);
  font-weight: bold;
}

.page-slot-games__sub-title {
  font-size: 2em;
  margin-top: 30px;
  margin-bottom: 20px;
  color: var(--page-slot-games-secondary-color);
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--page-slot-games-text-light);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--page-slot-games-text-light);
  padding: 0;
}

.page-slot-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-slot-games__container--hero {
  z-index: 1;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--page-slot-games-secondary-color);
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-slot-games-text-light);
}

.page-slot-games__hero-cta-buttons {
  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: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, 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: var(--page-slot-games-button-register-bg);
  color: var(--page-slot-games-button-register-text);
  border: 2px solid var(--page-slot-games-button-register-bg);
}

.page-slot-games__btn-primary:hover {
  background-color: darken(var(--page-slot-games-button-register-bg), 10%);
  border-color: darken(var(--page-slot-games-button-register-bg), 10%);
}

.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);
}

/* About Slots Section */
.page-slot-games__about-slots {
  background-color: var(--page-slot-games-dark-background);
  color: var(--page-slot-games-text-light);
}

/* Why Choose Section */
.page-slot-games__why-choose {
  background-color: var(--page-slot-games-primary-color);
  color: var(--page-slot-games-text-light);
}

.page-slot-games__why-choose .page-slot-games__section-title {
  color: var(--page-slot-games-secondary-color);
}

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

.page-slot-games__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.page-slot-games__feature-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

.page-slot-games__card-text {
  font-size: 1em;
  color: var(--page-slot-games-text-light);
  flex-grow: 1;
}

/* How To Play Section */
.page-slot-games__how-to-play {
  background-color: var(--page-slot-games-dark-background);
  color: var(--page-slot-games-text-light);
}

.page-slot-games__dark-bg .page-slot-games__section-title {
  color: var(--page-slot-games-secondary-color);
}

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

.page-slot-games__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  position: relative;
  padding-top: 80px;
  height: 100%;
  box-sizing: border-box;
}

.page-slot-games__step-number {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--page-slot-games-primary-color);
  color: var(--page-slot-games-secondary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-slot-games__step-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: var(--page-slot-games-secondary-color);
  font-weight: bold;
}

.page-slot-games__step-text {
  font-size: 1em;
  color: var(--page-slot-games-text-light);
}

/* Strategy Tips Section */
.page-slot-games__strategy-tips {
  background-color: var(--page-slot-games-primary-color);
  color: var(--page-slot-games-text-light);
}

.page-slot-games__strategy-tips .page-slot-games__section-title {
  color: var(--page-slot-games-secondary-color);
}

.page-slot-games__content-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-slot-games__text-content {
  flex: 2;
  text-align: left;
}

.page-slot-games__video-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
}

.page-slot-games__video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-slot-games__video-link {
  display: block;
}

/* Mobile App Section */
.page-slot-games__mobile-app {
  background-color: var(--page-slot-games-dark-background);
  color: var(--page-slot-games-text-light);
}

.page-slot-games__mobile-app .page-slot-games__section-title {
  color: var(--page-slot-games-secondary-color);
}

.page-slot-games__app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-slot-games__app-text {
  flex: 1;
  min-width: 300px;
}

.page-slot-games__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__app-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  min-width: 200px;
  min-height: 200px;
  object-fit: contain;
}

.page-slot-games__btn-download {
  margin-top: 20px;
}

/* FAQ Section */
.page-slot-games__faq {
  background-color: var(--page-slot-games-primary-color);
  color: var(--page-slot-games-text-light);
}

.page-slot-games__faq .page-slot-games__section-title {
  color: var(--page-slot-games-secondary-color);
}

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

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-slot-games__faq-question {
  padding: 20px 25px;
  background-color: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-slot-games-secondary-color);
  list-style: none;
}

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

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 20px;
  text-align: center;
}

.page-slot-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: var(--page-slot-games-text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

  .page-slot-games__hero-section {
    height: 500px;
  }

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

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

  .page-slot-games__hero-cta-buttons {
    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;
    margin: 0 auto; /* Center buttons when stacked */
  }

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

  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

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

  .page-slot-games__feature-card,
  .page-slot-games__step-item {
    padding: 25px;
    padding-top: 70px;
  }

  .page-slot-games__step-number {
    width: 35px;
    height: 35px;
    font-size: 1.3em;
  }

  .page-slot-games__content-flex {
    flex-direction: column;
  }

  .page-slot-games__text-content {
    text-align: center;
  }

  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-slot-games__app-content {
    flex-direction: column-reverse;
  }

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

  .page-slot-games__app-text {
    text-align: center;
  }

  .page-slot-games__app-image {
    max-width: 80% !important;
  }

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

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

  /* Force responsive images */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure padding-top for video section on mobile */
  .page-slot-games__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

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

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

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