/* style/slot-games.css */

:root {
  --mv666-primary-color: #26A9E0;
  --mv666-secondary-color: #FFFFFF;
  --mv666-login-color: #EA7C07;
  --mv666-dark-bg: #0a0a0a; /* Body background from shared.css */
  --mv666-light-text: #ffffff;
  --mv666-dark-text: #333333;
}

/* Base styles for the page content, ensuring light text on dark body background */
.page-slot-games {
  color: var(--mv666-light-text); /* Default text color for dark body background */
  background-color: var(--mv666-dark-bg);
  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__section {
  padding: 60px 0;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--mv666-secondary-color);
  line-height: 1.2;
}

.page-slot-games__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 20px;
  color: var(--mv666-primary-color);
}

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

.page-slot-games__list,
.page-slot-games__benefits-list,
.page-slot-games__step-list,
.page-slot-games__strategy-list,
.page-slot-games__promotion-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-slot-games__list-item,
.page-slot-games__benefits-item,
.page-slot-games__step-item,
.page-slot-games__strategy-item,
.page-slot-games__promotion-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__list-item strong,
.page-slot-games__benefits-title,
.page-slot-games__step-title,
.page-slot-games__strategy-title,
.page-slot-games__promotion-title {
  color: var(--mv666-primary-color);
  font-size: 1.3em;
  margin-bottom: 10px;
}

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

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px; /* Limit height for hero image */
  filter: brightness(0.7); /* Slightly dim the image for text contrast */
}

.page-slot-games__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  max-width: 900px;
  width: 90%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for readability */
  border-radius: 10px;
}

.page-slot-games__hero-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
  color: var(--mv666-secondary-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

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

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

/* Buttons */
.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;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  width: auto;
}

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

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

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

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

.page-slot-games__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-slot-games__cta-buttons--bottom {
  margin-top: 50px;
}

/* Image Specifics */
.page-slot-games__image-wrapper {
  margin: 40px 0;
  text-align: center;
}

.page-slot-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure no extra space below image */
  margin: 0 auto;
}

/* Dark Section */
.page-slot-games__dark-section {
  background-color: rgba(38, 169, 224, 0.15); /* Light transparent primary color */
  color: var(--mv666-light-text);
}

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

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

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 30px;
}

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

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: var(--mv666-secondary-color);
}

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__hero-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-slot-games__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games__section {
    padding: 40px 0;
  }
  .page-slot-games__container {
    padding: 0 15px; /* Add padding for mobile content */
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-slot-games__hero-content {
    width: 95%;
    padding: 15px;
  }
  .page-slot-games__hero-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }
  .page-slot-games__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-slot-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Mobile specific image rules */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__image-wrapper,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Video specific rules (if any, though not in this HTML) */
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-slot-games__video-section {
    padding-top: 10px !important; /* Small top padding for video section */
  }

  .page-slot-games__faq-item summary {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-slot-games__faq-answer {
    padding: 10px 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: clamp(1.2em, 8vw, 2em);
  }
  .page-slot-games__hero-description {
    font-size: 0.9em;
  }
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-games__list-item strong,
  .page-slot-games__benefits-title,
  .page-slot-games__step-title,
  .page-slot-games__strategy-title,
  .page-slot-games__promotion-title {
    font-size: 1.1em;
  }
}