/* style/fishing-games.css */
:root {
  --primary-color: #E53935;
  --secondary-color: #FF5A4F;
  --text-main-color: #333333;
  --card-bg-color: #FFFFFF;
  --background-general: #F5F7FA;
  --border-color: #E0E0E0;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color);
  line-height: 1.6;
  background-color: var(--background-general);
}

.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, main offset from body */
  background-color: var(--primary-color);
  color: #ffffff;
}

.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%;
}

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

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

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

.page-fishing-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

.page-fishing-games__section-intro {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Color classes for contrast */
.page-fishing-games__dark-bg {
  background-color: var(--primary-color);
  color: #ffffff;
}

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

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

.page-fishing-games__text-light {
  color: #ffffff;
}

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

.page-fishing-games__feature-item,
.page-fishing-games__step-item,
.page-fishing-games__game-item,
.page-fishing-games__tips-item {
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-item:hover,
.page-fishing-games__step-item:hover,
.page-fishing-games__game-item:hover,
.page-fishing-games__tips-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__feature-item img {
  max-width: 100%;
  height: auto;
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__feature-title,
.page-fishing-games__step-title,
.page-fishing-games__game-title,
.page-fishing-games__tips-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-main-color);
}

.page-fishing-games__feature-description,
.page-fishing-games__step-description,
.page-fishing-games__game-description,
.page-fishing-games__tips-description {
  font-size: 1rem;
  color: var(--text-main-color);
}

/* Popular Versions */
.page-fishing-games__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  list-style: none;
  padding: 0;
}

.page-fishing-games__game-item {
  text-align: left;
  padding: 25px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* How to Play */
.page-fishing-games__steps-grid {
  margin-top: 40px;
}

.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--card-bg-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__cta-container {
    margin-top: 50px;
}

/* Pro Tips */
.page-fishing-games__tips-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  list-style: none;
  padding: 0;
}

.page-fishing-games__tips-item {
  text-align: left;
  padding: 25px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-fishing-games__tips-title {
  color: var(--primary-color);
}

/* FAQ Section */
details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main-color);
  font-weight: 600;
}
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: #f9f9f9;
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: left;
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  color: var(--primary-color);
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  background: #fdfdfd;
  border-top: 1px solid #eee;
  border-radius: 0 0 10px 10px;
  text-align: left;
  color: var(--text-main-color);
}

.page-fishing-games__faq-answer p {
  margin-bottom: 0;
  font-size: 1rem;
}

/* Conclusion */
.page-fishing-games__conclusion {
  padding-bottom: 100px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__section {
    padding: 60px 15px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 3.8vw, 2.2rem);
  }
}

@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 {
    margin-bottom: 20px;
  }
  .page-fishing-games__hero-image img {
    border-radius: 4px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-fishing-games__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-fishing-games__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    margin-top: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__section {
    padding: 40px 15px;
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 15px;
  }
  .page-fishing-games__section-intro {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

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

  .page-fishing-games__feature-item,
  .page-fishing-games__step-item,
  .page-fishing-games__game-item,
  .page-fishing-games__tips-item {
    padding: 20px;
  }
  .page-fishing-games__feature-item img {
    margin-bottom: 15px;
  }
  .page-fishing-games__feature-title,
  .page-fishing-games__step-title,
  .page-fishing-games__game-title,
  .page-fishing-games__tips-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  .page-fishing-games__feature-description,
  .page-fishing-games__step-description,
  .page-fishing-games__game-description,
  .page-fishing-games__tips-description {
    font-size: 0.9rem;
  }

  .page-fishing-games__btn-secondary {
    padding: 10px 20px;
    font-size: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px 20px;
  }
  .page-fishing-games__faq-qtext {
    font-size: 1rem;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px 15px;
  }
  .page-fishing-games__faq-answer p {
    font-size: 0.9rem;
  }

  /* Mobile image and container overflow fix */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__section,
  .page-fishing-games__container,
  .page-fishing-games__card,
  .page-fishing-games__feature-item,
  .page-fishing-games__step-item,
  .page-fishing-games__game-item,
  .page-fishing-games__tips-item,
  .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: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column !important;
    gap: 15px;
  }
}