:root {
  --page-fishing-games-primary-color: #FF8C1A;
  --page-fishing-games-secondary-color: #FFA53A;
  --page-fishing-games-card-bg: #17191F;
  --page-fishing-games-background: #0D0E12;
  --page-fishing-games-text-main: #FFF3E6;
  --page-fishing-games-border-color: #A84F0C;
  --page-fishing-games-glow-color: #FFB04D;
  --page-fishing-games-deep-orange: #D96800;
}

.page-fishing-games {
  background-color: var(--page-fishing-games-background);
  color: var(--page-fishing-games-text-main); /* Ensure light text on dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.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.5); /* Darken image for text readability */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--page-fishing-games-text-main);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--page-fishing-games-text-main);
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Ensure padding/border included in width */
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, var(--page-fishing-games-secondary-color) 0%, var(--page-fishing-games-deep-orange) 100%);
  color: #ffffff; /* White text for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

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

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

/* Section Titles */
.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--page-fishing-games-text-main);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--page-fishing-games-primary-color), transparent);
  border-radius: 2px;
}

/* About Section */
.page-fishing-games__about-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-card-bg); /* Darker background for about section */
}

.page-fishing-games__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--page-fishing-games-text-main);
}

/* Game Showcase Section */
.page-fishing-games__game-showcase-section {
  padding: 80px 0;
}

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

.page-fishing-games__game-card {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-fishing-games__game-card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-fishing-games__game-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__game-card-title a {
  color: var(--page-fishing-games-primary-color);
  text-decoration: none;
}

.page-fishing-games__game-card-title a:hover {
  text-decoration: underline;
}

.page-fishing-games__game-card-description {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1; /* Allow description to take available space */
}

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

/* Features Section */
.page-fishing-games__features-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-background);
}

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

.page-fishing-games__feature-item {
  background-color: var(--page-fishing-games-card-bg);
  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: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: rgba(255, 140, 26, 0.1); /* Light orange background for icons */
  padding: 10px;
}

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

.page-fishing-games__feature-description {
  font-size: 0.95rem;
  color: #ccc;
}

/* How To Play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-card-bg);
}

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

.page-fishing-games__step-item {
  background-color: var(--page-fishing-games-background);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  counter-increment: step-counter;
  position: relative;
  padding-left: 70px;
}

.page-fishing-games__step-item::before {
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 30px;
  width: 40px;
  height: 40px;
  background: 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.3rem;
  font-weight: 600;
  color: var(--page-fishing-games-primary-color);
  margin-bottom: 10px;
}

.page-fishing-games__step-description {
  font-size: 0.95rem;
  color: #ccc;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
}

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

.page-fishing-games__promo-card {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-fishing-games__promo-card-image {
  width: 100%;
  height: 250px; /* Consistent height for promo images */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-fishing-games__promo-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__promo-card-title a {
  color: var(--page-fishing-games-primary-color);
  text-decoration: none;
}

.page-fishing-games__promo-card-title a:hover {
  text-decoration: underline;
}

.page-fishing-games__promo-card-description {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}


/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-card-bg);
}

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