/* style/fishing-games.css */

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

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

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

.page-fishing-games__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  color: var(--c88-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-fishing-games__text-block {
  font-size: 18px;
  line-height: 1.6;
  color: var(--c88-text-secondary);
  margin-bottom: 20px;
  text-align: center;
}

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

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 20px;
  margin-top: -100px; /* Overlap slightly for visual flow */
  max-width: 900px;
}

.page-fishing-games__main-title {
  font-size: clamp(32px, 4.5vw, 60px);
  color: var(--c88-gold);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

.page-fishing-games__description {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--c88-text-main);
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

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

.page-fishing-games__btn-primary {
  background: var(--c88-button-gradient);
  color: #ffffff;
  border: none;
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

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

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

/* About Section */
.page-fishing-games__about-section {
  padding: 80px 0;
  background-color: var(--c88-background);
  color: var(--c88-text-main);
}

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

.page-fishing-games__feature-item {
  background-color: var(--c88-card-bg);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--c88-border);
  color: var(--c88-text-main);
}

.page-fishing-games__feature-icon {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not tiny */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-fishing-games__feature-title {
  font-size: 24px;
  color: var(--c88-primary);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__feature-description {
  font-size: 16px;
  line-height: 1.5;
  color: var(--c88-text-secondary);
}

/* Game Types Section */
.page-fishing-games__game-types-section {
  padding: 80px 0;
  background-color: var(--c88-deep-green);
  color: var(--c88-text-main);
}

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

.page-fishing-games__game-card {
  background-color: var(--c88-card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--c88-border);
  text-align: center;
  color: var(--c88-text-main);
}

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

.page-fishing-games__game-card .page-fishing-games__game-title {
  font-size: 24px;
  color: var(--c88-gold);
  margin: 20px 0 10px;
  padding: 0 20px;
  font-weight: 600;
}

.page-fishing-games__game-card .page-fishing-games__game-description {
  font-size: 16px;
  line-height: 1.5;
  color: var(--c88-text-secondary);
  padding: 0 20px 20px;
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 80px 0;
  background-color: var(--c88-background);
  color: var(--c88-text-main);
}

.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__guide-list li {
  background-color: var(--c88-card-bg);
  padding: 25px;
  margin-bottom: 15px;
  border-radius: 10px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--c88-text-main);
  border-left: 5px solid var(--c88-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__guide-list li strong {
  color: var(--c88-primary);
}

/* Strategy Section */
.page-fishing-games__strategy-section {
  padding: 80px 0;
  background-color: var(--c88-deep-green);
  color: var(--c88-text-main);
}

.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__strategy-list li {
  background-color: var(--c88-card-bg);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--c88-text-secondary);
  border-right: 5px solid var(--c88-gold);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__strategy-list li strong {
  color: var(--c88-text-main);
}

.page-fishing-games__strategy-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  background-color: var(--c88-background);
  color: var(--c88-text-main);
}

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

.page-fishing-games__promo-card {
  background-color: var(--c88-card-bg);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--c88-border);
  color: var(--c88-text-main);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__promo-title {
  font-size: 22px;
  color: var(--c88-primary);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__promo-description {
  font-size: 16px;
  line-height: 1.5;
  color: var(--c88-text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
  padding: 80px 0;
  background-color: var(--c88-deep-green);
  color: var(--c88-text-main);
}

.page-fishing-games__advantages-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__advantages-list li {
  background-color: var(--c88-card-bg);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--c88-text-secondary);
  border-left: 5px solid var(--c88-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__advantages-list li strong {
  color: var(--c88-text-main);
}

.page-fishing-games__about-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--c88-background);
  color: var(--c88-text-main);
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--c88-primary);
  cursor: pointer;
  background-color: var(--c88-card-bg);
  position: relative;
  user-select: none;
}

.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: 24px;
  line-height: 1;
  color: var(--c88-gold);
  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: 0 20px 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c88-text-secondary);
}

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

.page-fishing-games__faq-answer .page-fishing-games__btn-secondary {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -80px;
  }
}

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

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

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

  .page-fishing-games__text-block {
    font-size: 16px;
  }

  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }

  .page-fishing-games__hero-content {
    margin-top: -60px;
  }

  .page-fishing-games__main-title {
    font-size: 36px;
  }

  .page-fishing-games__description {
    font-size: 16px;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__about-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__faq-section {
    padding: 50px 0;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__game-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__faq-item {
    padding: 20px;
  }

  .page-fishing-games__game-thumbnail {
    height: 200px;
  }

  .page-fishing-games__game-card .page-fishing-games__game-title {
    font-size: 20px;
  }

  .page-fishing-games__guide-list,
  .page-fishing-games__strategy-list,
  .page-fishing-games__advantages-list,
  .page-fishing-games__faq-list {
    margin-top: 30px;
  }

  .page-fishing-games__guide-list li,
  .page-fishing-games__strategy-list li,
  .page-fishing-games__advantages-list li,
  .page-fishing-games__faq-question {
    font-size: 16px;
    padding: 15px;
  }

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

  /* Mobile image and video responsiveness */
  .page-fishing-games img,
  .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__hero-image-wrapper,
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}