/* style/fishing-games-features.css */

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

/* Base styles for the page content */
.page-fishing-games-features {
  background-color: var(--sb88-win-bg);
  color: var(--sb88-win-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Adjust for footer */
}

.page-fishing-games-features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-fishing-games-features__section-title {
  font-size: 2.5em;
  color: var(--sb88-win-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-fishing-games-features__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--sb88-win-text-secondary);
  text-align: justify;
}

/* Hero Section */
.page-fishing-games-features__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--sb88-win-deep-green);
}

.page-fishing-games-features__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px;
  filter: brightness(0.7); /* Darken image slightly for text readability, not changing colors */
  margin-bottom: 40px;
}

.page-fishing-games-features__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
}

.page-fishing-games-features__main-title {
  color: var(--sb88-win-gold);
  font-weight: bold;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  /* clamp for responsive font size, but not too large */
  font-size: clamp(2.2rem, 4vw + 1rem, 3.5rem);
}

.page-fishing-games-features__hero-description {
  font-size: 1.2em;
  color: var(--sb88-win-text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-fishing-games-features__btn-primary,
.page-fishing-games-features__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button adapts to container */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

.page-fishing-games-features__btn-primary {
  background: var(--sb88-win-btn-gradient);
  color: var(--sb88-win-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games-features__btn-secondary {
  background: var(--sb88-win-card-bg);
  color: var(--sb88-win-gold);
  border: 2px solid var(--sb88-win-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games-features__btn-secondary:hover {
  background: var(--sb88-win-border);
  color: var(--sb88-win-text-main);
  transform: translateY(-2px);
}

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

/* Intro Section */
.page-fishing-games-features__intro-section {
  padding: 60px 0;
  background-color: var(--sb88-win-bg);
}

/* Features Section */
.page-fishing-games-features__features-section {
  padding: 60px 0;
  background-color: var(--sb88-win-deep-green);
}

.page-fishing-games-features__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games-features__feature-card {
  background-color: var(--sb88-win-card-bg);
  border: 1px solid var(--sb88-win-border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  min-height: 450px; /* Ensure cards have enough height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-fishing-games-features__feature-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games-features__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games-features__card-title {
  font-size: 1.5em;
  color: var(--sb88-win-gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games-features__card-description {
  color: var(--sb88-win-text-secondary);
  font-size: 1em;
  text-align: justify;
}

/* Popular Games Section */
.page-fishing-games-features__popular-games-section {
  padding: 60px 0;
  background-color: var(--sb88-win-bg);
}

.page-fishing-games-features__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-fishing-games-features__game-item {
  background-color: var(--sb88-win-card-bg);
  border: 1px solid var(--sb88-win-border);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-fishing-games-features__game-thumbnail {
  width: 100%;
  height: 180px; /* Fixed height for thumbnails */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  min-width: 200px;
  min-height: 180px;
}

.page-fishing-games-features__game-title {
  font-size: 1.4em;
  color: var(--sb88-win-gold);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games-features__game-description {
  color: var(--sb88-win-text-secondary);
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: justify;
}

/* Strategy Section */
.page-fishing-games-features__strategy-section {
  padding: 60px 0;
  background-color: var(--sb88-win-deep-green);
}

.page-fishing-games-features__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-fishing-games-features__strategy-item {
  background-color: var(--sb88-win-card-bg);
  border: 1px solid var(--sb88-win-border);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-fishing-games-features__strategy-item .page-fishing-games-features__card-title {
  font-size: 1.3em;
  color: var(--sb88-win-gold);
  margin-bottom: 10px;
}

.page-fishing-games-features__strategy-item .page-fishing-games-features__card-description {
  color: var(--sb88-win-text-secondary);
  font-size: 0.95em;
  text-align: justify;
}

/* Benefits Section */
.page-fishing-games-features__benefits-section {
  padding: 60px 0;
  background-color: var(--sb88-win-bg);
}

.page-fishing-games-features__dark-section {
  background-color: var(--sb88-win-deep-green);
  color: var(--sb88-win-text-main);
}

.page-fishing-games-features__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-fishing-games-features__benefit-item {
  background-color: var(--sb88-win-card-bg);
  border: 1px solid var(--sb88-win-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games-features__benefit-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  object-fit: contain;
  min-width: 80px;
  min-height: 80px;
}

.page-fishing-games-features__benefit-title {
  font-size: 1.4em;
  color: var(--sb88-win-gold);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games-features__benefit-description {
  color: var(--sb88-win-text-secondary);
  font-size: 0.95em;
  text-align: center;
}

/* How To Start Section */
.page-fishing-games-features__how-to-start-section {
  padding: 60px 0;
  background-color: var(--sb88-win-bg);
}

.page-fishing-games-features__steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-fishing-games-features__step-item {
  background-color: var(--sb88-win-card-bg);
  border: 1px solid var(--sb88-win-border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-fishing-games-features__step-number {
  width: 50px;
  height: 50px;
  background-color: var(--sb88-win-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games-features__step-title {
  font-size: 1.5em;
  color: var(--sb88-win-gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games-features__step-description {
  color: var(--sb88-win-text-secondary);
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: justify;
}

/* FAQ Section */
.page-fishing-games-features__faq-section {
  padding: 60px 0;
  background-color: var(--sb88-win-deep-green);
}

.page-fishing-games-features__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games-features__faq-item {
  background-color: var(--sb88-win-card-bg);
  border: 1px solid var(--sb88-win-border);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  color: var(--sb88-win-text-main);
}

.page-fishing-games-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--sb88-win-gold);
  cursor: pointer;
  background-color: var(--sb88-win-deep-green);
  border-bottom: 1px solid var(--sb88-win-border);
}

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

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

.page-fishing-games-features__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-fishing-games-features__faq-item[open] .page-fishing-games-features__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games-features__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: var(--sb88-win-text-secondary);
  text-align: justify;
  background-color: var(--sb88-win-card-bg);
}

/* CTA Bottom Section */
.page-fishing-games-features__cta-bottom-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--sb88-win-bg);
}

.page-fishing-games-features__cta-bottom-section .page-fishing-games-features__section-title {
  color: var(--sb88-win-gold);
}

.page-fishing-games-features__cta-bottom-section .page-fishing-games-features__text-block {
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Global image rules for content area - min size 200x200px */
.page-fishing-games-features img {
  min-width: 200px;
  min-height: 200px;
  width: auto; /* Default to auto for non-fixed images */
  height: auto; /* Default to auto for non-fixed images */
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games-features__hero-image {
    max-height: 500px;
  }
  .page-fishing-games-features__main-title {
    font-size: clamp(2rem, 5vw + 1rem, 3rem);
  }
  .page-fishing-games-features__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games-features__hero-section {
    padding-bottom: 40px;
  }
  .page-fishing-games-features__hero-image {
    max-height: 400px;
    margin-bottom: 30px;
  }
  .page-fishing-games-features__hero-content {
    padding: 0 15px;
  }
  .page-fishing-games-features__main-title {
    font-size: clamp(1.8rem, 6vw + 1rem, 2.5rem);
  }
  .page-fishing-games-features__hero-description {
    font-size: 1em;
  }
  .page-fishing-games-features__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }
  .page-fishing-games-features__btn-primary,
  .page-fishing-games-features__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-fishing-games-features__container,
  .page-fishing-games-features__feature-grid,
  .page-fishing-games-features__game-list,
  .page-fishing-games-features__strategy-grid,
  .page-fishing-games-features__benefits-list,
  .page-fishing-games-features__steps-list,
  .page-fishing-games-features__faq-list {
    padding: 0 15px;
  }
  .page-fishing-games-features__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-fishing-games-features__text-block {
    font-size: 1em;
  }

  /* Images responsiveness */
  .page-fishing-games-features img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-fishing-games-features__feature-image,
  .page-fishing-games-features__game-thumbnail {
    height: auto; /* Adjust height for mobile */
    max-height: 250px; /* Cap max height for smaller screens */
  }

  /* Card and section containers responsiveness */
  .page-fishing-games-features__section,
  .page-fishing-games-features__card,
  .page-fishing-games-features__container,
  .page-fishing-games-features__hero-section,
  .page-fishing-games-features__intro-section,
  .page-fishing-games-features__features-section,
  .page-fishing-games-features__popular-games-section,
  .page-fishing-games-features__strategy-section,
  .page-fishing-games-features__benefits-section,
  .page-fishing-games-features__how-to-start-section,
  .page-fishing-games-features__faq-section,
  .page-fishing-games-features__cta-bottom-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  .page-fishing-games-features__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-fishing-games-features__feature-card,
  .page-fishing-games-features__game-item,
  .page-fishing-games-features__strategy-item,
  .page-fishing-games-features__benefit-item,
  .page-fishing-games-features__step-item,
  .page-fishing-games-features__faq-item {
    padding: 20px;
  }
  .page-fishing-games-features__card-title,
  .page-fishing-games-features__game-title,
  .page-fishing-games-features__benefit-title,
  .page-fishing-games-features__step-title {
    font-size: 1.3em;
  }
  .page-fishing-games-features__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-fishing-games-features__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games-features__hero-section {
    padding-bottom: 30px;
  }
  .page-fishing-games-features__hero-image {
    max-height: 300px;
    margin-bottom: 20px;
  }
  .page-fishing-games-features__main-title {
    font-size: clamp(1.6rem, 7vw + 1rem, 2rem);
  }
  .page-fishing-games-features__hero-description {
    font-size: 0.9em;
  }
  .page-fishing-games-features__section-title {
    font-size: 1.6em;
    margin-bottom: 25px;
  }
  .page-fishing-games-features__cta-buttons {
    gap: 10px;
  }
  .page-fishing-games-features__feature-card,
  .page-fishing-games-features__game-item,
  .page-fishing-games-features__strategy-item,
  .page-fishing-games-features__benefit-item,
  .page-fishing-games-features__step-item,
  .page-fishing-games-features__faq-item {
    padding: 15px;
  }
  .page-fishing-games-features__card-title,
  .page-fishing-games-features__game-title,
  .page-fishing-games-features__benefit-title,
  .page-fishing-games-features__step-title {
    font-size: 1.2em;
  }
  .page-fishing-games-features__faq-question {
    font-size: 1em;
    padding: 12px;
  }
  .page-fishing-games-features__faq-answer {
    font-size: 0.9em;
    padding: 12px;
  }
}