/* style/fishing-games.css */

:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --card-bg: #11271B;
  --background-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* body đã có padding-top: var(--header-offset) từ shared.css */
.page-fishing-games {
  background-color: var(--background-color);
  color: var(--text-main); /* Text Main for overall content */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

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

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-fishing-games__main-title {
  font-size: clamp(2em, 5vw, 3em); /* Responsive font size */
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__section-title {
  font-size: 2.2em;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-fishing-games__text-block {
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 1.05em;
}

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

.page-fishing-games__center-text {
  text-align: center;
}

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

.page-fishing-games__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--text-main); /* Card text uses main text color */
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__feature-image, .page-fishing-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

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

.page-fishing-games__feature-description, .page-fishing-games__promo-description {
  color: var(--text-secondary);
  font-size: 0.95em;
  flex-grow: 1; /* Allow description to take available space */
}

.page-fishing-games__list, .page-fishing-games__ordered-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-fishing-games__ordered-list {
  list-style-type: decimal;
}

.page-fishing-games__list li, .page-fishing-games__ordered-list li {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.page-fishing-games__list li strong, .page-fishing-games__ordered-list li strong {
  color: var(--text-main);
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--card-bg);
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--text-main);
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: var(--primary-color);
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
  font-size: 1.1em;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
  background-color: var(--primary-color);
  border-bottom-color: transparent;
}

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

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

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

/* Responsive Styles */
@media (max-width: 768px) {
  .page-fishing-games__content-area, .page-fishing-games__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__hero-section {
    padding-bottom: 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-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

  .page-fishing-games__card {
    padding: 20px;
  }

  .page-fishing-games__feature-image, .page-fishing-games__promo-image {
    height: 180px;
  }

  .page-fishing-games__feature-title, .page-fishing-games__promo-title {
    font-size: 1.3em;
  }

  .page-fishing-games__text-block, .page-fishing-games__list li, .page-fishing-games__ordered-list li, .page-fishing-games__faq-answer {
    font-size: 0.95em;
  }

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

  /* Responsive images */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/content */
  .page-fishing-games__section, 
  .page-fishing-games__container, 
  .page-fishing-games__card, 
  .page-fishing-games__hero-section, 
  .page-fishing-games__feature-grid, 
  .page-fishing-games__promo-grid, 
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Specific padding for sections */
  .page-fishing-games__introduction, 
  .page-fishing-games__features, 
  .page-fishing-games__types, 
  .page-fishing-games__guide, 
  .page-fishing-games__strategies, 
  .page-fishing-games__promotions, 
  .page-fishing-games__why-choose, 
  .page-fishing-games__faq-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}