/* style/fishing-games.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --background-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark); /* Default text color for light background */
  line-height: 1.6;
  background-color: var(--background-color); /* Ensure body background is light */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color), #66ccff);
  color: var(--text-light);
}

.page-fishing-games__hero-image {
  width: 100%;
  max-width: 1000px; /* Limit image width to prevent excessive stretching */
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
  margin-top: -80px; /* Overlap with image slightly for visual appeal */
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  padding: 30px;
  border-radius: 12px;
}

.page-fishing-games__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-fishing-games__intro-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--login-color); /* Use login color for primary CTA */
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-fishing-games__cta-button:hover {
  background: #ff8c00; /* Slightly lighter orange on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-button--small {
  padding: 10px 25px;
  font-size: 1em;
  margin-top: 20px;
}

/* General Section Styles */
.page-fishing-games__section {
  padding: 60px 0;
  background-color: var(--background-color);
}

.page-fishing-games__section:nth-of-type(even) {
  background-color: #f8f8f8;
}

.page-fishing-games__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-fishing-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-fishing-games__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-fishing-games__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-fishing-games__list-item {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 10px;
  color: var(--text-dark);
  list-style-type: disc;
  margin-left: 20px;
}

/* Game Cards Section */
.page-fishing-games__game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__card {
  background: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-fishing-games__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__card-content {
  padding: 25px;
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__card-description {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.page-fishing-games__card-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-fishing-games__card-button:hover {
  background: #1e87b7;
}

.page-fishing-games__strategy-title {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
}

.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-fishing-games__strategy-list .page-fishing-games__list-item {
  background: var(--secondary-color);
  padding: 18px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
  border-left: 5px solid var(--primary-color);
  list-style-type: none;
  margin-left: 0;
}

.page-fishing-games__strategy-list .page-fishing-games__list-item:hover {
  transform: translateX(5px);
}

/* Promotions Section */
.page-fishing-games__promotions {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-fishing-games__promotions .page-fishing-games__section-title {
  color: var(--text-light);
}

.page-fishing-games__promotions .page-fishing-games__section-title::after {
  background: var(--text-light);
}

.page-fishing-games__promotions .page-fishing-games__paragraph {
  color: var(--text-light);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-fishing-games__promo-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.page-fishing-games__promo-item:hover {
  background: rgba(255, 255, 255, 0.25);
}

.page-fishing-games__promo-title {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 15px;
}

.page-fishing-games__promo-description {
  font-size: 0.95em;
  color: var(--text-light);
}

.page-fishing-games__promo-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto 30px auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Security & Support Section */
.page-fishing-games__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__info-item {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

.page-fishing-games__info-item .page-fishing-games__sub-title {
  font-size: 1.5em;
  color: var(--primary-color);
  text-align: center;
  margin-top: 0;
  margin-bottom: 20px;
}

.page-fishing-games__info-item .page-fishing-games__paragraph {
  font-size: 1em;
  text-align: center;
}

.page-fishing-games__info-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  display: block;
  margin: 20px auto 0 auto;
  border-radius: 8px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  background-color: #f0f5f9;
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: var(--text-dark);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* Ensure content fits */
  padding: 20px !important;
  opacity: 1;
  background: var(--secondary-color);
  border-radius: 0 0 10px 10px;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-fishing-games__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none;
}

.page-fishing-games__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg); /* Change to X or rotate for active state */
  color: var(--login-color);
}

/* Conclusion Section */
.page-fishing-games__conclusion {
  text-align: center;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 0;
}

.page-fishing-games__conclusion .page-fishing-games__section-title {
  color: var(--text-light);
}

.page-fishing-games__conclusion .page-fishing-games__section-title::after {
  background: var(--text-light);
}

.page-fishing-games__conclusion .page-fishing-games__paragraph {
  color: var(--text-light);
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image {
    max-width: 800px;
  }
  .page-fishing-games__main-title {
    font-size: 2.8em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__hero-content {
    margin-top: -60px;
    padding: 20px;
  }
  .page-fishing-games__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-fishing-games__intro-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-fishing-games__cta-button {
    padding: 12px 30px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-fishing-games__sub-title {
    font-size: 1.5em;
  }
  .page-fishing-games__paragraph,
  .page-fishing-games__list-item {
    font-size: 0.95em;
  }

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

  .page-fishing-games__card-image {
    height: 200px;
  }

  .page-fishing-games__card-title {
    font-size: 1.3em;
  }

  .page-fishing-games__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-fishing-games__faq-question h3 {
    font-size: 1em;
    width: calc(100% - 40px);
  }
  
  .page-fishing-games__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 1.8em;
  }
  
  .page-fishing-games__faq-answer {
    padding: 0 15px;
  }
  
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px !important;
  }

  /* Mobile image adaptation */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__promo-image,
  .page-fishing-games__info-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
  .page-fishing-games__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-fishing-games__hero-content {
    padding: 15px;
  }
  .page-fishing-games__card-content,
  .page-fishing-games__promo-item,
  .page-fishing-games__info-item {
    padding: 20px;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 0.95em;
  }
}