/* style/game-guides-slot-machines.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --background-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-color: #e0e0e0;
}

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

/* Hero Section */
.page-game-guides-slot-machines__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--primary-color);
  color: var(--text-light);
  overflow: hidden;
}

.page-game-guides-slot-machines__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  box-sizing: border-box;
}

.page-game-guides-slot-machines__video-link {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.page-game-guides-slot-machines__video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

.page-game-guides-slot-machines__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-game-guides-slot-machines__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-light);
  margin-bottom: 20px;
  max-width: 100%; /* Ensure H1 doesn't overflow */
}

.page-game-guides-slot-machines__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-game-guides-slot-machines__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.page-game-guides-slot-machines__btn-primary,
.page-game-guides-slot-machines__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-game-guides-slot-machines__btn-primary {
  background-color: var(--login-color); /* Use login color for primary CTA */
  color: var(--text-light);
  border: 2px solid var(--login-color);
}

.page-game-guides-slot-machines__btn-primary:hover {
  background-color: #D46F06;
  border-color: #D46F06;
}

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

.page-game-guides-slot-machines__btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

/* General Section Styles */
.page-game-guides-slot-machines__section {
  padding: 50px 20px;
  background-color: var(--background-color);
}

.page-game-guides-slot-machines__section:nth-of-type(even) {
  background-color: #f8f8f8;
}

.page-game-guides-slot-machines__container {
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-game-guides-slot-machines__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-game-guides-slot-machines__subsection-title {
  font-size: 1.5em;
  color: var(--text-dark);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-guides-slot-machines p {
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-game-guides-slot-machines__ordered-list,
.page-game-guides-slot-machines__unordered-list {
  list-style-position: inside;
  margin-bottom: 15px;
  padding-left: 20px;
}

.page-game-guides-slot-machines__ordered-list li,
.page-game-guides-slot-machines__unordered-list li {
  margin-bottom: 8px;
  color: var(--text-dark);
}

.page-game-guides-slot-machines__image-wrapper {
  margin: 30px 0;
  text-align: center;
}

.page-game-guides-slot-machines__image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* FAQ Section */
.page-game-guides-slot-machines__faq-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-game-guides-slot-machines__faq-section .page-game-guides-slot-machines__section-title {
  color: var(--text-light);
}

.page-game-guides-slot-machines__faq-list {
  margin-top: 30px;
}

.page-game-guides-slot-machines__faq-item {
  background-color: var(--secondary-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-game-guides-slot-machines__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  color: var(--text-dark);
  background-color: #f0f0f0;
  border-bottom: 1px solid var(--border-color);
  list-style: none;
}

.page-game-guides-slot-machines__faq-question::-webkit-details-marker {
  display: none;
}

.page-game-guides-slot-machines__faq-qtext {
  flex-grow: 1;
}

.page-game-guides-slot-machines__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
}

.page-game-guides-slot-machines__faq-answer {
  padding: 15px 20px;
  color: var(--text-dark);
}

.page-game-guides-slot-machines__faq-answer p {
  margin-bottom: 0;
}

.page-game-guides-slot-machines__faq-answer a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-game-guides-slot-machines__faq-answer a:hover {
  color: #1a8cc7;
}

/* Conclusion Section */
.page-game-guides-slot-machines__conclusion {
  text-align: center;
}

.page-game-guides-slot-machines__conclusion p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-game-guides-slot-machines {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-game-guides-slot-machines__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-game-guides-slot-machines__main-title {
    font-size: 2em;
  }

  .page-game-guides-slot-machines__intro-text {
    font-size: 1em;
  }

  .page-game-guides-slot-machines__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-game-guides-slot-machines__btn-primary,
  .page-game-guides-slot-machines__btn-secondary,
  .page-game-guides-slot-machines a[class*="button"],
  .page-game-guides-slot-machines a[class*="btn"] {
    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-game-guides-slot-machines__video-link,
  .page-game-guides-slot-machines__video,
  .page-game-guides-slot-machines__hero-image-wrapper,
  .page-game-guides-slot-machines__image-wrapper,
  .page-game-guides-slot-machines__image-wrapper img,
  .page-game-guides-slot-machines__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-game-guides-slot-machines__image-wrapper img {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page-game-guides-slot-machines__section-title {
    font-size: 1.8em;
  }

  .page-game-guides-slot-machines__subsection-title {
    font-size: 1.3em;
  }

  .page-game-guides-slot-machines__faq-item {
    margin-left: 15px;
    margin-right: 15px;
  }
  
  .page-game-guides-slot-machines__faq-question,
  .page-game-guides-slot-machines__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}