/* style/beginner-guide.css */

/* Base styles for the beginner guide page */
.page-beginner-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-beginner-guide a {
  color: #22C768;
  text-decoration: none;
}

.page-beginner-guide a:hover {
  text-decoration: underline;
}

/* Section spacing and general layout */
.page-beginner-guide__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-beginner-guide__sub-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-beginner-guide__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-beginner-guide__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-beginner-guide__list li {
  margin-bottom: 10px;
  font-size: 16px;
}

/* Hero Section */
.page-beginner-guide__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #08160F;
  overflow: hidden;
}

.page-beginner-guide__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-beginner-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.page-beginner-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  color: #F2FFF6;
  padding: 20px;
  box-sizing: border-box;
}

.page-beginner-guide__main-title {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
  line-height: 1.1;
}

.page-beginner-guide__hero-description {
  font-size: clamp(18px, 2vw, 24px);
  margin-bottom: 30px;
  color: #A7D9B8;
}

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

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

.page-beginner-guide__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-beginner-guide__btn-secondary {
  background: transparent;
  color: #22C768; /* Auxiliary Color */
  border: 2px solid #22C768; /* Auxiliary Color */
  box-shadow: none;
}

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

/* Introduction Section */
.page-beginner-guide__introduction-section,
.page-beginner-guide__games-overview,
.page-beginner-guide__support-section,
.page-beginner-guide__conclusion-section {
  background-color: #08160F; /* Background */
  color: #A7D9B8;
}

.page-beginner-guide__light-bg {
  background-color: #08160F;
  color: #A7D9B8;
}

.page-beginner-guide__dark-bg {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6;
}

.page-beginner-guide__dark-bg .page-beginner-guide__text-block {
  color: #A7D9B8;
}

.page-beginner-guide__dark-bg .page-beginner-guide__sub-title {
  color: #F2FFF6;
}

/* Image styles */
.page-beginner-guide img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px auto;
}

.page-beginner-guide__image-full-width {
  width: 100%;
  max-width: 100%;
}

.page-beginner-guide__image-centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Steps Section */
.page-beginner-guide__steps-section {
  padding: 60px 20px;
  background-color: #11271B; /* Card BG */
}

.page-beginner-guide__step-card {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: #F2FFF6;
}

.page-beginner-guide__step-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  text-align: center;
}

/* Games Overview */
.page-beginner-guide__games-overview {
  padding: 60px 20px;
  background-color: #08160F;
}

.page-beginner-guide__game-category {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #A7D9B8;
}

.page-beginner-guide__category-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-beginner-guide__category-title a {
  color: #F2C14E;
  text-decoration: none;
}

.page-beginner-guide__category-title a:hover {
  text-decoration: underline;
}

.page-beginner-guide__btn-text-link {
  display: inline-block;
  margin-top: 15px;
  color: #2AD16F;
  font-weight: 600;
  text-decoration: none;
}

.page-beginner-guide__btn-text-link:hover {
  text-decoration: underline;
}

/* Promotions Section */
.page-beginner-guide__promotions-section {
  padding: 60px 20px;
  background-color: #11271B; /* Card BG */
}

/* Support Section */
.page-beginner-guide__support-section {
  padding: 60px 20px;
  background-color: #08160F;
}

/* FAQ Section */
.page-beginner-guide__faq-section {
  padding: 60px 20px;
  background-color: #11271B; /* Card BG */
}

.page-beginner-guide__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #A7D9B8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  color: #F2FFF6; /* Text Main */
  user-select: none;
  background-color: #0A4B2C;
  position: relative;
  list-style: none; /* For details/summary */
}

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

.page-beginner-guide__faq-qtext {
  flex-grow: 1;
}

.page-beginner-guide__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #F2C14E;
}

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

.page-beginner-guide__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  background-color: #0A4B2C;
}

/* Conclusion Section */
.page-beginner-guide__conclusion-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #08160F;
}

.page-beginner-guide__cta-buttons--bottom {
  margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-beginner-guide__main-title {
    font-size: clamp(32px, 4.5vw, 56px);
  }

  .page-beginner-guide__hero-description {
    font-size: clamp(16px, 1.8vw, 22px);
  }

  .page-beginner-guide__section-title {
    font-size: clamp(24px, 3.5vw, 38px);
  }

  .page-beginner-guide__step-title,
  .page-beginner-guide__category-title {
    font-size: clamp(20px, 2.8vw, 28px);
  }

  .page-beginner-guide__text-block,
  .page-beginner-guide__list li,
  .page-beginner-guide__faq-answer {
    font-size: 16px;
  }
}

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

  .page-beginner-guide__main-title {
    font-size: 32px;
  }

  .page-beginner-guide__hero-description {
    font-size: 16px;
  }

  .page-beginner-guide__section-title {
    font-size: 28px;
  }

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

  .page-beginner-guide__btn-primary,
  .page-beginner-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-beginner-guide__step-card,
  .page-beginner-guide__game-category,
  .page-beginner-guide__faq-item {
    padding: 20px;
    margin-bottom: 20px;
  }

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

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

  /* Mobile image responsiveness */
  .page-beginner-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto;
    margin-right: auto;
  }
  
  .page-beginner-guide__image-wrapper,
  .page-beginner-guide__image-full-width,
  .page-beginner-guide__image-centered {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-beginner-guide__main-title {
    font-size: 28px;
  }

  .page-beginner-guide__section-title {
    font-size: 24px;
  }

  .page-beginner-guide__step-title,
  .page-beginner-guide__category-title {
    font-size: 20px;
  }

  .page-beginner-guide__btn-primary,
  .page-beginner-guide__btn-secondary {
    font-size: 15px;
    padding: 10px 15px;
  }
}