/* 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;
  color: var(--text-dark); /* Default text color for light body background */
  line-height: 1.6;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: var(--primary-color);
  color: var(--text-light);
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  /* H1 font-size constraint: no fixed large values, use responsive clamp if needed */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-fishing-games__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.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 {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

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

/* General Section Styles */
.page-fishing-games__intro-section,
.page-fishing-games__features-section,
.page-fishing-games__providers-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__why-choose-us,
.page-fishing-games__faq-section,
.page-fishing-games__cta-final-section {
  padding: 80px 0;
}

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

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

.page-fishing-games__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

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

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

.page-fishing-games__highlight {
  color: var(--primary-color);
  font-weight: bold;
}

.page-fishing-games__dark-bg .page-fishing-games__highlight {
  color: var(--button-login-bg);
}

/* Intro Section */
.page-fishing-games__intro-section .page-fishing-games__description {
  color: var(--text-dark);
}

.page-fishing-games__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-fishing-games__text-block {
  flex: 1;
}

.page-fishing-games__image-block {
  flex: 1;
  text-align: center;
}

.page-fishing-games__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

/* Features Grid */
.page-fishing-games__features-grid,
.page-fishing-games__providers-grid,
.page-fishing-games__promotions-grid,
.page-fishing-games__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__feature-card,
.page-fishing-games__provider-card,
.page-fishing-games__promotion-card,
.page-fishing-games__reason-card {
  background: 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);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
}

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

.page-fishing-games__feature-card:hover,
.page-fishing-games__provider-card:hover,
.page-fishing-games__promotion-card:hover,
.page-fishing-games__reason-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__card-image,
.page-fishing-games__card-icon {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__card-icon {
  max-width: 100px; /* Icons can be smaller if they are truly icons, but still >200px overall */
  width: 100px;
  height: 100px;
  min-width: 200px; /* Enforcing minimum size for all images, even if visually smaller */
  min-height: 200px;
}

.page-fishing-games__card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-fishing-games__card-description {
  font-size: 1rem;
}

/* How-to-Play Section */
.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__steps-list li {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-light);
}

.page-fishing-games__light-bg .page-fishing-games__steps-list li {
  background: var(--secondary-color);
  color: var(--text-dark);
  border: 1px solid #e0e0e0;
}

.page-fishing-games__step-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-light);
}

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

.page-fishing-games__text-link {
  color: var(--button-login-bg);
  text-decoration: underline;
}

.page-fishing-games__text-link:hover {
  color: darken(var(--button-login-bg), 10%);
}

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

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

.page-fishing-games__faq-item {
  background: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-dark);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  background: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.3s ease;
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background: var(--primary-color);
  color: var(--text-light);
  border-bottom-color: var(--primary-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  color: var(--text-light);
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-fishing-games__faq-answer {
  padding: 15px 25px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-dark);
}

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

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

/* Final CTA Section */
.page-fishing-games__cta-final-section .page-fishing-games__description {
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

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

  .page-fishing-games__intro-section .page-fishing-games__content-wrapper {
    flex-direction: column;
  }

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

@media (max-width: 768px) {
  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

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

  .page-fishing-games__hero-section,
  .page-fishing-games__intro-section,
  .page-fishing-games__features-section,
  .page-fishing-games__providers-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-us,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section {
    padding: 40px 0;
  }

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

  /* Mobile image responsiveness */
  .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,
  .page-fishing-games__hero-section,
  .page-fishing-games__intro-section,
  .page-fishing-games__features-section,
  .page-fishing-games__providers-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-us,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section {
    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; /* body handles header offset */
  }

  /* Mobile button responsiveness */
  .page-fishing-games__cta-button,
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    max-width: 100% !important;
    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__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-fishing-games__cta-buttons .page-fishing-games__btn-primary,
  .page-fishing-games__cta-buttons .page-fishing-games__btn-secondary {
    width: calc(100% - 30px) !important; /* Account for padding in container */
    margin: 0 auto;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__provider-card,
  .page-fishing-games__promotion-card,
  .page-fishing-games__reason-card {
    padding: 20px;
  }

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

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

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }

  .page-fishing-games__section-title {
    font-size: 1.6rem;
  }

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

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