.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: var(--secondary-color);
}

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

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Adjusted to prevent double padding with shared body offset */
  background-color: #26A9E0;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 675px; /* Limit height to maintain aspect ratio for large images */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 20px;
  background-color: rgba(38, 169, 224, 0.85); /* Semi-transparent overlay for text readability */
  color: #ffffff;
  width: 100%;
  box-sizing: border-box;
}

.page-fishing-games__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

.page-fishing-games__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background: #EA7C07; /* Custom login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-fishing-games__btn-primary:hover {
  background: #d46a00;
  border-color: #d46a00;
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
  background: #f0f0f0;
  color: #1a7fb8;
  border-color: #1a7fb8;
  transform: translateY(-2px);
}

.page-fishing-games__btn-link {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
  padding: 8px 20px;
  font-size: 0.95em;
}

.page-fishing-games__btn-link:hover {
  background: #1a7fb8;
  border-color: #1a7fb8;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 40px;
  line-height: 1.3;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #555555;
}

.page-fishing-games__why-choose-us,
.page-fishing-games__games-showcase,
.page-fishing-games__how-to-play,
.page-fishing-games__promotions,
.page-fishing-games__security,
.page-fishing-games__faq-section,
.page-fishing-games__cta-bottom {
  padding: 60px 0;
}

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

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

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

.page-fishing-games__feature-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__feature-card .page-fishing-games__feature-title {
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 15px;
}

.page-fishing-games__feature-card p {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-fishing-games__feature-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__feature-card.page-fishing-games__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-fishing-games__feature-card.page-fishing-games__medium-bg {
  background-color: #f0f8ff; /* A lighter shade for contrast */
  color: #333333;
}

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

.page-fishing-games__game-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__game-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__game-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

.page-fishing-games__how-to-play {
  background-color: #f8f8f8;
}

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

.page-fishing-games__step-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__step-icon {
  background: #26A9E0;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-fishing-games__step-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-fishing-games__step-item p {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__tips-section {
  background: #f0f8ff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__sub-title {
  font-size: 2em;
  font-weight: 700;
  color: #EA7C07;
  text-align: center;
  margin-bottom: 25px;
}

.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.page-fishing-games__tips-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="%2326A9E0"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #333333;
}

.page-fishing-games__tips-list li strong {
  color: #26A9E0;
}

.page-fishing-games__promotions {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-fishing-games__promotions .page-fishing-games__section-title,
.page-fishing-games__promotions .page-fishing-games__section-description {
  color: #ffffff;
}

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

.page-fishing-games__promo-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__promo-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__promo-card p {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

.page-fishing-games__security {
  background-color: #f8f8f8;
}

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

.page-fishing-games__security-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-fishing-games__security-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-fishing-games__security-item p {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

.page-fishing-games__faq-section {
  background-color: #ffffff;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
}

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

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

.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  padding: 0;
}

.page-fishing-games__cta-bottom {
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-fishing-games__cta-bottom .page-fishing-games__section-title,
.page-fishing-games__cta-bottom .page-fishing-games__section-description {
  color: #ffffff;
}

/* General image and button responsive styles */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
}

.page-fishing-games__cta-buttons,
.page-fishing-games__button-group,
.page-fishing-games__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games__container {
    padding: 20px 30px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

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

  .page-fishing-games__hero-image {
    max-height: 500px;
  }
}

@media (max-width: 849px) {
  .page-fishing-games__hero-image {
    object-fit: contain;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__hero-section {
    padding-top: 10px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-fishing-games__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-link {
    max-width: 100% !important;
    width: 100% !important;
    font-size: 1em;
    padding: 12px 20px;
  }

  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-fishing-games__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-fishing-games__why-choose-us,
  .page-fishing-games__games-showcase,
  .page-fishing-games__how-to-play,
  .page-fishing-games__promotions,
  .page-fishing-games__security,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom {
    padding: 40px 0;
  }

  .page-fishing-games__feature-grid,
  .page-fishing-games__game-list,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__security-features {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__step-item,
  .page-fishing-games__promo-card,
  .page-fishing-games__security-item {
    padding: 25px;
  }

  .page-fishing-games__feature-card .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__step-title,
  .page-fishing-games__promo-title,
  .page-fishing-games__security-title {
    font-size: 1.3em;
  }

  .page-fishing-games__game-image,
  .page-fishing-games__promo-image,
  .page-fishing-games__security-image {
    height: 180px;
  }

  .page-fishing-games__tips-section {
    padding: 30px 20px;
  }

  .page-fishing-games__sub-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }

  .page-fishing-games__tips-list li {
    font-size: 0.95em;
    margin-bottom: 10px;
  }

  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px;
  }

  .page-fishing-games__faq-qtext {
    font-size: 15px;
  }

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

  .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-section,
  .page-fishing-games__why-choose-us,
  .page-fishing-games__games-showcase,
  .page-fishing-games__how-to-play,
  .page-fishing-games__promotions,
  .page-fishing-games__security,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}