/* style/new-user-guide.css */

/* Base styles for the page */
.page-new-user-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

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

.page-new-user-guide__section {
  padding: 60px 0;
  text-align: center;
}

.page-new-user-guide__dark-bg {
  background-color: #140C0C; /* Background */
  color: #FFF1E8; /* Text Main */
}

.page-new-user-guide__light-bg {
  background-color: #2A1212; /* Card BG */
  color: #FFF1E8; /* Text Main */
}

.page-new-user-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #F3C54D; /* Gold */
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-new-user-guide__subsection-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #F3C54D; /* Gold */
  font-weight: bold;
}

.page-new-user-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-new-user-guide__highlight {
  color: #FFB04A;
  font-weight: bold;
}

.page-new-user-guide__inline-link {
  color: #FFB04A;
  text-decoration: underline;
}

.page-new-user-guide__inline-link:hover {
  color: #D86A14;
}

/* Hero Section */
.page-new-user-guide__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-new-user-guide__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-new-user-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Min size for image */
}

.page-new-user-guide__hero-content {
  position: relative; /* Not absolute, to be below image */
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-new-user-guide__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  margin-bottom: 20px;
  color: #F3C54D; /* Gold */
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-new-user-guide__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF1E8;
}

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

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

.page-new-user-guide__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #FFF1E8; /* Text Main */
  border: 2px solid transparent;
}

.page-new-user-guide__btn-primary:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
  transform: translateY(-2px);
}

.page-new-user-guide__btn-secondary {
  background-color: transparent;
  color: #FFB04A; /* Gold */
  border: 2px solid #FFB04A;
}

.page-new-user-guide__btn-secondary:hover {
  background-color: #FFB04A;
  color: #140C0C; /* Background */
  transform: translateY(-2px);
}

/* Lists */
.page-new-user-guide__ordered-list,
.page-new-user-guide__unordered-list {
  text-align: left;
  max-width: 800px;
  margin: 20px auto;
  padding-left: 25px;
  font-size: 1.05em;
  color: #FFF1E8;
}

.page-new-user-guide__ordered-list li,
.page-new-user-guide__unordered-list li {
  margin-bottom: 10px;
  color: #FFF1E8;
}

.page-new-user-guide__image-block {
  margin: 40px auto;
  max-width: 800px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-new-user-guide__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Min size for image */
}

/* Game Cards */
.page-new-user-guide__game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-new-user-guide__card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: #FFF1E8; /* Text Main */
}

.page-new-user-guide__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
  min-height: 200px; /* Min size for image */
}

.page-new-user-guide__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #F3C54D; /* Gold */
  font-weight: bold;
  padding: 0 15px;
}

.page-new-user-guide__card-title a {
  color: #F3C54D;
  text-decoration: none;
}

.page-new-user-guide__card-title a:hover {
  color: #FFB04A;
}

.page-new-user-guide__card-text {
  font-size: 0.95em;
  padding: 0 15px;
  color: #FFF1E8;
  flex-grow: 1;
}

/* FAQ Section */
.page-new-user-guide__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-new-user-guide__faq-item {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF1E8;
}

.page-new-user-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #F3C54D; /* Gold */
  background-color: #2A1212; /* Card BG */
  list-style: none; /* For details/summary */
}

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

.page-new-user-guide__faq-qtext {
  flex-grow: 1;
  color: #F3C54D;
}

.page-new-user-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 20px;
  color: #FFB04A;
}

.page-new-user-guide__faq-answer {
  padding: 0 25px 18px;
  font-size: 1.05em;
  color: #FFF1E8;
  line-height: 1.7;
}

.page-new-user-guide__faq-answer p {
  margin-bottom: 10px;
  color: #FFF1E8;
}

/* CTA Section */
.page-new-user-guide__cta {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #140C0C; /* Background */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-new-user-guide__section-title {
    font-size: 2em;
  }

  .page-new-user-guide__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }

  .page-new-user-guide__description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-new-user-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-new-user-guide__section {
    padding: 40px 0;
  }

  .page-new-user-guide__container {
    padding: 0 15px;
  }

  .page-new-user-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-new-user-guide__subsection-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-new-user-guide__text-block {
    font-size: 1em;
  }

  .page-new-user-guide__hero-section {
    padding-bottom: 40px;
  }

  .page-new-user-guide__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }

  .page-new-user-guide__description {
    font-size: 1em;
  }

  .page-new-user-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

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

  .page-new-user-guide__game-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-new-user-guide__card-image {
    height: 180px;
  }

  .page-new-user-guide__card-title {
    font-size: 1.3em;
  }

  .page-new-user-guide__card-text {
    font-size: 0.9em;
  }

  .page-new-user-guide__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-new-user-guide__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }

  /* Force responsive images */
  .page-new-user-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-new-user-guide__section,
  .page-new-user-guide__card,
  .page-new-user-guide__container,
  .page-new-user-guide__image-block,
  .page-new-user-guide__game-cards,
  .page-new-user-guide__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-new-user-guide__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}