/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #121212 (dark), so use light text */
}

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

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

.page-fishing-games__section-subtitle {
  font-size: 1.2rem;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
}

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

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #ffffff;
}

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

.page-fishing-games__hero-description {
  font-size: 1.4rem;
  margin-bottom: 40px;
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  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;
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background-color: #017439; /* Main color */
  color: #FFFFFF; /* Auxiliary color */
  border: 2px solid #017439;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #005a2b;
  transform: translateY(-2px);
}

/* General Section Styles */
.page-fishing-games__intro-section,
.page-fishing-games__advantages-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__security-support-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-section {
  padding: 80px 0;
}

.page-fishing-games__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter than body background for contrast */
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #2a2a2a; /* Light background for sections, still dark overall */
  color: #ffffff;
}

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

.page-fishing-games__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-fishing-games__text-block {
  flex: 1;
}

.page-fishing-games__image-content {
  flex: 1;
  border-radius: 10px;
  object-fit: cover;
  width: 100%;
  height: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #e0e0e0;
}

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

.page-fishing-games__advantage-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__advantage-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__advantage-title {
  font-size: 1.5rem;
  color: #FFFF00;
  margin-bottom: 10px;
}

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

.page-fishing-games__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__game-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__game-card-title {
  font-size: 1.8rem;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-fishing-games__game-card-description {
  font-size: 1rem;
  color: #e0e0e0;
  margin-bottom: 20px;
}

/* How To Play Section */
.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
}

.page-fishing-games__steps-list li {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-left: 5px solid #017439;
  border-radius: 5px;
  font-size: 1.1rem;
  color: #ffffff;
}

.page-fishing-games__steps-list li strong {
  color: #FFFF00;
}

.page-fishing-games__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  flex: 1;
  min-width: 200px;
  min-height: 200px; /* Video placeholder minimum size */
}

.page-fishing-games__video-wrapper .page-fishing-games__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

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

.page-fishing-games__promotion-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.page-fishing-games__promotion-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__promotion-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__promotion-card-title {
  font-size: 1.6rem;
  color: #FFFF00;
  margin-bottom: 10px;
}

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

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

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

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

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

.page-fishing-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #FFFF00;
}

.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: #e0e0e0;
  background-color: rgba(255, 255, 255, 0.03);
}

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

.page-fishing-games__faq-answer p {
  margin-bottom: 0;
  padding-bottom: 10px;
}

/* CTA Section */
.page-fishing-games__cta-section .page-fishing-games__section-title,
.page-fishing-games__cta-section .page-fishing-games__section-subtitle {
  color: #ffffff;
}

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

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

  .page-fishing-games__hero-cta-buttons,
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-fishing-games__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-fishing-games__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-fishing-games__image-content,
  .page-fishing-games__video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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

  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px 20px !important;
  }
}