/* style/fishing-games.css */

/* Base styles for the fishing games page */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Body background is dark */
}

.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.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.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;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
  background: #e0f2f7;
  color: #1e87b6;
  border-color: #1e87b6;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  box-sizing: border-box;
}

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

.page-fishing-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

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

.page-fishing-games__hero-title {
  font-size: 3.8em;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

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

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 80px 0;
  background: #ffffff;
  color: #333333;
}

.page-fishing-games__intro-section .page-fishing-games__section-title {
  color: #26A9E0;
}

.page-fishing-games__intro-section .page-fishing-games__text-block {
  color: #333333;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Advantages Section */
.page-fishing-games__advantages-section {
  padding: 80px 0;
  background: #26A9E0;
  color: #ffffff;
}

.page-fishing-games__advantages-section .page-fishing-games__section-title {
  color: #FFFFFF;
}

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

.page-fishing-games__card {
  background: #ffffff;
  color: #333333;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 450px; /* Ensure cards have similar height */
}

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

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

.page-fishing-games__card-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* Video Section */
.page-fishing-games__video-section {
  padding: 80px 0;
  background: #0d0d0d;
  color: #ffffff;
}

.page-fishing-games__video-section .page-fishing-games__section-title {
  color: #FFFFFF;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

/* Game List Section */
.page-fishing-games__game-list-section {
  padding: 80px 0;
  background: #ffffff;
  color: #333333;
}

.page-fishing-games__game-list-section .page-fishing-games__section-title {
  color: #26A9E0;
}

.page-fishing-games__game-list-section .page-fishing-games__text-block {
  color: #333333;
}

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

.page-fishing-games__game-item {
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 400px; /* Ensure cards have similar height */
}

.page-fishing-games__game-thumbnail {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 150px;
}

.page-fishing-games__game-name {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__game-description {
  font-size: 0.95em;
  color: #555555;
  flex-grow: 1;
}

.page-fishing-games__btn-play {
  margin-top: 20px;
  background: #EA7C07; /* Login color for play button */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.page-fishing-games__btn-play:hover {
  background: #c26505;
}

/* How-to-Play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 0;
  background: #0d0d0d;
  color: #ffffff;
}

.page-fishing-games__how-to-play-section .page-fishing-games__section-title {
  color: #FFFFFF;
}

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

.page-fishing-games__step-item {
  background: #ffffff;
  color: #333333;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 300px;
}

.page-fishing-games__step-number {
  background: #26A9E0;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-fishing-games__step-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* Tips Section */
.page-fishing-games__tips-section {
  padding: 80px 0;
  background: #ffffff;
  color: #333333;
}

.page-fishing-games__tips-section .page-fishing-games__section-title {
  color: #26A9E0;
}

.page-fishing-games__tips-section .page-fishing-games__text-block {
  color: #333333;
}

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

.page-fishing-games__tip-item {
  background: #f9f9f9;
  border-left: 5px solid #26A9E0;
  border-radius: 0 12px 12px 0;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__tip-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

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

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  background: #0d0d0d;
  color: #ffffff;
}

.page-fishing-games__promotions-section .page-fishing-games__section-title {
  color: #FFFFFF;
}

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

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

.page-fishing-games__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  min-height: 200px;
}

.page-fishing-games__promo-card h3,
.page-fishing-games__promo-card p,
.page-fishing-games__promo-card a {
  padding: 0 25px;
}

.page-fishing-games__promo-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__promo-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background: #ffffff;
  color: #333333;
}

.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: #26A9E0;
}

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

.page-fishing-games__faq-item {
  background: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  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;
  color: #333333;
  cursor: pointer;
  background: #eef7fc;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.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: #555555;
}

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

.page-fishing-games__faq-answer p {
  margin-bottom: 10px;
  font-size: 1em;
  color: #555555;
}

/* CTA Section */
.page-fishing-games__cta-section {
  padding: 80px 0;
  background: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-fishing-games__cta-section .page-fishing-games__section-title {
  color: #FFFFFF;
}

.page-fishing-games__cta-section .page-fishing-games__text-block {
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

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

  /* Hero Section */
  .page-fishing-games__hero-section {
    height: auto;
    min-height: 600px;
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 60px;
  }

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

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

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

  /* General Section Padding */
  .page-fishing-games__intro-section,
  .page-fishing-games__advantages-section,
  .page-fishing-games__video-section,
  .page-fishing-games__game-list-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 60px 0;
  }

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

  .page-fishing-games__text-block {
    font-size: 1em;
  }

  /* Images, Videos, Buttons Responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-fishing-games__cta-button,
  .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-wrap: wrap !important;
    gap: 10px;
  }

  .page-fishing-games__promo-card h3,
  .page-fishing-games__promo-card p,
  .page-fishing-games__promo-card a {
    padding: 0 15px;
  }

  /* Card and List items */
  .page-fishing-games__card,
  .page-fishing-games__game-item,
  .page-fishing-games__step-item,
  .page-fishing-games__tip-item,
  .page-fishing-games__promo-card {
    padding: 20px;
    margin-bottom: 20px;
    min-height: auto; /* Allow height to adjust */
  }

  .page-fishing-games__card-image,
  .page-fishing-games__game-thumbnail,
  .page-fishing-games__promo-image {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .page-fishing-games__promo-image {
    height: 180px;
  }

  .page-fishing-games__faq-question {
    font-size: 1.1em;
    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;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
  .page-fishing-games__card-title,
  .page-fishing-games__game-name,
  .page-fishing-games__step-title,
  .page-fishing-games__tip-title,
  .page-fishing-games__promo-title {
    font-size: 1.4em;
  }
  .page-fishing-games__hero-buttons {
    flex-direction: column;
  }
}