/* style/fishing-games.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-color-dark-bg: #FFFFFF;
  --text-color-light-bg: #333333;
  --background-dark: #0a0a0a; /* Body background from shared.css */
  --background-light: #f8f9fa;
  --button-register-bg: #C30808;
  --button-login-bg: #C30808;
  --button-text-color: #FFFF00;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark-bg); /* Default text color for dark body background */
  background-color: var(--background-dark);
}

.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;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
  overflow: hidden;
}

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

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

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

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

.page-fishing-games__lead-text {
  font-size: 1.15rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping for buttons */
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

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

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

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--button-text-color); /* Custom color for button text */
  border: 2px solid var(--button-login-bg); /* Custom color for login/secondary */
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--button-login-bg);
  color: var(--secondary-color);
}

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-fishing-games__paragraph {
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-fishing-games__text-link {
  color: var(--secondary-color); /* For links on dark background */
  text-decoration: underline;
}

.page-fishing-games__text-link:hover {
  color: #ffcc00;
}

/* Section specific styles */
.page-fishing-games__introduction-section,
.page-fishing-games__game-types-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
  color: var(--text-color-light-bg);
  background-color: var(--background-light);
}

.page-fishing-games__introduction-section .page-fishing-games__text-link,
.page-fishing-games__game-types-section .page-fishing-games__text-link,
.page-fishing-games__promotions-section .page-fishing-games__text-link,
.page-fishing-games__faq-section .page-fishing-games__text-link {
  color: var(--primary-color); /* For links on light background */
}

.page-fishing-games__introduction-section .page-fishing-games__text-link:hover,
.page-fishing-games__game-types-section .page-fishing-games__text-link:hover,
.page-fishing-games__promotions-section .page-fishing-games__text-link:hover,
.page-fishing-games__faq-section .page-fishing-games__text-link:hover {
  color: #004d2c;
}

.page-fishing-games__benefits-section,
.page-fishing-games__guide-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__cta-section {
  padding: 80px 0;
  color: var(--text-color-dark-bg);
  background-color: var(--primary-color);
}

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

.page-fishing-games__benefit-card,
.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-fishing-games__card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.8;
}

.page-fishing-games__game-list,
.page-fishing-games__guide-list,
.page-fishing-games__reason-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__game-item,
.page-fishing-games__guide-item,
.page-fishing-games__reason-item {
  background-color: var(--secondary-color);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  color: var(--text-color-light-bg);
}

.page-fishing-games__game-item-title,
.page-fishing-games__guide-item-title,
.page-fishing-games__reason-item-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-fishing-games__game-item-description,
.page-fishing-games__guide-item-description,
.page-fishing-games__reason-item-description {
  font-size: 1rem;
  line-height: 1.6;
}

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

.page-fishing-games__cta-container {
  text-align: center;
  max-width: 900px;
}

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

.page-fishing-games__faq-item {
  background-color: var(--secondary-color);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: var(--text-color-light-bg);
}

.page-fishing-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--primary-color);
  background-color: #e6f7ed; /* Lighter shade of primary for summary background */
}

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

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

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

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

.page-fishing-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-color-light-bg);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 4.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-fishing-games__hero-content {
    padding: 0 15px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    margin-bottom: 15px;
  }
  .page-fishing-games__lead-text {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__benefits-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 40px 0;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }
  .page-fishing-games__paragraph {
    font-size: 0.95rem;
  }
  .page-fishing-games__benefits-grid,
  .page-fishing-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .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-image-wrapper {
    padding: 0 15px;
  }
  .page-fishing-games__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px 15px 20px;
  }
}