/* style/fishing-games.css */

:root {
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --card-bg-color: #D32F2F;
  --section-bg-color: #B71C1C;
  --text-main-color: #FFF5E1;
  --border-color: #F2B544;
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red-color: #7A0E0E;
  --light-text-on-dark: #FFF5E1;
  --dark-text-on-light: #333333;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--light-text-on-dark); /* Default text color for the page, assuming dark body bg */
  background-color: var(--section-bg-color); /* Fallback, should be inherited from body */
}

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

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Subtle background effect */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  color: var(--text-main-color);
}

.page-fishing-games__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-main-color);
  margin-bottom: 20px;
  max-width: 100%;
}

.page-fishing-games__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-fishing-games__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: inline-block;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: #333333; /* Dark text on gold button for contrast */
  border: none;
}

.page-fishing-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background: var(--deep-red-color);
  color: var(--text-main-color);
  border: 2px solid var(--gold-color);
}

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

.page-fishing-games__section {
  padding: 80px 20px;
  text-align: center;
}

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

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

.page-fishing-games__text-main {
  color: var(--text-main-color);
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-fishing-games__section-intro {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

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

.page-fishing-games__card {
  background-color: var(--card-bg-color);
  color: var(--text-main-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.page-fishing-games__feature-image,
.page-fishing-games__game-image,
.page-fishing-games__step-image,
.page-fishing-games__promo-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Ensure images are not small */
  min-width: 200px;
}

.page-fishing-games__feature-title,
.page-fishing-games__game-title,
.page-fishing-games__step-title,
.page-fishing-games__promo-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main-color);
}

.page-fishing-games__light-bg .page-fishing-games__feature-title,
.page-fishing-games__light-bg .page-fishing-games__game-title,
.page-fishing-games__light-bg .page-fishing-games__step-title,
.page-fishing-games__light-bg .page-fishing-games__promo-title {
  color: var(--dark-text-on-light);
}

.page-fishing-games__feature-description,
.page-fishing-games__game-description,
.page-fishing-games__step-description,
.page-fishing-games__promo-description {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-fishing-games__btn-large {
  padding: 16px 40px;
  font-size: 1.15em;
}

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

.page-fishing-games__tips-section {
  text-align: left;
  max-width: 800px;
  margin: 60px auto 0;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: var(--dark-text-on-light);
}

.page-fishing-games__tips-title {
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-fishing-games__tips-list {
  list-style: disc;
  padding-left: 25px;
  line-height: 1.8;
  font-size: 1em;
}

.page-fishing-games__tips-list li {
  margin-bottom: 10px;
}

.page-fishing-games__faq-section {
  background-color: #f8f8f8;
  color: var(--dark-text-on-light);
}

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-fishing-games__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  color: var(--dark-text-on-light);
  background-color: #fdfdfd;
  list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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;
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    max-width: 700px;
  }
  .page-fishing-games__main-title {
    font-size: 2.8em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }
  .page-fishing-games__main-title {
    font-size: clamp(2em, 8vw, 2.5em); /* clamp for responsive H1 */
    margin-bottom: 15px;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-fishing-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Constrain button group width */
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__section {
    padding: 50px 15px;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__game-list,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-fishing-games__card {
    padding: 25px;
  }
  .page-fishing-games__feature-image,
  .page-fishing-games__game-image,
  .page-fishing-games__step-image,
  .page-fishing-games__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__container,
  .page-fishing-games__why-choose-us,
  .page-fishing-games__featured-games,
  .page-fishing-games__how-to-play,
  .page-fishing-games__promotions,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-fishing-games__tips-section {
    padding: 25px;
  }
  .page-fishing-games__tips-title {
    font-size: 1.5em;
  }
  .page-fishing-games__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px 15px;
  }
  .page-fishing-games__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 9vw, 2.2em);
  }
  .page-fishing-games__section-title {
    font-size: 1.6em;
  }
  .page-fishing-games__btn-large {
    font-size: 1em;
    padding: 12px 25px;
  }
}