.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark #121212, so use light text */
  background-color: transparent; /* Main content background will be transparent to show body background */
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  text-transform: uppercase;
}

.page-fishing-games__text-block {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  padding-top: var(--header-offset, 120px); /* Adjust based on shared.css padding-top on body */
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6);
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.page-fishing-games__hero-title {
  font-size: 48px;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 30px;
  line-height: 1.5;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play,
.page-fishing-games__btn-text {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

.page-fishing-games__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
}

.page-fishing-games__btn-play {
  background-color: #0A2463;
  color: #FFD700;
  border: 2px solid #0A2463;
  padding: 10px 20px;
  font-size: 16px;
  margin-top: 15px;
}

.page-fishing-games__btn-play:hover {
  background-color: #FFD700;
  color: #0A2463;
  border-color: #FFD700;
}

.page-fishing-games__btn-text {
  background: none;
  border: none;
  color: #FFD700;
  text-decoration: underline;
  padding: 5px 0;
  font-size: 16px;
  margin-top: 10px;
}

.page-fishing-games__btn-text:hover {
  color: #e6c200;
}

.page-fishing-games__btn-full-width {
  display: block;
  width: fit-content;
  margin: 30px auto 0 auto;
  padding: 15px 40px;
}

/* Introduction Section */
.page-fishing-games__introduction-section {
  padding: 60px 0;
  background-color: #0A2463;
}

/* Games Section */
.page-fishing-games__games-section {
  padding: 60px 0;
  background-color: #0a2463c0; /* Slightly transparent to hint at background */
}

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

.page-fishing-games__game-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__game-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-fishing-games__game-description {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 60px 0;
  background-color: #0A2463;
}

.page-fishing-games__guide-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-fishing-games__guide-steps {
  flex: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.page-fishing-games__step-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__step-title {
  font-size: 20px;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-fishing-games__guide-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-fishing-games__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Strategy Section */
.page-fishing-games__strategy-section {
  padding: 60px 0;
  background-color: #0a2463c0;
}

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

.page-fishing-games__strategy-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__strategy-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 10px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 60px 0;
  background-color: #0A2463;
}

.page-fishing-games__promotion-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__promotion-card:nth-child(even) {
  flex-direction: row-reverse;
}

.page-fishing-games__promotion-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-fishing-games__promotion-content {
  flex: 1;
  padding: 30px;
}

.page-fishing-games__promotion-title {
  font-size: 28px;
  color: #FFD700;
  margin-bottom: 15px;
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
  padding: 60px 0;
  background-color: #0a2463c0;
}

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

.page-fishing-games__feature-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__feature-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 10px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: #0A2463;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-fishing-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff;
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  color: #e6c200;
  transform: rotate(45deg);
}

/* Global image reset for content area */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 40px;
  }

  .page-fishing-games__hero-description {
    font-size: 20px;
  }

  .page-fishing-games__section-title {
    font-size: 32px;
  }

  .page-fishing-games__guide-content {
    flex-direction: column;
  }

  .page-fishing-games__guide-steps {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__promotion-card {
    flex-direction: column;
  }

  .page-fishing-games__promotion-card:nth-child(even) {
    flex-direction: column;
  }

  .page-fishing-games__promotion-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 30px 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 100px) !important; /* Ensure mobile padding is correct */
    padding-bottom: 40px;
  }

  .page-fishing-games__hero-title {
    font-size: 32px;
  }

  .page-fishing-games__hero-description {
    font-size: 18px;
  }

  .page-fishing-games__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

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

  .page-fishing-games__game-grid,
  .page-fishing-games__strategy-grid,
  .page-fishing-games__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__game-card,
  .page-fishing-games__strategy-card,
  .page-fishing-games__feature-card {
    padding: 20px;
  }

  .page-fishing-games__game-title,
  .page-fishing-games__strategy-title,
  .page-fishing-games__feature-title {
    font-size: 20px;
  }

  .page-fishing-games__promotion-card {
    flex-direction: column;
  }

  .page-fishing-games__promotion-card:nth-child(even) {
    flex-direction: column;
  }

  .page-fishing-games__promotion-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__promotion-content {
    padding: 20px;
  }

  .page-fishing-games__promotion-title {
    font-size: 24px;
  }

  /* Buttons responsive */
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-play,
  .page-fishing-games__btn-text {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page-fishing-games__btn-full-width {
    width: 100% !important;
    margin: 20px auto 0 auto !important;
  }

  .page-fishing-games__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-fishing-games__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-fishing-games__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-fishing-games__faq-answer {
    padding: 0 15px;
  }
  
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px !important;
  }
}