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

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

.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;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body handles header offset, this is decorative top padding */
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  height: 600px; /* Fixed height for consistency, will be responsive */
  overflow: hidden;
  position: relative;
  z-index: 0;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  margin-top: -150px; /* Overlap image slightly for visual effect, but not text on image */
  background-color: var(--card-bg-color); /* Darker background for text readability */
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border-color);
}

.page-fishing-games__main-title {
  color: var(--gold-color);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary,
.page-fishing-games__game-btn,
.page-fishing-games__faq-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main-color);
  border: 2px solid var(--glow-color);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.7);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px var(--glow-color);
  opacity: 0.9;
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--glow-color);
  color: var(--page-bg-color);
  transform: translateY(-3px);
}

.page-fishing-games__btn-tertiary {
  background-color: var(--deep-green-color);
  color: var(--text-main-color);
  border: 1px solid var(--border-color);
}

.page-fishing-games__btn-tertiary:hover {
  background-color: var(--border-color);
  transform: translateY(-2px);
}

.page-fishing-games__btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
    min-width: 250px;
}

/* General Section Styling */
.page-fishing-games__section {
  padding: 80px 0;
  text-align: center;
}

.page-fishing-games__section-title {
  color: var(--gold-color);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.4);
}

.page-fishing-games__section-description {
  font-size: 1.1rem;
  color: var(--text-secondary-color);
  max-width: 800px;
  margin: 0 auto 50px auto;
}

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

.page-fishing-games__feature-card {
  background-color: var(--card-bg-color);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-fishing-games__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__feature-title {
  color: var(--glow-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.page-fishing-games__feature-text {
  color: var(--text-secondary-color);
  font-size: 1rem;
  flex-grow: 1;
}

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

.page-fishing-games__game-card {
  background-color: var(--card-bg-color);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-fishing-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-title {
  color: var(--gold-color);
  font-size: 1.6rem;
  font-weight: 600;
  padding: 20px 20px 10px 20px;
}

.page-fishing-games__game-description {
  color: var(--text-secondary-color);
  font-size: 1rem;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-fishing-games__game-btn {
  background: var(--button-gradient);
  color: var(--text-main-color);
  border: none;
  border-radius: 0 0 15px 15px;
  padding: 15px 20px;
  width: 100%;
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.3s ease;
}

.page-fishing-games__game-btn:hover {
  opacity: 0.9;
  background: var(--glow-color);
  color: var(--page-bg-color);
}

/* Guide Section */
.page-fishing-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__step-item {
  background-color: var(--card-bg-color);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-fishing-games__step-title {
  color: var(--glow-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

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

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

.page-fishing-games__tip-card {
  background-color: var(--card-bg-color);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-fishing-games__tip-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__tip-title {
  color: var(--glow-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.page-fishing-games__tip-text {
  color: var(--text-secondary-color);
  font-size: 1rem;
  flex-grow: 1;
}

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

.page-fishing-games__promotion-card {
  background-color: var(--card-bg-color);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-fishing-games__promotion-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__promotion-title {
  color: var(--gold-color);
  font-size: 1.6rem;
  font-weight: 600;
  padding: 20px 20px 10px 20px;
}

.page-fishing-games__promotion-text {
  color: var(--text-secondary-color);
  font-size: 1rem;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

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

.page-fishing-games__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main-color);
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--divider-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: 1px solid var(--border-color);
}

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

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

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

.page-fishing-games__faq-answer p {
    margin-bottom: 15px;
}

.page-fishing-games__faq-btn {
    background: var(--button-gradient);
    color: var(--text-main-color);
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    margin-top: 10px;
    border: 1px solid var(--glow-color);
}

.page-fishing-games__faq-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* CTA Bottom Section */
.page-fishing-games__cta-bottom-section {
  background-color: var(--deep-green-color);
  padding: 100px 0;
}

.page-fishing-games__cta-bottom-section .page-fishing-games__section-title {
  color: var(--text-main-color);
}

.page-fishing-games__cta-bottom-section .page-fishing-games__section-description {
  color: var(--text-secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image-wrapper {
    height: 500px;
  }
  .page-fishing-games__hero-content {
    margin-top: -100px;
    padding: 30px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-image-wrapper {
    height: 400px;
  }
  .page-fishing-games__hero-content {
    margin-top: -80px;
    padding: 25px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
  .page-fishing-games__hero-description,
  .page-fishing-games__section-description {
    font-size: 1rem;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-tertiary,
  .page-fishing-games__game-btn,
  .page-fishing-games__faq-btn,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-fishing-games__section {
    padding: 60px 0;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__games-grid,
  .page-fishing-games__guide-steps,
  .page-fishing-games__tips-grid,
  .page-fishing-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__step-item,
  .page-fishing-games__tip-card,
  .page-fishing-games__promotion-card {
    padding: 25px;
  }
  .page-fishing-games__feature-image,
  .page-fishing-games__game-image,
  .page-fishing-games__tip-image,
  .page-fishing-games__promotion-image {
    height: 200px;
  }
  .page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }
  .page-fishing-games__faq-answer {
    padding: 15px 20px;
  }
  .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 {
    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;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-image-wrapper {
    height: 300px;
  }
  .page-fishing-games__hero-content {
    margin-top: -60px;
    padding: 20px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }
  .page-fishing-games__btn-large {
      padding: 15px 30px;
      font-size: 1rem;
  }
}