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

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

.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;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--df99-deep-green);
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

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

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

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

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

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

/* General Section Styling */
.page-fishing-games__section {
  padding: 60px 0;
  background-color: var(--df99-background-color);
}

.page-fishing-games__section:nth-of-type(even) {
  background-color: var(--df99-deep-green);
}

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--df99-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

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

/* Video Section (Introduction) */
.page-fishing-games__introduction .page-fishing-games__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__video-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 30px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

/* Grid Layout for Games/Promotions */
.page-fishing-games__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-fishing-games__card {
  background-color: var(--df99-card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--df99-border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--df99-text-main);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(87, 227, 141, 0.3);
}

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

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

.page-fishing-games__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-fishing-games__card-title a:hover {
  text-decoration: underline;
}

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

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

/* How-to-Play Section */
.page-fishing-games__ordered-list,
.page-fishing-games__unordered-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-fishing-games__ordered-list li,
.page-fishing-games__unordered-list li {
  background-color: var(--df99-card-bg);
  border: 1px solid var(--df99-border-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.05rem;
  color: var(--df99-text-main);
  display: flex;
  align-items: center;
}

.page-fishing-games__ordered-list li strong {
  color: var(--df99-gold-color);
  margin-right: 10px;
}

/* Strategies Section */
.page-fishing-games__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

/* Mobile Experience Section */
.page-fishing-games__mobile-app-display {
  text-align: center;
  margin: 40px 0;
}

.page-fishing-games__mobile-screenshot {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 5px solid var(--df99-primary-color);
  min-width: 200px;
  min-height: 200px;
}

/* Support & Security Section */
.page-fishing-games__info-block {
  background-color: var(--df99-card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--df99-border-color);
  color: var(--df99-text-main);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__info-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-fishing-games__btn-text {
  color: var(--df99-glow-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-fishing-games__btn-text:hover {
  color: var(--df99-gold-color);
  text-decoration: underline;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background-color: var(--df99-card-bg);
  border: 1px solid var(--df99-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;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--df99-text-main);
  cursor: pointer;
  background-color: rgba(17, 168, 78, 0.1);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-question:hover {
  background-color: rgba(17, 168, 78, 0.2);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--df99-glow-color);
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--df99-text-secondary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
}

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

/* Conclusion Section */
.page-fishing-games__conclusion .page-fishing-games__text-block {
  text-align: center;
}

.page-fishing-games__conclusion .page-fishing-games__text-block a {
  color: var(--df99-glow-color);
  text-decoration: none;
  font-weight: bold;
}

.page-fishing-games__conclusion .page-fishing-games__text-block a:hover {
  text-decoration: underline;
}

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

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

  .page-fishing-games__hero-image-wrapper {
    max-height: 500px;
  }
}

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

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

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

  .page-fishing-games__hero-image-wrapper {
    max-height: 350px;
    margin-bottom: 20px;
  }

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

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 1rem;
  }

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

  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-fishing-games__text-block {
    font-size: 0.95rem;
  }

  .page-fishing-games__video-wrapper {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-fishing-games__grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
  }

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

  .page-fishing-games__card-image,
  .page-fishing-games__content-image,
  .page-fishing-games__mobile-screenshot,
  .page-fishing-games__info-icon,
  .page-fishing-games__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-fishing-games__ordered-list li,
  .page-fishing-games__unordered-list li {
    font-size: 0.9rem;
    padding: 12px 15px;
  }

  .page-fishing-games__mobile-app-display {
    margin: 30px 0;
  }

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

  .page-fishing-games__faq-answer {
    font-size: 0.95rem;
    padding: 0 20px 15px;
  }

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .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-x: hidden !important;
  }

  .page-fishing-games__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

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

  .page-fishing-games__hero-image-wrapper {
    max-height: 250px;
  }
}