/* style/beginner-guide.css */
.page-beginner-guide {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Dark background, so light text */
  background-color: transparent; /* Body handles actual background */
}

.page-beginner-guide__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 */
  overflow: hidden;
  background: linear-gradient(135deg, #26A9E0, #1a7bb0);
}

.page-beginner-guide__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-beginner-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-beginner-guide__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-beginner-guide__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Use clamp for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-beginner-guide__btn-primary,
.page-beginner-guide__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-beginner-guide__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-beginner-guide__btn-primary:hover {
  background-color: #d16e06;
  border-color: #d16e06;
  transform: translateY(-2px);
}

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

.page-beginner-guide__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-beginner-guide__section {
  padding: 60px 20px;
  text-align: center;
}

.page-beginner-guide__intro-section {
  background-color: #0a0a0a; /* Ensure contrast with body background */
  color: #ffffff;
}

.page-beginner-guide__registration-section {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-beginner-guide__deposit-withdrawal-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-beginner-guide__games-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-beginner-guide__promotions-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-beginner-guide__support-section {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-beginner-guide__faq-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-beginner-guide__conclusion-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-beginner-guide__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 25px;
  color: #FFFFFF;
}

.page-beginner-guide__sub-title {
  font-size: clamp(1.4rem, 2.8vw, 1.8rem);
  font-weight: 600;
  line-height: 1.4;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-beginner-guide__text-block {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #e0e0e0;
  text-align: left;
}

.page-beginner-guide__inline-link {
  color: #FFFFFF;
  text-decoration: underline;
  font-weight: 500;
}

.page-beginner-guide__inline-link:hover {
  color: #EA7C07;
}

.page-beginner-guide__list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  text-align: left;
}

.page-beginner-guide__list-item {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #e0e0e0;
}

.page-beginner-guide__flex-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-beginner-guide__content-block,
.page-beginner-guide__image-block {
  flex: 1;
  min-width: 300px;
}

.page-beginner-guide__flex-container--reverse {
  flex-direction: row-reverse;
}

.page-beginner-guide__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__btn-inline {
  margin-top: 20px;
  display: inline-flex;
}

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

.page-beginner-guide__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
}

.page-beginner-guide__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-beginner-guide__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-beginner-guide__game-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 15px 0 10px;
  padding: 0 15px;
  color: #FFFFFF;
}

.page-beginner-guide__game-title a {
  color: inherit;
  text-decoration: none;
}

.page-beginner-guide__game-title a:hover {
  color: #EA7C07;
}

.page-beginner-guide__game-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e0e0e0;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-beginner-guide__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

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

.page-beginner-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
  list-style: none; /* For details summary */
}

.page-beginner-guide__faq-question::-webkit-details-marker {
  display: none;
}

.page-beginner-guide__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-beginner-guide__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-beginner-guide__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #e0e0e0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-beginner-guide__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-beginner-guide__main-title {
    font-size: 2rem;
  }

  .page-beginner-guide__description {
    font-size: 1rem;
  }

  .page-beginner-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-beginner-guide__btn-primary,
  .page-beginner-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-beginner-guide__section {
    padding: 40px 15px;
  }

  .page-beginner-guide__container {
    padding: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-beginner-guide__section-title {
    font-size: 1.8rem;
  }

  .page-beginner-guide__sub-title {
    font-size: 1.4rem;
  }

  .page-beginner-guide__text-block,
  .page-beginner-guide__list-item,
  .page-beginner-guide__faq-answer {
    font-size: 0.95rem;
  }

  .page-beginner-guide__flex-container {
    flex-direction: column;
    gap: 30px;
  }

  .page-beginner-guide__flex-container--reverse {
    flex-direction: column;
  }

  .page-beginner-guide__content-block,
  .page-beginner-guide__image-block {
    min-width: unset;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-beginner-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-beginner-guide__game-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-beginner-guide__game-image {
    height: 180px;
  }

  .page-beginner-guide__faq-list {
    padding: 0 15px;
  }

  .page-beginner-guide__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-beginner-guide__btn-inline {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-beginner-guide__dark-section {
    padding-left: 0;
    padding-right: 0;
  }
}