/* style/fishing-games-guide.css */

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

/* Base styles for the page content */
.page-fishing-games-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--r86-text-main); /* Default text color for dark body bg */
  background-color: var(--r86-background); /* Default background for main content */
}

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

/* Sections */
.page-fishing-games-guide__hero-section,
.page-fishing-games-guide__introduction-section,
.page-fishing-games-guide__benefits-section,
.page-fishing-games-guide__game-types-section,
.page-fishing-games-guide__strategy-section,
.page-fishing-games-guide__advanced-strategy-section,
.page-fishing-games-guide__tips-section,
.page-fishing-games-guide__faq-section,
.page-fishing-games-guide__conclusion-section {
  padding: 60px 0;
}

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

.page-fishing-games-guide__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-fishing-games-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-fishing-games-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(8, 22, 15, 0.7); /* Semi-transparent background for text readability */
  border-radius: 10px;
}

.page-fishing-games-guide__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--r86-text-main);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games-guide__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  margin-bottom: 30px;
  color: var(--r86-text-secondary);
}

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

.page-fishing-games-guide__btn-primary,
.page-fishing-games-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

.page-fishing-games-guide__btn-primary {
  background: var(--r86-button-gradient);
  color: var(--r86-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games-guide__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

.page-fishing-games-guide__btn-secondary:hover {
  background-color: var(--r86-primary);
  color: var(--r86-text-main);
}

.page-fishing-games-guide__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--r86-text-main);
}

.page-fishing-games-guide__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--r86-text-main);
}

.page-fishing-games-guide__dark-bg {
  background-color: var(--r86-background);
  color: var(--r86-text-main);
}

.page-fishing-games-guide__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

.page-fishing-games-guide__light-text {
  color: var(--r86-text-main);
}

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

.page-fishing-games-guide__card {
  background-color: var(--r86-card-bg);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--r86-border);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games-guide__card-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves as a block element */
}

.page-fishing-games-guide__card-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--r86-text-main);
}

.page-fishing-games-guide__card-description {
  font-size: 1rem;
  color: var(--r86-text-secondary);
}

.page-fishing-games-guide__cta-center {
  text-align: center;
  margin-top: 50px;
}

.page-fishing-games-guide__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games-guide__game-item {
  background-color: var(--r86-card-bg);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--r86-border);
}

.page-fishing-games-guide__game-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-fishing-games-guide__game-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--r86-text-main);
}

.page-fishing-games-guide__game-description {
  font-size: 1rem;
  color: var(--r86-text-secondary);
}

.page-fishing-games-guide__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games-guide__strategy-item {
  background-color: var(--r86-card-bg);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--r86-border);
}

.page-fishing-games-guide__strategy-heading {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--r86-text-main);
}

.page-fishing-games-guide__strategy-description {
  font-size: 1rem;
  color: var(--r86-text-secondary);
}

.page-fishing-games-guide__tip-item {
  background-color: var(--r86-card-bg);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--r86-border);
}

.page-fishing-games-guide__tip-heading {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--r86-text-main);
}

.page-fishing-games-guide__tip-description {
  font-size: 1rem;
  color: var(--r86-text-secondary);
}

.page-fishing-games-guide__tip-description a {
  color: var(--r86-primary);
  text-decoration: none;
}

.page-fishing-games-guide__tip-description a:hover {
  text-decoration: underline;
}

.page-fishing-games-guide__faq-list {
  margin-top: 40px;
}

.page-fishing-games-guide__faq-item {
  background-color: var(--r86-card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--r86-border);
  color: var(--r86-text-main);
}

.page-fishing-games-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--r86-text-main);
  list-style: none; /* For details/summary */
}

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

.page-fishing-games-guide__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--r86-primary);
}

.page-fishing-games-guide__faq-item[open] .page-fishing-games-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games-guide__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: var(--r86-text-secondary);
}

.page-fishing-games-guide__faq-answer p {
  margin-bottom: 10px;
}

.page-fishing-games-guide__faq-answer a {
  color: var(--r86-primary);
  text-decoration: none;
}

.page-fishing-games-guide__faq-answer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games-guide__hero-content {
    padding: 15px;
  }

  .page-fishing-games-guide__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-fishing-games-guide__hero-description {
    font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  }

  .page-fishing-games-guide__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }

  .page-fishing-games-guide__text-block {
    font-size: 1rem;
  }

  .page-fishing-games-guide__card-title,
  .page-fishing-games-guide__game-name,
  .page-fishing-games-guide__strategy-heading,
  .page-fishing-games-guide__tip-heading {
    font-size: 1.2rem;
  }

  .page-fishing-games-guide__card-description,
  .page-fishing-games-guide__game-description,
  .page-fishing-games-guide__strategy-description,
  .page-fishing-games-guide__tip-description,
  .page-fishing-games-guide__faq-answer {
    font-size: 0.95rem;
  }

  .page-fishing-games-guide__faq-question {
    font-size: 1.1rem;
  }
}

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

  .page-fishing-games-guide__hero-section,
  .page-fishing-games-guide__introduction-section,
  .page-fishing-games-guide__benefits-section,
  .page-fishing-games-guide__game-types-section,
  .page-fishing-games-guide__strategy-section,
  .page-fishing-games-guide__advanced-strategy-section,
  .page-fishing-games-guide__tips-section,
  .page-fishing-games-guide__faq-section,
  .page-fishing-games-guide__conclusion-section {
    padding: 40px 0;
  }

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

  .page-fishing-games-guide__hero-content {
    padding: 10px;
    width: calc(100% - 30px); /* Account for padding in container */
  }

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

  .page-fishing-games-guide__hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }

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

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

  .page-fishing-games-guide__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games-guide__card,
  .page-fishing-games-guide__game-item,
  .page-fishing-games-guide__strategy-item,
  .page-fishing-games-guide__tip-item,
  .page-fishing-games-guide__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 20px;
  }

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

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

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

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