/* 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: #1a1a1a; /* Inherited from body, but defined here for clarity */
}

.page-fishing-games__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

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

.page-fishing-games__section {
  padding: 60px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games a {
  color: #FFFF00;
  text-decoration: none;
}

.page-fishing-games a:hover {
  text-decoration: underline;
}

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

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
  border-color: #005f2e;
}

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  min-height: 70vh;
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  text-align: center;
}

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

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

/* Features Section */
.page-fishing-games__features-section {
  background-color: #017439;
  color: #ffffff;
}

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

.page-fishing-games__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
}

.page-fishing-games__feature-heading {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFF00;
}

/* Game Showcase */
.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 {
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-fishing-games__game-card h3 {
  font-size: 1.8em;
  margin: 15px 15px 10px;
  color: #017439;
}

.page-fishing-games__game-card p {
  margin: 0 15px 20px;
  font-size: 1em;
  flex-grow: 1;
}

.page-fishing-games__game-card .page-fishing-games__btn-secondary {
  margin: 0 15px 15px;
}

/* How to Play Section */
.page-fishing-games__how-to-play {
  background-color: #017439;
  color: #ffffff;
}

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

.page-fishing-games__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
}

.page-fishing-games__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-fishing-games__step-heading {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-fishing-games__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Tips & Strategies Section */
.page-fishing-games__tips-strategies {
  background-color: #ffffff;
  color: #333333;
}

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

.page-fishing-games__tip-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__tip-heading {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #017439;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  background-color: #017439;
  color: #ffffff;
}

.page-fishing-games__promotions-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Security Section */
.page-fishing-games__security-section {
  background-color: #ffffff;
  color: #333333;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  background-color: #017439;
  color: #ffffff;
  text-align: left;
}

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

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

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

.page-fishing-games__faq-heading {
  margin: 0;
  font-size: 1.2em;
  color: #ffffff;
}

.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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Important to ensure it expands */
  padding: 15px 25px;
}

/* CTA Section */
.page-fishing-games__cta-section {
  background-color: #ffffff;
  color: #333333;
  padding-bottom: 60px;
}

.page-fishing-games__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Image specific styles - no filter */
.page-fishing-games img {
  border-radius: 8px;
  display: block; /* Ensure proper block display for max-width */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.1em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
  }
  .page-fishing-games__hero-title {
    font-size: 2.5em;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__section {
    padding: 40px 15px;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__text-block {
    font-size: 0.95em;
  }
  
  /* Mobile image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* Ensure image containers also adapt */
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__game-card,
  .page-fishing-games__how-to-play,
  .page-fishing-games__promotions-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  /* Mobile button responsiveness */
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    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;
  }
  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
    align-items: center;
  }
  .page-fishing-games__cta-buttons .page-fishing-games__btn-primary,
  .page-fishing-games__cta-buttons .page-fishing-games__btn-secondary {
    width: calc(100% - 30px) !important; /* Account for padding */
  }

  /* Adjust FAQ padding for mobile */
  .page-fishing-games__faq-question,
  .page-fishing-games__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 2em;
  }
  .page-fishing-games__hero-description {
    font-size: 0.9em;
  }
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__step-item,
  .page-fishing-games__tip-card {
    padding: 20px;
  }
}