/* style/slot-games.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --background-color-page: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-slot-games {
  background-color: var(--background-color-page);
  color: var(--text-color-dark);
  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;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

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

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

.page-slot-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: var(--text-color-light);
}

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

.page-slot-games__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;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  min-width: 150px;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: var(--login-color); /* Use login color for primary CTA */
  color: var(--secondary-color);
  border: 2px solid var(--login-color);
}

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

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

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

.page-slot-games__btn-primary--center,
.page-slot-games__btn-secondary--center {
  display: block;
  margin: 30px auto 0 auto;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary-color);
}

.page-slot-games__introduction,
.page-slot-games__game-types,
.page-slot-games__strategies,
.page-slot-games__security,
.page-slot-games__cta-final {
  padding: 60px 0;
  background-color: var(--background-color-page);
  color: var(--text-color-dark);
}

.page-slot-games__why-choose,
.page-slot-games__guide-for-beginners,
.page-slot-games__promotions {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-slot-games__why-choose .page-slot-games__section-title,
.page-slot-games__guide-for-beginners .page-slot-games__section-title,
.page-slot-games__promotions .page-slot-games__section-title,
.page-slot-games__faq-section .page-slot-games__section-title {
  color: var(--text-color-light);
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-slot-games__highlight {
  font-weight: bold;
  color: inherit;
}

.page-slot-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__image-content--center {
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__image-content--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
  max-width: 50%;
}

.page-slot-games__image-content--left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
  max-width: 50%;
}

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

.page-slot-games__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-slot-games__feature-item:hover {
  transform: translateY(-5px);
}

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

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

.page-slot-games__list,
.page-slot-games__ordered-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__list-item {
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-slot-games__dark-section .page-slot-games__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-color-light);
}

.page-slot-games__dark-section .page-slot-games__list-item .page-slot-games__list-title {
  color: var(--secondary-color);
}

.page-slot-games__list-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

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

.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-color-light);
  text-align: center;
}

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

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

.page-slot-games__faq-item[open] {
  background-color: rgba(255, 255, 255, 0.2);
}

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

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-slot-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: var(--text-color-light);
  line-height: 1.6;
}

.page-slot-games__faq-answer p {
  margin-bottom: 10px;
}

.page-slot-games__text-link {
  color: var(--login-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-slot-games__text-link:hover {
  color: #d16e00;
}

/* Floating images clear */
.page-slot-games__strategies .page-slot-games__container::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

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

  .page-slot-games__image-content--right,
  .page-slot-games__image-content--left {
    float: none;
    max-width: 100%;
    margin: 30px auto;
  }
}

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

  .page-slot-games__hero-section,
  .page-slot-games__introduction,
  .page-slot-games__why-choose,
  .page-slot-games__game-types,
  .page-slot-games__guide-for-beginners,
  .page-slot-games__strategies,
  .page-slot-games__promotions,
  .page-slot-games__security,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final {
    padding: 40px 0;
  }

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

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

  .page-slot-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

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

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-slot-games__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 20px auto;
  }

  .page-slot-games__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-item,
  .page-slot-games__list-item,
  .page-slot-games__faq-item {
    padding: 15px;
  }

  .page-slot-games__faq-question {
    font-size: 1.1em;
  }

  .page-slot-games__faq-answer {
    font-size: 0.95em;
  }

  /* Video section specific mobile padding */
  .page-slot-games__video-section {
    padding-top: 10px !important;
  }

  /* Ensure all containers for images/videos/buttons handle padding and overflow */
  .page-slot-games__hero-section,
  .page-slot-games__introduction .page-slot-games__container,
  .page-slot-games__why-choose .page-slot-games__container,
  .page-slot-games__game-types .page-slot-games__container,
  .page-slot-games__guide-for-beginners .page-slot-games__container,
  .page-slot-games__strategies .page-slot-games__container,
  .page-slot-games__promotions .page-slot-games__container,
  .page-slot-games__security .page-slot-games__container,
  .page-slot-games__faq-section .page-slot-games__container,
  .page-slot-games__cta-final .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}