/* style/fishing-games.css */

/* Base styles for the page-fishing-games context */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

/* General Section Styling */
.page-fishing-games__section {
  padding: 40px 20px;
  text-align: center;
}

.page-fishing-games__content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-fishing-games__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fishing-games__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  color: #F2FFF6; /* Text Main */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: left;
}

.page-fishing-games__text-block--center {
  text-align: center;
}

.page-fishing-games__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
}

.page-fishing-games__ordered-list {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 20px;
  text-align: left;
}

.page-fishing-games__list-item {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-fishing-games__list-item strong {
  color: #F2FFF6; /* Text Main */
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px;
  background-color: #08160F;
  overflow: hidden;
}

.page-fishing-games__video-container {
  width: 100%; /* Desktop width */
  max-width: 1200px;
  margin: 0 auto 30px;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-fishing-games__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 15px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: clamp(1.1em, 2vw, 1.3em);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-card {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't overflow */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: #2AD16F; /* A lighter green from the gradient */
  border: 2px solid #2AD16F;
}

.page-fishing-games__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  transform: translateY(-2px);
}

.page-fishing-games__btn-card {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  margin-top: 15px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__btn-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-inline {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Image Styling */
.page-fishing-games__image-wrapper {
  margin: 30px auto;
  max-width: 800px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* Card Section */
.page-fishing-games__card-section {
  padding: 60px 20px;
}

.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: #11271B; /* Card BG */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-fishing-games__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  font-weight: 700;
}

.page-fishing-games__card-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 60px 20px;
}

.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-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  font-size: 1.15em;
  position: relative;
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  line-height: 1.6;
}

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

/* Divider */
.page-fishing-games__divider {
  height: 1px;
  background-color: #1E3A2A; /* Divider */
  margin: 40px auto;
  max-width: 800px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-section {
    padding: 10px 15px 40px;
  }

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

  .page-fishing-games__hero-description {
    font-size: clamp(1em, 1.8vw, 1.2em);
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
  }

  .page-fishing-games__sub-title {
    font-size: clamp(1.3em, 2.2vw, 1.6em);
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 10px 15px 30px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
  }

  .page-fishing-games__hero-description {
    font-size: clamp(0.95em, 3.5vw, 1.1em) !important;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__section,
  .page-fishing-games__content-container,
  .page-fishing-games__image-wrapper,
  .page-fishing-games__game-grid,
  .page-fishing-games__game-card,
  .page-fishing-games__faq-section,
  .page-fishing-games__faq-list,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-fishing-games__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0;
    margin-right: 0;
    padding: 0 15px;
  }

  .page-fishing-games__video,
  .page-fishing-games__image,
  .page-fishing-games__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__text-block,
  .page-fishing-games__list,
  .page-fishing-games__ordered-list {
    text-align: left;
    font-size: 1em;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.6em, 6vw, 2.2em);
  }

  .page-fishing-games__sub-title {
    font-size: clamp(1.2em, 4.5vw, 1.5em);
  }

  .page-fishing-games__card-image {
    height: auto; /* Allow auto height on mobile */
  }

  .page-fishing-games__game-grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__btn-inline {
    display: block;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}