/* style/fishing-games.css */

/* Base styles for the specific page */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--secondary-color, #FFFFFF); /* Body background from shared */
}

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

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

.page-fishing-games__hero-video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  cursor: pointer;
}

.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: 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;
  line-height: 1.2;
  color: #ffffff;
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

/* General Section Styles */
.page-fishing-games__section {
  padding: 80px 20px;
  text-align: center;
  box-sizing: border-box;
}

.page-fishing-games__dark-section {
  background-color: var(--primary-color, #017439);
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from section */
}

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

/* Content Grid */
.page-fishing-games__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-fishing-games__content-block {
  padding: 20px;
  border-radius: 8px;
}

.page-fishing-games__content-subtitle {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: inherit;
}

.page-fishing-games__content-block p {
  margin-bottom: 20px;
  color: inherit;
}

.page-fishing-games__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 20px;
}

/* 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 {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease;
}

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

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

.page-fishing-games__dark-section .page-fishing-games__feature-card .page-fishing-games__feature-title {
  color: var(--primary-color, #017439);
}

.page-fishing-games__feature-card p {
  color: #333333;
}

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

.page-fishing-games__feature-item {
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-fishing-games__feature-icon {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin-bottom: 15px;
  border-radius: 8px;
}

.page-fishing-games__feature-item-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--primary-color, #017439);
}

/* How to Play Section */
.page-fishing-games__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__step-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__step-number {
  font-size: 2em;
  font-weight: bold;
  color: var(--primary-color, #017439);
  margin-bottom: 15px;
}

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

.page-fishing-games__step-card p {
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__tips-title {
  margin-top: 60px;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-fishing-games__tips-list {
  list-style-type: disc;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 20px;
  color: #f0f0f0;
}

.page-fishing-games__tips-list li {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-fishing-games__tips-list strong {
  color: #ffffff;
}

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

.page-fishing-games__benefit-card {
  padding: 30px;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: left;
}

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

.page-fishing-games__benefit-card p {
  color: #333333;
}

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

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

.page-fishing-games__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-fishing-games__faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
  background-color: #f5f5f5;
  border-bottom: 1px solid #eee;
  color: var(--primary-color, #017439);
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  color: var(--primary-color, #017439);
}

.page-fishing-games__faq-answer {
  padding: 20px;
  font-size: 0.95em;
  color: #555555;
}

/* Final CTA Section */
.page-fishing-games__cta-final {
  padding: 60px 20px;
  background-color: var(--primary-color, #017439);
  color: #ffffff;
}

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

.page-fishing-games__cta-final .page-fishing-games__section-description {
  color: #f0f0f0;
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color */
  border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

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

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

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

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

  .page-fishing-games__content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    height: auto;
    min-height: 70vh;
  }

  .page-fishing-games__hero-content {
    padding: 15px;
  }

  .page-fishing-games__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

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

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

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

  .page-fishing-games__image,
  .page-fishing-games__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__content-block,
  .page-fishing-games__feature-card,
  .page-fishing-games__feature-item,
  .page-fishing-games__step-card,
  .page-fishing-games__benefit-card,
  .page-fishing-games__container,
  .page-fishing-games__cta-container,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-fishing-games__hero-video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__hero-video {
    width: 100% !important;
    height: auto !important;
    min-width: 100% !important;
    min-height: 100% !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
  }

  .page-fishing-games__tips-list {
    padding-left: 15px;
    padding-right: 15px;
  }

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

/* Ensure content area images don't cause overflow on mobile */
.page-fishing-games__content-area img,
.page-fishing-games__game-features img,
.page-fishing-games__how-to-play img,
.page-fishing-games__benefits-section img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* CSS for FAQ toggle icon */
.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-fishing-games__dark-bg {
  color: #ffffff;
  background: var(--primary-color, #017439);
}

.page-fishing-games__light-bg {
  color: #333333;
  background: #ffffff;
}

.page-fishing-games__medium-bg {
  color: #000000;
  background: #FFFFFF;
}

.page-fishing-games__text-block {
  color: #333333;
  background: #ffffff;
}

.page-fishing-games p,
.page-fishing-games li {
  color: #333333;
}

.page-fishing-games__card {
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__dark-section {
  background: var(--primary-color, #017439);
  color: #ffffff;
}

.page-fishing-games__btn-primary {
  background: #C30808;
  color: #FFFF00;
  border: 2px solid transparent;
}

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

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-fishing-games__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
}