.page-resources-tf88-login-guide {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-resources-tf88-login-guide__section {
  padding: 60px 0;
  text-align: center;
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  margin-bottom: 20px;
}

.page-resources-tf88-login-guide__section:last-of-type {
  margin-bottom: 0;
}

.page-resources-tf88-login-guide__section-title {
  font-size: 3em;
  color: #26A9E0;
  margin-bottom: 30px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-resources-tf88-login-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-resources-tf88-login-guide__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-resources-tf88-login-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-tf88-login-guide__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-resources-tf88-login-guide__hero-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
  max-width: 900px;
  padding: 20px;
}

.page-resources-tf88-login-guide__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-tf88-login-guide__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-tf88-login-guide__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Buttons */
.page-resources-tf88-login-guide__btn-primary,
.page-resources-tf88-login-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;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-tf88-login-guide__btn-primary {
  background-color: #EA7C07; /* Custom color for Login */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-resources-tf88-login-guide__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
  transform: translateY(-2px);
}

.page-resources-tf88-login-guide__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-resources-tf88-login-guide__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.page-resources-tf88-login-guide__btn-primary--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

/* Login Steps Section */
.page-resources-tf88-login-guide__login-steps {
  background-color: #0d0d0d;
}

.page-resources-tf88-login-guide__step-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  color: #f0f0f0;
}

.page-resources-tf88-login-guide__step-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-tf88-login-guide__step-description {
  font-size: 1.1em;
  margin-bottom: 25px;
}

.page-resources-tf88-login-guide__step-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-tf88-login-guide__cta-buttons--centered {
  margin-top: 40px;
}

/* Troubleshooting Section */
.page-resources-tf88-login-guide__troubleshooting {
  background-color: #121212;
}

.page-resources-tf88-login-guide__issue-card {
  background-color: #1a1a1a;
  border-left: 5px solid #EA7C07;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  text-align: left;
  color: #f0f0f0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-tf88-login-guide__issue-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-resources-tf88-login-guide__issue-description {
  font-size: 1em;
}

.page-resources-tf88-login-guide__troubleshooting-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Benefits Section */
.page-resources-tf88-login-guide__benefits {
  background-color: #0d0d0d;
}

.page-resources-tf88-login-guide__benefits-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
}

.page-resources-tf88-login-guide__benefits-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  color: #f0f0f0;
}

.page-resources-tf88-login-guide__benefits-heading {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-resources-tf88-login-guide__benefits-description {
  font-size: 0.95em;
}

.page-resources-tf88-login-guide__benefits-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Registration and App Section */
.page-resources-tf88-login-guide__registration-app {
  background-color: #121212;
}

.page-resources-tf88-login-guide__grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-resources-tf88-login-guide__card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-tf88-login-guide__card-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-tf88-login-guide__card-description {
  font-size: 1.1em;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-resources-tf88-login-guide__app-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* FAQ Section */
.page-resources-tf88-login-guide__faq {
  background-color: #0d0d0d;
}

.page-resources-tf88-login-guide__faq-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.page-resources-tf88-login-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #222222;
  color: #FFFFFF;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources-tf88-login-guide__faq-question:hover {
  background-color: #26A9E0;
}

.page-resources-tf88-login-guide__faq-title {
  margin: 0;
  color: inherit;
}

.page-resources-tf88-login-guide__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-tf88-login-guide__faq-item.active .page-resources-tf88-login-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-tf88-login-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  background-color: #1a1a1a;
}

.page-resources-tf88-login-guide__faq-item.active .page-resources-tf88-login-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 25px !important;
}

.page-resources-tf88-login-guide__faq-answer p {
  margin-top: 0;
  margin-bottom: 15px;
  color: #f0f0f0;
}

/* Final CTA Section */
.page-resources-tf88-login-guide__final-cta {
  background-color: #26A9E0; /* Brand color for final CTA */
  color: #FFFFFF;
  padding: 80px 0;
}

.page-resources-tf88-login-guide__final-cta .page-resources-tf88-login-guide__section-title {
  color: #FFFFFF;
}

.page-resources-tf88-login-guide__final-cta .page-resources-tf88-login-guide__text-block {
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .page-resources-tf88-login-guide__hero-title {
    font-size: 3em;
  }
  .page-resources-tf88-login-guide__hero-description {
    font-size: 1.2em;
  }
  .page-resources-tf88-login-guide__section-title {
    font-size: 2.5em;
  }
  .page-resources-tf88-login-guide__grid-2-cols {
    grid-template-columns: 1fr;
  }
  .page-resources-tf88-login-guide__benefits-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources-tf88-login-guide {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-tf88-login-guide__hero-section {
    height: auto;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-resources-tf88-login-guide__hero-title {
    font-size: 2.5em;
  }
  .page-resources-tf88-login-guide__hero-description {
    font-size: 1em;
  }
  .page-resources-tf88-login-guide__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-tf88-login-guide__btn-primary,
  .page-resources-tf88-login-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-resources-tf88-login-guide__section {
    padding: 40px 0;
  }
  .page-resources-tf88-login-guide__section-title {
    font-size: 2em;
  }
  .page-resources-tf88-login-guide__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-resources-tf88-login-guide img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-tf88-login-guide video,
  .page-resources-tf88-login-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-tf88-login-guide__video-section,
  .page-resources-tf88-login-guide__video-container,
  .page-resources-tf88-login-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-resources-tf88-login-guide__step-card,
  .page-resources-tf88-login-guide__issue-card,
  .page-resources-tf88-login-guide__benefits-item,
  .page-resources-tf88-login-guide__card,
  .page-resources-tf88-login-guide__faq-item {
    padding: 20px;
  }
  .page-resources-tf88-login-guide__step-title,
  .page-resources-tf88-login-guide__issue-title,
  .page-resources-tf88-login-guide__benefits-heading,
  .page-resources-tf88-login-guide__card-title {
    font-size: 1.5em;
  }
  .page-resources-tf88-login-guide__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-resources-tf88-login-guide__faq-answer {
    padding: 0 20px;
  }
  .page-resources-tf88-login-guide__faq-item.active .page-resources-tf88-login-guide__faq-answer {
    padding: 15px 20px !important;
  }
}

/* Contrast Fixes for specific elements if needed */
.page-resources-tf88-login-guide__dark-section {
  background: #26A9E0;
  color: #ffffff; /* Forced white text for brand color background */
}