/* style/fishing-games.css */

/* Base Styles for page-fishing-games */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Inherited from shared.css, set for context */
}

.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: #017439; /* Brand primary color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-fishing-games__section-title--white {
  color: #ffffff;
}

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

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 60px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

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

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #017439; /* Brand primary color */
  border: 2px solid #017439;
}

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

.page-fishing-games__btn-primary--small,
.page-fishing-games__btn-secondary--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-fishing-games__btn-primary--large {
  padding: 15px 35px;
  font-size: 1.2em;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  padding: var(--header-offset, 120px) 0 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 600px;
}

.page-fishing-games__hero-section .page-fishing-games__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.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__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

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

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

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

.page-fishing-games__introduction-section .page-fishing-games__container {
  text-align: center;
}

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

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

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

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

.page-fishing-games__image-block .page-fishing-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Video Section */
.page-fishing-games__video-section {
  padding: 80px 0;
  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;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  max-width: 100%;
  object-fit: cover;
}

/* Game Types Section */
.page-fishing-games__game-types-section {
  padding: 80px 0;
}

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

.page-fishing-games__game-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #333333;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
}

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

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

.page-fishing-games__game-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  color: #555555;
}

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

.page-fishing-games__guide-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.page-fishing-games__guide-block {
  flex: 1;
  min-width: 300px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__guide-subtitle {
  font-size: 1.8em;
  color: #ffffff;
  margin-bottom: 25px;
  text-align: center;
}

.page-fishing-games__ordered-list,
.page-fishing-games__unordered-list {
  list-style-position: inside;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-fishing-games__ordered-list li,
.page-fishing-games__unordered-list li {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-fishing-games__ordered-list li strong,
.page-fishing-games__unordered-list li strong {
  color: #FFFF00;
}

.page-fishing-games__guide-block p {
  color: #f0f0f0;
  margin-top: 20px;
}

.page-fishing-games__image-area {
  text-align: center;
  margin-top: 60px;
}

.page-fishing-games__image-area .page-fishing-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-fishing-games__promotion-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 30px;
  color: #333333;
}

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

.page-fishing-games__promotion-text {
  font-size: 1em;
  color: #555555;
}

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

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

/* Features Section */
.page-fishing-games__features-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-fishing-games__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  padding: 30px;
  color: #ffffff;
}

.page-fishing-games__feature-icon {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-fishing-games__feature-text {
  font-size: 0.95em;
  margin-bottom: 20px;
}

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

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

.page-fishing-games__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background-color: #017439;
  color: #ffffff;
  font-weight: bold;
  border-bottom: 1px solid #005a2e;
}

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

.page-fishing-games__faq-title {
  font-size: 1.1em;
  margin: 0;
  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;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 20px;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  color: #333333;
}

/* CTA Section */
.page-fishing-games__cta-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

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

.page-fishing-games__cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

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

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

  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    min-height: auto;
  }

  .page-fishing-games__hero-section .page-fishing-games__container {
    flex-direction: column;
    text-align: center;
  }

  .page-fishing-games__hero-content {
    max-width: 100%;
    text-align: center;
  }

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

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

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .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__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

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

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

  .page-fishing-games__text-block,
  .page-fishing-games__image-block {
    min-width: unset;
    width: 100%;
  }

  .page-fishing-games__game-grid,
  .page-fishing-games__promotion-grid,
  .page-fishing-games__feature-grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__guide-content {
    flex-direction: column;
  }

  .page-fishing-games__guide-block {
    min-width: unset;
    width: 100%;
  }

  .page-fishing-games__video-wrapper {
    margin-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .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__faq-question {
    padding: 12px 15px;
  }

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

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

  .page-fishing-games__cta-section {
    padding: 60px 0;
  }
}