/* style/fishing-games.css */

/* Custom Colors from provided palette */
:root {
  --bl55-green-main: #11A84E;
  --bl55-green-accent: #22C768;
  --bl55-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --bl55-card-bg: #11271B;
  --bl55-background: #08160F;
  --bl55-text-main: #F2FFF6;
  --bl55-text-secondary: #A7D9B8;
  --bl55-border: #2E7A4E;
  --bl55-glow: #57E38D;
  --bl55-gold: #F2C14E;
  --bl55-divider: #1E3A2A;
  --bl55-deep-green: #0A4B2C;
}

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

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

.page-fishing-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__dark-bg {
  background-color: var(--bl55-background);
  color: var(--bl55-text-main);
}

.page-fishing-games__light-bg {
  background-color: #f8f9fa;
  color: #333333;
}

.page-fishing-games__section-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--bl55-gold);
  line-height: 1.2;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--bl55-text-secondary);
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles padding-top, only small decorative padding here */
  text-align: center;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Only for darkening, not color change */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -150px; /* Pull content up over image for visual appeal, but not overlapping text */
  background-color: rgba(8, 22, 15, 0.85); /* Slightly transparent background for readability */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive font size */
  font-weight: 900;
  color: var(--bl55-gold);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  color: var(--bl55-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-fishing-games__btn-primary {
  background: var(--bl55-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--bl55-gold);
  border: 2px solid var(--bl55-gold);
}

.page-fishing-games__btn-secondary:hover {
  transform: translateY(-3px);
  background: rgba(242, 193, 78, 0.1);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Card Styles */
.page-fishing-games__card {
  background-color: var(--bl55-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: var(--bl55-text-main);
  border: 1px solid var(--bl55-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__card .page-fishing-games__btn-primary,
.page-fishing-games__card .page-fishing-games__btn-secondary {
  margin-top: 20px;
  align-self: flex-start;
}

/* Why Choose Section */
.page-fishing-games__why-choose .page-fishing-games__section-description {
  color: #555555;
}

.page-fishing-games__why-choose .page-fishing-games__section-title {
  color: var(--bl55-deep-green);
}

.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-item {
  text-align: center;
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--bl55-green-main);
}

.page-fishing-games__feature-item p {
  color: #555555;
}

/* Popular Games Section */
.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 {
  text-align: center;
  padding: 0;
  overflow: hidden;
  background-color: var(--bl55-card-bg);
  color: var(--bl55-text-main);
}

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

.page-fishing-games__game-card h3,
.page-fishing-games__game-card p {
  padding: 0 20px;
}

.page-fishing-games__game-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--bl55-gold);
}

.page-fishing-games__game-text {
  font-size: 1em;
  color: var(--bl55-text-secondary);
  margin-bottom: 20px;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
  width: calc(100% - 40px);
  margin: 0 20px 20px 20px;
}

/* How to Play Section */
.page-fishing-games__how-to-play .page-fishing-games__section-description {
  color: #555555;
}

.page-fishing-games__how-to-play .page-fishing-games__section-title {
  color: var(--bl55-deep-green);
}

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

.page-fishing-games__step-item {
  text-align: center;
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bl55-green-main);
  color: #ffffff;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-fishing-games__step-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--bl55-green-main);
}

.page-fishing-games__step-item p {
  color: #555555;
}

.page-fishing-games__step-item .page-fishing-games__btn-primary,
.page-fishing-games__step-item .page-fishing-games__btn-secondary {
  width: auto;
  padding: 10px 20px;
  margin: 20px auto 0 auto;
}

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

.page-fishing-games__promotion-card {
  text-align: center;
  padding: 0;
  overflow: hidden;
  background-color: var(--bl55-card-bg);
  color: var(--bl55-text-main);
}

.page-fishing-games__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__promotion-card h3,
.page-fishing-games__promotion-card p {
  padding: 0 20px;
}

.page-fishing-games__promotion-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--bl55-gold);
}

.page-fishing-games__promotion-text {
  font-size: 1em;
  color: var(--bl55-text-secondary);
  margin-bottom: 20px;
}

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

/* Tips & Strategies Section */
.page-fishing-games__tips-strategies .page-fishing-games__section-description {
  color: #555555;
}

.page-fishing-games__tips-strategies .page-fishing-games__section-title {
  color: var(--bl55-deep-green);
}

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

.page-fishing-games__tip-item {
  text-align: left;
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__tip-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--bl55-green-main);
}

.page-fishing-games__tip-item p {
  color: #555555;
}

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

.page-fishing-games__security-item {
  background-color: var(--bl55-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--bl55-text-main);
  border: 1px solid var(--bl55-border);
}

.page-fishing-games__security-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__security-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--bl55-gold);
}

.page-fishing-games__security-item p {
  color: var(--bl55-text-secondary);
}

/* FAQ Section */
.page-fishing-games__faq .page-fishing-games__section-description {
  color: #555555;
}

.page-fishing-games__faq .page-fishing-games__section-title {
  color: var(--bl55-deep-green);
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  background-color: #ffffff;
  color: #333333;
  border-radius: 8px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #f5f5f5;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  color: #333333;
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: #e0e0e0;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
}

.page-fishing-games__faq-answer {
  padding: 0 25px 15px 25px;
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: #e0e0e0;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: '−';
}

details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* CTA Section */
.page-fishing-games__cta-section {
  padding: 80px 0;
  background-color: var(--bl55-deep-green);
}

.page-fishing-games__cta-section .page-fishing-games__section-title {
  color: var(--bl55-gold);
}

.page-fishing-games__cta-section .page-fishing-games__section-description {
  color: var(--bl55-text-main);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(2.2em, 4.5vw, 3.5em);
  }
}

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

  .page-fishing-games__section {
    padding: 40px 0;
  }

  .page-fishing-games__section-title {
    font-size: 2em;
  }

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

  .page-fishing-games__hero-content {
    margin-top: -100px;
    padding: 30px 15px;
  }

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

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

  .page-fishing-games__hero-buttons,
  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__game-card,
  .page-fishing-games__promotion-card,
  .page-fishing-games__step-item,
  .page-fishing-games__tip-item,
  .page-fishing-games__security-item,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__hero-image,
  .page-fishing-games__game-image,
  .page-fishing-games__promotion-image,
  .page-fishing-games__security-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__game-grid,
  .page-fishing-games__promotion-grid,
  .page-fishing-games__features-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__tips-list,
  .page-fishing-games__security-features,
  .page-fishing-games__faq-list {
    overflow: hidden !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

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

  .page-fishing-games__faq-answer {
    padding: 0 20px 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__hero-content {
    margin-top: -80px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.6em, 8vw, 2.2em);
  }
}