/* style/newbie-guide.css */

/* Body background is var(--black-color) from shared.css, which is dark. */
/* Therefore, text in main content areas should be light. */
/* The page-newbie-guide__dark-section has its own background, so text should be white. */
/* The page-newbie-guide__light-bg sections will have a light background (white) with dark text. */

.page-newbie-guide {
  color: #f0f0f0; /* Default light text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-newbie-guide__section {
  padding: 80px 0;
  text-align: center;
}

.page-newbie-guide__dark-section {
  background: #26A9E0; /* Main brand color as background */
  color: #ffffff; /* White text for contrast */
}

.page-newbie-guide__light-bg {
  background: #ffffff;
  color: #333333; /* Dark text for light background */
}

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

.page-newbie-guide__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding for content */
  min-height: 600px;
  overflow: hidden;
}

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

.page-newbie-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-newbie-guide__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  color: #ffffff;
}

.page-newbie-guide__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-newbie-guide__description {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-newbie-guide__btn-primary,
.page-newbie-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't overflow */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

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

.page-newbie-guide__btn-primary:hover {
  background: #d46a00;
  border-color: #d46a00;
}

.page-newbie-guide__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-newbie-guide__btn-secondary:hover {
  background: #e0e0e0;
  color: #1a7eb3;
  border-color: #1a7eb3;
}

.page-newbie-guide__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
  display: inline-block; /* For underline effect */
}

.page-newbie-guide__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #EA7C07; /* Highlight color */
  border-radius: 2px;
}

.page-newbie-guide__text-block {
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: left;
}

/* Why Choose Section */
.page-newbie-guide__why-choose .page-newbie-guide__section-title {
  color: #333333;
}

.page-newbie-guide__why-choose .page-newbie-guide__text-block {
  color: #555555;
}

.page-newbie-guide__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-newbie-guide__feature-item {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  color: #333333;
}

.page-newbie-guide__feature-item:hover {
  transform: translateY(-5px);
}

.page-newbie-guide__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-newbie-guide__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

/* Criteria Section */
.page-newbie-guide__criteria .page-newbie-guide__section-title {
  color: #ffffff;
}

.page-newbie-guide__criteria .page-newbie-guide__text-block {
  color: #e0e0e0;
}

.page-newbie-guide__criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-newbie-guide__card {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-newbie-guide__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-newbie-guide__card p {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-newbie-guide__cta-buttons--center {
    margin-top: 50px;
}

/* Registration Guide Section */
.page-newbie-guide__registration-guide .page-newbie-guide__section-title {
  color: #333333;
}

.page-newbie-guide__registration-guide .page-newbie-guide__text-block {
  color: #555555;
}

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

.page-newbie-guide__step-item {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  position: relative;
  padding-left: 80px;
  color: #333333;
}

.page-newbie-guide__step-number {
  position: absolute;
  left: 25px;
  top: 30px;
  width: 40px;
  height: 40px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.page-newbie-guide__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-newbie-guide__step-item p {
  color: #555555;
}

/* Deposit Withdraw Section */
.page-newbie-guide__deposit-withdraw .page-newbie-guide__section-title {
  color: #ffffff;
}

.page-newbie-guide__deposit-withdraw .page-newbie-guide__text-block {
  color: #e0e0e0;
}

.page-newbie-guide__sub-section-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 60px;
  margin-bottom: 30px;
  color: #ffffff;
  text-align: left;
}

.page-newbie-guide__deposit-withdraw .page-newbie-guide__step-item {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.page-newbie-guide__deposit-withdraw .page-newbie-guide__step-title {
  color: #ffffff;
}

.page-newbie-guide__deposit-withdraw .page-newbie-guide__step-item p {
  color: #f0f0f0;
}

.page-newbie-guide__deposit-withdraw .page-newbie-guide__step-number {
  background-color: #EA7C07;
}

/* Betting Tips Section */
.page-newbie-guide__betting-tips .page-newbie-guide__section-title {
  color: #333333;
}

.page-newbie-guide__betting-tips .page-newbie-guide__text-block {
  color: #555555;
}

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

.page-newbie-guide__betting-tips .page-newbie-guide__card {
  background: #f9f9f9;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: none;
  padding: 20px;
}

.page-newbie-guide__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-newbie-guide__betting-tips .page-newbie-guide__card-title {
  color: #26A9E0;
}

.page-newbie-guide__betting-tips .page-newbie-guide__card p {
  color: #555555;
}

/* FAQ Section */
.page-newbie-guide__faq-section .page-newbie-guide__section-title {
  color: #ffffff;
}

.page-newbie-guide__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

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

.page-newbie-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for details summary */
}

.page-newbie-guide__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

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

.page-newbie-guide__faq-toggle {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  margin-left: 15px;
}

.page-newbie-guide__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #f0f0f0;
  text-align: left;
}

.page-newbie-guide__faq-item[open] .page-newbie-guide__faq-question {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Final CTA Section */
.page-newbie-guide__cta-final-content {
  max-width: 800px;
}

.page-newbie-guide__cta-final .page-newbie-guide__section-title {
  color: #333333;
}

.page-newbie-guide__cta-final .page-newbie-guide__text-block {
  color: #555555;
  margin-bottom: 50px;
}


/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-newbie-guide__hero-content {
    padding: 15px;
  }

  .page-newbie-guide__section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-newbie-guide__hero-section {
    min-height: 500px;
  }

  .page-newbie-guide__main-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

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

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

  .page-newbie-guide__btn-primary,
  .page-newbie-guide__btn-secondary {
    width: 100% !important; /* Force full width for buttons */
    padding: 12px 20px;
    font-size: 1rem;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-newbie-guide__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-newbie-guide__text-block {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-newbie-guide__feature-item,
  .page-newbie-guide__card,
  .page-newbie-guide__step-item {
    padding: 25px;
  }

  .page-newbie-guide__feature-title,
  .page-newbie-guide__card-title,
  .page-newbie-guide__step-title {
    font-size: 1.2rem;
  }

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

  .page-newbie-guide__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.9rem;
  }

  /* Mobile image responsiveness */
  .page-newbie-guide img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-newbie-guide__section,
  .page-newbie-guide__card,
  .page-newbie-guide__container,
  .page-newbie-guide__hero-section,
  .page-newbie-guide__hero-image-wrapper,
  .page-newbie-guide__hero-content,
  .page-newbie-guide__features-grid,
  .page-newbie-guide__criteria-grid,
  .page-newbie-guide__step-by-step,
  .page-newbie-guide__tips-grid,
  .page-newbie-guide__faq-list,
  .page-newbie-guide__cta-final-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; */
    /* padding-right: 15px; */
    overflow: hidden;
  }

  .page-newbie-guide__video-section { /* If video section were present */
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

/* Ensure no image filters are used to change color */
.page-newbie-guide img {
  filter: none; /* No color-altering filters */
}

.page-newbie-guide__hero-image {
  filter: brightness(0.6); /* This is allowed for readability, not color change */
}