.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#0a0a0a), so text should be light */
  background-color: transparent; /* Inherit from body or shared.css */
}

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

.page-fishing-games__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  padding-bottom: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
}

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

.page-fishing-games__hero-title {
  font-size: 3.5em;
  color: #FFFF00; /* Use specific color for emphasis */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
}

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

.page-fishing-games__cta-buttons--center {
  margin-top: 40px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

.page-fishing-games__btn-secondary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #005a2e;
  transform: translateY(-2px);
}

.page-fishing-games__text-link {
  color: #FFFF00; /* Highlight important links */
  text-decoration: underline;
}

.page-fishing-games__text-link:hover {
  color: #FFD700;
}

.page-fishing-games__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFFF00; /* Use specific color for emphasis */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__sub-title {
  font-size: 2em;
  margin-top: 50px;
  margin-bottom: 25px;
  color: #FFFF00; /* Use specific color for emphasis */
  text-align: center;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: justify;
  color: #f0f0f0;
}

.page-fishing-games__about-section,
.page-fishing-games__how-to-play,
.page-fishing-games__video-section,
.page-fishing-games__security-section,
.page-fishing-games__cta-final {
  padding: 80px 0;
}

.page-fishing-games__game-showcase,
.page-fishing-games__features-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
}

.page-fishing-games__light-bg {
  background-color: #0a0a0a; /* Ensure dark background for light text */
  color: #ffffff;
}

.page-fishing-games__dark-bg {
  background-color: #017439; /* Brand color as background */
  color: #ffffff;
}

.page-fishing-games__feature-list,
.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-fishing-games__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  line-height: 1.8;
  border-left: 5px solid #FFFF00;
  color: #f0f0f0;
}

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

.page-fishing-games__game-card,
.page-fishing-games__feature-card,
.page-fishing-games__promo-card,
.page-fishing-games__security-item {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly lighter card background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__game-card:hover,
.page-fishing-games__feature-card:hover,
.page-fishing-games__promo-card:hover,
.page-fishing-games__security-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__card-title {
  font-size: 1.6em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-fishing-games__card-description {
  font-size: 1em;
  color: #e0e0e0;
  flex-grow: 1;
}

.page-fishing-games__btn-play {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background-color: #C30808; /* Login/Register button color */
  color: #FFFF00; /* Login/Register font color */
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-play:hover {
  background-color: #a30606;
}

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

.page-fishing-games__step-item {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-fishing-games__step-icon {
  width: 60px;
  height: 60px;
  background-color: #FFFF00;
  color: #017439;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

.page-fishing-games__step-title {
  font-size: 1.8em;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-fishing-games__step-description {
  font-size: 1em;
  color: #e0e0e0;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  width: 100%;
  box-sizing: border-box;
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  max-width: 100%;
  display: block;
  cursor: pointer;
}

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