.page-fishing-games {
  color: var(--text-main);
  background-color: var(--bg-color);
}

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 40px;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin-top: -80px; /* Pull up slightly over the image for visual flow */
  background-color: rgba(17, 39, 27, 0.9); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
}

.page-fishing-games__main-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--text-main);
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-fishing-games__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-fishing-games__cta-button--wide {
  min-width: 250px;
}

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

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

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

.page-fishing-games__about-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__cta-banner {
  padding: 80px 0;
  position: relative;
}

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

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

.page-fishing-games__feature-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
}

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

.page-fishing-games__feature-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-fishing-games__feature-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-fishing-games__games-showcase-section {
  padding: 80px 0;
  background-color: #0A1C14; /* Slightly lighter than BG to create contrast */
}

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

.page-fishing-games__game-card,
.page-fishing-games__promo-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.page-fishing-games__game-card:hover,
.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__game-image,
.page-fishing-games__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-title,
.page-fishing-games__promo-title {
  font-size: 1.4rem;
  color: var(--text-main);
  padding: 20px 20px 10px;
  font-weight: 600;
}

.page-fishing-games__game-description,
.page-fishing-games__promo-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 0 20px 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.page-fishing-games__game-button,
.page-fishing-games__promo-button {
  display: block;
  text-align: center;
  padding: 12px 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0 0 10px 10px;
  transition: background-color 0.3s ease;
}

.page-fishing-games__game-button:hover,
.page-fishing-games__promo-button:hover {
  opacity: 0.9;
}

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

.page-fishing-games__step-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: var(--main-color);
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 0 15px var(--glow-color);
}

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

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

.page-fishing-games__tips-strategies-section {
  padding: 80px 0;
  background-color: #0A1C14;
}

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

.page-fishing-games__tip-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--bg-color);
}

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

.page-fishing-games__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--card-bg);
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(34, 199, 104, 0.1);
}

.page-fishing-games__faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--main-color);
  margin-left: 15px;
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: rgba(34, 199, 104, 0.1);
}

.page-fishing-games__cta-banner {
  text-align: center;
  padding: 60px 0;
}

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

/* Global BEM elements for consistent styling */
.page-fishing-games p {
  color: var(--text-secondary);
}

.page-fishing-games h1,
.page-fishing-games h2,
.page-fishing-games h3,
.page-fishing-games h4,
.page-fishing-games h5,
.page-fishing-games h6 {
  color: var(--text-main);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-fishing-games__hero-content {
    margin-top: -50px;
    padding: 15px;
  }

  .page-fishing-games__main-title {
    font-size: 2rem;
  }

  .page-fishing-games__hero-description {
    font-size: 1rem;
  }

  .page-fishing-games__section-title {
    font-size: 2.2rem;
  }

  .page-fishing-games__text-block {
    font-size: 0.95rem;
  }

  .page-fishing-games__about-section,
  .page-fishing-games__games-showcase-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__tips-strategies-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-banner {
    padding: 50px 0;
  }

  .page-fishing-games__hero-image {
    max-height: 400px;
  }

  /* Images responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__feature-image,
  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Buttons responsiveness */
  .page-fishing-games__cta-button,
  .page-fishing-games__game-button,
  .page-fishing-games__promo-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 1rem;
  }

  .page-fishing-games__cta-button--wide {
    min-width: unset !important;
  }

  .page-fishing-games__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__hero-content {
    margin-left: 15px;
    margin-right: 15px;
    width: calc(100% - 30px);
  }

  .page-fishing-games__game-card,
  .page-fishing-games__promo-card {
    margin-bottom: 20px;
  }

  .page-fishing-games__game-cards-grid,
  .page-fishing-games__promo-cards-grid,
  .page-fishing-games__features-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__tips-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 1.8rem;
  }

  .page-fishing-games__section-title {
    font-size: 1.8rem;
  }

  .page-fishing-games__hero-content {
    margin-top: -30px;
  }
}

/* Fix for details summary toggle */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}