/* style/fishing-games-tips.css */

:root {
  --primary-color: #1A2E40;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0a0a0a;
  --card-bg-dark: rgba(255, 255, 255, 0.08);
  --border-color: rgba(255, 255, 255, 0.15);
}

/* Base styles for the page content */
.page-fishing-games-tips {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Body background is dark, so use light text */
  background-color: var(--bg-dark);
}

/* Fixed header padding */
.page-fishing-games-tips__hero-section {
  padding-top: 120px; /* Desktop: Adjust based on fixed header height */
}

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

.page-fishing-games-tips__section-title {
  font-size: 38px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-fishing-games-tips__description {
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-fishing-games-tips__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-fishing-games-tips__btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-fishing-games-tips__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-fishing-games-tips__btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.page-fishing-games-tips__hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0d1a26 100%);
  padding: 80px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-fishing-games-tips__main-title {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

/* Strategies Section */
.page-fishing-games-tips__strategies-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

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

.page-fishing-games-tips__strategy-item {
  background: var(--card-bg-dark);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-fishing-games-tips__strategy-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games-tips__strategy-image {
  width: 100%;
  max-width: 400px; /* Ensure image is not too wide */
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games-tips__item-title {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-fishing-games-tips__item-text {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* u888vip1 Benefits Section */
.page-fishing-games-tips__u888vip1-benefits-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0d1a26 0%, var(--primary-color) 100%);
  text-align: center;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.page-fishing-games-tips__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-fishing-games-tips__benefits-list li {
  background: var(--card-bg-dark);
  padding: 20px;
  border-radius: 8px;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games-tips__benefits-list li strong {
  color: var(--secondary-color);
}

/* FAQ Section */
.page-fishing-games-tips__faq-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

.page-fishing-games-tips__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

/* FAQ container style */
.page-fishing-games-tips__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* FAQ default state - answer hidden */
.page-fishing-games-tips__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 25px;
  opacity: 0;
  background: var(--card-bg-dark);
  color: rgba(255, 255, 255, 0.8);
}

/* FAQ expanded state - 🚨 Use !important and sufficiently large max-height */
.page-fishing-games-tips__faq-item.active .page-fishing-games-tips__faq-answer {
  max-height: 2000px !important; /* 🚨 Use !important for priority, large enough value */
  padding: 20px 25px !important;
  opacity: 1;
  background: var(--card-bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games-tips__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* Question style */
.page-fishing-games-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--primary-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-fishing-games-tips__faq-question:hover {
  background: #2a435c;
}

.page-fishing-games-tips__faq-question:active {
  background: #1a2e40;
}

/* Question title style */
.page-fishing-games-tips__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
  color: var(--secondary-color);
}

/* Toggle icon */
.page-fishing-games-tips__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-fishing-games-tips__faq-item.active .page-fishing-games-tips__faq-toggle {
  transform: rotate(45deg);
  color: #ffffff;
}

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

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

  .page-fishing-games-tips__description {
    font-size: 17px;
  }

  .page-fishing-games-tips__strategy-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  /* Fixed header padding for mobile */
  .page-fishing-games-tips__hero-section {
    padding-top: 100px !important; /* Mobile: Adjust based on fixed header height */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games-tips__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-fishing-games-tips__section-title {
    font-size: 28px;
  }

  .page-fishing-games-tips__description {
    font-size: 16px;
  }

  .page-fishing-games-tips__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games-tips__hero-section,
  .page-fishing-games-tips__strategies-section,
  .page-fishing-games-tips__u888vip1-benefits-section,
  .page-fishing-games-tips__faq-section {
    padding: 40px 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games-tips__strategy-grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games-tips__strategy-item {
    padding: 20px;
  }

  .page-fishing-games-tips__strategy-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
    border-radius: 4px;
  }

  .page-fishing-games-tips__benefits-list {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .page-fishing-games-tips__benefits-list li {
    padding: 15px;
    font-size: 15px;
  }

  .page-fishing-games-tips__faq-question {
    padding: 15px 20px;
  }

  .page-fishing-games-tips__faq-question h3 {
    font-size: 16px;
  }

  .page-fishing-games-tips__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }

  .page-fishing-games-tips__faq-answer {
    padding: 0 20px;
  }
  .page-fishing-games-tips__faq-item.active .page-fishing-games-tips__faq-answer {
    padding: 15px 20px !important;
  }

  /* All images responsive */
  .page-fishing-games-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
}

/* Contrast Fixes */
.page-fishing-games-tips__dark-bg {
  color: var(--text-light); /* Deep dark background, light text */
}

.page-fishing-games-tips__light-bg {
  color: var(--text-dark); /* Light background, dark text */
}

.page-fishing-games-tips__card {
  background: var(--card-bg-dark);
  color: var(--text-light);
  border: 1px solid var(--border-color);
}

/* Ensure text in p and li tags are readable */
.page-fishing-games-tips p, 
.page-fishing-games-tips li {
  color: rgba(255, 255, 255, 0.9);
}

.page-fishing-games-tips__item-title {
  color: var(--secondary-color);
}

.page-fishing-games-tips__faq-question h3 {
  color: var(--secondary-color);
}

.page-fishing-games-tips__faq-toggle {
  color: var(--secondary-color);
}