/* style/fishing-games.css */

/* Base styles for the page */
.page-fishing-games {
  background-color: #08160F; /* Background color from custom palette */
  color: #F2FFF6; /* Main text color from custom palette */
}

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

/* Section styles */
.page-fishing-games__hero-section,
.page-fishing-games__intro-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__app-download-section,
.page-fishing-games__security-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 80px;
  overflow: hidden;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background: rgba(17, 39, 27, 0.7); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__main-title {
  color: #F2C14E; /* Gold color for main title */
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

.page-fishing-games__section-title {
  color: #F2C14E; /* Gold color for section titles */
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__description,
.page-fishing-games__text-block {
  color: #F2FFF6;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-fishing-games__light-bg {
  background-color: #0A4B2C; /* Deep Green for contrast, assuming body is very dark */
  color: #F2FFF6;
}

.page-fishing-games__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin: 10px;
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-fishing-games__btn-secondary {
  background: #11271B; /* Card BG color */
  color: #F2FFF6;
  border: 2px solid #2E7A4E; /* Border color */
}

.page-fishing-games__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  background: #2E7A4E;
}

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

.page-fishing-games__game-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #F2FFF6;
}

.page-fishing-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #2E7A4E;
}

.page-fishing-games__game-card h3 {
  color: #F2C14E;
  padding: 15px 20px 0;
  margin-bottom: 10px;
}

.page-fishing-games__card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0 20px 15px;
  flex-grow: 1;
  color: #A7D9B8;
}

.page-fishing-games__game-card .page-fishing-games__btn-secondary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  text-align: center;
}

/* Instructions list */
.page-fishing-games__instruction-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
  counter-reset: step-counter;
}

.page-fishing-games__instruction-list li {
  background-color: #11271B; /* Card BG */
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #F2FFF6;
  position: relative;
  padding-left: 50px;
}

.page-fishing-games__instruction-list li strong {
  color: #F2C14E;
}

.page-fishing-games__instruction-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

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

.page-fishing-games__promo-list li {
  background-color: #11271B; /* Card BG */
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #F2FFF6;
  border-left: 5px solid #2E7A4E; /* Border color */
}

.page-fishing-games__promo-list li strong {
  color: #F2C14E;
}

/* App Download Section */
.page-fishing-games__app-download-layout {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
  padding: 0 20px;
}

.page-fishing-games__app-download-content {
  flex: 1;
}

.page-fishing-games__app-download-image-wrapper {
  flex: 0 0 400px;
  max-width: 400px;
  text-align: center;
}

.page-fishing-games__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__app-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px;
}

.page-fishing-games__app-features li {
  color: #A7D9B8;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-fishing-games__app-features li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #2AD16F;
}

/* Security section */
.page-fishing-games__security-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #F2FFF6;
}

.page-fishing-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #F2C14E;
  position: relative;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #2AD16F;
  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: 0 20px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #A7D9B8;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-fishing-games__container,
  .page-fishing-games__app-download-layout {
    padding: 0 15px;
  }

  .page-fishing-games__hero-section,
  .page-fishing-games__intro-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__app-download-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 40px 0;
  }

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

  .page-fishing-games__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

  .page-fishing-games__description,
  .page-fishing-games__text-block {
    font-size: 1rem;
    line-height: 1.5;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    margin: 10px 0 !important;
    padding: 12px 20px !important;
  }

  .page-fishing-games__game-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__app-download-layout {
    flex-direction: column;
    gap: 30px;
  }

  .page-fishing-games__app-download-image-wrapper {
    flex: none;
    width: 100%;
    max-width: 300px;
    margin-top: 20px;
  }

  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__app-download-layout {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-fishing-games__instruction-list li,
  .page-fishing-games__promo-list li {
    padding-left: 40px; /* Adjust for smaller screens */
  }

  .page-fishing-games__instruction-list li::before {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
  }

  .page-fishing-games__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }

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