/* style/fishing-games.css */

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

.page-fishing-games {
  background-color: var(--page-fishing-games-bg-color);
  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:nth-child(even) {
  background-color: var(--page-fishing-games-deep-green);
}

.page-fishing-games__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: var(--page-fishing-games-glow-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--page-fishing-games-text-main);
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
}

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

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over the image, but not covering text */
  background: rgba(8, 22, 15, 0.85); /* Slightly transparent dark background */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--page-fishing-games-border-color);
}

.page-fishing-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: var(--page-fishing-games-gold-color);
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: bold;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

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

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

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

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-btn-gradient);
  color: var(--page-fishing-games-text-main);
  border: 2px solid transparent;
  box-shadow: 0 5px 20px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(42, 209, 111, 0.6);
}

.page-fishing-games__btn-secondary {
  background: var(--page-fishing-games-card-bg);
  color: var(--page-fishing-games-glow-color);
  border: 2px solid var(--page-fishing-games-glow-color);
}

.page-fishing-games__btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--page-fishing-games-glow-color);
  color: var(--page-fishing-games-bg-color);
}

.page-fishing-games__btn-link {
  background: none;
  color: var(--page-fishing-games-gold-color);
  border: 2px solid var(--page-fishing-games-gold-color);
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 25px;
}

.page-fishing-games__btn-link:hover {
  background: var(--page-fishing-games-gold-color);
  color: var(--page-fishing-games-bg-color);
}

/* Card Styles */
.page-fishing-games__card {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: var(--page-fishing-games-text-main);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Features Grid */
.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-icon {
  width: 100%; /* Ensure images take full width */
  height: auto;
  max-width: 250px; /* Max size for feature icons */
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-fishing-games__feature-title {
  font-size: 1.5em;
  color: var(--page-fishing-games-gold-color);
  margin-bottom: 15px;
}

.page-fishing-games__feature-text {
  font-size: 1em;
  color: var(--page-fishing-games-text-secondary);
}

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

.page-fishing-games__game-card {
  overflow: hidden;
}

.page-fishing-games__game-thumbnail {
  width: 100%;
  height: 200px; /* Fixed height for thumbnails */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-fishing-games__game-title a {
  color: var(--page-fishing-games-glow-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__game-title a:hover {
  color: var(--page-fishing-games-gold-color);
}

.page-fishing-games__game-description {
  font-size: 0.95em;
  color: var(--page-fishing-games-text-secondary);
  min-height: 80px; /* Ensure consistent height */
}

.page-fishing-games__more-games-cta {
  margin-top: 40px;
}

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

.page-fishing-games__step-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

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

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

/* Strategy Section */
.page-fishing-games__strategy-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-fishing-games__strategy-text {
  flex: 1;
}

.page-fishing-games__strategy-subtitle {
  font-size: 1.5em;
  color: var(--page-fishing-games-glow-color);
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-fishing-games__strategy-text p,
.page-fishing-games__strategy-text ul {
  color: var(--page-fishing-games-text-main);
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-fishing-games__strategy-text ul {
  list-style-type: disc;
  padding-left: 25px;
}

.page-fishing-games__strategy-text li {
  margin-bottom: 8px;
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__strategy-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__strategy-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-fishing-games__strategy-cta {
  margin-top: 40px;
}

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

.page-fishing-games__promotion-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__promotion-thumbnail {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-fishing-games__promotion-title {
  font-size: 1.4em;
  color: var(--page-fishing-games-gold-color);
  margin-bottom: 10px;
}

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

.page-fishing-games__all-promotions-cta {
  margin-top: 40px;
}

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

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

.page-fishing-games__faq-item summary {
  display: block;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-fishing-games-text-main);
  background-color: var(--page-fishing-games-deep-green);
  border-bottom: 1px solid var(--page-fishing-games-border-color);
  position: relative;
  list-style: none;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-fishing-games__faq-qtext {
  color: var(--page-fishing-games-gold-color);
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-fishing-games-glow-color);
}

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

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--page-fishing-games-text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--page-fishing-games-divider-color);
}

/* Final CTA */
.page-fishing-games__cta-final {
  padding-bottom: 80px;
}

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

/* Responsive Design */
@media (min-width: 769px) {
  .page-fishing-games__strategy-content {
    flex-direction: row;
    align-items: center;
  }

  .page-fishing-games__strategy-text {
    padding-right: 40px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-content {
    margin-top: -50px;
    padding: 30px 15px;
  }

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

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

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

  .page-fishing-games__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  /* Images responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__strategy-image-wrapper,
  .page-fishing-games__feature-card img,
  .page-fishing-games__game-thumbnail,
  .page-fishing-games__promotion-thumbnail {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__game-thumbnail,
  .page-fishing-games__promotion-thumbnail {
    height: 150px; /* Adjust height for mobile */
  }

  /* Buttons responsive */
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 1em;
  }
  
  .page-fishing-games__hero-cta-buttons,
  .page-fishing-games__final-cta-buttons,
  .page-fishing-games__more-games-cta,
  .page-fishing-games__all-promotions-cta,
  .page-fishing-games__strategy-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px; /* Add padding to container */
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-fishing-games__container {
    padding: 0 15px;
  }

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

  .page-fishing-games__faq-item summary,
  .page-fishing-games__faq-answer {
    padding: 15px 20px;
  }

  .page-fishing-games__faq-qtext {
    font-size: 1em;
  }
  
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-fishing-games__strategy-content {
    flex-direction: column;
  }

  .page-fishing-games__strategy-text {
    padding-right: 0;
  }
}