/* style/resources-dice-crab-fish-game-guide.css */

/* Base styles for the page */
.page-resources-dice-crab-fish-game-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-resources-dice-crab-fish-game-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-resources-dice-crab-fish-game-guide__section-title {
  font-size: 2.5em;
  color: #ffffff;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-resources-dice-crab-fish-game-guide__sub-title {
  font-size: 1.8em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-dice-crab-fish-game-guide__paragraph {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-resources-dice-crab-fish-game-guide__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-resources-dice-crab-fish-game-guide__ordered-list {
  list-style: decimal inside;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-resources-dice-crab-fish-game-guide__list-item {
  margin-bottom: 8px;
  font-size: 1.1em;
}

/* Color themes */
.page-resources-dice-crab-fish-game-guide__dark-bg {
  background-color: #0a0a0a; /* Body background */
  color: #ffffff;
}

.page-resources-dice-crab-fish-game-guide__light-bg {
  background-color: #f8f8f8; /* Light background for contrast sections */
  color: #333333;
}

/* Hero Section */
.page-resources-dice-crab-fish-game-guide__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  position: relative;
  overflow: hidden;
}

.page-resources-dice-crab-fish-game-guide__hero-content {
  z-index: 1;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-resources-dice-crab-fish-game-guide__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-resources-dice-crab-fish-game-guide__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-dice-crab-fish-game-guide__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-resources-dice-crab-fish-game-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

/* Buttons */
.page-resources-dice-crab-fish-game-guide__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-dice-crab-fish-game-guide__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

/* Image blocks */
.page-resources-dice-crab-fish-game-guide__image-block {
  margin: 40px 0;
  text-align: center;
}

.page-resources-dice-crab-fish-game-guide__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-resources-dice-crab-fish-game-guide__faq-section {
  padding: 60px 20px;
}

.page-resources-dice-crab-fish-game-guide__faq-list {
  margin-top: 40px;
}

.page-resources-dice-crab-fish-game-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-resources-dice-crab-fish-game-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* Remove default marker for summary */
}

.page-resources-dice-crab-fish-game-guide__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-resources-dice-crab-fish-game-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-dice-crab-fish-game-guide__faq-item[open] .page-resources-dice-crab-fish-game-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-dice-crab-fish-game-guide__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.05em;
  color: #f0f0f0;
}

/* CTA Section */
.page-resources-dice-crab-fish-game-guide__cta-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #f8f8f8;
  color: #333333;
}

.page-resources-dice-crab-fish-game-guide__cta-section .page-resources-dice-crab-fish-game-guide__section-title {
  color: #333333;
}

.page-resources-dice-crab-fish-game-guide__cta-section .page-resources-dice-crab-fish-game-guide__paragraph {
  color: #555555;
}

/* Conclusion Section */
.page-resources-dice-crab-fish-game-guide__conclusion-section {
  padding: 60px 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-dice-crab-fish-game-guide__main-title {
    font-size: 2.8em;
  }
  .page-resources-dice-crab-fish-game-guide__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-dice-crab-fish-game-guide {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-dice-crab-fish-game-guide__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  .page-resources-dice-crab-fish-game-guide__main-title {
    font-size: 2.2em;
  }
  .page-resources-dice-crab-fish-game-guide__hero-description {
    font-size: 1.1em;
  }
  .page-resources-dice-crab-fish-game-guide__section-title {
    font-size: 1.8em;
  }
  .page-resources-dice-crab-fish-game-guide__sub-title {
    font-size: 1.5em;
  }
  .page-resources-dice-crab-fish-game-guide__container,
  .page-resources-dice-crab-fish-game-guide__hero-content,
  .page-resources-dice-crab-fish-game-guide__image-block,
  .page-resources-dice-crab-fish-game-guide__faq-list,
  .page-resources-dice-crab-fish-game-guide__cta-section {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
  .page-resources-dice-crab-fish-game-guide img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-dice-crab-fish-game-guide__btn-primary {
    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;
  }
  .page-resources-dice-crab-fish-game-guide__cta-buttons,
  .page-resources-dice-crab-fish-game-guide__button-group,
  .page-resources-dice-crab-fish-game-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-resources-dice-crab-fish-game-guide__cta-buttons {
    display: flex;
    flex-direction: column;
  }
  .page-resources-dice-crab-fish-game-guide__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-resources-dice-crab-fish-game-guide__faq-answer {
    padding: 0 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-dice-crab-fish-game-guide__main-title {
    font-size: 1.8em;
  }
  .page-resources-dice-crab-fish-game-guide__section-title {
    font-size: 1.5em;
  }
  .page-resources-dice-crab-fish-game-guide__hero-description,
  .page-resources-dice-crab-fish-game-guide__paragraph,
  .page-resources-dice-crab-fish-game-guide__list-item,
  .page-resources-dice-crab-fish-game-guide__faq-answer {
    font-size: 1em;
  }
}