/* style/fishing-games.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-login-bg: #EA7C07;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--secondary-color); /* Assuming shared.css body background is light */
}

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

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles padding-top, this is for internal spacing */
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 20px;
}

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

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

.page-fishing-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
}

.page-fishing-games__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.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;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't overflow */
}

.page-fishing-games__btn-primary {
  background-color: var(--button-login-bg); /* Use login color for primary CTA */
  color: var(--text-light);
  border: 2px solid var(--button-login-bg);
}

.page-fishing-games__btn-primary:hover {
  background-color: darken(var(--button-login-bg), 10%);
  border-color: darken(var(--button-login-bg), 10%);
}

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

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

.page-fishing-games__section-title {
  font-size: 2.2rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
  color: var(--text-light);
}

.page-fishing-games__overview-section,
.page-fishing-games__criteria-section,
.page-fishing-games__top-games-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

.page-fishing-games__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 0;
}

.page-fishing-games__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__dark-section .page-fishing-games__text-block {
  color: rgba(255, 255, 255, 0.9);
}

.page-fishing-games__text-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-fishing-games__dark-section .page-fishing-games__text-link {
  color: var(--secondary-color);
}

.page-fishing-games__text-link:hover {
  text-decoration: underline;
}

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

.page-fishing-games__feature-card,
.page-fishing-games__criterion-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-light);
}

.page-fishing-games__light-bg .page-fishing-games__feature-card,
.page-fishing-games__light-bg .page-fishing-games__criterion-item {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  border: 1px solid #e0e0e0;
}

.page-fishing-games__card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-fishing-games__light-bg .page-fishing-games__card-title {
  color: var(--primary-color);
}

.page-fishing-games__card-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

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

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

.page-fishing-games__criterion-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

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

.page-fishing-games__game-card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-info {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__game-info .page-fishing-games__card-title {
  color: var(--primary-color);
  margin-top: 0;
  font-size: 1.6rem;
}

.page-fishing-games__game-info .page-fishing-games__card-description {
  color: var(--text-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__game-card .page-fishing-games__btn-secondary {
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 0.9rem;
}

.page-fishing-games__cta-center {
  text-align: center;
  margin-top: 50px;
}

.page-fishing-games__strategies-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

.page-fishing-games__strategy-text {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__strategy-list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-fishing-games__strategy-list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

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

.page-fishing-games__strategy-image {
  flex: 1;
  min-width: 400px;
  max-width: 600px;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-fishing-games__promotions-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

.page-fishing-games__promotion-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  margin: 40px auto;
}

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

.page-fishing-games__promo-item {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.page-fishing-games__promo-item .page-fishing-games__card-title {
  color: var(--primary-color);
}

.page-fishing-games__promo-item .page-fishing-games__card-description {
  color: var(--text-dark);
}

.page-fishing-games__responsible-gaming-section {
  padding: 60px 0;
  background-color: #000000; /* Use black for responsible gaming */
  color: var(--text-light);
  text-align: center;
}

.page-fishing-games__responsible-gaming-section .page-fishing-games__section-title {
  color: var(--text-light);
}

.page-fishing-games__responsible-gaming-section .page-fishing-games__text-block {
  color: rgba(255, 255, 255, 0.85);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-fishing-games__cta-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
}

.page-fishing-games__cta-section .page-fishing-games__description {
  color: rgba(255, 255, 255, 0.9);
}

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

.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: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

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

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-item summary {
  list-style: none;
}

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

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1.05rem;
  color: var(--text-dark);
  background-color: var(--secondary-color);
  border-top: 1px solid #eee;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-fishing-games__section-title {
    font-size: 2rem;
  }
  .page-fishing-games__strategy-content {
    flex-direction: column;
  }
  .page-fishing-games__strategy-image {
    min-width: unset;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 0 15px;
  }

  .page-fishing-games__hero-section,
  .page-fishing-games__overview-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__criteria-section,
  .page-fishing-games__top-games-section,
  .page-fishing-games__strategies-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__responsible-gaming-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 40px 0;
  }

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 12px 20px;
    font-size: 0.9rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 10px; /* Add spacing between stacked buttons */
  }

  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

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

  .page-fishing-games__features-grid,
  .page-fishing-games__criteria-grid,
  .page-fishing-games__game-list,
  .page-fishing-games__promo-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__game-image {
    height: 180px;
  }

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

  .page-fishing-games__strategy-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-fishing-games__hero-section {
    padding-top: 10px !important; 
  }

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

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

/* Ensure content area images are not too small */
.page-fishing-games__container img:not(.page-fishing-games__criterion-icon) {
  min-width: 200px;
  min-height: 200px;
}

/* Override for criterion icons to allow smaller visual but still meet requirements if necessary */
.page-fishing-games__criterion-icon {
  width: 100px; /* Visual size, but source image is larger than 200x200 */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

/* Image color filter restriction */
.page-fishing-games img {
  filter: none; /* Absolutely no CSS filters to change image color */
}

.page-fishing-games video,
.page-fishing-games__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-fishing-games__video-section,
.page-fishing-games__video-container,
.page-fishing-games__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .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;
  }
}