/* style/fishing-games.css */

/* Base styles for the fishing games page */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background, #FFFFFF);
}

/* Dark section styles */
.page-fishing-games__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-fishing-games__dark-section .page-fishing-games__section-title,
.page-fishing-games__dark-section .page-fishing-games__hero-title,
.page-fishing-games__dark-section .page-fishing-games__hero-description,
.page-fishing-games__dark-section .page-fishing-games__strategy-heading,
.page-fishing-games__dark-section .page-fishing-games__strategy-text,
.page-fishing-games__dark-section .page-fishing-games__info-title,
.page-fishing-games__dark-section .page-fishing-games__info-description,
.page-fishing-games__dark-section .page-fishing-games__conclusion-text,
.page-fishing-games__dark-section .page-fishing-games__video-description {
  color: #ffffff;
}

/* Light section styles */
.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  color: #017439;
  position: relative;
  padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #C30808;
  border-radius: 2px;
}

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  min-height: 600px;
  gap: 40px;
  flex-wrap: wrap;
}

.page-fishing-games__hero-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

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

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

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

.page-fishing-games__hero-image-wrapper {
  flex: 1;
  min-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* 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-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  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: #a30606;
  transform: translateY(-2px);
}

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

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

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

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

.page-fishing-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-fishing-games__feature-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 350px;
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-10px);
}

.page-fishing-games__feature-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-fishing-games__feature-description {
  font-size: 1em;
  color: #555555;
}

/* Video Section */
.page-fishing-games__gameplay-section {
  padding: 60px 20px;
  text-align: center;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
}

.page-fishing-games__video-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 10;
  cursor: pointer;
}

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

.page-fishing-games__video-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-top: 20px;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  padding: 60px 20px;
}

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

.page-fishing-games__step-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  counter-increment: step-counter;
  position: relative;
  padding-left: 70px;
  min-height: 180px;
}

.page-fishing-games__step-item::before {
  content: "0" counter(step-counter);
  position: absolute;
  left: 20px;
  top: 30px;
  font-size: 2.5em;
  font-weight: bold;
  color: #C30808;
  opacity: 0.7;
}

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

.page-fishing-games__step-description {
  font-size: 1em;
  color: #555555;
}

/* Strategies Section */
.page-fishing-games__strategies-section {
  padding: 60px 20px;
}

.page-fishing-games__content-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.page-fishing-games__text-block {
  flex: 2;
  min-width: 300px;
}

.page-fishing-games__image-block {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__strategy-heading {
  font-size: 1.5em;
  margin-top: 25px;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-fishing-games__strategy-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

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

.page-fishing-games__promotion-card {
  display: flex;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  overflow: hidden;
  flex-wrap: wrap;
  align-items: center;
}

.page-fishing-games__promotion-card:nth-child(even) {
  flex-direction: row-reverse;
}

.page-fishing-games__promotion-image {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  height: auto;
  object-fit: cover;
}

.page-fishing-games__promotion-card:nth-child(even) .page-fishing-games__promotion-image {
  order: 2;
}

.page-fishing-games__promotion-content {
  flex: 1;
  min-width: 300px;
  padding: 30px;
  max-width: 50%;
}

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

.page-fishing-games__promotion-description {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: #555555;
}

/* Security and Support Section */
.page-fishing-games__security-support-section {
  padding: 60px 20px;
}

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

.page-fishing-games__info-block {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-fishing-games__info-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-fishing-games__info-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-fishing-games__info-description {
  font-size: 1em;
  color: #f0f0f0;
}

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

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

.page-fishing-games__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #C30808;
  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 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

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

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  padding: 60px 20px;
  text-align: center;
}

.page-fishing-games__conclusion-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-section {
    flex-direction: column;
    text-align: center;
  }

  .page-fishing-games__hero-content {
    max-width: 100%;
    margin-bottom: 40px;
  }

  .page-fishing-games__hero-image-wrapper {
    min-width: unset;
  }

  .page-fishing-games__promotion-card,
  .page-fishing-games__promotion-card:nth-child(even) {
    flex-direction: column;
  }

  .page-fishing-games__promotion-image,
  .page-fishing-games__promotion-content {
    max-width: 100%;
  }
  .page-fishing-games__promotion-card:nth-child(even) .page-fishing-games__promotion-image {
    order: unset;
  }
  .page-fishing-games__content-grid {
    flex-direction: column;
    gap: 30px;
  }
}

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

  .page-fishing-games__hero-title {
    font-size: 2.5em;
  }

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

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

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

  .page-fishing-games__features-grid,
  .page-fishing-games__steps-list,
  .page-fishing-games__info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__info-block {
    min-height: unset;
    padding: 25px;
  }

  .page-fishing-games__step-item {
    padding-left: 60px;
    min-height: unset;
  }

  .page-fishing-games__step-item::before {
    font-size: 2em;
    left: 15px;
    top: 25px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    width: 100%; /* Full width for mobile buttons */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Mobile responsive for images */
  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile responsive for video */
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile responsive for containers with images/videos */
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__gameplay-section,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__promotion-card,
  .page-fishing-games__info-block,
  .page-fishing-games__faq-item,
  .page-fishing-games__hero-buttons,
  .page-fishing-games__cta-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-fishing-games__video-wrapper {
    padding-bottom: 75% !important; /* Adjust aspect ratio for mobile if needed, e.g., 4:3 */
  }

  .page-fishing-games__promotion-image,
  .page-fishing-games__promotion-content {
    max-width: 100%;
    min-width: 100%;
    padding: 20px;
  }

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

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