/* style/fishing-games.css */

/* Base styles for the fishing-games page */
.page-fishing-games {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: var(--black-color); /* Inherit from shared.css, implies dark background */
}

.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.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
}

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

.page-fishing-games__dark-bg {
  background-color: var(--black-color);
  color: #ffffff;
}

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

.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__section-description {
  color: #333333;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

/* Specific button for Login/Register if needed, using custom color */
.page-fishing-games__btn-login {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-fishing-games__btn-login:hover {
  background-color: #c96806;
  border-color: #c96806;
}

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

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

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

.page-fishing-games__hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translateX(-50%) translateY(-50%);
  background-size: cover;
}

.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.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

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

.page-fishing-games__feature-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-fishing-games__feature-item .page-fishing-games__feature-title {
  color: #26A9E0;
  font-size: 1.5em;
  margin: 15px 0 10px;
}

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

.page-fishing-games__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

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

.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.1);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__game-card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

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

.page-fishing-games__game-card-text {
  font-size: 1em;
  color: #e0e0e0;
}

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

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

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

.page-fishing-games__step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background-color: #26A9E0;
  color: #ffffff;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

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

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

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

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

.page-fishing-games__strategy-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-fishing-games__strategy-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

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

.page-fishing-games__strategy-text {
  font-size: 1em;
  color: #e0e0e0;
}

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

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

.page-fishing-games__promo-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #333333;
  text-align: center;
}

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

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

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

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

.page-fishing-games__download-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-fishing-games__download-subtitle {
  font-size: 1.8em;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-fishing-games__download-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-fishing-games__download-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%2326A9E0" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-fishing-games__download-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-fishing-games__download-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

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

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

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

.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: #26A9E0;
  cursor: pointer;
  background-color: #eaf6fa; /* Lighter background for question */
  border-bottom: 1px solid #d0e8f2;
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: 1px solid transparent;
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  background-color: #ffffff;
}

/* For details tag, hide default marker */
.page-fishing-games__faq-item summary {
  list-style: none;
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none;
}

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

.page-fishing-games__text-center {
  text-align: center;
}

/* Global image sizing for content area - enforce minimums */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    min-height: 500px;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }

  .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__section-description {
    font-size: 0.95em;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-login,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__info-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promo-section,
  .page-fishing-games__download-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 40px 0;
  }

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

  .page-fishing-games__download-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-fishing-games__download-image,
  .page-fishing-games__download-text {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Ensure all images are responsive and do not overflow */
  .page-fishing-games img {
    max-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 video,
  .page-fishing-games__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Content area image size enforcement */
  .page-fishing-games__feature-image,
  .page-fishing-games__game-card-image,
  .page-fishing-games__strategy-image,
  .page-fishing-games__download-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

/* Tablet specific adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }

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

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

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