/* style/fishing-games.css */

/* Base Styles for page-fishing-games */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css (#000000) */
}

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

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffffff; /* Ensure high contrast */
  text-transform: uppercase;
  font-weight: bold;
}

.page-fishing-games__section-text {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #f0f0f0; /* Slightly off-white for readability */
}

.page-fishing-games__subsection-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #017439; /* Brand color for sub-titles on light backgrounds */
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  box-sizing: border-box;
}

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

.page-fishing-games__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-fishing-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 1;
}

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

.page-fishing-games__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

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

/* Buttons */
.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-3px);
}

.page-fishing-games__btn-secondary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #005a2b;
  transform: translateY(-3px);
}

/* Intro Section */
.page-fishing-games__intro-section {
  background-color: rgba(1, 116, 57, 0.1); /* Slightly transparent brand color */
  color: #ffffff;
}

.page-fishing-games__intro-section .page-fishing-games__section-title,
.page-fishing-games__intro-section .page-fishing-games__section-text {
  color: #ffffff;
}

.page-fishing-games__intro-section .page-fishing-games__subsection-title {
  color: #FFFF00; /* Yellow for contrast on dark green tint */
}

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

.page-fishing-games__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-fishing-games__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__feature-name {
  font-size: 1.4em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-fishing-games__feature-description {
  color: #f0f0f0;
  font-size: 1em;
}

/* Games Showcase Section */
.page-fishing-games__games-showcase {
  background-color: #000000;
}

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

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

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

.page-fishing-games__game-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-fishing-games__game-description {
  color: #f0f0f0;
  font-size: 0.95em;
}

/* Guide Section */
.page-fishing-games__guide-section {
  background-color: #017439; /* Brand color */
  color: #ffffff;
}

.page-fishing-games__guide-section .page-fishing-games__section-title,
.page-fishing-games__guide-section .page-fishing-games__section-text {
  color: #ffffff;
}

.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: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-number {
  position: absolute;
  top: -15px;
  left: 20px;
  background-color: #FFFF00;
  color: #017439;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  border: 2px solid #017439;
}

.page-fishing-games__step-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-fishing-games__step-text {
  color: #f0f0f0;
  font-size: 1em;
}

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

/* Strategy Section */
.page-fishing-games__strategy-section {
  background-color: #000000;
}

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

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

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

.page-fishing-games__strategy-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-fishing-games__strategy-title {
  font-size: 1.4em;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-fishing-games__strategy-description {
  color: #f0f0f0;
  font-size: 0.95em;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  background-color: #017439; /* Brand color */
  color: #ffffff;
}

.page-fishing-games__promotions-section .page-fishing-games__section-title,
.page-fishing-games__promotions-section .page-fishing-games__section-text {
  color: #ffffff;
}

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

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

.page-fishing-games__promo-title {
  font-size: 1.4em;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-fishing-games__promo-description {
  color: #f0f0f0;
  font-size: 1em;
}

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

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

.page-fishing-games__security-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-fishing-games__security-item:hover {
  transform: translateY(-10px);
}

.page-fishing-games__security-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__security-title {
  font-size: 1.4em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-fishing-games__security-description {
  color: #f0f0f0;
  font-size: 1em;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  background-color: #017439; /* Brand color */
  color: #ffffff;
}

.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: #ffffff;
}

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

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.15);
  margin-bottom: 15px;
  border-radius: 8px;
  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;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFF00;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease;
}

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

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

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: '−';
}

.page-fishing-games__faq-answer {
  padding: 20px;
  font-size: 1.05em;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05);
  line-height: 1.7;
}

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

/* Details/Summary specific styles to remove default marker */
.page-fishing-games__faq-item > summary {
  list-style: none;
}

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

/* CTA Section */
.page-fishing-games__cta-section {
  background-color: #000000;
  padding-bottom: 80px;
}

.page-fishing-games__cta-section .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__cta-section .page-fishing-games__section-text {
  color: #f0f0f0;
}

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

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    height: auto;
    min-height: 70vh;
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }
  .page-fishing-games__hero-title {
    font-size: 2.2em;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__cta-button {
    width: 100%;
    padding: 12px 20px;
  }

  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-fishing-games__section-text {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-fishing-games__subsection-title {
    font-size: 1.4em;
  }

  /* Mobile responsive for images */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile responsive for video */
  .page-fishing-games video,
  .page-fishing-games__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Containers with images/videos/buttons */
  .page-fishing-games__container,
  .page-fishing-games__hero-content,
  .page-fishing-games__hero-video-wrapper,
  .page-fishing-games__game-grid,
  .page-fishing-games__steps-list,
  .page-fishing-games__strategy-grid,
  .page-fishing-games__promo-list,
  .page-fishing-games__security-features,
  .page-fishing-games__faq-list,
  .page-fishing-games__hero-cta-buttons,
  .page-fishing-games__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  
  /* Specific button container wrap */
  .page-fishing-games__cta-buttons {
    flex-wrap: wrap !important;
    gap: 15px !important;
  }

  .page-fishing-games__feature-list,
  .page-fishing-games__game-grid,
  .page-fishing-games__steps-list,
  .page-fishing-games__strategy-grid,
  .page-fishing-games__promo-list,
  .page-fishing-games__security-features {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__step-number {
    top: -10px;
    left: 15px;
  }
  
  .page-fishing-games__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-fishing-games__faq-answer {
    font-size: 0.95em;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-title {
    font-size: 1.6em;
  }
}

/* Global image size constraint check: ensure no content images are smaller than 200px */
.page-fishing-games img:not(.page-fishing-games__hero-video) {
  min-width: 200px;
  min-height: 200px;
}

/* Ensure images don't have color filters */
.page-fishing-games img {
  filter: none !important;
}

/* Dark background for specific sections */
.page-fishing-games__dark-section {
  background-color: #017439;
  color: #ffffff;
}
.page-fishing-games__dark-section .page-fishing-games__section-title,
.page-fishing-games__dark-section .page-fishing-games__section-text {
  color: #ffffff;
}

.page-fishing-games__dark-section .page-fishing-games__faq-question .page-fishing-games__faq-qtext {
  color: #FFFF00;
}

.page-fishing-games__dark-section .page-fishing-games__faq-toggle {
  color: #FFFF00;
}