/* General Styling for the page-fishing-games scope */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--color-text-main, #F2FFF6); /* Default text color, fallback to Text Main custom color */
  background: var(--color-background-primary, #08160F); /* Default background, fallback to Background custom color */
  line-height: 1.6;
  padding-bottom: 50px; /* Ensure space above footer */
}

/* Container for max-width and centering */
.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section Titles */
.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  color: var(--color-text-main, #F2FFF6);
  line-height: 1.2;
}

.page-fishing-games__section-subtitle {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-text-secondary, #A7D9B8);
}

/* Buttons */
.page-fishing-games__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box; /* Include padding in width calculation */
  max-width: 100%; /* Ensure button does not overflow */
}

.page-fishing-games__btn--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button color */
  color: var(--color-text-main, #F2FFF6);
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-fishing-games__btn--primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
  transform: translateY(-2px);
}

.page-fishing-games__btn--secondary {
  background: transparent;
  color: var(--color-text-main, #F2FFF6);
  border: 2px solid var(--color-border, #2E7A4E); /* Custom border color */
}

.page-fishing-games__btn--secondary:hover {
  background: rgba(46, 122, 78, 0.2); /* Lighter version of border color for hover */
  border-color: var(--color-deep-green, #0A4B2C); /* Custom deep green */
  transform: translateY(-2px);
}

.page-fishing-games__btn--small {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
}

.page-fishing-games__btn--text {
  background: none;
  border: none;
  color: var(--color-glow, #57E38D); /* Custom Glow color */
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
}

.page-fishing-games__btn--text:hover {
  color: var(--color-gold, #F2C14E); /* Custom Gold color */
  text-decoration: none;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* Image above content */
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, relying on body padding-top from shared.css */
  margin-bottom: 60px;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for desktop */
  overflow: hidden;
  position: relative;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the wrapper area */
  display: block;
}

.page-fishing-games__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  position: relative; /* Ensure content is above other elements if any */
  z-index: 1;
}

.page-fishing-games__hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--color-text-main, #F2FFF6);
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--color-text-secondary, #A7D9B8);
}

.page-fishing-games__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 500px; /* Max width for button group */
  margin: 0 auto;
}

/* Intro Section */
.page-fishing-games__intro-section {
  margin-bottom: 60px;
}

.page-fishing-games__content-block {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--color-text-secondary, #A7D9B8);
}

.page-fishing-games__content-block p {
  margin-bottom: 20px;
}

.page-fishing-games__content-block p strong {
  color: var(--color-text-main, #F2FFF6);
}

/* Games Showcase Section */
.page-fishing-games__games-showcase-section {
  margin-bottom: 60px;
}

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

.page-fishing-games__game-card {
  background: var(--color-card-bg, #11271B); /* Custom Card BG color */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-height: 200px; /* Min size constraint */
}

.page-fishing-games__game-card-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text-main, #F2FFF6);
  margin-bottom: 10px;
}

.page-fishing-games__game-card-description {
  font-size: 16px;
  color: var(--color-text-secondary, #A7D9B8);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Guide Section */
.page-fishing-games__guide-section {
  margin-bottom: 60px;
}

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

.page-fishing-games__step-item {
  background: var(--color-card-bg, #11271B); /* Custom Card BG color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button color */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text-main, #F2FFF6);
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(17, 168, 78, 0.3);
}

.page-fishing-games__step-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text-main, #F2FFF6);
  margin-bottom: 15px;
}

.page-fishing-games__step-description {
  font-size: 16px;
  color: var(--color-text-secondary, #A7D9B8);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__guide-footer-text {
  text-align: center;
  font-size: 17px;
  color: var(--color-text-secondary, #A7D9B8);
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__guide-footer-text strong {
  color: var(--color-text-main, #F2FFF6);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  margin-bottom: 60px;
}

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

.page-fishing-games__promo-card {
  background: var(--color-card-bg, #11271B); /* Custom Card BG color */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__promo-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-height: 200px; /* Min size constraint */
}

.page-fishing-games__promo-card-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text-main, #F2FFF6);
  padding: 20px 25px 10px;
}

.page-fishing-games__promo-card-description {
  font-size: 16px;
  color: var(--color-text-secondary, #A7D9B8);
  padding: 0 25px 20px;
  flex-grow: 1;
}

.page-fishing-games__promo-card .page-fishing-games__btn {
  margin: 0 25px 25px;
  align-self: flex-start;
}

.page-fishing-games__all-promos-cta {
  text-align: center;
  margin-top: 40px;
}

/* Features Section */
.page-fishing-games__features-section {
  margin-bottom: 60px;
}

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

.page-fishing-games__feature-item {
  background: var(--color-card-bg, #11271B); /* Custom Card BG color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__feature-icon {
  width: 200px; /* Set display width as per requirement */
  height: 200px; /* Set display height as per requirement */
  object-fit: contain;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  min-width: 200px; /* Min size constraint */
  min-height: 200px; /* Min size constraint */
}

.page-fishing-games__feature-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text-main, #F2FFF6);
  margin-bottom: 15px;
}

.page-fishing-games__feature-description {
  font-size: 16px;
  color: var(--color-text-secondary, #A7D9B8);
}

/* Strategies Section */
.page-fishing-games__strategies-section {
  margin-bottom: 60px;
}

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

.page-fishing-games__strategy-item {
  background: var(--color-card-bg, #11271B); /* Custom Card BG color */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__strategy-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text-main, #F2FFF6);
  margin-bottom: 15px;
}

.page-fishing-games__strategy-description {
  font-size: 16px;
  color: var(--color-text-secondary, #A7D9B8);
}

/* FAQ Section */
.page-fishing-games__faq-section {
  margin-bottom: 60px;
}

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