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

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

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

.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-fishing-games__text-secondary {
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__text-gold {
  color: var(--page-fishing-games-gold-color);
}

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

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding for first section */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-fishing-games__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly with image for visual flow */
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1;
  border: 1px solid var(--page-fishing-games-border-color);
}

.page-fishing-games__hero-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--page-fishing-games-gold-color);
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--page-fishing-games-text-secondary);
}

.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-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-button-gradient);
  color: var(--page-fishing-games-text-main);
  border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-secondary {
  background: none;
  color: var(--page-fishing-games-gold-color);
  border: 2px solid var(--page-fishing-games-gold-color);
}

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

.page-fishing-games__btn-large {
  padding: 18px 40px;
  font-size: 1.1em;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-fishing-games__dark-bg .page-fishing-games__section-description {
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__why-choose-section,
.page-fishing-games__game-types-section,
.page-fishing-games__promotions-section,
.page-fishing-games__conclusion-section {
  padding: 80px 0;
}

.page-fishing-games__registration-guide-section,
.page-fishing-games__strategy-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-background);
}

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

.page-fishing-games__feature-item,
.page-fishing-games__strategy-item {
  background-color: var(--page-fishing-games-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-fishing-games-border-color);
}

.page-fishing-games__feature-title,
.page-fishing-games__strategy-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--page-fishing-games-gold-color);
}

.page-fishing-games__feature-description,
.page-fishing-games__strategy-description {
  font-size: 1em;
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Ensure images are responsive */
  object-fit: cover;
}

.page-fishing-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
  text-align: center;
}

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

.page-fishing-games__step-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--page-fishing-games-gold-color);
}

.page-fishing-games__step-description {
  font-size: 1em;
  margin-bottom: 25px;
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__game-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card layout */
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin: 15px 10px 10px 10px;
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__game-card-description {
  font-size: 0.95em;
  padding: 0 15px 20px 15px;
  color: #555555;
}

.page-fishing-games__promotion-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-fishing-games__promotion-item {
  background-color: #ffffff;
  color: #333333;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--page-fishing-games-primary-color);
  font-size: 1.05em;
}

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

.page-fishing-games__faq-item {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.15em;
  color: var(--page-fishing-games-text-main);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-fishing-games-gold-color);
}

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

.page-fishing-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: var(--page-fishing-games-text-secondary);
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -60px;
    padding: 30px;
  }
  .page-fishing-games__hero-title {
    font-size: 2.2em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__game-card-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }
  .page-fishing-games__hero-content {
    margin-top: -40px;
    padding: 25px;
    border-radius: 10px;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(1.8em, 5vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .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;
    padding: 12px 20px;
    font-size: 0.95em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__btn-large {
    padding: 15px 30px;
    font-size: 1em;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-fishing-games__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-fishing-games__why-choose-section,
  .page-fishing-games__registration-guide-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 60px 0;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__game-cards-grid,
  .page-fishing-games__strategy-grid,
  .page-fishing-games__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__feature-item,
  .page-fishing-games__strategy-item,
  .page-fishing-games__step-item {
    padding: 25px;
  }
  .page-fishing-games__feature-title,
  .page-fishing-games__strategy-title,
  .page-fishing-games__step-title {
    font-size: 1.3em;
  }
  .page-fishing-games__game-card-image {
    height: 160px;
  }
  .page-fishing-games__game-card-title {
    font-size: 1.2em;
  }
  .page-fishing-games__promotion-item {
    padding: 12px 15px;
    font-size: 0.9em;
  }
  .page-fishing-games__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 15px 15px 15px;
    font-size: 0.9em;
  }

  /* Mobile image, video, and container overrides */
  .page-fishing-games img {
    max-width: 100% !important;
    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__hero-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__registration-guide-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section,
  .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;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-fishing-games__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-fishing-games__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }
  .page-fishing-games__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}