/* style/fishing-games.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --text-on-dark-bg: #FFFFFF;
  --text-on-light-bg: #333333;
  --card-bg-dark-mode: rgba(255, 255, 255, 0.1);
  --card-border-dark-mode: rgba(255, 255, 255, 0.2);
}

/* Base styles for the page, ensuring text contrast on the dark body background */
.page-fishing-games {
  color: var(--text-on-dark-bg); /* Text must be light on dark body background (#0a0a0a) */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.page-fishing-games__main-title {
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-on-dark-bg);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

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

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

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

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

.page-fishing-games__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-on-dark-bg);
}

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Dark sections for contrast */
.page-fishing-games__dark-section {
  background-color: rgba(38, 169, 224, 0.1); /* Slightly transparent primary color tint */
  padding: 80px 0;
  color: var(--text-on-dark-bg);
}

.page-fishing-games__intro-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: transparent; /* Allows body background to show */
  color: var(--text-on-dark-bg);
}

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

.page-fishing-games__feature-card {
  background-color: var(--card-bg-dark-mode);
  border: 1px solid var(--card-border-dark-mode);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-on-dark-bg);
}

.page-fishing-games__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

/* How-To-Play Steps */
.page-fishing-games__steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__step-item {
  background-color: var(--card-bg-dark-mode);
  border: 1px solid var(--card-border-dark-mode);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-on-dark-bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Pushes buttons to bottom */
}

.page-fishing-games__step-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__step-item .page-fishing-games__btn-primary,
.page-fishing-games__step-item .page-fishing-games__btn-secondary {
  margin-top: 20px;
  width: 100%;
  text-align: center;
}

/* Strategy List */
.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__strategy-list li {
  background-color: var(--card-bg-dark-mode);
  border: 1px solid var(--card-border-dark-mode);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: var(--text-on-dark-bg);
}

.page-fishing-games__strategy-list li strong {
  color: var(--primary-color);
}

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

.page-fishing-games__promo-card {
  background-color: var(--card-bg-dark-mode);
  border: 1px solid var(--card-border-dark-mode);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-on-dark-bg);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

.page-fishing-games__security-item {
  background-color: var(--card-bg-dark-mode);
  border: 1px solid var(--card-border-dark-mode);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-on-dark-bg);
}

.page-fishing-games__security-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.05);
  user-select: none;
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.1);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: rgba(38, 169, 224, 0.15);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-on-dark-bg);
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

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

  .page-fishing-games__main-title {
    font-size: 2.8em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games h1,
  .page-fishing-games h2,
  .page-fishing-games h3 {
    text-align: center;
  }

  .page-fishing-games__main-title {
    font-size: clamp(2em, 8vw, 2.5em); /* Using clamp for responsive H1 */
    padding: 0 10px;
  }

  .page-fishing-games__description {
    font-size: 1em;
    padding: 0 10px;
  }

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

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

  .page-fishing-games__intro-section,
  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section {
    padding: 50px 0;
  }

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

  /* Mobile image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile video responsiveness */
  .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;
  }

  /* Mobile button responsiveness */
  .page-fishing-games__cta-button,
  .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__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;
  }

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

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

  .page-fishing-games__faq-answer {
    padding: 0 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 0.9em;
    padding: 12px 20px;
  }

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