/* 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: #121212; /* Inherited from body, but ensure consistency */
}

.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; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-fishing-games__btn-primary {
  display: inline-block;
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary:hover {
  background-color: #1a8cc4;
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  display: inline-block;
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

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

.page-fishing-games__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

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

/* Section specific styles */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: var(--header-offset, 120px) 20px 60px; /* Adjust for fixed header */
  text-align: center;
  overflow: hidden;
  flex-direction: column;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background for text readability */
  border-radius: 10px;
  margin-bottom: 30px;
}

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

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

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

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-fishing-games__intro-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__intro-section {
  background-color: #ffffff;
}

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

.page-fishing-games__features-section,
.page-fishing-games__strategy-section,
.page-fishing-games__security-section,
.page-fishing-games__call-to-action {
  padding: 80px 0;
  color: #ffffff; /* Light text for dark background */
}

.page-fishing-games__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
}

.page-fishing-games__light-bg {
  background-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: 40px auto;
  border-radius: 10px;
}

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

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

.page-fishing-games__feature-card,
.page-fishing-games__strategy-card,
.page-fishing-games__promo-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark sections */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-fishing-games__light-bg .page-fishing-games__feature-card,
.page-fishing-games__light-bg .page-fishing-games__strategy-card,
.page-fishing-games__light-bg .page-fishing-games__promo-card {
  background: #f8f8f8;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__feature-card:hover,
.page-fishing-games__strategy-card:hover,
.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__feature-image,
.page-fishing-games__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-fishing-games__light-bg .page-fishing-games__card-title {
  color: #26A9E0;
}

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

.page-fishing-games__light-bg .page-fishing-games__card-description {
  color: #555555;
}

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

.page-fishing-games__step-item {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
}

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

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

.page-fishing-games__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-fishing-games__security-image {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__security-text {
  flex: 1;
  min-width: 300px;
}

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

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

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

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

.page-fishing-games__faq-question h3 {
  margin: 0;
  color: #26A9E0;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  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;
  color: #555555; /* Answer text color */
}

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

.page-fishing-games__call-to-action {
  padding: 100px 0;
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
}

.page-fishing-games__call-to-action .page-fishing-games__section-title {
  color: #ffffff;
}

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

/* Responsive styles */
@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;
  }
  .page-fishing-games__security-content {
    flex-direction: column;
    text-align: center;
  }
  .page-fishing-games__security-text {
    order: 2;
  }
  .page-fishing-games__security-image {
    order: 1;
  }
}

@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; /* Ensure header offset on mobile */
    min-height: 60vh;
  }

  .page-fishing-games__hero-content {
    padding: 15px;
  }

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

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

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

  .page-fishing-games__features-grid,
  .page-fishing-games__strategy-grid,
  .page-fishing-games__promo-cards,
  .page-fishing-games__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__strategy-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__step-item,
  .page-fishing-games__faq-item {
    padding: 20px;
  }

  /* Mobile responsive for all images */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce min-size for content images */
    min-height: 200px !important;
  }

  /* Mobile responsive for all image containers */
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__feature-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__security-content,
  .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Mobile responsive for all video elements */
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile responsive for all video containers */
  .page-fishing-games__video-wrapper,
  .page-fishing-games__video-section,
  .page-fishing-games__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile responsive for all buttons */
  .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;
  }
  
  /* Button containers mobile adaptation */
  .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; /* Allow buttons to wrap */
    gap: 10px;
  }

  .page-fishing-games__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__faq-question,
  .page-fishing-games__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__call-to-action {
    padding: 60px 15px;
  }

  .page-fishing-games__intro-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__features-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__security-section {
    padding: 60px 0;
  }
}