/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000; /* Body background is dark */
}

.page-fishing-games__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than body for contrast */
  color: #ffffff;
}

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

.page-fishing-games__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

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

.page-fishing-games__hero-section {
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  overflow: hidden;
  position: relative;
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-fishing-games__hero-content {
  max-width: 800px;
  text-align: center;
  z-index: 1;
  padding: 20px;
}

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

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

.page-fishing-games__hero-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: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #000000;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-fishing-games__section-subtitle {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-fishing-games__text-block {
  flex: 1;
}

.page-fishing-games__text-block p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-fishing-games__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__btn-link {
  display: inline-block;
  margin-top: 15px;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFD700;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-fishing-games__btn-link:hover {
  color: #e6c200;
  border-color: #e6c200;
}

.page-fishing-games__popular-games-section {
  background-color: #1a1a1a;
}

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

.page-fishing-games__game-card {
  background-color: #0d0d0d;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px;
}

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

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

.page-fishing-games__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-fishing-games__card-title a:hover {
  text-decoration: underline;
}

.page-fishing-games__card-description {
  font-size: 0.95em;
  color: #cccccc;
  line-height: 1.6;
  padding: 0 15px;
}

.page-fishing-games__view-all-button {
  margin-top: 50px;
}

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

.page-fishing-games__step-item {
  background-color: #0d0d0d;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__step-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-fishing-games__step-item p {
  color: #f0f0f0;
  line-height: 1.7;
}

.page-fishing-games__video-section {
  background: linear-gradient(45deg, #0d0d0d, #1a1a1a);
}

.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: 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-fishing-games__btn-play {
  background-color: #FFD700;
  color: #000000;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.page-fishing-games__btn-play:hover {
  background-color: #e6c200;
}

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

.page-fishing-games__strategy-card {
  background-color: #0d0d0d;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__strategy-card .page-fishing-games__card-description {
  color: #cccccc;
  line-height: 1.6;
}

.page-fishing-games__strategy-image {
  margin-top: 50px;
}

.page-fishing-games__cta-block {
  margin-top: 50px;
  padding: 30px;
  background-color: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-block p {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 25px;
}

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

.page-fishing-games__promo-card {
  background-color: #0d0d0d;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
}

.page-fishing-games__promo-card .page-fishing-games__card-image {
  height: 200px;
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
  font-size: 1.5em;
  color: #FFD700;
}

.page-fishing-games__promo-card .page-fishing-games__card-description {
  color: #cccccc;
}

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

.page-fishing-games__feature-item {
  background-color: #0d0d0d;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-fishing-games__feature-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-fishing-games__feature-description {
  color: #cccccc;
  line-height: 1.6;
}

.page-fishing-games__why-choose-image {
  margin-top: 50px;
}

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

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

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

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

.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 20px;
  background-color: #0d0d0d;
  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; /* Ensure it expands sufficiently */
  padding: 20px;
}

.page-fishing-games__faq-answer p {
  color: #cccccc;
  line-height: 1.7;
}

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

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title::after {
  background-color: #ffffff;
}

.page-fishing-games__cta-final-section .page-fishing-games__section-subtitle {
  color: #f0f0f0;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-fishing-games__text-block, .page-fishing-games__image-block {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    min-height: 60vh;
  }
  .page-fishing-games__hero-title {
    font-size: 2.2em;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__hero-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;
    font-size: 1em;
  }
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-subtitle {
    font-size: 0.95em;
  }
  .page-fishing-games__game-grid, .page-fishing-games__guide-steps, .page-fishing-games__strategy-grid, .page-fishing-games__promo-grid, .page-fishing-games__features-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__video-section,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile video responsiveness */
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video section has proper offset */
  }
  .page-fishing-games__video-wrapper {
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    height: 0 !important;
  }
  .page-fishing-games__video-overlay {
    opacity: 1; /* Always show play button on mobile for better UX */
  }
  .page-fishing-games__btn-play {
    font-size: 1em;
    padding: 10px 20px;
  }

  /* Button responsive styles */
  .page-fishing-games__cta-button,
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
  .page-fishing-games__hero-description {
    font-size: 0.9em;
  }
}