/* style/fishing-games.css */

:root {
  --hf888-primary: #26A9E0;
  --hf888-secondary: #FFFFFF;
  --hf888-text-dark: #333333;
  --hf888-text-light: #FFFFFF;
  --hf888-bg-dark: #1a1a1a; /* Body background from shared.css */
  --hf888-login-btn: #EA7C07;
}

/* Base styles for the page content, ensuring contrast with dark body background */
.page-fishing-games {
  color: var(--hf888-text-light); /* Light text for dark background */
  background-color: var(--hf888-bg-dark); /* Should match body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.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;
  background-color: var(--hf888-primary);
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-content {
  max-width: 900px;
  padding: 0 15px;
  z-index: 1;
}

.page-fishing-games__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--hf888-text-light);
  margin-bottom: 20px;
  max-width: 100%;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
}

.page-fishing-games__subtitle {
  font-size: 1.15rem;
  color: var(--hf888-text-light);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-link {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background-color: var(--hf888-primary);
  color: var(--hf888-text-light);
  border: 2px solid var(--hf888-primary);
  box-shadow: 0 4px 10px rgba(38, 169, 224, 0.4);
}

.page-fishing-games__btn-primary:hover {
  background-color: #1f8ec7;
  border-color: #1f8ec7;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(38, 169, 224, 0.6);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--hf888-primary);
  border: 2px solid var(--hf888-primary);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--hf888-primary);
  color: var(--hf888-text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(38, 169, 224, 0.4);
}

.page-fishing-games__btn-link {
  background-color: transparent;
  color: var(--hf888-primary);
  border: 1px solid var(--hf888-primary);
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 25px;
}

.page-fishing-games__btn-link:hover {
  background-color: var(--hf888-primary);
  color: var(--hf888-text-light);
}

.page-fishing-games__section {
  padding: 60px 20px;
  background-color: var(--hf888-bg-dark);
  color: var(--hf888-text-light);
}

.page-fishing-games__section--why-us {
  background-color: #212121;
}

.page-fishing-games__section--game-types {
  background-color: var(--hf888-bg-dark);
}

.page-fishing-games__section--how-to-play {
  background-color: #212121;
}

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

.page-fishing-games__section--promotions {
  background-color: #212121;
}

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

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

.page-fishing-games__section--cta {
  background-color: var(--hf888-primary);
  color: var(--hf888-text-light);
  text-align: center;
}

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

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--hf888-text-light);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-fishing-games__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: justify;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__feature-card,
.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--hf888-text-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__feature-card:hover,
.page-fishing-games__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 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;
  display: block;
}

.page-fishing-games__feature-title,
.page-fishing-games__promo-title,
.page-fishing-games__security-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--hf888-primary);
}

.page-fishing-games__feature-description,
.page-fishing-games__promo-description,
.page-fishing-games__security-description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  flex-grow: 1;
}

.page-fishing-games__game-list,
.page-fishing-games__steps-list,
.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__game-item,
.page-fishing-games__step-item,
.page-fishing-games__strategy-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
}

.page-fishing-games__game-item:hover,
.page-fishing-games__step-item:hover,
.page-fishing-games__strategy-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__game-name,
.page-fishing-games__step-title,
.page-fishing-games__strategy-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--hf888-primary);
  margin-bottom: 10px;
}

.page-fishing-games__game-description,
.page-fishing-games__step-description,
.page-fishing-games__strategy-description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

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

.page-fishing-games__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-fishing-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--hf888-primary);
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--hf888-text-light);
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

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

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

  .page-fishing-games__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-fishing-games__subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-link {
    padding: 12px 20px;
    font-size: 0.95rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
  }

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

  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-fishing-games__text-block {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__promotions-grid,
  .page-fishing-games__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__game-item,
  .page-fishing-games__step-item,
  .page-fishing-games__strategy-item,
  .page-fishing-games__faq-item {
    padding: 20px;
  }

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

  .page-fishing-games__feature-title,
  .page-fishing-games__promo-title,
  .page-fishing-games__security-title,
  .page-fishing-games__game-name,
  .page-fishing-games__step-title,
  .page-fishing-games__strategy-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .page-fishing-games__feature-description,
  .page-fishing-games__promo-description,
  .page-fishing-games__security-description,
  .page-fishing-games__game-description,
  .page-fishing-games__step-description,
  .page-fishing-games__strategy-description {
    font-size: 0.9rem;
  }

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

  .page-fishing-games__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  /* Ensure all images are responsive */
  .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,
  .page-fishing-games__hero-section,
  .page-fishing-games__content-area {
    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; 
  }
  
  /* Video specific mobile styles - though no video is present in HTML */
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }
  
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (min-width: 769px) {
  .page-fishing-games__hero-image-wrapper {
    width: 70%; /* Adjust as needed for larger screens */
  }
}