/* style/fishing-games.css */
/* Base styles */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Main text color for dark background */
  background-color: #08160F; /* Main body background color */
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #57E38D; /* Glow color */
  border-radius: 2px;
}

.page-fishing-games__text-block {
  font-size: 1em;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 20px;
  text-align: justify;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap; /* Prevent text wrapping by default */
  word-wrap: normal;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #F2FFF6; /* Text Main color */
  border: 2px solid #2E7A4E; /* Border color */
}

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Semi-transparent border color */
  color: #57E38D; /* Glow color */
}

.page-fishing-games__btn-play {
  background: linear-gradient(180deg, #F2C14E 0%, #E0A82A 100%); /* Gold gradient */
  color: #11271B; /* Card BG color for text */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__btn-play:hover {
  background: linear-gradient(180deg, #E0A82A 0%, #F2C14E 100%);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-fishing-games__cta-buttons--center {
  justify-content: center;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  background-color: #0A4B2C; /* Deep Green background for hero section */
  overflow: hidden;
}

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

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

.page-fishing-games__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  z-index: 1;
  margin-top: -80px; /* Pull content up slightly over image for visual flow */
  position: relative;
  background-color: rgba(10, 75, 44, 0.8); /* Semi-transparent background for readability */
  border-radius: 10px;
  padding-top: 60px;
  box-sizing: border-box;
}

.page-fishing-games__main-title {
  font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size for H1 */
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-fishing-games__subtitle {
  font-size: 1.2em;
  color: #A7D9B8;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Why Choose AW8 Section */
.page-fishing-games__why-choose-aw8-section {
  padding: 60px 0;
  background-color: #11271B; /* Card BG color */
}

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

.page-fishing-games__feature-card {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E;
  box-sizing: border-box;
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 5px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__card-title {
  font-size: 1.4em;
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__card-text {
  font-size: 0.95em;
  color: #A7D9B8;
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding: 60px 0;
  background-color: #08160F;
}

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

.page-fishing-games__game-card {
  background-color: #11271B; /* Card BG color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

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

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

.page-fishing-games__game-title {
  font-size: 1.3em;
  color: #F2FFF6;
  padding: 15px 20px 0;
  font-weight: 600;
}

.page-fishing-games__game-description {
  font-size: 0.9em;
  color: #A7D9B8;
  padding: 10px 20px;
  flex-grow: 1;
}

.page-fishing-games__btn-play {
  margin: 20px;
  width: calc(100% - 40px);
  flex-shrink: 0; /* Prevent button from shrinking */
}

/* How to Start Section */
.page-fishing-games__how-to-start-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-fishing-games__step-item {
  background-color: #11271B; /* Card BG color */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E;
  position: relative;
  counter-increment: step-counter;
  box-sizing: border-box;
}

.page-fishing-games__step-item::before {
  content: counter(step-counter);
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #F2C14E; /* Gold color */
  color: #11271B; /* Card BG color */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  border: 2px solid #E0A82A;
  box-shadow: 0 2px 10px rgba(242, 193, 78, 0.5);
}

.page-fishing-games__step-title {
  font-size: 1.3em;
  color: #F2FFF6;
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: center;
  font-weight: 600;
}

.page-fishing-games__step-description {
  font-size: 0.95em;
  color: #A7D9B8;
  text-align: center;
}

/* Benefits Section */
.page-fishing-games__benefits-section {
  padding: 60px 0;
  background-color: #08160F;
}

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

.page-fishing-games__benefit-item {
  background-color: #11271B; /* Card BG color */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 1px solid #2E7A4E;
  box-sizing: border-box;
}

.page-fishing-games__benefit-item:hover {
  transform: translateY(-10px);
}

.page-fishing-games__benefit-title {
  font-size: 1.4em;
  color: #F2FFF6;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-fishing-games__benefit-description {
  font-size: 0.95em;
  color: #A7D9B8;
}

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

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

.page-fishing-games__faq-item {
  background-color: #11271B; /* Card BG color */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E;
  box-sizing: border-box;
}

.page-fishing-games__faq-item summary {
  list-style: none; /* Hide default marker */
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1em;
  font-weight: 600;
  color: #F2FFF6;
  outline: none;
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #57E38D; /* Glow color */
  margin-left: 15px;
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Secondary text color */
  border-top: 1px solid #1E3A2A; /* Divider color */
  margin-top: 10px;
}

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

/* CTA Section */
.page-fishing-games__cta-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
  text-align: center;
}

.page-fishing-games__cta-section .page-fishing-games__section-title {
  color: #F2FFF6;
}

.page-fishing-games__cta-section .page-fishing-games__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #A7D9B8;
}

/* Dark background utility class */
.page-fishing-games__dark-bg {
  background-color: #0A4B2C;
  color: #F2FFF6;
  border-radius: 15px;
  padding: 50px 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__hero-content {
    margin-top: -60px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 30px 15px;
  }

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

  .page-fishing-games__hero-content {
    padding: 30px 15px;
    margin-top: -40px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-fishing-games__subtitle {
    font-size: 1em;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-play {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-fishing-games__feature-icon,
  .page-fishing-games__game-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games img {
    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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-content {
    margin-top: -20px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-play {
    font-size: 1em;
    padding: 10px 15px;
  }
}

/* Ensure all images are responsive and not small icons */
.page-fishing-games img {
  min-width: 200px;
  min-height: 200px;
}

/* Ensure content area images are not small */
.page-fishing-games__content-area img,
.page-fishing-games__feature-card img,
.page-fishing-games__game-card img,
.page-fishing-games__step-item img,
.page-fishing-games__benefit-item img {
  min-width: 200px;
  min-height: 200px;
}