/* style/blog-f168-promotion-new-user-guide.css */
:root {
  --f168-primary-color: #11A84E;
  --f168-secondary-color: #22C768;
  --f168-card-bg: #11271B;
  --f168-background: #08160F;
  --f168-text-main: #F2FFF6;
  --f168-text-secondary: #A7D9B8;
  --f168-border-color: #2E7A4E;
  --f168-glow-color: #57E38D;
  --f168-gold-color: #F2C14E;
  --f168-divider-color: #1E3A2A;
  --f168-deep-green: #0A4B2C;
  --f168-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-blog-f168-promotion-new-user-guide {
  font-family: 'Arial', sans-serif;
  color: var(--f168-text-main); /* Default text color for the page */
  background-color: var(--f168-background); /* Default background color for the page */
  line-height: 1.6;
  font-size: 16px;
}

.page-blog-f168-promotion-new-user-guide__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
  background-color: var(--f168-background);
}

.page-blog-f168-promotion-new-user-guide__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  position: relative;
  margin-bottom: 40px; /* Space between image and content */
}

.page-blog-f168-promotion-new-user-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-f168-promotion-new-user-guide__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  z-index: 1;
  color: var(--f168-text-main);
}

.page-blog-f168-promotion-new-user-guide__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  color: var(--f168-gold-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-blog-f168-promotion-new-user-guide__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--f168-text-secondary);
}

.page-blog-f168-promotion-new-user-guide__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--f168-button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-f168-promotion-new-user-guide__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-f168-promotion-new-user-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: transparent;
  color: var(--f168-primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  border: 2px solid var(--f168-primary-color);
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-f168-promotion-new-user-guide__btn-secondary:hover {
  background-color: var(--f168-primary-color);
  color: #ffffff;
}

.page-blog-f168-promotion-new-user-guide__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--f168-background);
  color: var(--f168-text-main);
}

.page-blog-f168-promotion-new-user-guide__section-title {
  font-size: 2.2em;
  color: var(--f168-gold-color);
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-blog-f168-promotion-new-user-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--f168-text-secondary);
}

.page-blog-f168-promotion-new-user-guide__image-container {
  text-align: center;
  margin: 30px 0;
}

.page-blog-f168-promotion-new-user-guide__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto;
}

.page-blog-f168-promotion-new-user-guide__ordered-list,
.page-blog-f168-promotion-new-user-guide__unordered-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-blog-f168-promotion-new-user-guide__list-item {
  background-color: var(--f168-card-bg);
  border: 1px solid var(--f168-border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--f168-text-main);
}

.page-blog-f168-promotion-new-user-guide__list-title {
  font-size: 1.4em;
  color: var(--f168-gold-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-blog-f168-promotion-new-user-guide__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 50px;
}

.page-blog-f168-promotion-new-user-guide__card {
  background-color: var(--f168-card-bg);
  border: 1px solid var(--f168-border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--f168-text-main);
}

.page-blog-f168-promotion-new-user-guide__card-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-f168-promotion-new-user-guide__card-title {
  font-size: 1.5em;
  color: var(--f168-gold-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-blog-f168-promotion-new-user-guide__card-text {
  font-size: 1em;
  color: var(--f168-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-f168-promotion-new-user-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: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

.page-blog-f168-promotion-new-user-guide__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  cursor: pointer;
}

.page-blog-f168-promotion-new-user-guide__video-caption {
  text-align: center;
  margin-top: 15px;
  font-style: italic;
  color: var(--f168-text-secondary);
}

.page-blog-f168-promotion-new-user-guide__faq-list {
  margin-top: 30px;
  margin-bottom: 50px;
}

.page-blog-f168-promotion-new-user-guide__faq-item {
  background-color: var(--f168-card-bg);
  border: 1px solid var(--f168-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--f168-text-main);
}

.page-blog-f168-promotion-new-user-guide__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  outline: none;
  list-style: none; /* Remove default marker */
}

.page-blog-f168-promotion-new-user-guide__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for webkit browsers */
}

.page-blog-f168-promotion-new-user-guide__faq-question {
  font-size: 1.2em;
  font-weight: bold;
  color: var(--f168-text-main);
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-blog-f168-promotion-new-user-guide__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  margin-left: 15px;
  color: var(--f168-gold-color);
  transition: transform 0.3s ease;
}

.page-blog-f168-promotion-new-user-guide__faq-item[open] .page-blog-f168-promotion-new-user-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-f168-promotion-new-user-guide__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: var(--f168-text-secondary);
  line-height: 1.5;
}

.page-blog-f168-promotion-new-user-guide__cta-buttons {
  text-align: center;
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

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

@media (max-width: 768px) {
  .page-blog-f168-promotion-new-user-guide {
    font-size: 15px;
  }
  .page-blog-f168-promotion-new-user-guide__hero-section {
    padding-bottom: 40px;
  }
  .page-blog-f168-promotion-new-user-guide__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-blog-f168-promotion-new-user-guide__description {
    font-size: 1em;
  }
  .page-blog-f168-promotion-new-user-guide__btn-primary,
  .page-blog-f168-promotion-new-user-guide__btn-secondary {
    padding: 12px 20px;
    font-size: 0.9em;
  }
  .page-blog-f168-promotion-new-user-guide__content-area {
    padding: 30px 15px;
  }
  .page-blog-f168-promotion-new-user-guide__section-title {
    font-size: 1.8em;
  }
  .page-blog-f168-promotion-new-user-guide__text-block {
    font-size: 1em;
  }
  .page-blog-f168-promotion-new-user-guide__list-item {
    padding: 15px;
  }
  .page-blog-f168-promotion-new-user-guide__list-title {
    font-size: 1.2em;
  }
  .page-blog-f168-promotion-new-user-guide__promo-cards {
    grid-template-columns: 1fr;
  }
  .page-blog-f168-promotion-new-user-guide__card {
    padding: 20px;
  }
  .page-blog-f168-promotion-new-user-guide__card-title {
    font-size: 1.3em;
  }
  .page-blog-f168-promotion-new-user-guide__faq-question {
    font-size: 1.1em;
  }
  .page-blog-f168-promotion-new-user-guide__faq-answer {
    padding: 0 15px 15px 15px;
  }
  .page-blog-f168-promotion-new-user-guide__hero-image,
  .page-blog-f168-promotion-new-user-guide__content-image,
  .page-blog-f168-promotion-new-user-guide__card-image,
  .page-blog-f168-promotion-new-user-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog-f168-promotion-new-user-guide__hero-image-wrapper,
  .page-blog-f168-promotion-new-user-guide__image-container,
  .page-blog-f168-promotion-new-user-guide__card,
  .page-blog-f168-promotion-new-user-guide__promo-cards,
  .page-blog-f168-promotion-new-user-guide__video-wrapper,
  .page-blog-f168-promotion-new-user-guide__faq-item,
  .page-blog-f168-promotion-new-user-guide__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-blog-f168-promotion-new-user-guide__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-blog-f168-promotion-new-user-guide__btn-primary,
  .page-blog-f168-promotion-new-user-guide__btn-secondary {
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-f168-promotion-new-user-guide__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-blog-f168-promotion-new-user-guide__main-title {
    font-size: clamp(1.6em, 8vw, 2em);
  }
  .page-blog-f168-promotion-new-user-guide__section-title {
    font-size: 1.6em;
  }
  .page-blog-f168-promotion-new-user-guide__list-title {
    font-size: 1.1em;
  }
  .page-blog-f168-promotion-new-user-guide__card-title {
    font-size: 1.2em;
  }
  .page-blog-f168-promotion-new-user-guide__faq-question {
    font-size: 1em;
  }
}