/* style/fishing-games.css */

:root {
  --page-fishing-games-bg: #08160F;
  --page-fishing-games-card-bg: #11271B;
  --page-fishing-games-text-main: #F2FFF6;
  --page-fishing-games-text-secondary: #A7D9B8;
  --page-fishing-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-fishing-games-border: #2E7A4E;
  --page-fishing-games-glow: #57E38D;
  --page-fishing-games-gold: #F2C14E;
  --page-fishing-games-divider: #1E3A2A;
  --page-fishing-games-deep-green: #0A4B2C;
}

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

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

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

.page-fishing-games__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--page-fishing-games-text-main);
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fishing-games__paragraph {
  font-size: 1.1rem;
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  max-width: 900px;
  margin-top: -80px; /* Pull content slightly up for better visual flow */
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: var(--page-fishing-games-text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__description {
  font-size: 1.3rem;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 30px;
  font-weight: 300;
}

.page-fishing-games__cta-button {
  display: inline-block;
  background: var(--page-fishing-games-btn-gradient);
  color: var(--page-fishing-games-text-main);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-fishing-games__cta-button--large {
    padding: 20px 40px;
    font-size: 1.4rem;
}

/* Introduction Section */
.page-fishing-games__introduction {
  background-color: var(--page-fishing-games-deep-green);
  padding-top: 40px;
  padding-bottom: 40px;
}

.page-fishing-games__image-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--page-fishing-games-border);
}

/* Featured Games Section */
.page-fishing-games__featured-games {
  background-color: var(--page-fishing-games-bg);
}

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

.page-fishing-games__game-card {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  padding-bottom: 20px;
  border: 1px solid var(--page-fishing-games-divider);
  transition: transform 0.3s ease;
}

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

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

.page-fishing-games__card-title {
  font-size: 1.6rem;
  color: var(--page-fishing-games-gold);
  margin: 20px 20px 10px;
}

.page-fishing-games__card-description {
  font-size: 1rem;
  color: var(--page-fishing-games-text-secondary);
  margin: 0 20px 20px;
}

.page-fishing-games__card-button {
  display: inline-block;
  background: var(--page-fishing-games-btn-gradient);
  color: var(--page-fishing-games-text-main);
  padding: 10px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  margin-left: 20px;
  transition: all 0.3s ease;
}

.page-fishing-games__card-button:hover {
  opacity: 0.9;
}

/* How to Play Section */
.page-fishing-games__how-to-play {
  background-color: var(--page-fishing-games-deep-green);
}

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

.page-fishing-games__step-item {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid var(--page-fishing-games-divider);
}

.page-fishing-games__step-title {
  font-size: 1.4rem;
  color: var(--page-fishing-games-gold);
  margin-bottom: 15px;
}

.page-fishing-games__step-description {
  font-size: 1rem;
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 20px;
}

.page-fishing-games__step-button {
  display: inline-block;
  background: var(--page-fishing-games-btn-gradient);
  color: var(--page-fishing-games-text-main);
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.page-fishing-games__step-button:hover {
  opacity: 0.9;
}

/* Strategies Section */
.page-fishing-games__strategies {
  background-color: var(--page-fishing-games-bg);
}

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

.page-fishing-games__strategy-list li {
  background-color: var(--page-fishing-games-card-bg);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border-left: 4px solid var(--page-fishing-games-gold);
  color: var(--page-fishing-games-text-secondary);
  font-size: 1.1rem;
}

.page-fishing-games__strategy-list li strong {
  color: var(--page-fishing-games-text-main);
  font-size: 1.2rem;
}

/* Promotions Section */
.page-fishing-games__promotions {
  background-color: var(--page-fishing-games-deep-green);
}

.page-fishing-games__promotion-banner-wrapper {
  margin: 40px auto;
  max-width: 1000px;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--page-fishing-games-border);
}

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

/* FAQ Section */
.page-fishing-games__faq {
  background-color: var(--page-fishing-games-bg);
}

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

.page-fishing-games__faq-item {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-fishing-games-divider);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--page-fishing-games-text-main);
  font-weight: bold;
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 8px;
  list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-fishing-games-gold);
}

.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: 1.05rem;
  color: var(--page-fishing-games-text-secondary);
  line-height: 1.6;
}

/* Final CTA Section */
.page-fishing-games__cta-final {
  background-color: var(--page-fishing-games-deep-green);
  padding-bottom: 80px;
}

.page-fishing-games__app-download-section {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-fishing-games__app-qr-code {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--page-fishing-games-gold);
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-fishing-games__image-text-block {
    flex-direction: row;
    text-align: left;
  }

  .page-fishing-games__image-text-block .page-fishing-games__content-image {
    width: 50%;
    flex-shrink: 0;
  }

  .page-fishing-games__image-text-block .page-fishing-games__paragraph {
    text-align: left;
    max-width: none;
  }

  .page-fishing-games__hero-content {
    margin-top: -150px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 30px 0;
    padding-top: 10px !important;
  }

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

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

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

  .page-fishing-games__paragraph,
  .page-fishing-games__strategy-list li,
  .page-fishing-games__faq-answer p {
    font-size: 0.95rem;
  }

  .page-fishing-games__game-cards {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__steps {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__cta-button--large {
    font-size: 1.2rem;
  }

  .page-fishing-games__card-button,
  .page-fishing-games__step-button {
    width: auto !important; /* Allow buttons to size to content on mobile, but wrap */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  /* Mobile image and video responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__promotion-banner-wrapper,
  .page-fishing-games__image-text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-fishing-games__hero-content {
    margin-top: -40px; /* Adjust for smaller screens */
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-fishing-games__app-qr-code {
    width: 150px;
    height: 150px;
  }
}