/* style/fishing-games.css */

/* Variables */
:root {
  --primary-color: #017439;
  --secondary-color: #005a2e;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-dark: #017439;
  --btn-register-bg: #C30808;
  --btn-login-bg: #C30808;
  --btn-text-color: #FFFF00;
}

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

/* 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-color: #f0f0f0; /* Light background for the section */
}

.page-fishing-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure full width within max-width */
}

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

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-fishing-games__main-title {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word breaking */
  box-sizing: border-box;
  flex-grow: 1; /* Allow buttons to grow */
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-fishing-games__btn-register {
  background: var(--btn-register-bg);
  color: var(--btn-text-color);
  border: 2px solid var(--btn-register-bg);
}

.page-fishing-games__btn-register:hover {
  background: #a30707;
  border-color: #a30707;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__btn-login:hover {
  background: #a30707;
  border-color: #a30707;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General Section Styles */
.page-fishing-games__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.3;
}

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

.page-fishing-games__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

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

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

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

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

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

.page-fishing-games__feature-card {
  background: var(--bg-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__feature-card img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px;
}

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

.page-fishing-games__feature-card p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Guide Section */
.page-fishing-games__ordered-list {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 30px;
  padding-left: 0;
}

.page-fishing-games__ordered-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-fishing-games__ordered-list li strong {
  color: var(--primary-color);
}

.page-fishing-games__btn-primary {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word breaking */
  box-sizing: border-box;
  max-width: 100%;
}

.page-fishing-games__btn-primary:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Promotions Section */
.page-fishing-games__unordered-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 30px;
  padding-left: 0;
  color: var(--text-light);
}

.page-fishing-games__unordered-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-fishing-games__unordered-list li strong {
  color: #FFFF00; /* Highlight for promotions */
}

.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  background: var(--bg-light);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word breaking */
  box-sizing: border-box;
  max-width: 100%;
}

.page-fishing-games__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: #f5f5f5;
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-dark);
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

.page-fishing-games__faq-answer p {
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 1em;
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
  text-align: center;
  padding: 80px 20px;
}

.page-fishing-games__cta-final-section .page-fishing-games__cta-button {
  margin-top: 40px;
  background: var(--btn-register-bg);
  color: var(--btn-text-color);
  border: 2px solid var(--btn-register-bg);
}

.page-fishing-games__cta-final-section .page-fishing-games__cta-button:hover {
  background: #a30707;
  border-color: #a30707;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 2.5em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__hero-image img {
    border-radius: 4px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
    margin-bottom: 15px;
  }

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

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 300px; /* Adjust max-width for smaller screens */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__cta-button {
    width: 100% !important; /* Ensure full width on mobile */
    max-width: 100% !important;
    padding: 12px 25px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-fishing-games__text-block, .page-fishing-games__ordered-list li, .page-fishing-games__unordered-list li, .page-fishing-games__faq-answer p {
    font-size: 0.95em;
  }

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

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

  .page-fishing-games__feature-card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px;
  }
  .page-fishing-games__faq-qtext {
    font-size: 15px;
  }

  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }

  .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__cta-final-section {
    padding: 50px 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-fishing-games__section-title {
    font-size: 1.6em;
  }
  .page-fishing-games__cta-button {
    font-size: 15px;
    padding: 10px 20px;
  }
}

/* No CSS filter for images */
.page-fishing-games img {
  filter: none; /* Ensure no CSS filters are applied */
}