/* style/fishing-games.css */

/* General Page Styling */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* body background is handled by shared.css */
}

.page-fishing-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-fishing-games__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-fishing-games__card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__text-block {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play,
.page-fishing-games__btn-view-promo,
.page-fishing-games__btn-download {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #ffffff; /* Ensuring contrast */
  border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__cta-buttons--center {
  margin-top: 40px;
}

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 20px;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
  min-height: 600px;
  box-sizing: border-box;
  gap: 40px;
}

.page-fishing-games__hero-content {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.page-fishing-games__main-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 900;
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-fishing-games__hero-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 600px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

/* Introduction Section */
.page-fishing-games__introduction-section {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #1a1a2e; /* Body background color */
  color: #ffffff;
}

.page-fishing-games__introduction-section h2, .page-fishing-games__introduction-section p {
  color: #ffffff;
}

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

.page-fishing-games__feature-item {
  text-align: center;
  padding: 25px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__feature-item img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

.page-fishing-games__feature-item h3 {
  font-size: 1.6em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-fishing-games__feature-item p {
  color: #f0f0f0;
  font-size: 1.05em;
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-fishing-games__advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__advantage-list li {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 15px 25px;
  border-left: 5px solid #C30808; /* Highlight with custom red */
  border-radius: 5px;
  font-size: 1.1em;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__advantage-list li strong {
  color: #FFFF00; /* Custom font color for emphasis */
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #1a1a2e; /* Body background color */
  color: #ffffff;
}

.page-fishing-games__popular-games-section h2, .page-fishing-games__popular-games-section p {
  color: #ffffff;
}

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

.page-fishing-games__game-card {
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

.page-fishing-games__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-fishing-games__card-title a {
  color: #FFFF00; /* Custom font color for titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__card-title a:hover {
  color: #ffffff;
}

.page-fishing-games__game-card p {
  color: #f0f0f0;
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-fishing-games__btn-play {
  background-color: #C30808;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto;
}

.page-fishing-games__btn-play:hover {
  background-color: #a00606;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__guide-list li {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 25px;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border-left: 5px solid #FFFF00; /* Custom highlight */
}

.page-fishing-games__guide-list li h3 {
  font-size: 1.8em;
  color: #FFFF00; /* Custom font color */
  margin-bottom: 15px;
}

.page-fishing-games__guide-list li p {
  color: #f0f0f0;
  font-size: 1.05em;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #1a1a2e; /* Body background color */
  color: #ffffff;
}

.page-fishing-games__promotions-section h2, .page-fishing-games__promotions-section p {
  color: #ffffff;
}

.page-fishing-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__promo-card {
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__promo-card img {
  width: 100%;
  height: 200px; /* Fixed height */
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

.page-fishing-games__btn-view-promo {
  background-color: #017439;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto;
}

.page-fishing-games__btn-view-promo:hover {
  background-color: #005a2e;
}

/* Download App Section */
.page-fishing-games__download-app-section {
  padding-top: 60px;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-fishing-games__download-content {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-fishing-games__download-text {
  flex: 1;
  max-width: 600px;
}

.page-fishing-games__download-text h2, .page-fishing-games__download-text p {
  color: #ffffff;
}

.page-fishing-games__download-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-fishing-games__btn-download {
  background-color: #C30808;
  color: #ffffff;
  border: 2px solid #C30808;
}

.page-fishing-games__btn-download:hover {
  background-color: #a00606;
}

.page-fishing-games__download-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  max-width: 400px;
}

.page-fishing-games__download-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #1a1a2e; /* Body background color */
  color: #ffffff;
}

.page-fishing-games__faq-section h2, .page-fishing-games__faq-section p {
  color: #ffffff;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-question h3 {
  margin: 0;
  color: #ffffff;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  transition: transform 0.3s ease;
  color: #FFFF00;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px 25px;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  color: #f0f0f0;
  font-size: 1.05em;
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
}

.page-fishing-games__cta-content h2, .page-fishing-games__cta-content p {
  color: #ffffff;
}

.page-fishing-games__btn-large {
  padding: 15px 35px;
  font-size: 1.15em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-section {
    flex-direction: column;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
  }

  .page-fishing-games__hero-content {
    text-align: center;
    max-width: 100%;
  }

  .page-fishing-games__main-title {
    font-size: 3em;
  }

  .page-fishing-games__hero-image-container {
    max-width: 80%;
    margin-top: 40px;
  }

  .page-fishing-games__download-content {
    flex-direction: column;
    text-align: center;
  }

  .page-fishing-games__download-text {
    max-width: 100%;
  }

  .page-fishing-games__download-image-wrapper {
    max-width: 60%;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__main-title {
    font-size: 2.5em;
  }

  .page-fishing-games__hero-description,
  .page-fishing-games__text-block,
  .page-fishing-games__advantage-list li p,
  .page-fishing-games__feature-item p,
  .page-fishing-games__game-card p,
  .page-fishing-games__guide-list li p,
  .page-fishing-games__faq-answer p {
    font-size: 1em;
  }

  .page-fishing-games__section-title {
    font-size: 2em;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-play,
  .page-fishing-games__btn-view-promo,
  .page-fishing-games__btn-download,
  .page-fishing-games a[class*="button"],
  .page-fishing-games 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;
  }

  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container,
  .page-fishing-games__download-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column;
    gap: 10px;
    overflow: hidden !important;
  }

  .page-fishing-games__hero-section,
  .page-fishing-games__introduction-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__download-app-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section,
  .page-fishing-games__content-area,
  .page-fishing-games__download-content,
  .page-fishing-games__cta-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  /* Images and videos responsive */
  .page-fishing-games img,
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__hero-image-container,
  .page-fishing-games__download-image-wrapper,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-fishing-games__feature-item img,
  .page-fishing-games__game-card img,
  .page-fishing-games__promo-card img,
  .page-fishing-games__download-image {
    min-width: unset;
    min-height: unset;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 2em;
  }

  .page-fishing-games__section-title {
    font-size: 1.8em;
  }

  .page-fishing-games__hero-buttons {
    flex-direction: column;
  }
}