/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Page background */
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-fishing-games__section-subtitle {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

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

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__section-subtitle,
.page-fishing-games__dark-bg p,
.page-fishing-games__dark-bg li,
.page-fishing-games__dark-bg h3 {
  color: #ffffff;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}

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

.page-fishing-games__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

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

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Register and Login font color for emphasis */
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #ffffff;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-register,
.page-fishing-games__btn-login,
.page-fishing-games__card-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-fishing-games__btn-register {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-fishing-games__btn-register:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-fishing-games__btn-login {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-fishing-games__btn-login:hover {
  background-color: #a30606;
  border-color: #a30606;
}

/* Introduction Section */
.page-fishing-games__introduction-section {
  padding: 60px 0;
}

.page-fishing-games__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-fishing-games__text-block {
  flex: 1;
  line-height: 1.8;
  font-size: 1.05em;
}

.page-fishing-games__text-block p {
  margin-bottom: 15px;
}

.page-fishing-games__image-content {
  flex-shrink: 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
}

/* Featured Games Section */
.page-fishing-games__featured-games-section {
  padding: 60px 0;
}

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

.page-fishing-games__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-fishing-games__game-card .page-fishing-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-fishing-games__game-card .page-fishing-games__card-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__game-card .page-fishing-games__card-description {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

.page-fishing-games__game-card .page-fishing-games__card-button {
  margin: 0 auto;
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-fishing-games__game-card .page-fishing-games__card-button:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 60px 0;
}

.page-fishing-games__guide-item {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__guide-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
}

.page-fishing-games__guide-item p {
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-fishing-games__button-group {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 60px 0;
}

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
  font-size: 1.8em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-fishing-games__promo-card .page-fishing-games__card-description {
  font-size: 0.95em;
  line-height: 1.6;
  flex-grow: 1;
}

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

.page-fishing-games__cta-center .page-fishing-games__image-content {
  margin-bottom: 30px;
  max-width: 100%;
  height: auto;
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
  padding: 60px 0;
}

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

.page-fishing-games__feature-list li {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-fishing-games__feature-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
}

.page-fishing-games__feature-list li p {
  line-height: 1.7;
  font-size: 0.95em;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 60px 0;
}

.page-fishing-games__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

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

.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;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px;
}

.page-fishing-games__faq-answer p {
  line-height: 1.7;
  font-size: 0.95em;
  margin-bottom: 0;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  padding: 60px 0;
}

.page-fishing-games__conclusion-section .page-fishing-games__section-title {
  color: #017439;
}

.page-fishing-games__conclusion-section .page-fishing-games__section-subtitle {
  color: #555555;
}

/* Responsive Styles */
@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;
  }
  .page-fishing-games__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-fishing-games__text-block {
    order: 2;
  }
  .page-fishing-games__image-content {
    order: 1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    min-height: 500px;
  }
  .page-fishing-games__hero-title {
    font-size: 2.2em;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-register,
  .page-fishing-games__btn-login,
  .page-fishing-games__card-button {
    width: 100%;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__button-group {
    flex-direction: column;
    gap: 10px;
  }

  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-subtitle {
    font-size: 0.95em;
  }

  /* Image responsive rules */
  .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__content-wrapper,
  .page-fishing-games__game-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__feature-list,
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile for first section */
  }

  /* Ensure content area images are at least 200px and don't overflow */
  .page-fishing-games__introduction-section .page-fishing-games__image-content,
  .page-fishing-games__promotions-section .page-fishing-games__image-content,
  .page-fishing-games__conclusion-section .page-fishing-games__image-content {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Card images */
  .page-fishing-games__game-card .page-fishing-games__card-image {
    height: 180px;
  }

  .page-fishing-games__promo-card .page-fishing-games__card-title {
    font-size: 1.5em;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8em;
  }
  .page-fishing-games__hero-description {
    font-size: 0.9em;
  }
  .page-fishing-games__hero-section {
    min-height: 400px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-register,
  .page-fishing-games__btn-login,
  .page-fishing-games__card-button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
  .page-fishing-games__section-subtitle {
    font-size: 0.85em;
  }
  .page-fishing-games__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 10px 20px;
  }
}