/* style/fishing-games.css */

:root {
  --page-primary-color: #11A84E;
  --page-secondary-color: #22C768;
  --page-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-card-bg: #11271B;
  --page-background: #08160F;
  --page-text-main: #F2FFF6;
  --page-text-secondary: #A7D9B8;
  --page-border-color: #2E7A4E;
  --page-glow-color: #57E38D;
  --page-gold-color: #F2C14E;
  --page-divider-color: #1E3A2A;
  --page-deep-green: #0A4B2C;
}

.page-fishing-games {
  color: var(--page-text-main); /* Assume dark body background from shared.css, use light text */
  background-color: var(--page-background);
}

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  box-sizing: border-box;
  overflow: hidden;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  max-width: 1200px; /* Constrain image width on larger screens */
  margin-bottom: 30px;
}

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 800px;
  z-index: 1;
  position: relative;
}

.page-fishing-games__hero-title {
  color: var(--page-gold-color);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-fishing-games__hero-description {
  color: var(--page-text-secondary);
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

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

.page-fishing-games__section {
  padding: 80px 0;
  box-sizing: border-box;
}

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

.page-fishing-games__section-title {
  color: var(--page-text-main);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(17, 168, 78, 0.4);
}

.page-fishing-games__section-subtitle {
  color: var(--page-text-secondary);
  font-size: 1.125rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-fishing-games__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-fishing-games__text-block p {
  color: var(--page-text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-fishing-games__image-wrapper {
  text-align: center;
}

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

.page-fishing-games__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games__game-card {
  background-color: var(--page-card-bg);
  border: 1px solid var(--page-border-color);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: var(--page-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--page-primary-color);
  border: 2px solid var(--page-primary-color);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--page-primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-fishing-games__guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.page-fishing-games__guide-subtitle {
  color: var(--page-gold-color);
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-fishing-games__guide-subtitle:first-of-type {
  margin-top: 0;
}

.page-fishing-games__guide-content p {
  color: var(--page-text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

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

.page-fishing-games__strategy-list li {
  background-color: var(--page-card-bg);
  border: 1px solid var(--page-border-color);
  border-radius: 8px;
  padding: 18px 25px;
  margin-bottom: 15px;
  color: var(--page-text-main);
  font-size: 1.05rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
}

.page-fishing-games__strategy-list li::before {
  content: '★';
  color: var(--page-gold-color);
  margin-right: 15px;
  font-size: 1.2em;
  line-height: 1;
  flex-shrink: 0;
}

.page-fishing-games__promotions-section .page-fishing-games__cta-buttons {
  margin-top: 40px;
}

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  color: var(--page-text-main);
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: var(--page-deep-green);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: var(--page-deep-green);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--page-gold-color);
  margin-left: 20px;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: '−';
}

.page-fishing-games__faq-answer {
  padding: 0 25px 18px 25px;
  color: var(--page-text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

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

.page-fishing-games__conclusion-section .page-fishing-games__section-description {
  margin-bottom: 25px;
}

.page-fishing-games__conclusion-section .page-fishing-games__cta-buttons {
  margin-top: 40px;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-fishing-games__content-grid,
  .page-fishing-games__guide-grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__image-wrapper {
    order: -1; /* Image appears above text on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }

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

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

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

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

  .page-fishing-games__section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-fishing-games__section-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-fishing-games__game-cards-grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__guide-subtitle {
    font-size: 1.4rem;
  }

  .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: 12px 20px;
  }

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

  /* Mobile responsive image adaptations */
  .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__image-wrapper,
  .page-fishing-games__game-card,
  .page-fishing-games__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 0.95rem;
    padding: 10px 15px;
  }

  .page-fishing-games__strategy-list li {
    font-size: 0.9rem;
    padding: 15px 20px;
  }
}