/* style/fishing-games.css */

/* Custom Colors */
:root {
  --page-fishing-games-primary-color: #11A84E;
  --page-fishing-games-secondary-color: #22C768;
  --page-fishing-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-fishing-games-card-bg: #11271B;
  --page-fishing-games-background: #08160F; /* Body background from shared.css */
  --page-fishing-games-text-main: #F2FFF6;
  --page-fishing-games-text-secondary: #A7D9B8;
  --page-fishing-games-border: #2E7A4E;
  --page-fishing-games-glow: #57E38D;
  --page-fishing-games-gold: #F2C14E;
  --page-fishing-games-divider: #1E3A2A;
  --page-fishing-games-deep-green: #0A4B2C;
}

.page-fishing-games {
  color: var(--page-fishing-games-text-main); /* Default text color for the page */
  background-color: var(--page-fishing-games-background); /* Ensure consistency */
}

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

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

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-button-gradient);
  color: var(--page-fishing-games-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

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

.page-fishing-games__section {
  padding: 80px 20px;
  background-color: var(--page-fishing-games-background);
}

.page-fishing-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
}

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--page-fishing-games-text-main);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--page-fishing-games-primary-color);
  border-radius: 2px;
}

.page-fishing-games__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--page-fishing-games-text-secondary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

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

.page-fishing-games__card {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--page-fishing-games-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__feature-image,
.page-fishing-games__game-image,
.page-fishing-games__promotion-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

.page-fishing-games__feature-description,
.page-fishing-games__game-description,
.page-fishing-games__promotion-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
  margin-top: auto; /* Push button to bottom */
}

.page-fishing-games__steps-list {
  list-style: none;
  counter-reset: step-counter;
  margin-top: 40px;
  padding: 0;
}

.page-fishing-games__step-item {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--page-fishing-games-border);
  position: relative;
  padding-left: 80px;
}

.page-fishing-games__step-item::before {
  counter-increment: step-counter;
  content: "0" counter(step-counter);
  position: absolute;
  left: 20px;
  top: 30px;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--page-fishing-games-primary-color);
  opacity: 0.7;
  line-height: 1;
}

.page-fishing-games__step-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 10px;
}

.page-fishing-games__step-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 20px;
}

.page-fishing-games__step-item .page-fishing-games__btn-primary,
.page-fishing-games__step-item .page-fishing-games__btn-secondary {
  align-self: flex-start;
  min-width: unset; /* Override min-width for smaller buttons in steps */
  padding: 10px 20px;
  font-size: 0.95rem;
}

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

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

.page-fishing-games__tip-item,
.page-fishing-games__security-item {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 12px;
  padding: 25px;
  border: 1px solid var(--page-fishing-games-border);
  transition: transform 0.3s ease;
}

.page-fishing-games__tip-item:hover,
.page-fishing-games__security-item:hover {
  transform: translateY(-3px);
}

.page-fishing-games__tip-title,
.page-fishing-games__security-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 10px;
}

.page-fishing-games__tip-description,
.page-fishing-games__security-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__faq-section {
  padding-bottom: 80px;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid var(--page-fishing-games-border);
  overflow: hidden;
}

.page-fishing-games__faq-item summary {
  list-style: none; /* Remove default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-fishing-games-text-main);
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-item summary:hover {
  background-color: var(--page-fishing-games-divider);
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-fishing-games-primary-color);
}

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

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

.page-fishing-games__faq-answer .page-fishing-games__faq-link {
  color: var(--page-fishing-games-secondary-color);
  text-decoration: none;
  font-weight: 500;
}

.page-fishing-games__faq-answer .page-fishing-games__faq-link:hover {
  text-decoration: underline;
}

.page-fishing-games__cta-final-section {
  padding-top: 60px;
  padding-bottom: 100px;
}

.page-fishing-games__cta-final-content {
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image-wrapper {
    max-height: 60vh;
  }
  .page-fishing-games__section {
    padding: 60px 20px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  }
  .page-fishing-games__description {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }
  .page-fishing-games__hero-image-wrapper {
    max-height: 50vh;
  }
  .page-fishing-games__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__section {
    padding: 40px 15px;
  }
  .page-fishing-games__content-area,
  .page-fishing-games__section,
  .page-fishing-games__hero-section,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__features-grid,
  .page-fishing-games__game-grid,
  .page-fishing-games__promotions-grid,
  .page-fishing-games__steps-list,
  .page-fishing-games__tips-list,
  .page-fishing-games__security-list,
  .page-fishing-games__faq-list,
  .page-fishing-games__cta-final-section,
  .page-fishing-games__cta-final-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Images responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Buttons responsive */
  .page-fishing-games__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px; /* Adjust gap for stacked buttons */
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    min-width: unset !important; /* Allow buttons to shrink */
    padding-left: 15px !important;
    padding-right: 15px !important;
    font-size: 1rem !important;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promotion-card,
  .page-fishing-games__tip-item,
  .page-fishing-games__security-item,
  .page-fishing-games__step-item {
    padding: 20px;
  }

  .page-fishing-games__step-item::before {
    font-size: 2rem;
    left: 15px;
    top: 20px;
  }

  .page-fishing-games__step-item {
    padding-left: 65px;
  }

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

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
  .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__promotion-title {
    font-size: 1.3rem;
  }
  .page-fishing-games__tip-title,
  .page-fishing-games__security-title {
    font-size: 1.2rem;
  }
  .page-fishing-games__description,
  .page-fishing-games__text-block,
  .page-fishing-games__feature-description,
  .page-fishing-games__game-description,
  .page-fishing-games__promotion-description,
  .page-fishing-games__step-description,
  .page-fishing-games__tip-description,
  .page-fishing-games__security-description,
  .page-fishing-games__faq-answer {
    font-size: 0.9rem;
  }
}