.page-fortunedragon {
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-fortunedragon__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Hero Section */
.page-fortunedragon__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #7A0E0E; /* Deep Red for hero background */
}

.page-fortunedragon__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  overflow: hidden;
}

.page-fortunedragon__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-fortunedragon__hero-content {
  padding: 20px 15px;
  max-width: 800px;
  margin-top: 20px;
}

.page-fortunedragon__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: bold;
  color: #F4D34D; /* Gold */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fortunedragon__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF5E1; /* Text Main */
}

/* CTA Buttons */
.page-fortunedragon__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  margin: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box; /* For mobile responsiveness */
  white-space: normal; /* For mobile responsiveness */
  word-wrap: break-word; /* For mobile responsiveness */
}

.page-fortunedragon__cta-button--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #7A0E0E; /* Deep Red for text to ensure contrast with gold button */
  border: 2px solid #F2B544; /* Border */
}

.page-fortunedragon__cta-button--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
}

.page-fortunedragon__cta-button--secondary {
  background-color: #C91F17; /* Primary color */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #E53935; /* Auxiliary color */
}

.page-fortunedragon__cta-button--secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
}

.page-fortunedragon__cta-button--tertiary {
  background-color: transparent;
  color: #F4D34D; /* Gold */
  border: 2px solid #F4D34D; /* Gold */
}

.page-fortunedragon__cta-button--tertiary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
}

/* Section Styling */
.page-fortunedragon__section-title {
  font-size: 2.5em;
  color: #F4D34D; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.page-fortunedragon__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fortunedragon__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
}

.page-fortunedragon__dark-bg {
  background-color: #7A0E0E; /* Deep Red */
  color: #FFF5E1; /* Text Main */
  padding: 60px 0;
}

.page-fortunedragon__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

/* About Game Section */
.page-fortunedragon__about-game-section .page-fortunedragon__section-title,
.page-fortunedragon__features-section .page-fortunedragon__section-title,
.page-fortunedragon__why-24horasbet-section .page-fortunedragon__section-title,
.page-fortunedragon__faq-section .page-fortunedragon__section-title {
  color: #C91F17; /* Primary color for titles on light background */
}

/* How to Play Section */
.page-fortunedragon__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fortunedragon__step-card {
  background-color: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-fortunedragon__step-title {
  font-size: 1.5em;
  color: #F4D34D; /* Gold */
  margin-bottom: 15px;
}

.page-fortunedragon__step-description {
  font-size: 1em;
  color: #FFF5E1; /* Text Main */
}

/* Features Section */
.page-fortunedragon__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fortunedragon__feature-item {
  text-align: center;
  padding: 20px;
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-fortunedragon__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 15px;
  border-radius: 5px;
  min-width: 200px;
  min-height: 200px;
}

.page-fortunedragon__feature-title {
  font-size: 1.4em;
  color: #C91F17; /* Primary color */
  margin-bottom: 10px;
}

.page-fortunedragon__feature-description {
  font-size: 0.95em;
}

/* Strategy Tips Section */
.page-fortunedragon__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fortunedragon__tip-card {
  background-color: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-fortunedragon__tip-title {
  font-size: 1.5em;
  color: #F4D34D; /* Gold */
  margin-bottom: 15px;
}

.page-fortunedragon__tip-description {
  font-size: 1em;
  color: #FFF5E1; /* Text Main */
}

/* Why 24 horas bet Section */
.page-fortunedragon__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-fortunedragon__benefit-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-fortunedragon__benefit-title {
  font-size: 1.4em;
  color: #C91F17; /* Primary color */
  margin-bottom: 10px;
}

.page-fortunedragon__benefit-description {
  font-size: 0.95em;
}

/* Responsible Gaming Section */
.page-fortunedragon__responsible-gaming-list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 20px;
  margin-bottom: 30px;
  color: #FFF5E1; /* Text Main */
  font-size: 1.1em;
}

.page-fortunedragon__responsible-gaming-list li {
  margin-bottom: 10px;
}

/* FAQ Section */
.page-fortunedragon__faq-list {
  margin-top: 30px;
}

.page-fortunedragon__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-fortunedragon__faq-item summary {
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
  color: #C91F17; /* Primary color */
  list-style: none;
}

.page-fortunedragon__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-fortunedragon__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #E53935; /* Auxiliary color */
}

.page-fortunedragon__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  line-height: 1.5;
  color: #333333;
}

/* CTA Section */
.page-fortunedragon__cta-section {
  text-align: center;
  padding-bottom: 60px;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-fortunedragon__hero-content {
    margin-top: 0;
  }

  .page-fortunedragon__main-title {
    font-size: 2.2em;
  }

  .page-fortunedragon__section-title {
    font-size: 2em;
    padding-top: 20px;
  }

  .page-fortunedragon__cta-button {
    width: 100% !important;
    margin: 10px 0;
    padding: 15px 10px;
    font-size: 1em;
  }
  
  .page-fortunedragon__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Mobile image responsiveness */
  .page-fortunedragon img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fortunedragon__hero-image-wrapper,
  .page-fortunedragon__about-game-section,
  .page-fortunedragon__how-to-play-section,
  .page-fortunedragon__features-section,
  .page-fortunedragon__strategy-tips-section,
  .page-fortunedragon__why-24horasbet-section,
  .page-fortunedragon__responsible-gaming-section,
  .page-fortunedragon__faq-section,
  .page-fortunedragon__cta-section,
  .page-fortunedragon__container,
  .page-fortunedragon__step-card,
  .page-fortunedragon__feature-item,
  .page-fortunedragon__tip-card,
  .page-fortunedragon__benefit-item,
  .page-fortunedragon__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-fortunedragon__hero-section {
    padding-top: 10px !important;
  }
}

/* Ensure no CSS filters are used on images */
.page-fortunedragon img {
  filter: none !important;
}

/* Contrast fix if needed - not explicitly applied, but defined for emergency */
.page-fortunedragon__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-fortunedragon__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}