/* style/fishing-games.css */

/* Body background color is #1a1a2e (dark), so default text should be light */
.page-fishing-games {
  color: #ffffff; /* Default text color for the page content */
  background-color: #1a1a2e; /* Inherit from body or set a base */
}

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background: linear-gradient(135deg, #26A9E0, #1a1a2e);
  text-align: center;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
  /* Using clamp for responsive font-size without fixed large values */
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-fishing-games__description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons adapt to width */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-fishing-games__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-fishing-games__btn-primary:hover {
  background: #1e86b3;
  border-color: #1e86b3;
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background: #EA7C07; /* Custom color for Login/Download */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-fishing-games__btn-secondary:hover {
  background: #c76706;
  border-color: #c76706;
  transform: translateY(-2px);
}

.page-fishing-games__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-fishing-games__text-link:hover {
  color: #1e86b3;
}

.page-fishing-games__section {
  padding: 80px 20px;
  text-align: center;
}

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

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-fishing-games__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Section */
.page-fishing-games__features-section {
  background-color: #1a1a2e;
}

.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: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-10px);
}

.page-fishing-games__feature-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

/* Guide Section */
.page-fishing-games__guide-section {
  background: linear-gradient(to right, #1a1a2e, #0d0d1e);
}

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

.page-fishing-games__step-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 30px;
  text-align: left;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-fishing-games__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-fishing-games__cta-center {
  margin-top: 50px;
}

/* Video Section */
.page-fishing-games__video-section {
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #1a1a2e;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin-top: 40px;
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block; /* Ensure it behaves like a block element */
  cursor: pointer;
}

/* Games List Section */
.page-fishing-games__games-list-section {
  background-color: #0d0d1e;
}

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

.page-fishing-games__game-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__game-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__btn-link {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background: #26A9E0;
  color: #ffffff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.page-fishing-games__btn-link:hover {
  background: #1e86b3;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  background: linear-gradient(135deg, #26A9E0, #1a1a2e);
}

.page-fishing-games__promotion-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 800px;
  text-align: left;
}

.page-fishing-games__promotion-list li {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 10px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__promo-highlight {
  font-weight: 700;
  color: #ffe082; /* A subtle gold for highlights */
}

/* Security Section */
.page-fishing-games__security-section {
  background-color: #1a1a2e;
}

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

.page-fishing-games__security-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 30px;
  text-align: left;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-fishing-games__faq-section {
  background: linear-gradient(to left, #1a1a2e, #0d0d1e);
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* For details tag */
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none; /* For details tag */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #e0e0e0;
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
  background: #0d0d1e;
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-section {
    padding: 40px 15px;
  }
  .page-fishing-games__section {
    padding: 60px 15px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important;
  }
  .page-fishing-games__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }
  .page-fishing-games__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__section {
    padding: 40px 15px;
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }
  .page-fishing-games__text-block {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__step-item,
  .page-fishing-games__game-card,
  .page-fishing-games__security-item {
    padding: 20px;
  }
  .page-fishing-games__feature-image,
  .page-fishing-games__game-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }
  .page-fishing-games__video-wrapper {
    margin-top: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__promotion-list li {
    padding: 15px;
    font-size: 1rem;
  }
  .page-fishing-games__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.9rem;
  }
  /* Ensure all image containers 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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .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__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;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
  }
}