/* style/fishing-games.css */

/* Base styles for dark body background */
.page-fishing-games {
  color: #ffffff; /* Light text for dark body background */
  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.5rem;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fishing-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 20px;
  max-width: 900px;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.5rem); /* Responsive H1 font size */
}

.page-fishing-games__text-block {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #f0f0f0;
}

.page-fishing-games__highlight {
  color: #26A9E0;
  font-weight: bold;
}

/* Section backgrounds */
.page-fishing-games__dark-bg {
  background-color: #1a1a2e; /* Matches body background */
  color: #ffffff;
  padding: 60px 0;
}

.page-fishing-games__light-bg {
  background-color: #FFFFFF;
  color: #333333;
  padding: 60px 0;
}

.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__highlight {
  color: #26A9E0;
}

.page-fishing-games__light-bg .page-fishing-games__text-block,
.page-fishing-games__light-bg p,
.page-fishing-games__light-bg li {
  color: #333333;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 550px;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
  box-sizing: border-box;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  margin-bottom: 30px; /* Space between image and content */
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin-top: -150px; /* Pull content up slightly over image for visual flow */
}

.page-fishing-games__hero-description {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #f8f9fa;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary,
.page-fishing-games a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #26A9E0;
}

.page-fishing-games__btn-tertiary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-fishing-games__btn-tertiary:hover {
  background-color: #c76706;
  border-color: #c76706;
}

/* Image and Content Layout */
.page-fishing-games__image-and-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-fishing-games__image-and-content:nth-child(even) {
  flex-direction: row-reverse; /* Alternate image position */
}

.page-fishing-games__content-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-fishing-games__image-left {
  margin-right: auto;
}

.page-fishing-games__image-right {
  margin-left: auto;
}

.page-fishing-games__image-and-content .page-fishing-games__text-block {
  flex: 1;
  min-width: 300px;
}

/* Lists */
.page-fishing-games__ordered-list,
.page-fishing-games__unordered-list {
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: inherit;
}

.page-fishing-games__ordered-list li,
.page-fishing-games__unordered-list li {
  margin-bottom: 10px;
  color: inherit;
}

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

.page-fishing-games__game-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark bg sections */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  color: #ffffff; /* Default for dark sections */
}

.page-fishing-games__light-bg .page-fishing-games__game-card {
  background: #f8f9fa; /* Light background for light sections */
  color: #333333;
}

.page-fishing-games__game-card .page-fishing-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-fishing-games__game-card .page-fishing-games__card-title {
  font-size: 1.5rem;
  margin: 20px 15px 10px;
  color: #26A9E0;
}

.page-fishing-games__game-card .page-fishing-games__card-description {
  font-size: 1rem;
  color: inherit;
  padding: 0 15px;
  flex-grow: 1;
}

.page-fishing-games__game-card .page-fishing-games__btn-tertiary {
  margin: 20px auto;
  width: calc(100% - 30px);
  max-width: 200px;
}

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

.page-fishing-games__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-fishing-games__light-bg .page-fishing-games__faq-item {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  color: #333333;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  color: inherit;
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-question .page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -100px;
  }
}

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

  .page-fishing-games__container {
    padding: 0 15px;
  }

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

  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-fishing-games__hero-section {
    padding: 10px 15px 40px;
    min-height: 400px;
  }

  .page-fishing-games__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 20px;
  }

  .page-fishing-games__hero-content {
    margin-top: -80px;
  }

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-tertiary,
  .page-fishing-games a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__image-and-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-fishing-games__image-and-content:nth-child(even) {
    flex-direction: column; /* Ensure column for all on mobile */
  }

  .page-fishing-games__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto !important; /* Center images */
  }

  .page-fishing-games__text-block {
    min-width: unset;
    font-size: 1rem;
  }

  .page-fishing-games__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__game-card {
    padding-bottom: 20px;
  }

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

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

  /* Ensure all content sections have proper mobile padding */
  .page-fishing-games__introduction-section,
  .page-fishing-games__access-guide-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* Small top padding for hero on mobile */
  }
}