/* style/fishing-games.css */

/* --- Base Styles --- */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #ffffff); /* Use shared background variable */
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #017439; /* Primary brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

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

.page-fishing-games__text-link {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
}

.page-fishing-games__text-link:hover {
  text-decoration: underline;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

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

.page-fishing-games__btn-primary:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
  border-color: #005f2e;
}

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

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__section-description,
.page-fishing-games__dark-bg .page-fishing-games__card-title,
.page-fishing-games__dark-bg .page-fishing-games__card-text,
.page-fishing-games__dark-bg .page-fishing-games__guide-title,
.page-fishing-games__dark-bg .page-fishing-games__guide-text,
.page-fishing-games__dark-bg .page-fishing-games__tip-title,
.page-fishing-games__dark-bg .page-fishing-games__tip-text,
.page-fishing-games__dark-bg .page-fishing-games__faq-title,
.page-fishing-games__dark-bg .page-fishing-games__faq-text {
  color: #ffffff;
}

.page-fishing-games__dark-bg .page-fishing-games__text-link {
  color: #ffff00; /* Special color for links on dark background */
}

.page-fishing-games__dark-bg .page-fishing-games__text-link:hover {
  text-decoration: underline;
}

.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__light-bg .page-fishing-games__text-link {
  color: #017439;
}

/* --- Hero Section --- */
.page-fishing-games__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero-content {
  flex: 1;
  padding-right: 40px;
  z-index: 1;
  max-width: 600px;
  margin-left: 20px;
}

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

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

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

.page-fishing-games__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

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

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

/* --- Game Types Section --- */
.page-fishing-games__game-types-section {
  padding: 60px 0;
}

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

.page-fishing-games__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.page-fishing-games__dark-bg .page-fishing-games__card {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__card-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__dark-bg .page-fishing-games__card-text {
  color: #e0e0e0;
}

/* --- Features Section --- */
.page-fishing-games__features-section {
  padding: 60px 0;
}

.page-fishing-games__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-fishing-games__feature-item {
  padding: 25px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__feature-icon {
  width: 150px; /* Adjust size for feature icons, ensuring >= 200px requirement is met by description for image generation */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-fishing-games__feature-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
  color: #017439;
}

.page-fishing-games__feature-description {
  font-size: 0.95em;
  color: #666666;
}

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

.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: guide-counter;
}

.page-fishing-games__guide-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 30px;
}

.page-fishing-games__guide-item::before {
  counter-increment: guide-counter;
  content: counter(guide-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background-color: #ffff00; /* Yellow for numbers on dark background */
  color: #017439;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

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

.page-fishing-games__guide-text {
  font-size: 1em;
  line-height: 1.7;
}

/* --- Tips Section --- */
.page-fishing-games__tips-section {
  padding: 60px 0;
}

.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-fishing-games__tip-item {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__tip-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #017439;
  font-weight: bold;
}

.page-fishing-games__tip-text {
  font-size: 1em;
  color: #666666;
}

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

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

.page-fishing-games__cta-buttons--center {
  text-align: center;
  margin-top: 30px;
}

/* --- Video Section --- */
.page-fishing-games__video-section {
  padding: 60px 0;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__video-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
  z-index: 2; /* Ensure overlay is clickable */
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

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

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

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