/* style/blog-kufun-login-guide.css */

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

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

.page-blog-kufun-login-guide__section {
  padding: 60px 0;
  text-align: center;
}

.page-blog-kufun-login-guide__section--why-kufun,
.page-blog-kufun-login-guide__section--troubleshooting,
.page-blog-kufun-login-guide__section--faq {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for sections */
}

.page-blog-kufun-login-guide__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 30px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-blog-kufun-login-guide__text-block {
  font-size: 1.1em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-blog-kufun-login-guide__text-block .highlight {
  color: #EA7C07;
  font-weight: bold;
}

/* Hero Section */
.page-blog-kufun-login-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, body handles main offset */
  overflow: hidden;
}

.page-blog-kufun-login-guide__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 40px;
}

.page-blog-kufun-login-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-kufun-login-guide__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  z-index: 1;
}

.page-blog-kufun-login-guide__main-title {
  font-weight: 800;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 600px; /* Restrict H1 width to avoid occupying half screen on mobile */
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2em, 5vw, 3em); /* Responsive font size for H1 */
}

.page-blog-kufun-login-guide__description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-blog-kufun-login-guide__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-blog-kufun-login-guide__cta-button--primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-blog-kufun-login-guide__cta-button--primary:hover {
  background-color: #1f8ac7;
  transform: translateY(-2px);
}

.page-blog-kufun-login-guide__cta-button--secondary {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
  margin-left: 20px;
}

.page-blog-kufun-login-guide__cta-button--secondary:hover {
  background-color: #d46f06;
  transform: translateY(-2px);
}

.page-blog-kufun-login-guide__app-download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0 20px;
}

/* Features Grid */
.page-blog-kufun-login-guide__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-kufun-login-guide__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  box-sizing: border-box;
}

.page-blog-kufun-login-guide__feature-icon {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-blog-kufun-login-guide__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-kufun-login-guide__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-blog-kufun-login-guide__feature-description a {
  color: #EA7C07;
  text-decoration: none;
}

.page-blog-kufun-login-guide__feature-description a:hover {
  text-decoration: underline;
}

/* Login Guide Steps */
.page-blog-kufun-login-guide__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-blog-kufun-login-guide__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-kufun-login-guide__step-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-kufun-login-guide__step-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-blog-kufun-login-guide__image-content {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
}

.page-blog-kufun-login-guide__image-content--mobile {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Troubleshooting List */
.page-blog-kufun-login-guide__trouble-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-blog-kufun-login-guide__trouble-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-kufun-login-guide__trouble-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-kufun-login-guide__trouble-description {
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-blog-kufun-login-guide__trouble-description a {
  color: #EA7C07;
  text-decoration: none;
}

.page-blog-kufun-login-guide__trouble-description a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-blog-kufun-login-guide__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-blog-kufun-login-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px 30px;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.page-blog-kufun-login-guide__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.3em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  list-style: none;
}

.page-blog-kufun-login-guide__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-kufun-login-guide__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-blog-kufun-login-guide__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #EA7C07;
}

.page-blog-kufun-login-guide__faq-answer {
  padding-top: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
  line-height: 1.5;
}

.page-blog-kufun-login-guide__faq-answer p {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-blog-kufun-login-guide__faq-answer a {
  color: #EA7C07;
  text-decoration: none;
}

.page-blog-kufun-login-guide__faq-answer a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-kufun-login-guide__main-title {
    font-size: clamp(1.8em, 4.5vw, 2.5em);
  }

  .page-blog-kufun-login-guide__section-title {
    font-size: 2em;
  }

  .page-blog-kufun-login-guide__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-blog-kufun-login-guide__section {
    padding: 40px 0;
  }

  .page-blog-kufun-login-guide__main-title {
    font-size: clamp(1.5em, 6vw, 2em) !important; /* Ensure H1 is not too large */
  }

  .page-blog-kufun-login-guide__section-title {
    font-size: 1.8em;
  }

  .page-blog-kufun-login-guide__description,
  .page-blog-kufun-login-guide__text-block,
  .page-blog-kufun-login-guide__feature-description,
  .page-blog-kufun-login-guide__step-description,
  .page-blog-kufun-login-guide__trouble-description,
  .page-blog-kufun-login-guide__faq-answer {
    font-size: 1em;
  }

  .page-blog-kufun-login-guide__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 0 !important;
    margin-bottom: 15px; /* Add spacing for stacked buttons */
  }
  
  .page-blog-kufun-login-guide__app-download-buttons {
    flex-direction: column !important;
    align-items: center !important;
    padding: 0 15px !important;
  }

  .page-blog-kufun-login-guide__features-grid {
    grid-template-columns: 1fr;
  }

  .page-blog-kufun-login-guide__step-title,
  .page-blog-kufun-login-guide__trouble-title {
    font-size: 1.4em;
  }

  .page-blog-kufun-login-guide__faq-item summary {
    font-size: 1.1em;
  }

  /* Mobile image adaptation */
  .page-blog-kufun-login-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-kufun-login-guide__section,
  .page-blog-kufun-login-guide__card,
  .page-blog-kufun-login-guide__container,
  .page-blog-kufun-login-guide__hero-section,
  .page-blog-kufun-login-guide__hero-image-wrapper,
  .page-blog-kufun-login-guide__hero-content,
  .page-blog-kufun-login-guide__app-download-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Ensure hero section top padding is small */
  .page-blog-kufun-login-guide__hero-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-blog-kufun-login-guide__section-title {
    font-size: 1.5em;
  }

  .page-blog-kufun-login-guide__main-title {
    font-size: clamp(1.2em, 7vw, 1.8em) !important;
  }
}