/* style/fishing-games.css */

/* Base styles for the page */
.page-fishing-games {
  color: var(--text-main, #F2FFF6); /* Default text color for the page */
  background-color: var(--bg, #08160F); /* Default background for the page */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-fishing-games__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__section-description {
  font-size: 1.1rem;
  color: var(--text-secondary, #A7D9B8);
  text-align: center;
  margin-bottom: 40px;
}

.page-fishing-games__text-block {
  font-size: 1rem;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
}

.page-fishing-games__inline-link {
  color: var(--glow, #57E38D);
  text-decoration: none;
}

.page-fishing-games__inline-link:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Rely on body for header offset, add small top padding */
  background-color: var(--bg, #08160F);
  overflow: hidden;
}

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

.page-fishing-games__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  z-index: 1;
  margin-top: -80px; /* Pull content slightly over the image for visual flow */
  background-color: var(--card-bg, #11271B);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border, #2E7A4E);
}

.page-fishing-games__main-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__description {
  font-size: 1.1rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button fits container */
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px var(--glow, #57E38D);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--glow, #57E38D);
  border: 2px solid var(--glow, #57E38D);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--glow, #57E38D);
  color: var(--bg, #08160F);
}

.page-fishing-games__small-btn {
  padding: 10px 20px;
  font-size: 1rem;
}

.page-fishing-games__text-center {
  text-align: center;
  margin-top: 40px;
}

/* Video Section */
.page-fishing-games__video-section {
  padding: 60px 0;
  background-color: var(--card-bg, #11271B);
  text-align: center;
  overflow: hidden;
}

.page-fishing-games__video-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 20px;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  margin-top: 30px;
}

.page-fishing-games__video-link-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 80px 0;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 80px 0;
  background-color: var(--bg, #08160F);
}

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

.page-fishing-games__feature-card {
  background-color: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid var(--border, #2E7A4E);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__feature-card img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__card-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 10px;
}

.page-fishing-games__card-text {
  font-size: 0.95rem;
  color: var(--text-secondary, #A7D9B8);
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding: 80px 0;
  background-color: var(--deep-green, #0A4B2C);
}

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

.page-fishing-games__game-card {
  background-color: var(--card-bg, #11271B);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid var(--border, #2E7A4E);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__game-card img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  display: block;
}

.page-fishing-games__game-card .page-fishing-games__card-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.page-fishing-games__game-card .page-fishing-games__card-title a {
  color: var(--gold, #F2C14E);
  text-decoration: none;
}

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

/* Tips Section */
.page-fishing-games__tips-section {
  padding: 80px 0;
  background-color: var(--bg, #08160F);
}

.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__tips-list li {
  background-color: var(--card-bg, #11271B);
  color: var(--text-main, #F2FFF6);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border, #2E7A4E);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-size: 1rem;
}

.page-fishing-games__tips-list li strong {
  color: var(--glow, #57E38D);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  background-color: var(--deep-green, #0A4B2C);
}

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

.page-fishing-games__promo-card {
  background-color: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid var(--border, #2E7A4E);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__promo-card img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--bg, #08160F);
}

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-fishing-games__faq-item {
  background-color: var(--card-bg, #11271B);
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border, #2E7A4E);
  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;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--glow, #57E38D);
  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 20px 20px;
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
}

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

/* Call to Action Section */
.page-fishing-games__cta-section {
  padding: 80px 0;
  background-color: var(--deep-green, #0A4B2C);
  text-align: center;
}

/* Dark background text color */
.page-fishing-games__dark-section .page-fishing-games__section-title,
.page-fishing-games__dark-section .page-fishing-games__section-description,
.page-fishing-games__dark-section .page-fishing-games__text-block {
  color: var(--text-main, #F2FFF6);
}

.page-fishing-games__dark-section .page-fishing-games__inline-link {
  color: var(--gold, #F2C14E);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
  }
  .page-fishing-games__section-title {
    font-size: 2rem;
  }
}

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

  .page-fishing-games__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-fishing-games__hero-content {
    margin-top: -40px;
    padding: 25px 15px;
  }

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

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

  .page-fishing-games__cta-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: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__section-title {
    font-size: 1.8rem;
    padding: 0 15px;
  }

  .page-fishing-games__section-description {
    font-size: 1rem;
    padding: 0 15px;
  }

  /* Mobile responsive for images */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile responsive for video */
  .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,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__container,
  .page-fishing-games__features-grid,
  .page-fishing-games__games-grid,
  .page-fishing-games__promotions-grid,
  .page-fishing-games__faq-list,
  .page-fishing-games__tips-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important; /* Small top padding for video section */
    padding-bottom: 40px !important;
  }

  .page-fishing-games__video-wrapper {
    margin-top: 20px;
  }

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

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

  .page-fishing-games__faq-answer {
    padding: 0 15px 15px;
    font-size: 0.95rem;
  }

  .page-fishing-games__tips-list li {
    padding: 15px;
    font-size: 0.95rem;
  }
}