/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default light text for dark body background */
  background-color: var(--dark-bg-1); /* Inherit from shared.css */
}

.page-fishing-games__fixed-header-spacing {
  padding-top: 120px; /* Desktop fixed header spacing */
}

@media (max-width: 768px) {
  .page-fishing-games__fixed-header-spacing {
    padding-top: 100px; /* Mobile fixed header spacing */
  }
}

.page-fishing-games__hero-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0A2463, #1A3A7A);
}

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

.page-fishing-games__main-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #E0B14A;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f8f9fa;
}

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

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-fishing-games__hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  display: block;
}

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

.page-fishing-games__section--intro {
  background-color: #0A2463;
}

.page-fishing-games__section--benefits {
  background-color: var(--dark-bg-1);
}

.page-fishing-games__section--guide {
  background-color: #1A3A7A;
}

.page-fishing-games__section--offers {
  background-color: var(--dark-bg-1);
}

.page-fishing-games__section--tips {
  background-color: #0A2463;
}

.page-fishing-games__section--support {
  background-color: var(--dark-bg-1);
}

.page-fishing-games__section--faq {
  background-color: #1A3A7A;
}

.page-fishing-games__section--conclusion {
  background-color: #0A2463;
  text-align: center;
}

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

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

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #E0B14A;
}

.page-fishing-games__paragraph {
  font-size: 18px;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-fishing-games__link-inline {
  color: #E0B14A;
  text-decoration: none;
  font-weight: bold;
}

.page-fishing-games__link-inline:hover {
  text-decoration: underline;
}

.page-fishing-games__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.page-fishing-games__btn--primary {
  background-color: #E0B14A;
  color: #0A2463;
}

.page-fishing-games__btn--primary:hover {
  background-color: #d4a742;
  color: #0A2463;
}

.page-fishing-games__btn--secondary {
  background-color: transparent;
  color: #E0B14A;
  border-color: #E0B14A;
}

.page-fishing-games__btn--secondary:hover {
  background-color: #E0B14A;
  color: #0A2463;
}

.page-fishing-games__btn--small {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
}

.page-fishing-games__btn--large {
  padding: 20px 40px;
  font-size: 22px;
  border-radius: 10px;
}

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

.page-fishing-games__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  border: 1px solid rgba(224, 177, 74, 0.3);
}

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

.page-fishing-games__card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

.page-fishing-games__card-title {
  font-size: 24px;
  font-weight: 600;
  color: #E0B14A;
  padding: 20px 20px 10px;
}

.page-fishing-games__card-text {
  font-size: 16px;
  padding: 0 20px 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-fishing-games__guide-layout {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-fishing-games__guide-content {
  flex: 2;
}

.page-fishing-games__image-right {
  flex: 1;
  min-width: 200px;
}

.page-fishing-games__image-right img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}

.page-fishing-games__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  border-left: 5px solid #E0B14A;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-title {
  font-size: 22px;
  color: #E0B14A;
  margin-bottom: 15px;
}

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

.page-fishing-games__list-item {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 30px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  border-left: 5px solid #E0B14A;
}

.page-fishing-games__list-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__list-text-content h3 {
  font-size: 22px;
  color: #E0B14A;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-fishing-games__list-text-content p {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 0;
}

.page-fishing-games__cta-center {
  text-align: center;
  margin-top: 40px;
}

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

.page-fishing-games__tip-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-bottom: 3px solid #E0B14A;
}

.page-fishing-games__tip-title {
  font-size: 20px;
  color: #E0B14A;
  margin-top: 0;
  margin-bottom: 15px;
}

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

.page-fishing-games__support-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-fishing-games__support-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__support-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(224, 177, 74, 0.5));
}

.page-fishing-games__support-card h3 {
  font-size: 24px;
  color: #E0B14A;
  margin-bottom: 15px;
}

.page-fishing-games__support-card p {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-fishing-games__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 15px;
  opacity: 0;
  color: #f0f0f0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* Use !important to ensure priority, large value to contain any content */
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(224, 177, 74, 0.3);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-fishing-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #E0B14A;
}

.page-fishing-games__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #E0B14A;
  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__faq-item.active .page-fishing-games__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Optional: rotate for 'X' effect */
}

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

  .page-fishing-games__hero-description {
    font-size: 18px;
  }

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

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

  .page-fishing-games__grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-fishing-games__guide-layout {
    flex-direction: column;
  }

  .page-fishing-games__image-right {
    margin-top: 30px;
  }
}

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

  .page-fishing-games__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-fishing-games__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-fishing-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__btn {
    padding: 12px 25px;
    font-size: 16px;
    width: 100%;
  }

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

  .page-fishing-games__container {
    padding: 0 15px;
  }

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

  .page-fishing-games__paragraph {
    font-size: 15px;
  }

  .page-fishing-games__grid {
    gap: 20px;
  }

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

  .page-fishing-games__card-title {
    font-size: 20px;
    padding: 15px 15px 8px;
  }

  .page-fishing-games__card-text {
    font-size: 14px;
    padding: 0 15px 15px;
  }

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

  .page-fishing-games__step-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .page-fishing-games__list-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 20px;
  }

  .page-fishing-games__list-item img {
    width: 80px;
    height: 80px;
  }

  .page-fishing-games__list-text-content h3 {
    font-size: 20px;
  }

  .page-fishing-games__list-text-content p {
    font-size: 14px;
  }

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

  .page-fishing-games__tip-card {
    padding: 20px;
  }

  .page-fishing-games__tip-title {
    font-size: 18px;
  }

  .page-fishing-games__support-channels {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-fishing-games__support-card {
    padding: 25px;
  }

  .page-fishing-games__support-card img {
    width: 100px;
    height: 100px;
  }

  .page-fishing-games__support-card h3 {
    font-size: 20px;
  }

  .page-fishing-games__faq-question {
    padding: 15px;
  }

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

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

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

/* Ensure all images are responsive and prevent horizontal scroll */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-fishing-games__section,
.page-fishing-games__card,
.page-fishing-games__container,
.page-fishing-games__hero-banner,
.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .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-banner,
  .page-fishing-games__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-fishing-games__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__hero-banner {
    padding-left: 0;
    padding-right: 0;
  }
}