/* style/fishing-games.css */

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark background */
  background-color: transparent; /* Rely on body background */
}

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

.page-fishing-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__dark-bg {
  background-color: #1a1a1a; /* Dark background for sections */
  color: #ffffff;
}

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

.page-fishing-games__section-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Clamp for responsive H2 */
  margin-bottom: 20px;
  color: #26A9E0; /* Brand primary color for titles */
  font-weight: bold;
  letter-spacing: 0.5px;
}

.page-fishing-games__sub-title {
  font-size: clamp(1.5em, 3vw, 2em); /* Clamp for responsive H3 */
  margin-top: 30px;
  margin-bottom: 15px;
  color: #26A9E0;
  font-weight: 600;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__list {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 800px;
  text-align: left;
}

.page-fishing-games__list-item {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 1.05em;
}

.page-fishing-games__list-item::before {
  content: '✓';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-fishing-games__ordered-list {
  list-style: decimal;
  padding-left: 40px;
  margin: 20px auto;
  max-width: 800px;
  text-align: left;
}

.page-fishing-games__ordered-list .page-fishing-games__list-item {
  padding-left: 0;
}

.page-fishing-games__ordered-list .page-fishing-games__list-item::before {
  content: none;
}

/* Buttons */
.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;
  font-size: 1.05em;
  margin: 10px;
  box-sizing: border-box;
}

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

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

.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;
}

.page-fishing-games__large-btn {
  padding: 15px 35px;
  font-size: 1.2em;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0; /* No padding on hero section itself, content inside handles it */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  margin-top: 20px; /* Space below image */
  box-sizing: border-box;
}

.page-fishing-games__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 */
  color: #FFFFFF;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.page-fishing-games__hero-description {
  font-size: clamp(1.1em, 2vw, 1.4em);
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Introduction Section */
.page-fishing-games__introduction-section {
  background-color: #f5f5f5;
  color: #333333;
}

.page-fishing-games__feature-title {
  font-size: clamp(1.3em, 2.5vw, 1.8em);
  margin-top: 25px;
  margin-bottom: 15px;
  color: #26A9E0;
  font-weight: 600;
}

.page-fishing-games__feature-list {
  max-width: 700px;
}

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

.page-fishing-games__game-card {
  background-color: #2a2a2a; /* Darker card background for dark section */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

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

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

.page-fishing-games__game-card-btn {
  margin-top: auto;
  align-self: flex-start;
  margin-left: 0; /* Override default margin */
  margin-right: 0;
}

/* Guide Section */
.page-fishing-games__guide-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  text-align: left;
}

.page-fishing-games__guide-text {
  flex: 2;
  min-width: 300px;
}

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

.page-fishing-games__guide-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: block;
}

.page-fishing-games__tip-title {
  font-size: 1.2em;
  color: #26A9E0;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

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

.page-fishing-games__promotion-card {
  background-color: #2a2a2a; /* Darker card background for dark section */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-fishing-games__promotion-card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

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

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

.page-fishing-games__promotion-card-btn {
  margin-top: auto;
  align-self: flex-start;
  margin-left: 0;
  margin-right: 0;
}

/* Security Section */
.page-fishing-games__security-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  text-align: left;
}

.page-fishing-games__security-text {
  flex: 2;
  min-width: 300px;
  color: #333333;
}

.page-fishing-games__security-text a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-fishing-games__security-text a:hover {
  color: #1e87b4;
}

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

.page-fishing-games__security-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: block;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #333333;
  border-bottom: 1px solid #444;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

.page-fishing-games__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 10px;
}

.page-fishing-games__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-fishing-games__conclusion-section a:hover {
  color: #1e87b4;
}

/* Responsive styles */
@media (max-width: 992px) {
  .page-fishing-games__hero-content {
    padding: 30px 15px;
  }

  .page-fishing-games__game-cards,
  .page-fishing-games__promotion-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section {
    padding: 40px 0;
  }

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

  .page-fishing-games__hero-section {
    min-height: 60vh;
    padding-top: 10px !important;
  }

  .page-fishing-games__hero-title {
    font-size: 2em; /* Smaller for mobile */
  }

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

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

  .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;
    margin: 5px 0 !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__hero-cta-buttons,
  .page-fishing-games__cta-center,
  .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;
    overflow: hidden !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-fishing-games__game-card-image,
  .page-fishing-games__promotion-card-image {
    height: 180px; /* Adjust card image height for mobile */
  }

  .page-fishing-games__guide-content,
  .page-fishing-games__security-grid {
    flex-direction: column;
    gap: 30px;
  }

  .page-fishing-games__guide-text,
  .page-fishing-games__guide-image-wrapper,
  .page-fishing-games__security-text,
  .page-fishing-games__security-image-wrapper {
    min-width: unset;
    width: 100%;
  }

  /* All images must be responsive on mobile */
  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All containers with images/content */
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__game-card,
  .page-fishing-games__promotion-card,
  .page-fishing-games__guide-content,
  .page-fishing-games__security-grid,
  .page-fishing-games__faq-item {
    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 {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

  .page-fishing-games__text-block, .page-fishing-games__list-item, .page-fishing-games__game-card-description, .page-fishing-games__promotion-card-description, .page-fishing-games__faq-answer p {
    font-size: 0.95em;
  }
}