/* style/beginner-guide.css */
.page-beginner-guide {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page-beginner-guide__hero {
  background: linear-gradient(135deg, #2D3E50 0%, #F39C12 100%);
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
}

.page-beginner-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-beginner-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-beginner-guide__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
}

.page-beginner-guide__btn--primary {
  background-color: #F39C12;
  color: #2D3E50;
}

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

.page-beginner-guide__btn--secondary {
  background-color: #2D3E50;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 1em;
}

.page-beginner-guide__btn--secondary:hover {
  background-color: #3b526d;
  transform: translateY(-1px);
}

.page-beginner-guide__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

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

.page-beginner-guide__section--dark {
  background-color: #2D3E50;
  color: #ffffff;
}

.page-beginner-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #2D3E50;
  font-weight: bold;
}

.page-beginner-guide__section--dark .page-beginner-guide__section-title {
  color: #F39C12;
}

.page-beginner-guide__section-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

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

.page-beginner-guide__feature-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-beginner-guide__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

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

.page-beginner-guide__feature-heading {
  font-size: 1.6em;
  color: #2D3E50;
  margin-bottom: 15px;
}

.page-beginner-guide__feature-text {
  font-size: 1em;
  color: #555;
}

.page-beginner-guide__detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-beginner-guide__detail-card {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-beginner-guide__detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-beginner-guide__card-title {
  font-size: 1.8em;
  color: #2D3E50;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-beginner-guide__card-title a {
  color: #2D3E50;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-beginner-guide__card-title a:hover {
  color: #F39C12;
}

.page-beginner-guide__card-description {
  font-size: 1em;
  color: #555;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-beginner-guide__btn--download {
  background-color: #F39C12;
  color: #2D3E50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 25px;
  font-size: 1.1em;
}

.page-beginner-guide__btn--download:hover {
  background-color: #e08e0b;
  transform: translateY(-2px);
}

.page-beginner-guide__download-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.page-beginner-guide__download-note {
  margin-top: 20px;
  font-size: 0.95em;
  color: #666;
}

.page-beginner-guide__qr-code {
  width: 180px;
  height: 180px;
  margin-top: 30px;
  border: 5px solid #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-beginner-guide__section--faq {
  background-color: #f0f0f0;
}

.page-beginner-guide__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.page-beginner-guide__faq-question {
  font-size: 1.4em;
  color: #2D3E50;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-beginner-guide__faq-answer {
  font-size: 1em;
  color: #555;
  display: block; /* Mặc định hiển thị, có thể thêm JS để ẩn/hiện */
}

.page-beginner-guide__section--cta {
  background-color: #F39C12;
  color: #2D3E50;
  padding: 80px 0;
}

.page-beginner-guide__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #2D3E50;
  font-weight: bold;
}

.page-beginner-guide__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #2D3E50;
}

/* Floating Ad Menu */
.page-beginner-guide__floating-ad {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #F39C12;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  padding: 10px 15px;
  z-index: 1000;
  transform: translateX(120%); /* Bắt đầu ẩn */
  transition: transform 0.5s ease-out;
}

.page-beginner-guide__floating-ad.show {
  transform: translateX(0); /* Hiện ra */
}

.page-beginner-guide__floating-ad-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #2D3E50;
  font-weight: bold;
  font-size: 1em;
  gap: 10px;
}

.page-beginner-guide__floating-ad-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.page-beginner-guide__floating-ad-text {
  white-space: nowrap;
}

.page-beginner-guide__floating-ad-close {
  background: none;
  border: none;
  color: #2D3E50;
  font-size: 1.5em;
  cursor: pointer;
  margin-left: 10px;
  line-height: 1;
  padding: 0 5px;
}

.page-beginner-guide__floating-ad-close:hover {
  color: #000;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-beginner-guide__hero-title {
    font-size: 2.5em;
  }
  .page-beginner-guide__section-title {
    font-size: 2em;
  }
  .page-beginner-guide__feature-grid, .page-beginner-guide__detail-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-beginner-guide__floating-ad {
    bottom: 15px;
    right: 15px;
    padding: 8px 12px;
  }
  .page-beginner-guide__floating-ad-icon {
    width: 25px;
    height: 25px;
  }
  .page-beginner-guide__floating-ad-text {
    font-size: 0.9em;
  }
  .page-beginner-guide__floating-ad-close {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-beginner-guide__hero {
    padding: 80px 0 60px;
  }
  .page-beginner-guide__hero-title {
    font-size: 2em;
  }
  .page-beginner-guide__hero-description {
    font-size: 1em;
  }
  .page-beginner-guide__section {
    padding: 40px 0;
  }
  .page-beginner-guide__section-title {
    font-size: 1.8em;
  }
  .page-beginner-guide__download-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-beginner-guide__btn--download {
    width: 80%;
    max-width: 300px;
  }
  .page-beginner-guide__cta-title {
    font-size: 2em;
  }
  .page-beginner-guide__floating-ad {
    bottom: 10px;
    right: 10px;
    padding: 6px 10px;
  }
  .page-beginner-guide__floating-ad-icon {
    width: 20px;
    height: 20px;
  }
  .page-beginner-guide__floating-ad-text {
    font-size: 0.8em;
  }
  .page-beginner-guide__floating-ad-close {
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-beginner-guide__hero-title {
    font-size: 1.7em;
  }
  .page-beginner-guide__section-title {
    font-size: 1.5em;
  }
  .page-beginner-guide__card-title {
    font-size: 1.5em;
  }
  .page-beginner-guide__faq-question {
    font-size: 1.2em;
  }
  .page-beginner-guide__cta-title {
    font-size: 1.7em;
  }
  .page-beginner-guide__floating-ad {
    left: 50%;
    transform: translateX(-50%) translateY(120%); /* Center and hide */
    bottom: 10px;
    right: auto;
    width: calc(100% - 40px);
    max-width: 350px;
    justify-content: space-between;
  }
  .page-beginner-guide__floating-ad.show {
    transform: translateX(-50%) translateY(0); /* Center and show */
  }
  .page-beginner-guide__floating-ad-text {
    flex-grow: 1;
    text-align: center;
  }
  .page-beginner-guide__floating-ad-close {
    margin-left: 5px;
    font-size: 1.1em;
  }
}