/* style/slot-games.css */

:root {
  --page-slot-games-primary-color: #017439;
  --page-slot-games-secondary-color: #FFFFFF;
  --page-slot-games-text-dark: #333333;
  --page-slot-games-text-light: #FFFFFF;
  --page-slot-games-button-register-login: #C30808;
  --page-slot-games-button-register-login-font: #FFFF00;
}

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

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--page-slot-games-text-light);
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  box-sizing: border-box;
}

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

.page-slot-games__hero-video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.page-slot-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 1;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

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

.page-slot-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  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;
}

.page-slot-games__section {
  padding: 80px 20px;
  text-align: center;
  box-sizing: border-box;
}

.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: var(--page-slot-games-primary-color);
}

.page-slot-games__introduction .page-slot-games__section-title,
.page-slot-games__game-types .page-slot-games__section-title,
.page-slot-games__guide .page-slot-games__section-title,
.page-slot-games__strategies .page-slot-games__section-title,
.page-slot-games__download-cta .page-slot-games__section-title,
.page-slot-games__faq .page-slot-games__section-title {
  color: var(--page-slot-games-primary-color);
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: left;
  color: var(--page-slot-games-text-dark);
}

.page-slot-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__image--left {
  float: left;
  margin-right: 30px;
  max-width: 45%;
  width: auto;
  height: auto;
}

.page-slot-games__image--right {
  float: right;
  margin-left: 30px;
  max-width: 45%;
  width: auto;
  height: auto;
}

.page-slot-games__highlights {
  background-color: var(--page-slot-games-primary-color);
  color: var(--page-slot-games-text-light);
}

.page-slot-games__highlights .page-slot-games__section-title {
  color: var(--page-slot-games-text-light);
}

.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: var(--page-slot-games-secondary-color);
  color: var(--page-slot-games-text-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-slot-games__card-text {
  font-size: 1em;
  line-height: 1.7;
}

.page-slot-games__list,
.page-slot-games__ordered-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.page-slot-games__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: var(--page-slot-games-text-dark);
}

.page-slot-games__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--page-slot-games-primary-color);
  font-weight: bold;
}

.page-slot-games__ordered-list .page-slot-games__list-item::before {
  content: counter(list-item) '.';
  counter-increment: list-item;
  position: absolute;
  left: 0;
  color: var(--page-slot-games-primary-color);
  font-weight: bold;
}

.page-slot-games__promotions {
  background-color: var(--page-slot-games-primary-color);
  color: var(--page-slot-games-text-light);
}

.page-slot-games__promotions .page-slot-games__section-title {
  color: var(--page-slot-games-text-light);
}

.page-slot-games__promotions .page-slot-games__text-block,
.page-slot-games__promotions .page-slot-games__list-item {
  color: var(--page-slot-games-text-light);
}

.page-slot-games__promotions .page-slot-games__list-item::before {
  color: var(--page-slot-games-secondary-color);
}

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

.page-slot-games__btn-primary {
  background-color: var(--page-slot-games-button-register-login); /* Use custom color for primary actions */
  color: var(--page-slot-games-button-register-login-font); /* Use custom font color */
  border: 2px solid var(--page-slot-games-button-register-login);
}

.page-slot-games__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
  transform: translateY(-2px);
}

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

.page-slot-games__btn-secondary:hover {
  background-color: var(--page-slot-games-text-light);
  color: var(--page-slot-games-primary-color);
  transform: translateY(-2px);
}

.page-slot-games__download-cta {
  padding: 60px 20px;
}

.page-slot-games__download-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-slot-games__btn-download {
  margin-top: 20px;
  background-color: var(--page-slot-games-button-register-login);
  color: var(--page-slot-games-button-register-login-font);
  border-color: var(--page-slot-games-button-register-login);
}

.page-slot-games__btn-download:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-slot-games__download-hint {
  margin-top: 15px;
  font-size: 0.95em;
  color: var(--page-slot-games-text-dark);
}

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

.page-slot-games__safety {
  background-color: var(--page-slot-games-primary-color);
  color: var(--page-slot-games-text-light);
}

.page-slot-games__safety .page-slot-games__section-title {
  color: var(--page-slot-games-text-light);
}

.page-slot-games__safety .page-slot-games__text-block,
.page-slot-games__safety .page-slot-games__list-item {
  color: var(--page-slot-games-text-light);
}

.page-slot-games__safety .page-slot-games__list-item::before {
  color: var(--page-slot-games-secondary-color);
}

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

.page-slot-games__faq-list {
  margin-top: 40px;
  text-align: left;
}

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

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

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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-out, padding 0.3s ease-out;
  color: var(--page-slot-games-text-dark);
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px;
}

.page-slot-games__faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
  line-height: 1.6;
}

.page-slot-games__conclusion {
  background-color: var(--page-slot-games-primary-color);
  color: var(--page-slot-games-text-light);
}

.page-slot-games__conclusion .page-slot-games__section-title {
  color: var(--page-slot-games-text-light);
}

.page-slot-games__conclusion .page-slot-games__text-block {
  color: var(--page-slot-games-text-light);
}

.page-slot-games__btn-final-cta {
  margin-top: 30px;
  background-color: var(--page-slot-games-button-register-login);
  color: var(--page-slot-games-button-register-login-font);
  border-color: var(--page-slot-games-button-register-login);
}

.page-slot-games__btn-final-cta:hover {
  background-color: #a30606;
  border-color: #a30606;
}

/* Clearfix for floated images */
.page-slot-games__introduction::after,
.page-slot-games__game-types::after,
.page-slot-games__promotions::after,
.page-slot-games__faq::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3em;
  }
  .page-slot-games__hero-description {
    font-size: 1.1em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__image--left,
  .page-slot-games__image--right {
    max-width: 100%;
    float: none;
    margin: 20px auto;
  }
  .page-slot-games__text-block {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games__hero-section {
    height: auto;
    min-height: 70vh;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-slot-games__hero-title {
    font-size: 2.2em;
  }
  .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__btn-download,
  .page-slot-games__btn-promotions,
  .page-slot-games__btn-final-cta {
    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__hero-cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-slot-games__section {
    padding: 40px 0;
  }
  .page-slot-games__container {
    padding: 0 15px;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__text-block {
    font-size: 1em;
  }
  .page-slot-games__grid {
    grid-template-columns: 1fr;
  }
  .page-slot-games__card {
    padding: 20px;
  }
  .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__hero-video-wrapper,
  .page-slot-games__hero-content,
  .page-slot-games__download-content,
  .page-slot-games__faq-list,
  .page-slot-games__faq-item,
  .page-slot-games__faq-question,
  .page-slot-games__faq-answer {
    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__hero-video {
    width: 100% !important;
    height: auto !important;
    min-height: 100%;
    min-width: 100%;
  }
}

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