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

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-fishing-games-text-main);
  background-color: var(--page-fishing-games-bg-dark); /* Ensure this is only a fallback if body bg isn't dark */
}

/* Smart color selection based on inferred body background (dark) */
.page-fishing-games__dark-bg {
  background-color: var(--page-fishing-games-bg-dark);
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__light-bg {
  background-color: #f8f9fa; /* A light, contrasting background */
  color: #333333; /* Dark text for light background */
}

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

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

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 80px;
}

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--page-fishing-games-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 40px;
  color: var(--page-fishing-games-text-secondary);
}

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

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

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-btn-gradient);
  color: #ffffff; /* White text for dark button */
  border: 2px solid transparent;
}

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

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

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

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: inherit;
}

.page-fishing-games__section-description {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit;
}

.page-fishing-games__why-choose .page-fishing-games__section-title,
.page-fishing-games__why-choose .page-fishing-games__section-description {
  color: #333333;
}

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

.page-fishing-games__card {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  color: var(--page-fishing-games-text-main);
  border: 1px solid var(--page-fishing-games-border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

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

.page-fishing-games__card-text {
  font-size: 1rem;
  color: var(--page-fishing-games-text-secondary);
  flex-grow: 1;
}

.page-fishing-games__why-choose .page-fishing-games__card {
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__why-choose .page-fishing-games__card-title {
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__why-choose .page-fishing-games__card-text {
  color: #555555;
}

.page-fishing-games__game-image,
.page-fishing-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__card-button {
  margin-top: 20px;
  width: auto;
  align-self: center;
}

.page-fishing-games__view-all-games,
.page-fishing-games__view-all-promos,
.page-fishing-games__cta-center {
  margin-top: 50px;
}

.page-fishing-games__guide-steps {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-fishing-games__guide-step {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  padding: 30px;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: left;
  position: relative;
  padding-top: 60px;
  color: #333333;
}

.page-fishing-games__step-number {
  position: absolute;
  top: 15px;
  left: 30px;
  width: 40px;
  height: 40px;
  background-color: var(--page-fishing-games-primary-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

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

.page-fishing-games__step-text {
  font-size: 1rem;
  color: #555555;
}

.page-fishing-games__platform-features .page-fishing-games__section-title,
.page-fishing-games__platform-features .page-fishing-games__section-description {
  color: #333333;
}

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

.page-fishing-games__feature-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: #333333;
}

.page-fishing-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-fishing-games__item-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--page-fishing-games-primary-color);
  margin-bottom: 10px;
}

.page-fishing-games__item-text {
  font-size: 0.95rem;
  color: #555555;
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-fishing-games-text-main);
  background-color: var(--page-fishing-games-deep-green);
  border-bottom: 1px solid var(--page-fishing-games-divider-color);
  list-style: none;
}

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

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 15px;
  color: var(--page-fishing-games-gold-color);
}

.page-fishing-games__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: var(--page-fishing-games-text-secondary);
  background-color: var(--page-fishing-games-card-bg);
  border-top: 1px solid var(--page-fishing-games-divider-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
  border-top: 1px solid var(--page-fishing-games-divider-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: none;
}

.page-fishing-games__conclusion-section .page-fishing-games__section-title,
.page-fishing-games__conclusion-section .page-fishing-games__section-description {
  color: #333333;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    padding: 30px 15px;
  }
  .page-fishing-games__section {
    padding: 60px 0;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__hero-section {
    padding-bottom: 60px;
  }
  .page-fishing-games__hero-content {
    padding: 20px 10px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-fishing-games__hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    margin-bottom: 30px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Image responsive rules */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    height: auto !important; /* Allow height to adjust */
    min-height: 150px; /* Ensure minimum size */
  }
  .page-fishing-games__feature-icon {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important; /* Ensure min size for icons */
    min-height: 80px !important;
  }

  /* Container specific mobile rules */
  .page-fishing-games__hero-section,
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__guide-step,
  .page-fishing-games__feature-item,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-fishing-games__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-fishing-games__guide-steps {
    flex-direction: column;
    align-items: center;
  }
  .page-fishing-games__guide-step {
    max-width: 100%;
    width: 100%;
    padding-left: 30px; /* Keep step number aligned */
    padding-right: 30px;
  }

  .page-fishing-games__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-fishing-games__faq-answer {
    padding: 15px;
    font-size: 0.95rem;
  }

  /* Content area image size check for 200px min */
  .page-fishing-games__game-card img, 
  .page-fishing-games__promo-card img, 
  .page-fishing-games__feature-item img {
    min-width: 200px !important;
    min-
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }
  .page-fishing-games__hero-description {
    font-size: clamp(0.85rem, 3vw, 1rem);
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 0.95rem;
    padding: 10px 15px;
  }
  .page-fishing-games__card-title {
    font-size: 1.3rem;
  }
  .page-fishing-games__card-text {
    font-size: 0.9rem;
  }
  .page-fishing-games__faq-question {
    font-size: 0.95rem;
  }
  .page-fishing-games__faq-toggle {
    font-size: 1.2rem;
  }
  .page-fishing-games__faq-answer {
    font-size: 0.9rem;
  }
}