.page-fishing-games {
  color: #ffffff; /* Body background is dark, so use light text */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
  background-color: #1a1a2e; /* Ensure dark background for hero */
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  height: auto;
  max-height: 700px; /* Limit hero image height */
  overflow: hidden;
}

.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;
  margin-top: 30px;
}

.page-fishing-games__hero-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
  /* clamp for responsive font size, avoids fixed large values */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-fishing-games__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-fishing-games__dark-bg {
  background-color: #1a1a2e;
  color: #ffffff;
}

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

.page-fishing-games__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0;
}

.page-fishing-games__about-fishing-games .page-fishing-games__text-block {
  color: #f0f0f0;
}

.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-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-fishing-games__feature-item .page-fishing-games__text-block {
  color: #f0f0f0;
}

.page-fishing-games__feature-title {
  font-size: 1.8rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-fishing-games__feature-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 20px auto;
  border-radius: 8px;
  display: block;
}

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

.page-fishing-games__card {
  background: #ffffff; /* Light background for cards */
  color: #333333; /* Dark text for cards */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

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

.page-fishing-games__card-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-fishing-games__card-description {
  font-size: 1rem;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__cta-button--primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-fishing-games__cta-button--primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
  transform: translateY(-2px);
}

.page-fishing-games__cta-button--secondary {
  background-color: #EA7C07; /* Using login color for secondary CTA */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-fishing-games__cta-button--secondary:hover {
  background-color: #c96806;
  border-color: #c96806;
  transform: translateY(-2px);
}

.page-fishing-games__how-to-play .page-fishing-games__text-block {
  color: #f0f0f0;
}

.page-fishing-games__step-by-step {
  margin-top: 40px;
}

.page-fishing-games__step-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-title {
  font-size: 1.8rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-fishing-games__step-item .page-fishing-games__text-block {
  color: #f0f0f0;
}

.page-fishing-games__step-image {
  width: 100%;
  height: auto;
  max-width: 1000px;
  margin: 20px auto;
  border-radius: 8px;
  display: block;
}

.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__strategy-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__strategy-heading {
  font-size: 1.6rem;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-fishing-games__strategy-item p {
  color: #f0f0f0;
}

.page-fishing-games__promotions .page-fishing-games__text-block {
  color: #f0f0f0;
}

.page-fishing-games__promotion-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 30px auto;
  border-radius: 8px;
  display: block;
}

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

.page-fishing-games__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  font-weight: bold;
  font-size: 1.1rem;
  color: #26A9E0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background-color: rgba(255, 255, 255, 0.05);
}

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

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: #ffffff;
}

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

.page-fishing-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: #f0f0f0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__faq-answer a {
  color: #EA7C07;
  text-decoration: underline;
}

.page-fishing-games__faq-answer a:hover {
  color: #c96806;
}

.page-fishing-games__cta-final {
  text-align: center;
  padding: 80px 0;
  background-color: #1a1a2e;
}

.page-fishing-games__cta-final .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__cta-final .page-fishing-games__text-block {
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-fishing-games__section-title {
    font-size: 2rem;
  }
  .page-fishing-games__feature-title, .page-fishing-games__card-title, .page-fishing-games__step-title, .page-fishing-games__strategy-heading {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 10px 15px 40px;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }
  .page-fishing-games__hero-description {
    font-size: 1rem;
  }
  .page-fishing-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-fishing-games__text-block {
    font-size: 0.95rem;
  }
  .page-fishing-games__feature-grid, .page-fishing-games__game-hall-grid {
    grid-template-columns: 1fr;
  }
  .page-fishing-games__feature-item, .page-fishing-games__card, .page-fishing-games__step-item, .page-fishing-games__strategy-item {
    padding: 20px;
  }
  .page-fishing-games__feature-title, .page-fishing-games__card-title, .page-fishing-games__step-title, .page-fishing-games__strategy-heading {
    font-size: 1.3rem;
  }
  .page-fishing-games__cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__cta-final {
    padding: 60px 0;
  }

  /* Mobile image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__game-hall-grid,
  .page-fishing-games__feature-grid,
  .page-fishing-games__step-by-step,
  .page-fishing-games__faq-list,
  .page-fishing-games__cta-final {
    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 {
    padding-left: 0;
    padding-right: 0;
  }
  .page-fishing-games__video-section {
    padding-top: 10px !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }
  .page-fishing-games__section-title {
    font-size: 1.6rem;
  }
  .page-fishing-games__feature-title, .page-fishing-games__card-title, .page-fishing-games__step-title, .page-fishing-games__strategy-heading {
    font-size: 1.2rem;
  }
  .page-fishing-games__hero-description {
    font-size: 0.9rem;
  }
  .page-fishing-games__cta-button {
    font-size: 0.85rem;
    padding: 10px 15px;
  }
}