.page-slot-game-beginner-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Body background from shared.css */
}

.page-slot-game-beginner-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-slot-game-beginner-guide__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  box-sizing: border-box;
}

.page-slot-game-beginner-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-slot-game-beginner-guide__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-slot-game-beginner-guide__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
}

.page-slot-game-beginner-guide__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-slot-game-beginner-guide__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-slot-game-beginner-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-slot-game-beginner-guide__btn-primary,
.page-slot-game-beginner-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-game-beginner-guide__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-slot-game-beginner-guide__btn-primary:hover {
  background-color: #1a8ccb;
  border-color: #1a8ccb;
}

.page-slot-game-beginner-guide__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-slot-game-beginner-guide__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-slot-game-beginner-guide__content-area,
.page-slot-game-beginner-guide__terminology-section,
.page-slot-game-beginner-guide__guide-section,
.page-slot-game-beginner-guide__strategy-section,
.page-slot-game-beginner-guide__safety-section,
.page-slot-game-beginner-guide__faq-section,
.page-slot-game-beginner-guide__conclusion-section {
  padding: 80px 0;
}

.page-slot-game-beginner-guide__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-slot-game-beginner-guide__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-slot-game-beginner-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  color: inherit;
}

.page-slot-game-beginner-guide__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-slot-game-beginner-guide p {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
  color: inherit;
}

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

.page-slot-game-beginner-guide__list,
.page-slot-game-beginner-guide__numbered-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-slot-game-beginner-guide__list-item {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  font-size: 1.1em;
  color: inherit;
}

.page-slot-game-beginner-guide__list-item::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #ffffff; /* For dark background */
}

.page-slot-game-beginner-guide__light-bg .page-slot-game-beginner-guide__list-item::before {
  color: #26A9E0; /* For light background */
}

.page-slot-game-beginner-guide__numbered-list .page-slot-game-beginner-guide__list-item {
  counter-increment: list-counter;
}

.page-slot-game-beginner-guide__numbered-list .page-slot-game-beginner-guide__list-item::before {
  content: counter(list-counter) '.';
  color: #26A9E0;
  font-weight: bold;
  font-size: 1.2em;
  left: 0;
}

.page-slot-game-beginner-guide__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 8px;
}

.page-slot-game-beginner-guide__video,
.page-slot-game-beginner-guide__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-slot-game-beginner-guide__faq-list {
  margin-top: 40px;
}

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

.page-slot-game-beginner-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #26A9E0;
  transition: background-color 0.3s ease;
}

.page-slot-game-beginner-guide__faq-question:hover {
  background-color: #1a8ccb;
}

.page-slot-game-beginner-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-slot-game-beginner-guide__faq-item.active .page-slot-game-beginner-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-game-beginner-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 1.1em;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-slot-game-beginner-guide__faq-item.active .page-slot-game-beginner-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-game-beginner-guide__main-title {
    font-size: 2.8em;
  }
  .page-slot-game-beginner-guide__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-slot-game-beginner-guide__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-slot-game-beginner-guide__main-title {
    font-size: 2em;
  }
  .page-slot-game-beginner-guide__intro-text {
    font-size: 1em;
  }
  .page-slot-game-beginner-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-game-beginner-guide__btn-primary,
  .page-slot-game-beginner-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-game-beginner-guide__content-area,
  .page-slot-game-beginner-guide__terminology-section,
  .page-slot-game-beginner-guide__guide-section,
  .page-slot-game-beginner-guide__strategy-section,
  .page-slot-game-beginner-guide__safety-section,
  .page-slot-game-beginner-guide__faq-section,
  .page-slot-game-beginner-guide__conclusion-section {
    padding: 40px 0;
  }
  .page-slot-game-beginner-guide__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-slot-game-beginner-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-slot-game-beginner-guide__sub-title {
    font-size: 1.5em;
    margin-top: 30px;
  }
  .page-slot-game-beginner-guide p,
  .page-slot-game-beginner-guide__list-item {
    font-size: 1em;
  }
  
  .page-slot-game-beginner-guide img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-game-beginner-guide video,
  .page-slot-game-beginner-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-game-beginner-guide__video-section,
  .page-slot-game-beginner-guide__video-container,
  .page-slot-game-beginner-guide__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-game-beginner-guide__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-slot-game-beginner-guide__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-slot-game-beginner-guide__main-title {
    font-size: 1.6em;
  }
  .page-slot-game-beginner-guide__section-title {
    font-size: 1.5em;
  }
  .page-slot-game-beginner-guide__intro-text {
    font-size: 0.9em;
  }
}