/* style/fishing-games.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-dark: #017439;
  --btn-register-login: #C30808;
  --font-register-login: #FFFF00;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light backgrounds */
  background-color: var(--bg-light);
}

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

.page-fishing-games__dark-bg {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-fishing-games__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-fishing-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* General Section Styling */
.page-fishing-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background-color: var(--btn-register-login); /* Custom color for register/login */
  color: var(--font-register-login); /* Custom font color for register/login */
  border: 2px solid var(--btn-register-login);
}

.page-fishing-games__btn-primary:hover {
  background-color: #e00b0b; /* Slightly darker red */
  border-color: #e00b0b;
}

.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);
}

/* Video Section */
.page-fishing-games__video-section {
  padding: 80px 0;
  text-align: center;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

.page-fishing-games__video-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 20px auto 40px auto;
  color: var(--text-dark);
}

.page-fishing-games__video-cta {
  margin-top: 20px;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 80px 0;
}

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

.page-fishing-games__feature-card {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--text-dark);
}

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

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

.page-fishing-games__feature-text {
  font-size: 1em;
  line-height: 1.7;
}

/* Strategy Section */
.page-fishing-games__strategy-section {
  padding: 80px 0;
}

.page-fishing-games__strategy-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-fishing-games__strategy-text-block {
  flex: 1;
}

.page-fishing-games__strategy-subtitle {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-fishing-games__strategy-image {
  flex: 1;
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* CTA Download Section */
.page-fishing-games__cta-download-section {
  padding: 80px 0;
}

.page-fishing-games__cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
  border-radius: 15px;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-fishing-games__cta-content-left {
  flex: 1;
  text-align: left;
}

.page-fishing-games__cta-title {
  font-size: 2.2em;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-fishing-games__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-fishing-games__cta-image-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.page-fishing-games__cta-image {
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
}

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

.page-fishing-games__promo-card {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--text-dark);
}

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

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

.page-fishing-games__promo-text {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Security Section */
.page-fishing-games__security-section {
  padding: 80px 0;
}

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

.page-fishing-games__security-item {
  padding: 25px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

.page-fishing-games__security-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-fishing-games__security-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--text-light);
}

.page-fishing-games__security-text {
  font-size: 0.95em;
  line-height: 1.6;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
}

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

.page-fishing-games__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--primary-color);
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: #f0f0f0;
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: 1em; /* Ensure h3 inside question doesn't become too large */
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-dark);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 10px;
}

.page-fishing-games__faq-answer a {
  color: var(--primary-color);
  text-decoration: underline;
}

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

  .page-fishing-games__hero-description {
    font-size: 1.1em;
  }

  .page-fishing-games__section-title {
    font-size: 2em;
  }

  .page-fishing-games__cta-container {
    flex-direction: column;
    text-align: center;
  }

  .page-fishing-games__cta-content-left {
    text-align: center;
  }

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

  .page-fishing-games__strategy-content {
    flex-direction: column;
  }

  .page-fishing-games__strategy-image {
    margin-top: 30px;
  }
}

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

  .page-fishing-games__hero-section {
    height: auto;
    min-height: 400px;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
  }

  .page-fishing-games__hero-title {
    font-size: 2em;
  }

  .page-fishing-games__hero-description {
    font-size: 1em;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100%;
    max-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-title {
    font-size: 1.8em;
  }

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

  .page-fishing-games__container,
  .page-fishing-games__cta-container,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__features-grid,
  .page-fishing-games__promotions-grid,
  .page-fishing-games__security-grid,
  .page-fishing-games__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .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-wrapper {
    padding-bottom: 75%; /* Adjust for mobile aspect ratio if needed, or keep 16:9 */
  }

  .page-fishing-games__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Important for video section on mobile */
  }

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

  .page-fishing-games__feature-image,
  .page-fishing-games__promo-image,
  .page-fishing-games__security-icon {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__faq-question,
  .page-fishing-games__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Color Contrast Fixes (as per instruction) */
.page-fishing-games__dark-section {
  background: var(--bg-dark);
  color: var(--text-light);
}

.page-fishing-games__light-section {
  background: var(--bg-light);
  color: var(--text-dark);
}

.page-fishing-games__btn-primary {
  background: var(--btn-register-login);
  color: var(--font-register-login);
}

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

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

/* Ensure content area images are not too small */
.page-fishing-games__features-grid img,
.page-fishing-games__strategy-image,
.page-fishing-games__promo-card img,
.page-fishing-games__security-item img,
.page-fishing-games__cta-image {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensure images fill their space */
}

/* Specific override to ensure image width is not too small on mobile for content images */
@media (max-width: 768px) {
  .page-fishing-games__features-grid img,
  .page-fishing-games__strategy-image,
  .page-fishing-games__promo-card img,
  .page-fishing-games__security-item img,
  .page-fishing-games__cta-image {
    width: 100% !important;
    height: auto !important;
    min-width: unset !important; /* Allow resizing below 200px if container is smaller, but max-width 100% will handle it */
    min-height: unset !important;
  }
}