/* style/fishing-games.css */

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

.page-fishing-games {
  font-family: Arial, sans-serif;
  color: var(--color-text-main); /* Default text color for dark background */
  background-color: var(--color-background);
}

/* HERO Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  background-color: var(--color-background);
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
}

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

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: var(--btn-gradient);
  color: var(--color-text-main);
  border: none;
}

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

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

.page-fishing-games__btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-text-main);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-fishing-games__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-fishing-games__section-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__light-bg {
  background-color: #0F281E; /* A slightly lighter dark background for contrast */
  color: var(--color-text-main);
  padding: 80px 0;
}

.page-fishing-games__dark-section {
  background-color: var(--color-background);
  color: var(--color-text-main);
  padding: 80px 0;
}

.page-fishing-games__card {
  background: var(--color-card-bg);
  color: var(--color-text-main);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

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

/* About Game Section */
.page-fishing-games__about-game .page-fishing-games__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-fishing-games__about-game .page-fishing-games__text-block {
  flex: 1;
}

.page-fishing-games__about-game .page-fishing-games__image-block {
  flex: 1;
  min-width: 400px;
}

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

.page-fishing-games__feature-card {
  text-align: center;
}

.page-fishing-games__card-icon {
  width: 100%; /* Ensure large enough */
  max-width: 200px; /* Example, adjust as needed */
  height: auto;
  margin: 0 auto 20px auto;
  border-radius: 10px;
}

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

/* How to Play Section */
.page-fishing-games__how-to-play .page-fishing-games__steps-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-fishing-games__how-to-play .page-fishing-games__image-block {
  flex: 1;
  min-width: 400px;
}

.page-fishing-games__steps-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-fishing-games__step-item {
  position: relative;
  padding-left: 50px;
}

.page-fishing-games__step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  background: var(--btn-gradient);
  color: var(--color-text-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-title {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.page-fishing-games__btn-text {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
  display: inline-block;
  transition: color 0.3s ease;
}

.page-fishing-games__btn-text:hover {
  color: var(--color-glow);
}

/* Tips & Tricks Section */
.page-fishing-games__grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.page-fishing-games__grid-2-col--reverse {
  direction: rtl;
}

.page-fishing-games__grid-2-col--reverse > * {
  direction: ltr;
}

.page-fishing-games__sub-title {
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: 15px;
  font-weight: 600;
}

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

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

.page-fishing-games__promo-card .page-fishing-games__card-title {
  color: var(--color-gold);
}

.page-fishing-games__cta-center {
  text-align: center;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.page-fishing-games__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: background-color 0.3s ease;
}

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

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

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

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

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

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

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

.page-fishing-games__faq-answer a {
  color: var(--color-gold);
  text-decoration: underline;
}

.page-fishing-games__faq-answer a:hover {
  color: var(--color-glow);
}

/* CTA Section */
.page-fishing-games__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #0F281E; /* A slightly lighter dark background */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__about-game .page-fishing-games__content-wrapper,
  .page-fishing-games__how-to-play .page-fishing-games__steps-wrapper,
  .page-fishing-games__grid-2-col {
    flex-direction: column;
    text-align: center;
  }

  .page-fishing-games__about-game .page-fishing-games__image-block,
  .page-fishing-games__how-to-play .page-fishing-games__image-block {
    order: -1; /* Image first on smaller screens */
    min-width: unset;
    width: 100%;
  }

  .page-fishing-games__grid-2-col--reverse {
    direction: ltr;
  }

  .page-fishing-games__grid-2-col--reverse > * {
    direction: ltr;
  }
}

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

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

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-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__container {
    padding: 0 15px;
  }

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

  .page-fishing-games__section-description {
    font-size: 0.95rem;
    margin-bottom: 40px;
  }

  .page-fishing-games__feature-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__about-game .page-fishing-games__content-wrapper,
  .page-fishing-games__how-to-play .page-fishing-games__steps-wrapper,
  .page-fishing-games__grid-2-col {
    gap: 30px;
  }

  .page-fishing-games__steps-list {
    gap: 20px;
  }

  .page-fishing-games__step-item {
    padding-left: 45px;
  }

  .page-fishing-games__step-number {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .page-fishing-games__step-title {
    font-size: 1.15rem;
  }

  .page-fishing-games__sub-title {
    font-size: 1.4rem;
  }

  .page-fishing-games__faq-item summary {
    font-size: 1.05rem;
    padding: 18px 20px;
  }

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

  /* Mobile image/video/container responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games video,
  .page-fishing-games__video {
    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__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .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;
    overflow: hidden !important;
  }
  .page-fishing-games__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-fishing-games__about-game .page-fishing-games__image-block,
  .page-fishing-games__how-to-play .page-fishing-games__image-block {
    padding-left: 0;
    padding-right: 0;
  }
}