/* style/fishing-games.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-fishing-games {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Global content area styling */
.page-fishing-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 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: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(135deg, #017439, #005a2e);
  color: #ffffff;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFF00; /* Register and Login font color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

/* Buttons */
.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: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
  background-color: #e02a2a;
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: #005a2e;
  transform: translateY(-2px);
}

.page-fishing-games__btn--center {
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  display: table; /* To center block elements with auto margins */
}

/* Section Titles */
.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #017439; /* Brand primary color for titles on light background */
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: #FFFF00; /* Yellow for titles on dark background */
}

.page-fishing-games__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
  color: #FFFF00; /* Yellow for sub-titles on dark background */
}

/* Text Blocks */
.page-fishing-games__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0; /* Light text for dark body background */
}

.page-fishing-games__light-bg .page-fishing-games__text-block {
  color: #333333; /* Dark text for light background */
}

/* Image Grid */
.page-fishing-games__image-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.page-fishing-games__image-item {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* About Fishing Section */
.page-fishing-games__about-fishing {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
}

/* Tai Xiu Bonus Section */
.page-fishing-games__tai-xiu-bonus-section {
  background-color: #1a1a1a; /* Darker background for contrast */
  color: #ffffff;
  padding: 60px 0;
}

/* Features Section */
.page-fishing-games__features-section {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
}

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

.page-fishing-games__feature-item {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games__feature-icon {
  width: 100%;
  height: auto;
  max-width: 200px; /* Adjust max-width for icons */
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
  object-fit: contain;
  margin-bottom: 15px;
}

.page-fishing-games__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #017439;
  margin-bottom: 10px;
}

.page-fishing-games__feature-description {
  font-size: 1rem;
  color: #555555;
}

/* Other Games Section */
.page-fishing-games__other-games-section {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 60px 0;
}

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

.page-fishing-games__game-card {
  display: block;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
  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(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__game-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  padding: 15px;
  text-align: center;
  color: #FFFF00; /* Yellow for card titles on dark background */
}

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

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

.page-fishing-games__faq-item {
  background: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  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: 600;
  color: #017439;
  cursor: pointer;
  background-color: #e6f7ed; /* Light green for question background */
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: #d4ede2;
}

.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: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #017439;
}

.page-fishing-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: #555555;
  line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image-wrapper {
    max-width: 100%;
  }
}

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

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

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

  .page-fishing-games__hero-description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }

  .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-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__content-area,
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__game-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Content area image minimum size, still responsive */
  .page-fishing-games__feature-icon {
    min-width: 200px;
    min-height: 200px;
  }

  .page-fishing-games__feature-list {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__game-categories {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__game-card-image {
    height: 180px;
  }

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

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

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

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

  .page-fishing-games__sub-title {
    font-size: clamp(1.3rem, 5vw, 1.6rem);
  }

  .page-fishing-games__hero-section,
  .page-fishing-games__about-fishing,
  .page-fishing-games__tai-xiu-bonus-section,
  .page-fishing-games__features-section,
  .page-fishing-games__other-games-section,
  .page-fishing-games__faq-section {
    padding: 30px 0;
  }
}