.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-text-main, #FFF5E1); /* Default text color for dark sections */
  background-color: var(--color-background-main, #B71C1C);
}

.page-fishing-games__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming body has --header-offset */
  padding-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--color-background-main, #B71C1C);
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  height: 600px; /* Fixed height for desktop hero image */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover for desktop to fill space */
  display: block;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--color-text-main, #FFF5E1);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: var(--color-text-main, #FFF5E1);
}

.page-fishing-games__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red text for gold button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-fishing-games__btn-secondary {
  background: #B71C1C; /* Darker red from custom colors */
  color: #FFF5E1; /* Main text color */
  border: 2px solid #F2B544; /* Border color from custom colors */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  transform: translateY(-3px);
  background: #C91F17; /* Main color for hover */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-tertiary {
  background: #F4D34D; /* Gold color from custom colors */
  color: #7A0E0E; /* Deep Red text */
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 5px;
}

.page-fishing-games__btn-tertiary:hover {
  background: #FFCC66; /* Glow color for hover */
}

.page-fishing-games__section {
  padding: 60px 0;
  background-color: var(--color-background-light, #ffffff);
  color: #333333; /* Default dark text for light sections */
}

.page-fishing-games__dark-section {
  background-color: var(--color-background-main, #B71C1C);
  color: var(--color-text-main, #FFF5E1);
}

.page-fishing-games__light-text {
  color: var(--color-text-main, #FFF5E1);
}

.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
  color: inherit;
}

.page-fishing-games__features-grid,
.page-fishing-games__game-list,
.page-fishing-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games__card {
  background-color: var(--color-card-bg, #D32F2F);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--color-text-main, #FFF5E1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__dark-bg-card {
  background-color: var(--color-card-bg, #D32F2F);
  color: var(--color-text-main, #FFF5E1);
}

.page-fishing-games__feature-icon,
.page-fishing-games__game-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-fishing-games__feature-icon {
  max-height: 200px; /* Limit height for feature icons */
  width: auto;
}

.page-fishing-games__game-image {
  height: 200px; /* Fixed height for game images */
  width: 100%;
}

.page-fishing-games__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: inherit;
}

.page-fishing-games__step-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #F4D34D; /* Gold color */
  margin-bottom: 15px;
  display: block;
}

.page-fishing-games__center-buttons {
  text-align: center;
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-fishing-games__article-body {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333333; /* Dark text for article body on light background */
}

.page-fishing-games__sub-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #C91F17; /* Main color for sub-titles */
}

.page-fishing-games__article-figure {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--color-text-main, #FFF5E1);
}

.page-fishing-games__promo-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
}

.page-fishing-games__promo-item::before {
  content: '★';
  color: #F4D34D; /* Gold star */
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.page-fishing-games__download-content {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-fishing-games__download-text-block {
  flex: 1;
}

.page-fishing-games__download-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-fishing-games__benefit-item {
  font-size: 1.1rem;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: #333333;
}

.page-fishing-games__benefit-item::before {
  content: '✓';
  color: #C91F17; /* Main brand color */
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-fishing-games__download-image-wrapper {
  flex-shrink: 0;
  width: 400px;
  height: 600px; /* Fixed height for download image */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark section */
  color: var(--color-text-main, #FFF5E1);
}

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: inherit;
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F4D34D; /* Gold color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0, 0, 0, 0.2); /* Slightly darker transparent background for answer */
  border-radius: 0 0 5px 5px;
  color: var(--color-text-main, #FFF5E1);
}

.page-fishing-games__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

/* General image responsiveness */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image-wrapper {
    height: 500px;
  }
  .page-fishing-games__download-content {
    flex-direction: column;
    text-align: center;
  }
  .page-fishing-games__download-image-wrapper {
    width: 300px;
    height: 450px;
  }
  .page-fishing-games__benefit-item {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }
  .page-fishing-games__hero-image-wrapper {
    height: auto !important;
    margin-bottom: 20px;
  }
  .page-fishing-games__hero-image {
    object-fit: contain !important; /* Mobile hero image must contain, not cover */
    aspect-ratio: unset !important;
    height: auto !important;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-fishing-games__subtitle {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    margin-bottom: 25px;
  }
  .page-fishing-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }
  .page-fishing-games__text-block {
    font-size: 1rem;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__game-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 2 columns for game list */
    gap: 20px;
    overflow-x: hidden;
  }
  .page-fishing-games__game-image {
    height: 180px;
  }
  .page-fishing-games__card {
    padding: 20px;
  }
  .page-fishing-games__card-title {
    font-size: 1.2rem;
  }
  .page-fishing-games__sub-title {
    font-size: 1.4rem;
  }
  .page-fishing-games__article-figure {
    margin: 20px auto;
  }
  .page-fishing-games__promo-item {
    font-size: 1rem;
    padding: 12px 15px;
  }
  .page-fishing-games__download-content {
    gap: 20px;
  }
  .page-fishing-games__download-image-wrapper {
    width: 250px;
    height: 375px;
  }
  .page-fishing-games__benefit-item {
    font-size: 1rem;
    padding-left: 25px;
  }
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question { padding: 15px; }
  .page-fishing-games__faq-qtext { font-size: 1rem; }
  .page-fishing-games__faq-toggle { font-size: 20px; width: 24px; margin-left: 10px; }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer { padding: 0 15px 15px; }

  /* Generic image responsiveness for content area */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-cta-buttons,
  .page-fishing-games__center-buttons,
  .page-fishing-games__download-text-block,
  .page-fishing-games__download-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-fishing-games__hero-cta-buttons, .page-fishing-games__center-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}