/* style/blog-how-to-use-df99-code.css */

/* Base styles for the page content, considering a dark body background from shared.css */
.page-blog-how-to-use-df99-code {
  color: #F2FFF6; /* Main text color for dark backgrounds */
  background-color: #08160F; /* Background color for the main content area */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-blog-how-to-use-df99-code__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog-how-to-use-df99-code__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #08160F;
}

.page-blog-how-to-use-df99-code__hero-image {
  width: 100%;
  max-height: 675px;
  object-fit: cover;
  display: block;
}

.page-blog-how-to-use-df99-code__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
}

.page-blog-how-to-use-df99-code__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2FFF6;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-blog-how-to-use-df99-code__intro-description {
  font-size: 1.1rem;
  color: #A7D9B8;
  margin-bottom: 30px;
}

/* General Section Styles */
.page-blog-how-to-use-df99-code__section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-blog-how-to-use-df99-code__section-title {
  font-size: 2.5rem;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-blog-how-to-use-df99-code__section-description {
  font-size: 1.1rem;
  color: #A7D9B8;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-how-to-use-df99-code__text-block {
  font-size: 1rem;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-blog-how-to-use-df99-code__content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* Step Cards */
.page-blog-how-to-use-df99-code__step-card {
  background-color: #11271B;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #2E7A4E;
}

.page-blog-how-to-use-df99-code__step-title {
  font-size: 1.8rem;
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-how-to-use-df99-code__step-text {
  font-size: 1rem;
  color: #A7D9B8;
  margin-bottom: 25px;
}

.page-blog-how-to-use-df99-code__step-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
  display: block;
}

/* Card Styles */
.page-blog-how-to-use-df99-code__card {
  background-color: #11271B;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E;
}

.page-blog-how-to-use-df99-code__card-title {
  font-size: 1.8rem;
  color: #F2FFF6;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-blog-how-to-use-df99-code__list {
  list-style-type: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-blog-how-to-use-df99-code__list-item {
  font-size: 1rem;
  color: #F2FFF6;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-blog-how-to-use-df99-code__list-item::before {
  content: '✔';
  color: #2AD16F;
  position: absolute;
  left: 0;
  top: 0;
}

.page-blog-how-to-use-df99-code__list--tips .page-blog-how-to-use-df99-code__list-item::before {
  content: '💡';
}

/* Gaming Grid */
.page-blog-how-to-use-df99-code__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-blog-how-to-use-df99-code__grid-item {
  background-color: #11271B;
  border-radius: 12px;
  padding: 25px;
  border: 1px solid #2E7A4E;
  text-align: center;
}

.page-blog-how-to-use-df99-code__grid-title {
  font-size: 1.5rem;
  color: #F2FFF6;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-blog-how-to-use-df99-code__grid-text {
  font-size: 0.95rem;
  color: #A7D9B8;
  margin-bottom: 20px;
}

.page-blog-how-to-use-df99-code__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* Buttons */
.page-blog-how-to-use-df99-code__btn-primary,
.page-blog-how-to-use-df99-code__btn-secondary,
.page-blog-how-to-use-df99-code a[class*="btn"] {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-blog-how-to-use-df99-code__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-blog-how-to-use-df99-code__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-blog-how-to-use-df99-code__btn-secondary {
  background: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-blog-how-to-use-df99-code__btn-secondary:hover {
  background: #2AD16F;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-blog-how-to-use-df99-code__btn-text-link {
  color: #57E38D;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-blog-how-to-use-df99-code__btn-text-link:hover {
  color: #F2C14E;
  text-decoration: underline;
}

/* FAQ Section */
.page-blog-how-to-use-df99-code__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-how-to-use-df99-code__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-how-to-use-df99-code__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  color: #F2FFF6;
  font-weight: 600;
  cursor: pointer;
  background-color: #11271B;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-blog-how-to-use-df99-code__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-how-to-use-df99-code__faq-question:hover {
  background-color: #1e3a2a;
}

.page-blog-how-to-use-df99-code__faq-toggle {
  font-size: 1.5rem;
  color: #57E38D;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-blog-how-to-use-df99-code__faq-item[open] .page-blog-how-to-use-df99-code__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-how-to-use-df99-code__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8;
  line-height: 1.7;
}

/* Images */
.page-blog-how-to-use-df99-code__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
  object-fit: cover;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-blog-how-to-use-df99-code__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-blog-how-to-use-df99-code__section-title {
    font-size: 2rem;
  }
  .page-blog-how-to-use-df99-code__hero-section {
    padding-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .page-blog-how-to-use-df99-code {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-blog-how-to-use-df99-code__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-bottom: 30px;
  }

  .page-blog-how-to-use-df99-code__hero-content {
    padding: 30px 15px;
  }

  .page-blog-how-to-use-df99-code__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-blog-how-to-use-df99-code__intro-description {
    font-size: 1rem;
  }

  .page-blog-how-to-use-df99-code__section {
    padding: 40px 0;
  }

  .page-blog-how-to-use-df99-code__section-title {
    font-size: 1.8rem;
    padding: 0 15px;
  }

  .page-blog-how-to-use-df99-code__section-description {
    font-size: 1rem;
    padding: 0 15px;
  }

  .page-blog-how-to-use-df99-code__content-wrapper {
    flex-direction: column;
  }

  .page-blog-how-to-use-df99-code__step-card,
  .page-blog-how-to-use-df99-code__card {
    padding: 20px;
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-blog-how-to-use-df99-code__step-title,
  .page-blog-how-to-use-df99-code__card-title {
    font-size: 1.4rem;
  }

  .page-blog-how-to-use-df99-code__list-item {
    font-size: 0.95rem;
  }

  .page-blog-how-to-use-df99-code__grid {
    grid-template-columns: 1fr;
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-blog-how-to-use-df99-code__grid-item {
    padding: 20px;
  }

  .page-blog-how-to-use-df99-code__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-blog-how-to-use-df99-code__faq-answer {
    padding: 0 20px 15px;
  }

  /* Mobile image responsiveness */
  .page-blog-how-to-use-df99-code img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-how-to-use-df99-code__section,
  .page-blog-how-to-use-df99-code__card,
  .page-blog-how-to-use-df99-code__container,
  .page-blog-how-to-use-df99-code__hero-section,
  .page-blog-how-to-use-df99-code__what-is-df99 .page-blog-how-to-use-df99-code__content-wrapper,
  .page-blog-how-to-use-df99-code__step-card,
  .page-blog-how-to-use-df99-code__deposit-withdraw .page-blog-how-to-use-df99-code__card,
  .page-blog-how-to-use-df99-code__gaming .page-blog-how-to-use-df99-code__grid,
  .page-blog-how-to-use-df99-code__tips,
  .page-blog-how-to-use-df99-code__faq .page-blog-how-to-use-df99-code__faq-list,
  .page-blog-how-to-use-df99-code__conclusion {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-blog-how-to-use-df99-code__btn-primary,
  .page-blog-how-to-use-df99-code__btn-secondary,
  .page-blog-how-to-use-df99-code a[class*="button"],
  .page-blog-how-to-use-df99-code a[class*="btn"] {
    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;
    text-align: center;
  }
  
  .page-blog-how-to-use-df99-code__cta-buttons,
  .page-blog-how-to-use-df99-code__button-group,
  .page-blog-how-to-use-df99-code__btn-container,
  .page-blog-how-to-use-df99-code__cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Ensure buttons stack vertically */
  }

  .page-blog-how-to-use-df99-code__cta-wrapper a {
    margin: 0 auto;
  }

}

@media (max-width: 480px) {
  .page-blog-how-to-use-df99-code__main-title {
    font-size: 1.8rem;
  }
  .page-blog-how-to-use-df99-code__section-title {
    font-size: 1.6rem;
  }
  .page-blog-how-to-use-df99-code__step-title,
  .page-blog-how-to-use-df99-code__card-title {
    font-size: 1.2rem;
  }
}