/* style/fishing-games.css */

/* --- General Page Styles --- */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #ffffff; /* Explicitly set for consistency, though body might be white by default */
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

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

.page-fishing-games__section-title--white::after {
  background-color: #ffffff;
}

.page-fishing-games__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__text-block--white {
  color: #ffffff;
}

.page-fishing-games__center-text {
  text-align: center;
}

.page-fishing-games__image-content {
  margin: 30px auto;
  text-align: center;
}

.page-fishing-games__image-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

.page-fishing-games__image-content--large img {
  width: 100%; /* Ensure large images fill their container */
}

/* --- Buttons --- */
.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Ensure padding doesn't increase total width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-fishing-games__cta-button--register {
  background: #C30808; /* Register color */
  color: #FFFF00; /* Register font color */
  border: 2px solid transparent;
}

.page-fishing-games__cta-button--register:hover {
  background: #a30707;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: #017439; /* Primary brand color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary:hover {
  background: #005a2e;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #ffffff;
  color: #017439; /* Primary brand color for text */
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #017439;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-secondary:hover {
  background: #f0f0f0;
  color: #005a2e;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__btn-small {
  display: inline-block;
  padding: 8px 15px;
  background: #017439;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  margin-top: 10px;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-small:hover {
  background: #005a2e;
}

/* --- Hero Section --- */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: linear-gradient(135deg, #017439, #005a2e); /* Gradient background for visual appeal */
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-fishing-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.page-fishing-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: #ffffff;
}

.page-fishing-games__hero-content h1 {
  font-size: 48px;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Introduction Section --- */
.page-fishing-games__introduction-section {
  background-color: #ffffff;
  padding: 60px 0;
}

.page-fishing-games__introduction-section .page-fishing-games__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  font-size: 17px;
  color: #333333;
}

.page-fishing-games__introduction-section .page-fishing-games__list li {
  margin-bottom: 10px;
}

.page-fishing-games__subsection-title {
  font-size: 28px;
  color: #017439;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

/* --- Games Showcase Section --- */
.page-fishing-games__games-showcase {
  background-color: #017439; /* Dark brand color */
  padding: 80px 0;
}

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

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

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

.page-fishing-games__card img {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__card-title {
  font-size: 22px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__card-description {
  font-size: 15px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow description to take available space */
}

/* --- Guide Section --- */
.page-fishing-games__guide-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.page-fishing-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-fishing-games__guide-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  border-top: 5px solid #017439;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__guide-title {
  font-size: 24px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__guide-description {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* --- Strategy Section --- */
.page-fishing-games__strategy-section {
  background-color: #017439;
  padding: 80px 0;
}

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

.page-fishing-games__strategy-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark background */
  border-radius: 10px;
  padding: 25px;
  color: #ffffff;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease;
}

.page-fishing-games__strategy-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-fishing-games__strategy-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-fishing-games__strategy-description {
  font-size: 16px;
  color: #f0f0f0;
}

/* --- Promotions Section --- */
.page-fishing-games__promotions-section {
  background-color: #ffffff;
  padding: 60px 0;
}

.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 {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__promo-card img {
  max-width: 100%;
   /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__promo-title {
  font-size: 22px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__promo-description {
  font-size: 15px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* --- Security & Support Section --- */
.page-fishing-games__security-support-section {
  background-color: #017439;
  padding: 80px 0;
}

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

.page-fishing-games__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  color: #ffffff;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__feature-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-fishing-games__feature-description {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* --- FAQ Section --- */
.page-fishing-games__faq-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* Ensure it expands enough */
  padding: 20px 15px !important;
  opacity: 1;
  background: #ffffff;
  border-radius: 0 0 5px 5px;
}