/* style/fishing-games.css */

:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #071a42;
  --border-color: #e0e0e0;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-dark);
  line-height: 1.6;
}

.page-fishing-games .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-fishing-games section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-fishing-games section:nth-of-type(even) {
  background-color: var(--background-light);
}

.page-fishing-games h1,
.page-fishing-games h2,
.page-fishing-games h3,
.page-fishing-games h4 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-fishing-games h1 {
  font-size: 2.8em;
  text-align: center;
  color: var(--text-color-light);
}

.page-fishing-games h2 {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 40px;
}

.page-fishing-games h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-fishing-games h4 {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-fishing-games p {
  margin-bottom: 15px;
}

.page-fishing-games .text-center {
  text-align: center;
}

/* Links within headings and paragraphs */
.page-fishing-games .link-h1, 
.page-fishing-games .link-h2, 
.page-fishing-games .link-h3, 
.page-fishing-games .link-h4 {
  color: inherit; /* Keep the color of the parent heading */
  text-decoration: underline;
}

.page-fishing-games .link-h1:hover, 
.page-fishing-games .link-h2:hover, 
.page-fishing-games .link-h3:hover, 
.page-fishing-games .link-h4:hover {
  color: var(--secondary-color);
}

.page-fishing-games .link-p {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-fishing-games .link-p:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

/* CTA Button Styles */
.page-fishing-games .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-fishing-games .cta-button:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-fishing-games .cta-button.secondary-button {
  background: var(--primary-color);
  color: var(--text-color-light);
}

.page-fishing-games .cta-button.secondary-button:hover {
  background: #071a42; /* Slightly darker primary */
}

/* Hero Section */
.page-fishing-games .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: var(--background-dark); /* Dark background for hero */
}

.page-fishing-games .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-fishing-games .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-fishing-games .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-fishing-games .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-fishing-games .hero-content p {
  color: var(--text-color-light);
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Intro Section */
.page-fishing-games .intro-section {
  background-color: var(--background-light);
}

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

.page-fishing-games .feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-fishing-games .feature-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games .feature-item img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
  object-fit: cover;
}

.page-fishing-games .feature-item h3 {
  color: var(--primary-color);
  font-size: 1.5em;
}

/* How to Play Section */
.page-fishing-games .how-to-play-section ol.play-steps {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
}

.page-fishing-games .how-to-play-section ol.play-steps li {
  counter-increment: step-counter;
  margin-bottom: 30px;
  padding-left: 60px;
  position: relative;
}

.page-fishing-games .how-to-play-section ol.play-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-fishing-games .how-to-play-section ol.play-steps li h3 {
  color: var(--primary-color);
  margin-top: 0;
}

/* Popular Games Section */
.page-fishing-games .popular-games-section {
  background-color: var(--background-light);
}

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

.page-fishing-games .game-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-fishing-games .game-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games .game-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-fishing-games .game-card h3 {
  font-size: 1.6em;
  margin: 20px 15px 10px 15px;
  color: var(--primary-color);
}

.page-fishing-games .game-card h3 a {
  color: inherit;
  text-decoration: none;
}

.page-fishing-games .game-card h3 a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

.page-fishing-games .game-card p {
  padding: 0 15px 20px 15px;
  font-size: 0.95em;
}

/* Promotions Section */
.page-fishing-games .promotions-section .promo-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-fishing-games .promotions-section .promo-list li {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-fishing-games .promotions-section .promo-list li:hover {
  transform: translateY(-5px);
}

.page-fishing-games .promotions-section .promo-list li img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
  object-fit: cover;
}

.page-fishing-games .promotions-section .promo-list li h4 {
  color: var(--primary-color);
  font-size: 1.3em;
}

.page-fishing-games .promotions-section .promo-list li h4 a {
  color: inherit;
  text-decoration: none;
}

.page-fishing-games .promotions-section .promo-list li h4 a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

/* Safety and Support Section */
.page-fishing-games .safety-support-section {
  background-color: var(--background-light);
}

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

.page-fishing-games .support-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-fishing-games .support-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games .support-item img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
  object-fit: cover;
}

.page-fishing-games .support-item h3 {
  color: var(--primary-color);
  font-size: 1.5em;
}

/* FAQ Section */
.page-fishing-games .faq-section {
  background-color: #ffffff;
}

.page-fishing-games .faq-list {
  margin-top: 40px;
}

.page-fishing-games .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.page-fishing-games .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #fdfdfd;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-fishing-games .faq-question:hover {
  background: #f5f5f5;
}

.page-fishing-games .faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: var(--primary-color);
  flex-grow: 1;
}

.page-fishing-games .faq-question h3 a {
  color: inherit;
  text-decoration: none;
}

.page-fishing-games .faq-question h3 a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

.page-fishing-games .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.page-fishing-games .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.page-fishing-games .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: #f9f9f9;
  color: var(--text-color-dark);
}

.page-fishing-games .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px;
}

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

/* CTA Bottom Section */
.page-fishing-games .cta-bottom-section {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  text-align: center;
  padding: 80px 20px;
}

.page-fishing-games .cta-bottom-section h2 {
  color: var(--secondary-color);
  font-size: 2.5em;
  margin-bottom: 25px;
}

.page-fishing-games .cta-bottom-section h2 a {
  color: inherit;
  text-decoration: underline;
}

.page-fishing-games .cta-bottom-section h2 a:hover {
  color: var(--text-color-light);
}

.page-fishing-games .cta-bottom-section p {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-fishing-games .cta-bottom-section .small-text {
  font-size: 0.9em;
  opacity: 0.8;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-fishing-games h1 {
    font-size: 2.4em;
  }
  .page-fishing-games h2 {
    font-size: 1.8em;
  }
  .page-fishing-games h3 {
    font-size: 1.5em;
  }
  .page-fishing-games .hero-content p {
    font-size: 1em;
  }
  .page-fishing-games .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-fishing-games .features-grid,
  .page-fishing-games .game-cards-grid,
  .page-fishing-games .promo-list,
  .page-fishing-games .support-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-fishing-games section {
    padding: 40px 0;
  }
  .page-fishing-games h1 {
    font-size: 2em;
  }
  .page-fishing-games h2 {
    font-size: 1.6em;
  }
  .page-fishing-games h3 {
    font-size: 1.3em;
  }
  .page-fishing-games .hero-section {
    padding: 40px 15px;
  }
  .page-fishing-games .hero-image img {
    border-radius: 4px;
  }
  .page-fishing-games .how-to-play-section ol.play-steps li {
    padding-left: 50px;
  }
  .page-fishing-games .how-to-play-section ol.play-steps li::before {
    width: 35px;
    height: 35px;
    font-size: 1.2em;
  }
  .page-fishing-games .game-card img {
    height: 200px;
  }
  .page-fishing-games .faq-question {
    padding: 12px 15px;
  }
  .page-fishing-games .faq-question h3 {
    font-size: 1em;
  }
  .page-fishing-games .faq-toggle {
    font-size: 20px;
  }
  .page-fishing-games .faq-item.active .faq-answer {
    padding: 15px;
  }
  .page-fishing-games .cta-bottom-section h2 {
    font-size: 2em;
  }
  .page-fishing-games .cta-bottom-section p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-fishing-games h1 {
    font-size: 1.8em;
  }
  .page-fishing-games h2 {
    font-size: 1.4em;
  }
  .page-fishing-games .cta-button {
    padding: 10px 25px;
    font-size: 14px;
  }
  .page-fishing-games .features-grid,
  .page-fishing-games .game-cards-grid,
  .page-fishing-games .promo-list,
  .page-fishing-games .support-grid {
    grid-template-columns: 1fr;
  }
  .page-fishing-games .faq-question h3 {
    font-size: 0.95em;
  }
  .page-fishing-games .faq-toggle {
    font-size: 18px;
  }
  .page-fishing-games .cta-bottom-section h2 {
    font-size: 1.8em;
  }
}