.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark background */
  line-height: 1.6;
}

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

.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-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%);
  overflow: hidden;
  color: #ffffff;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 20px;
}

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

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

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

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

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) opacity(0.8); /* Darken and add transparency for text readability */
}

.page-fishing-games__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Gold color for titles */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #e0e0e0;
  text-align: justify;
}

.page-fishing-games__about-section {
  padding: 80px 0;
}

.page-fishing-games__dark-bg {
  background-color: #0d0d0d; /* Dark background from shared.css variable */
  color: #ffffff; /* Light text for dark background */
}

.page-fishing-games__image-text-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-fishing-games__image-layout-img {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__text-layout-content {
  flex: 1;
  max-width: 50%;
}

.page-fishing-games__feature-list,
.page-fishing-games__guide-list,
.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-fishing-games__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__list-item strong {
  color: #FFD700;
  margin-right: 10px;
}

.page-fishing-games__list-item::before {
  content: '✔️';
  color: #FFD700;
  margin-right: 10px;
  font-size: 1.2em;
}

.page-fishing-games__guide-list .page-fishing-games__list-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background-color: #FFD700;
  color: #8B0000;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9em;
  margin-right: 15px;
  flex-shrink: 0;
}

.page-fishing-games__video-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  text-align: center;
}

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

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-fishing-games__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.page-fishing-games__video-wrapper:hover .page-fishing-games__video-overlay {
  opacity: 1;
}

.page-fishing-games__btn-play {
  font-size: 1.5em;
  padding: 15px 40px;
  background-color: #FFD700;
  color: #8B0000;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-fishing-games__btn-play:hover {
  background-color: #e0b000;
  transform: scale(1.05);
}

.page-fishing-games__game-types-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.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 {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__game-card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-fishing-games__game-card-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-fishing-games__game-card-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-fishing-games__btn-small {
  display: inline-block;
  padding: 10px 25px;
  background-color: #8B0000;
  color: #ffffff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-fishing-games__btn-small:hover {
  background-color: #a00000;
}

.page-fishing-games__guide-section {
  padding: 80px 0;
  counter-reset: step-counter;
}

.page-fishing-games__promotions-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.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: #0d0d0d;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__promo-card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-fishing-games__promo-card-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-fishing-games__promo-card-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-fishing-games__mobile-section {
  padding: 80px 0;
}

.page-fishing-games__mobile-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-fishing-games__mobile-text {
  flex: 1;
}

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

.page-fishing-games__mobile-image {
  flex: 1;
  max-width: 45%;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

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

.page-fishing-games__faq-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__faq-question:hover {
  background-color: #2a2a2a;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-fishing-games__faq-answer p {
  color: #cccccc;
  font-size: 1.0em;
  margin-bottom: 0;
}

.page-fishing-games__faq-answer a {
  color: #FFD700;
  text-decoration: none;
}

.page-fishing-games__faq-answer a:hover {
  text-decoration: underline;
}

.page-fishing-games__cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #FFD700 0%, #8B0000 100%);
  color: #ffffff;
}

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

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

.page-fishing-games__btn-primary {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #ffffff;
  color: #8B0000;
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }
  .page-fishing-games__section-title {
    font-size: 2.2em;
  }
  .page-fishing-games__image-text-layout {
    flex-direction: column;
  }
  .page-fishing-games__image-layout-img,
  .page-fishing-games__text-layout-content,
  .page-fishing-games__mobile-image,
  .page-fishing-games__mobile-text {
    max-width: 100%;
  }
  .page-fishing-games__mobile-content {
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .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__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-fishing-games__sub-title {
    font-size: 1.5em;
  }
  .page-fishing-games__text-block,
  .page-fishing-games__list-item,
  .page-fishing-games__game-card-description,
  .page-fishing-games__promo-card-description,
  .page-fishing-games__faq-question,
  .page-fishing-games__faq-answer p {
    font-size: 0.9em;
  }
  .page-fishing-games__hero-buttons,
  .page-fishing-games__app-buttons,
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-small,
  .page-fishing-games__btn-play {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__faq-item,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__app-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }
  .page-fishing-games__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__mobile-content {
    gap: 20px;
  }
  .page-fishing-games__video-section {
    padding-top: var(--header-offset, 120px) !important; 
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 2em;
  }
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 1em;
    padding: 10px 25px;
  }
}