/* style/fishing-games.css */
/* 
  Body background color: #08160F (from custom color palette)
  Text Main: #F2FFF6
  Text Secondary: #A7D9B8
  Card BG: #11271B
  Button: linear-gradient(180deg, #2AD16F 0%, #13994A 100%)
  Border: #2E7A4E
*/

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Default text color for dark background */
  background-color: #08160F; /* Ensure body BG color is used */
  line-height: 1.6;
  padding-top: 10px; /* Small top padding for the first section, body handles --header-offset */
}

/* Base container for content */
.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Sections */
.page-fishing-games__hero-section,
.page-fishing-games__video-section,
.page-fishing-games__content-section {
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden; /* Ensure no overflow */
}

.page-fishing-games__hero-section {
  padding-top: 10px; /* Small top padding for the first section */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Adjust as needed */
    margin-bottom: 30px;
    box-sizing: border-box;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem); /* Use clamp for H1 */
  color: #F2FFF6;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.7); /* Glow color */
}

.page-fishing-games__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #A7D9B8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.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.1rem;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't overflow */
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
  opacity: 0.9;
}

.page-fishing-games__btn-secondary {
  background: none;
  color: #2AD16F;
  border: 2px solid #2AD16F;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  transform: translateY(-3px);
  background-color: rgba(34, 199, 104, 0.1);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.4);
}

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

.page-fishing-games__video-section {
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding */
}

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

.page-fishing-games__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1; /* Ensure link is clickable */
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer; /* Indicate it's clickable */
}

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #F2FFF6;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__section-description {
  font-size: 1.1rem;
  color: #A7D9B8;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-fishing-games__text-block {
  font-size: 1rem;
  color: #F2FFF6;
  margin-bottom: 20px;
  text-align: left;
}

.page-fishing-games__highlight {
  color: #2AD16F;
  font-weight: bold;
}

.page-fishing-games__dark-section {
  background-color: #11271B; /* Card BG color for dark sections */
  color: #F2FFF6;
}

.page-fishing-games__dark-section .page-fishing-games__text-block {
  color: #F2FFF6;
}

.page-fishing-games__dark-section .page-fishing-games__section-description {
    color: #A7D9B8;
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
    color: #F2FFF6;
}

/* Feature Grid */
.page-fishing-games__features-grid,
.page-fishing-games__strategy-grid,
.page-fishing-games__item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__feature-card,
.page-fishing-games__strategy-card,
.page-fishing-games__item-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 15px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__feature-icon,
.page-fishing-games__strategy-img,
.page-fishing-games__item-img {
  width: 100%; /* Ensure images fill card width */
  height: auto;
  max-height: 200px; /* Limit height to prevent overly tall images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__item-card .page-fishing-games__item-img {
    max-width: 250px; /* Example: smaller max-width for item images */
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__feature-title,
.page-fishing-games__strategy-title,
.page-fishing-games__item-title {
  font-size: 1.4rem;
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__feature-description,
.page-fishing-games__strategy-description,
.page-fishing-games__item-description {
  font-size: 1rem;
  color: #A7D9B8;
}

/* List styles */
.page-fishing-games__feature-list,
.page-fishing-games__promo-list,
.page-fishing-games__safety-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-fishing-games__list-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-fishing-games__list-item:hover {
  transform: translateY(-3px);
}

.page-fishing-games__list-title {
  font-size: 1.3rem;
  color: #F2FFF6;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__list-description {
  font-size: 1rem;
  color: #A7D9B8;
}

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

.page-fishing-games__guide-step {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__step-title {
  font-size: 1.5rem;
  color: #2AD16F;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__step-description {
  font-size: 1rem;
  color: #A7D9B8;
  margin-bottom: 20px;
  flex-grow: 1; /* Push button to bottom */
}

/* Download section */
.page-fishing-games__download-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-fishing-games__download-note {
  font-size: 0.9rem;
  color: #A7D9B8;
  margin-top: 30px;
}

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

.page-fishing-games__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  color: #F2FFF6;
  font-weight: bold;
  cursor: pointer;
  background-color: #11271B;
  transition: background-color 0.3s ease;
  list-style: none; /* Hide default marker for summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Webkit browsers */
}

.page-fishing-games__faq-question:hover {
  background-color: #1a3025;
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8;
  text-align: left;
}

/* Conclusion */
.page-fishing-games__conclusion {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Links */
.page-fishing-games a {
  color: #2AD16F;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games a:hover {
  color: #57E38D;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games__hero-section,
  .page-fishing-games__video-section,
  .page-fishing-games__content-section {
    padding: 40px 0;
  }

  .page-fishing-games__hero-content {
      padding: 0 15px;
  }

  .page-fishing-games__main-title {
    font-size: 2.2rem;
  }

  .page-fishing-games__subtitle {
    font-size: 1rem;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  /* Image responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video responsive */
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px; /* Add padding to video wrapper */
    padding-bottom: calc(56.25% + 30px); /* Adjust padding-bottom for aspect ratio + padding */
    margin: 30px auto 0;
    overflow: hidden !important;
  }

  .page-fishing-games__video-link {
    width: calc(100% - 30px); /* Adjust for padding */
    left: 15px;
  }

  .page-fishing-games__video {
    width: 100% !important;
    height: 100% !important;
  }

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

  .page-fishing-games__section-description,
  .page-fishing-games__text-block,
  .page-fishing-games__feature-description,
  .page-fishing-games__strategy-description,
  .page-fishing-games__item-description,
  .page-fishing-games__list-description,
  .page-fishing-games__step-description,
  .page-fishing-games__faq-answer p {
    font-size: 0.95rem;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__strategy-grid,
  .page-fishing-games__item-grid,
  .page-fishing-games__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__strategy-card,
  .page-fishing-games__item-card,
  .page-fishing-games__list-item,
  .page-fishing-games__guide-step,
  .page-fishing-games__faq-item {
    padding: 20px;
  }

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

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