/* style/fishing-games.css */

/* Base styles */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Body background from shared.css */
}

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

.page-fishing-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

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

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

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

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #017439;
}

/* Specific button styles for Register/Login */
.page-fishing-games__btn-register-login {
  background-color: #C30808; /* Red for Register/Login */
  color: #FFFF00; /* Yellow text for Register/Login */
  border: 2px solid #C30808;
}

.page-fishing-games__btn-register-login:hover {
  background-color: #a00606;
  border-color: #a00606;
}

/* Section Backgrounds */
.page-fishing-games__dark-bg {
  background-color: #1a1a2e;
  color: #ffffff;
}

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

.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__card-title,
.page-fishing-games__light-bg .page-fishing-games__feature-title {
  color: #017439;
}

.page-fishing-games__light-bg .page-fishing-games__btn-primary {
  background-color: #017439;
  color: #FFFFFF;
  border-color: #017439;
}

.page-fishing-games__light-bg .page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #017439;
  border-color: #017439;
}

.page-fishing-games__light-bg .page-fishing-games__btn-secondary:hover {
  background-color: #017439;
  color: #FFFFFF;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-fishing-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
  max-width: 900px;
  padding: 20px;
}

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

.page-fishing-games__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* Introduction Section */
.page-fishing-games__introduction-section .page-fishing-games__section-text {
  text-align: left;
}

/* Featured Games Section */
.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: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-fishing-games__card-btn {
  margin-top: auto;
  align-self: flex-end;
}

/* How to Play Section */
.page-fishing-games__instruction-list {
  list-style-type: decimal;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
  padding-left: 25px;
}

.page-fishing-games__list-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #333333;
}

.page-fishing-games__list-item strong {
  color: #017439;
}

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

.page-fishing-games__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-height: 300px; /* Ensure sufficient size for features */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-fishing-games__feature-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px auto;
  object-fit: contain;
  min-width: 200px; /* Enforce min-size for content images */
  min-height: 200px;
}

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

.page-fishing-games__feature-description {
  font-size: 1em;
}

/* Video Section */
.page-fishing-games__video-section {
  padding: 60px 0;
  background-color: #1a1a2e;
}

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

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block; /* Ensure it's treated as a block element */
  cursor: pointer;
}

.page-fishing-games__video-cta {
  margin-top: 30px;
}

/* Tips and Strategies Section */
.page-fishing-games__strategy-list {
  list-style-type: disc;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
  padding-left: 25px;
}

.page-fishing-games__strategy-list .page-fishing-games__list-item {
  color: #333333;
}

/* Promotions Section */
.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: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__cta-center {
  margin-top: 40px;
}

/* Why Choose Us Section */
.page-fishing-games__benefits-list {
  list-style-type: none;
  text-align: left;
  max-width: 900px;
  margin: 40px auto;
  padding: 0;
}

.page-fishing-games__benefits-list .page-fishing-games__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #333333;
}

.page-fishing-games__benefits-list .page-fishing-games__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #017439;
  font-weight: bold;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

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

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

.page-fishing-games__faq-question:hover {
  background-color: #005f2f;
}

.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: #ffffff;
  background-color: #1a1a2e;
}

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

.page-fishing-games__faq-answer p {
  margin-bottom: 0;
  color: #ffffff;
  text-align: left;
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-fishing-games__cta-content {
  max-width: 900px;
}

.page-fishing-games__cta-content .page-fishing-games__section-title {
  color: #017439;
}

.page-fishing-games__cta-content .page-fishing-games__section-text {
  color: #333333;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.2em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    min-height: 60vh;
    padding-top: var(--header-offset, 120px) !important; /* Re-apply for mobile */
  }
  .page-fishing-games__hero-title {
    font-size: 2.5em;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
    margin: 8px;
  }

  .page-fishing-games__section {
    padding: 40px 0;
  }

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

  .page-fishing-games__game-grid,
  .page-fishing-games__feature-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-fishing-games__instruction-list,
  .page-fishing-games__strategy-list,
  .page-fishing-games__benefits-list {
    padding-left: 20px;
    margin-left: 0;
    margin-right: 0;
  }

  .page-fishing-games__list-item {
    font-size: 0.95em;
  }

  .page-fishing-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-fishing-games__faq-answer {
    padding: 0 20px;
  }

  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important; /* Ensure images take full width of their container */
    height: auto !important;
    display: block !important;
    min-width: unset; /* Override desktop min-width */
    min-height: unset;
  }

  /* Mobile video responsiveness */
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video container mobile adaptation */
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  /* Ensure general containers also adapt */
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__game-card,
  .page-fishing-games__feature-item,
  .page-fishing-games__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button responsiveness */
  .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;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .page-fishing-games__hero-cta-buttons,
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-fishing-games__cta-buttons .page-fishing-games__btn-primary,
  .page-fishing-games__cta-buttons .page-fishing-games__btn-secondary {
    width: calc(100% - 30px) !important; /* Account for container padding */
    margin-left: 15px !important;
    margin-right: 15px !important;
  }

}

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