/* style/fishing-games.css */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--black-color); /* Inherit from shared.css */
}

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  overflow: hidden;
  background: linear-gradient(135deg, #26A9E0, #007bb6);
}

.page-fishing-games__hero-content {
  max-width: 900px;
  z-index: 1;
  color: #ffffff;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 1.25em;
  margin-bottom: 40px;
  color: #f0f8ff;
}

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  overflow: hidden;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Only for background, not changing original image color */
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-fishing-games__btn-primary:hover {
  background-color: #1a8ccb;
  border-color: #1a8ccb;
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

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

.page-fishing-games__section {
  padding: 80px 20px;
  text-align: center;
}

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

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

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-fishing-games__light-bg .page-fishing-games__section-title {
  color: #26A9E0;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__dark-bg .page-fishing-games__text-block {
  color: #f0f0f0;
}

.page-fishing-games__light-bg .page-fishing-games__text-block {
  color: #555555;
}

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

.page-fishing-games__feature-item,
.page-fishing-games__game-card,
.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-fishing-games__light-bg .page-fishing-games__feature-item,
.page-fishing-games__light-bg .page-fishing-games__game-card,
.page-fishing-games__light-bg .page-fishing-games__promo-card {
  background-color: #f8f8f8;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__feature-item:hover,
.page-fishing-games__game-card:hover,
.page-fishing-games__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__feature-image,
.page-fishing-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__feature-title,
.page-fishing-games__game-title,
.page-fishing-games__promo-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #26A9E0;
}

.page-fishing-games__dark-bg .page-fishing-games__feature-title,
.page-fishing-games__dark-bg .page-fishing-games__game-title,
.page-fishing-games__dark-bg .page-fishing-games__promo-title {
  color: #ffffff;
}

.page-fishing-games__feature-description,
.page-fishing-games__game-description,
.page-fishing-games__promo-description {
  font-size: 1em;
  color: #cccccc;
  flex-grow: 1;
}

.page-fishing-games__light-bg .page-fishing-games__feature-description,
.page-fishing-games__light-bg .page-fishing-games__game-description,
.page-fishing-games__light-bg .page-fishing-games__promo-description {
  color: #555555;
}

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

.page-fishing-games__guide-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-fishing-games__guide-item h3 {
  color: #26A9E0;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-fishing-games__guide-item p {
  margin-bottom: 20px;
  color: #555555;
}

.page-fishing-games__download-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 60px;
}

.page-fishing-games__download-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-fishing-games__download-subtitle {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-fishing-games__benefits-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-fishing-games__benefits-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%2326A9E0" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #555555;
}

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

.page-fishing-games__download-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

.page-fishing-games__light-bg .page-fishing-games__faq-item {
  background-color: #f0f0f0;
}

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

.page-fishing-games__light-bg .page-fishing-games__faq-item:hover {
  background-color: #e8e8e8;
}

.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;
}

.page-fishing-games__light-bg .page-fishing-games__faq-question {
  color: #333333;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.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: #cccccc;
}

.page-fishing-games__light-bg .page-fishing-games__faq-answer {
  color: #555555;
}

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

.page-fishing-games__cta-section {
  padding: 100px 20px;
  text-align: center;
  background-color: #f8f8f8;
  color: #333333;
}

.page-fishing-games__cta-title {
  font-size: 2.8em;
  margin-bottom: 25px;
  color: #26A9E0;
}

.page-fishing-games__cta-description {
  font-size: 1.2em;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

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

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.1em;
  }
  .page-fishing-games__section-title {
    font-size: 2.2em;
  }
  .page-fishing-games__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-fishing-games__hero-title {
    font-size: 2.5em;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }
  .page-fishing-games__section {
    padding: 50px 15px;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__text-block {
    font-size: 1em;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__game-grid,
  .page-fishing-games__promotions-grid,
  .page-fishing-games__guide-steps {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__guide-item {
    padding: 25px;
  }
  .page-fishing-games__download-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-fishing-games__download-text,
  .page-fishing-games__download-image-wrapper {
    min-width: unset;
    width: 100%;
  }
  .page-fishing-games__benefits-list li {
    font-size: 1em;
  }
  .page-fishing-games__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px 20px 20px;
  }
  .page-fishing-games__cta-section {
    padding: 60px 15px;
  }
  .page-fishing-games__cta-title {
    font-size: 2em;
  }
  .page-fishing-games__cta-description {
    font-size: 1em;
  }

  /* Mandatory image responsiveness for mobile */
  .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__download-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}