/* style/fishing-games.css */

/* Base Styles */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.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.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__dark-bg {
  background-color: #0A192F;
  color: #ffffff;
  padding: 80px 0;
}

.page-fishing-games__light-bg {
  background-color: #f0f0f0;
  color: #333333;
  padding: 80px 0;
}

.page-fishing-games__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

.page-fishing-games__light-bg .page-fishing-games__card {
  background: #ffffff;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-fishing-games__light-bg .page-fishing-games__card-title {
  color: #0A192F;
}

.page-fishing-games__card-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-fishing-games__light-bg .page-fishing-games__card-title a {
  color: #0A192F;
}

.page-fishing-games__card-text {
  font-size: 1em;
  color: #e0e0e0;
}

.page-fishing-games__light-bg .page-fishing-games__card-text {
  color: #555555;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #FFD700;
  color: #0A192F;
  border: 2px solid #FFD700;
  margin-right: 15px;
}

.page-fishing-games__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 100px 20px;
  padding-top: var(--header-offset, 120px);
  background-color: #0A192F;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero-content {
  flex: 1;
  max-width: 600px;
  text-align: left;
  z-index: 1;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 20px;
}

.page-fishing-games__hero-image-wrapper {
  flex: 1;
  max-width: 700px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

/* Features Section */
.page-fishing-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Games Section */
.page-fishing-games__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-fishing-games__game-image,
.page-fishing-games__promo-image,
.page-fishing-games__step-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* How-to-Play Section */
.page-fishing-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Strategy Section */
.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-fishing-games__strategy-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.page-fishing-games__strategy-item strong {
  color: #FFD700;
}

/* Promotions Section */
.page-fishing-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

.page-fishing-games__faq-item {
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left; /* Override card text-align */
}

.page-fishing-games__light-bg .page-fishing-games__faq-item {
  background: #ffffff;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #FFD700;
  transition: background-color 0.3s ease;
}

.page-fishing-games__light-bg .page-fishing-games__faq-question {
  color: #0A192F;
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__light-bg .page-fishing-games__faq-question:hover {
  background-color: #f5f5f5;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #e0e0e0;
}

.page-fishing-games__light-bg .page-fishing-games__faq-answer {
  color: #555555;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 20px 30px;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* CTA Bottom Section */
.page-fishing-games__cta-bottom-section {
  text-align: center;
  padding: 80px 20px;
}

.page-fishing-games__cta-bottom-section .page-fishing-games__section-title {
  color: #0A192F;
}

.page-fishing-games__cta-bottom-section .page-fishing-games__section-description {
  color: #333333;
}

/* Image color preservation */
.page-fishing-games img {
  filter: none; /* Ensure no CSS filter changes image color */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-section {
    flex-direction: column;
    text-align: center;
    padding-top: var(--header-offset, 120px);
  }

  .page-fishing-games__hero-content {
    text-align: center;
    max-width: 100%;
  }

  .page-fishing-games__hero-title {
    font-size: 3em;
  }

  .page-fishing-games__cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section-title {
    font-size: 2em;
  }

  .page-fishing-games__hero-title {
    font-size: 2.5em;
  }

  .page-fishing-games__hero-description,
  .page-fishing-games__section-description {
    font-size: 1em;
  }

  .page-fishing-games__dark-bg,
  .page-fishing-games__light-bg {
    padding: 60px 0;
  }

  .page-fishing-games__hero-section {
    padding: 80px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-fishing-games__container,
  .page-fishing-games__hero-content,
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__features-grid,
  .page-fishing-games__games-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__strategy-list,
  .page-fishing-games__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

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

  .page-fishing-games__game-image,
  .page-fishing-games__promo-image,
  .page-fishing-games__step-image {
    height: auto;
  }

  .page-fishing-games__faq-question,
  .page-fishing-games__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}