/* style/fishing-games.css */
/* Custom Colors */
:root {
  --page-bg-color: #08160F;
  --card-bg-color: #11271B;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-fishing-games {
  color: var(--text-main-color);
  background-color: var(--page-bg-color);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

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

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--gold-color);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

.page-fishing-games__description, .page-fishing-games__description-text {
  font-size: 1.1em;
  color: var(--text-secondary-color);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-fishing-games__text-block {
  font-size: 1em;
  color: var(--text-main-color);
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles padding-top, this is decorative */
  overflow: hidden;
  min-height: 600px;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Subtle overlay for text readability */
  border-radius: 10px;
  max-width: 90%;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__btn-secondary {
  background: var(--card-bg-color);
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--glow-color);
  color: var(--page-bg-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Card Styles */
.page-fishing-games__card {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main-color);
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__card-text {
  font-size: 0.95em;
  color: var(--text-secondary-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-fishing-games__feature-item {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid var(--glow-color);
  color: var(--text-main-color);
}

.page-fishing-games__feature-title {
  font-size: 1.4em;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

/* How-to-play steps */
.page-fishing-games__step-item {
  padding: 25px;
}

.page-fishing-games__step-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-fishing-games__step-title {
  font-size: 1.3em;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__list-item {
  background-color: var(--card-bg-color);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 4px solid var(--gold-color);
  color: var(--text-main-color);
  font-size: 1.05em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__list-item strong {
  color: var(--glow-color);
}

.page-fishing-games__strategy-image {
  display: block;
  margin: 40px auto 20px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__strategy-tip {
  font-style: italic;
  color: var(--text-secondary-color);
  text-align: center;
  margin-top: 30px;
}

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

.page-fishing-games__faq-item {
  background-color: var(--card-bg-color);
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  color: var(--text-main-color);
}

.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: var(--gold-color);
  cursor: pointer;
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--border-color);
  list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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: var(--text-secondary-color);
  line-height: 1.7;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 0;
  text-align: justify;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
  .page-fishing-games__description, .page-fishing-games__description-text {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-fishing-games__hero-section {
    min-height: 450px;
    padding-bottom: 40px;
  }
  .page-fishing-games__hero-content {
    max-width: 95%;
    padding: 15px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
    padding: 0 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__game-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-fishing-games__card,
  .page-fishing-games__feature-item {
    padding: 20px;
  }

  .page-fishing-games__card-image,
  .page-fishing-games__step-image,
  .page-fishing-games__strategy-image,
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__game-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__feature-grid,
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }

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

@media (max-width: 480px) {
  .page-fishing-games__section-title {
    font-size: 1.6em;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
  .page-fishing-games__hero-content {
    padding: 10px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
}