/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background #0a0a0a is dark, so text should be light */
  background-color: #0a0a0a;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  box-sizing: border-box;
}

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

.page-fishing-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  color: #FFFFFF;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

/* General Section Styles */
.page-fishing-games__section {
  padding: 60px 0;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

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

/* Card Styles */
.page-fishing-games__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px;
}

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

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

/* Button Styles */
.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;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

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

.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__btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-fishing-games__btn-large {
  padding: 15px 30px;
  font-size: 1.1em;
}

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

/* List Styles */
.page-fishing-games__ordered-list,
.page-fishing-games__unordered-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__ordered-list li,
.page-fishing-games__unordered-list li {
  background: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #26A9E0;
  padding: 20px 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.page-fishing-games__ordered-list p,
.page-fishing-games__unordered-list p {
  color: #f0f0f0;
  font-size: 1em;
  margin-bottom: 10px;
}

/* Feature List (Why Choose Section) */
.page-fishing-games__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

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

/* Dark Background Section */
.page-fishing-games__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

/* CTA Section */
.page-fishing-games__cta-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
}

.page-fishing-games__cta-content {
  max-width: 900px;
}

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

.page-fishing-games__cta-section .page-fishing-games__section-title {
  color: #FFFFFF;
}

.page-fishing-games__cta-section .page-fishing-games__section-title::after {
  background-color: #FFFFFF;
}

.page-fishing-games__cta-section .page-fishing-games__text-block {
  color: #f0f0f0;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #FFFFFF;
  font-size: 1.2em;
  font-weight: bold;
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  color: #FFFFFF; /* Ensure question text is white */
}

.page-fishing-games__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg); /* Plus to X for active state */
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #f0f0f0;
}

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

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

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

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

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

  .page-fishing-games__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile specific header offset */
  }

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

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    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__container,
  .page-fishing-games__game-cards,
  .page-fishing-games__promotion-grid,
  .page-fishing-games__feature-list,
  .page-fishing-games__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
}