/* style/fishing-games.css */

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-button-color: #C30808;
  --login-button-color: #C30808;
  --button-text-color: #FFFF00; /* For register/login buttons specifically */
  --dark-background-color: #121212;
  --light-text-color: #ffffff;
  --dark-text-color: #333333;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--light-text-color); /* Body background is dark (#121212), so default text is light */
  background-color: var(--dark-background-color);
}

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* body already handles --header-offset */
  text-align: center;
  background-color: var(--dark-background-color);
}

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

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

.page-fishing-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-fishing-games__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--light-text-color);
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box;
  max-width: 100%;
}

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

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

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

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

.page-fishing-games__btn-tertiary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.page-fishing-games__btn-tertiary:hover {
  background-color: #005a2d;
  border-color: #005a2d;
}

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

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

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

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

.page-fishing-games__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--secondary-color);
}

.page-fishing-games__about-fishing-games p,
.page-fishing-games__promotions p,
.page-fishing-games__conclusion p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--light-text-color);
}

.page-fishing-games__about-fishing-games a,
.page-fishing-games__tips-strategies a,
.page-fishing-games__faq a,
.page-fishing-games__mobile-experience a,
.page-fishing-games__conclusion a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-fishing-games__about-fishing-games a:hover,
.page-fishing-games__tips-strategies a:hover,
.page-fishing-games__faq a:hover,
.page-fishing-games__mobile-experience a:hover,
.page-fishing-games__conclusion a:hover {
  text-decoration: underline;
}

.page-fishing-games__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 40px 0;
  display: block;
}

.page-fishing-games__highlight {
  color: var(--button-text-color);
  font-weight: 700;
}

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

.page-fishing-games__feature-item,
.page-fishing-games__game-card,
.page-fishing-games__promotion-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  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;
  color: var(--light-text-color);
}

.page-fishing-games__feature-icon,
.page-fishing-games__game-image,
.page-fishing-games__promotion-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__feature-title,
.page-fishing-games__game-title,
.page-fishing-games__promotion-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-fishing-games__feature-item p,
.page-fishing-games__game-card p,
.page-fishing-games__promotion-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--light-text-color);
  flex-grow: 1;
}

.page-fishing-games__game-card .page-fishing-games__btn-tertiary,
.page-fishing-games__promotion-card .page-fishing-games__btn-primary {
  margin-top: 20px;
  width: auto;
}

.page-fishing-games__cta-center {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

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

.page-fishing-games__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--light-text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__step-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--button-text-color); /* Highlight step titles */
}

.page-fishing-games__step-item p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--light-text-color);
  flex-grow: 1;
}

.page-fishing-games__step-item .page-fishing-games__btn-primary,
.page-fishing-games__step-item .page-fishing-games__btn-secondary {
  margin-top: auto;
  width: auto;
}

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

.page-fishing-games__tips-list li {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid var(--primary-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--light-text-color);
}

.page-fishing-games__tips-list li strong {
  color: var(--secondary-color);
}

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

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--light-text-color);
}

.page-fishing-games__faq-item summary {
  display: block;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15rem;
  position: relative;
  list-style: none; /* Remove default marker */
  color: var(--secondary-color);
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit */
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: var(--button-text-color); /* Highlight toggle icon */
}

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

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }
}