/* style/fishing-games.css */

/* Base styles for the fishing-games page */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #ffffff); /* Inherit from shared or default to white */
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background: linear-gradient(135deg, #26A9E0, #007bff); /* Example gradient for dark-bg */
  overflow: hidden;
}

.page-fishing-games__video-wrapper {
  width: 100%;
  max-width: 1280px; /* Max width for video */
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio (9/16 = 0.5625) */
  height: 0;
  overflow: hidden;
}

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

.page-fishing-games__hero-content {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: center;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-fishing-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-fishing-games__tagline {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

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

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

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

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

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

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

/* General Section Styles */
.page-fishing-games__section {
  padding: 60px 20px;
  text-align: center;
}

.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-fishing-games__section-title {
  font-size: 2.2em;
  margin-bottom: 40px;
  color: #26A9E0;
  font-weight: bold;
}

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

.page-fishing-games__highlight {
  color: #26A9E0;
  font-weight: bold;
}

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

.page-fishing-games__link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-fishing-games__link:hover {
  text-decoration: underline;
}

/* Color Contrast Classes */
.page-fishing-games__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__text-block,
.page-fishing-games__dark-bg .page-fishing-games__highlight,
.page-fishing-games__dark-bg .page-fishing-games__card-title,
.page-fishing-games__dark-bg .page-fishing-games__card-text,
.page-fishing-games__dark-bg .page-fishing-games__link,
.page-fishing-games__dark-bg .page-fishing-games__faq-question span {
  color: #ffffff;
}

.page-fishing-games__dark-bg .page-fishing-games__link {
  color: #ffffff;
  text-decoration: underline;
}

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

/* Feature Grid */
.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-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: #333333;
}

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

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

/* Game Cards Grid */
.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: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  color: #333333;
}

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

.page-fishing-games__game-card .page-fishing-games__card-title {
  font-size: 1.4em;
  padding: 15px 20px 5px;
  color: #26A9E0;
}

.page-fishing-games__game-card .page-fishing-games__card-text {
  font-size: 0.95em;
  padding: 0 20px 20px;
  color: #555555;
}

/* Ordered/Unordered Lists */
.page-fishing-games__ordered-list,
.page-fishing-games__unordered-list {
  text-align: left;
  margin: 30px auto;
  padding-left: 25px;
  max-width: 900px;
}

.page-fishing-games__ordered-list li,
.page-fishing-games__unordered-list li {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #444444;
}

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

.page-fishing-games__promo-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: #333333;
}

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

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

/* App Download Section */
.page-fishing-games__app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-fishing-games__app-image {
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__app-info {
  text-align: left;
  max-width: 500px;
}

.page-fishing-games__app-info .page-fishing-games__card-title {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-fishing-games__app-info .page-fishing-games__unordered-list {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}

.page-fishing-games__app-info .page-fishing-games__unordered-list li {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #444444;
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

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

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: #e0f4ff;
  border-bottom: 1px solid #d0e8f6;
}

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

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

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

.page-fishing-games__faq-item summary {
  list-style: none;
}

/* Conclusion Section */
.page-fishing-games__conclusion .page-fishing-games__cta-buttons {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin: 30px auto 0 auto;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 10px 15px 40px 15px; /* Adjust padding for mobile */
  }

  .page-fishing-games__hero-content {
    padding: 20px;
    margin: 20px auto 0 auto;
  }

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

  .page-fishing-games__tagline {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__section {
    padding: 40px 15px;
  }

  .page-fishing-games__container,
  .page-fishing-games__app-info {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-fishing-games__text-block,
  .page-fishing-games__ordered-list li,
  .page-fishing-games__unordered-list li,
  .page-fishing-games__faq-answer p {
    font-size: 1em;
  }

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

  .page-fishing-games__game-card .page-fishing-games__card-image {
    height: 180px;
  }

  .page-fishing-games__app-image {
    max-width: 100%;
  }

  .page-fishing-games__app-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-fishing-games__app-info {
    text-align: center;
  }

  .page-fishing-games__app-info .page-fishing-games__card-title {
    font-size: 1.5em;
    text-align: center;
  }

  .page-fishing-games__app-info .page-fishing-games__unordered-list {
    text-align: left;
    padding-left: 20px;
  }

  .page-fishing-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

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

  /* Force responsive video */
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video container mobile adaptation */
  .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-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 1.5em;
  }

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

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

  .page-fishing-games__faq-question {
    font-size: 1em;
  }
}