/* Base styles for the fishing games page */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color from custom palette */
  background-color: var(--deep-navy); /* Body background from shared.css, so main content areas use this */
}

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

.page-fishing-games__section-title {
  font-size: clamp(28px, 4vw, 36px); /* H1 font-size clamp, other titles too */
  color: var(--gold); /* Gold color for main titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-fishing-games__subtitle {
  font-size: clamp(22px, 3vw, 28px);
  color: var(--text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__text-block {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__dark-section {
  background-color: var(--deep-navy);
  color: var(--text-main);
  padding: 60px 0;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  max-width: 100%; /* Ensure buttons don't overflow */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff; /* White text for contrast */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--glow); /* Glow color for secondary text */
  border: 2px solid var(--glow);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--glow);
  color: var(--deep-navy); /* Dark text on glow background */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  width: 100%; /* Button container width */
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  justify-content: center; /* Center buttons by default */
}

.page-fishing-games__cta-buttons--center {
  justify-content: center;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  padding-top: 10px; /* Small top margin, not --header-offset */
  background-color: var(--deep-navy);
  overflow: hidden;
}

.page-fishing-games__hero-image {
  position: relative;
  width: 100%;
  height: 600px; /* Fixed height for desktop hero image */
  overflow: hidden;
}

.page-fishing-games__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover for desktop hero */
  display: block;
}

.page-fishing-games__hero-content {
  position: absolute;
  top: 0; /* Align with image top for absolute positioning */
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: linear-gradient(to top, rgba(8, 22, 43, 0.8) 0%, rgba(8, 22, 43, 0.2) 100%); /* Gradient overlay for text readability */
  z-index: 1; /* Ensure content is above image but not overlapping the image itself */
}

.page-fishing-games__hero-title {
  font-size: clamp(38px, 5vw, 56px); /* H1 title font size */
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 800;
  max-width: 900px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--text-main);
  margin-bottom: 30px;
  max-width: 800px;
}

/* About Section */
.page-fishing-games__about-section {
  padding: 80px 0;
  text-align: center;
}

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

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

.page-fishing-games__feature-card {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.page-fishing-games__feature-card img {
  width: 100%;
  height: 200px; /* Fixed height for feature card images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__feature-title {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-fishing-games__feature-description {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding: 80px 0;
  background-color: var(--deep-navy);
  text-align: center;
}

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

.page-fishing-games__game-card {
  background-color: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  flex-direction: column;
}

.page-fishing-games__game-card img {
  width: 100%;
   /* Fixed height for game card images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-fishing-games__game-title {
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 700;
  flex-grow: 1; /* Allow title to take available space */
}

.page-fishing-games__game-link {
  color: var(--gold);
  text-decoration: none;
}

.page-fishing-games__game-link:hover {
  text-decoration: underline;
  color: var(--glow);
}

.page-fishing-games__game-description {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
  padding: 80px 0;
  background-color: var(--card-bg); /* Use card bg for this section */
}

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

.page-fishing-games__why-choose-item {
  background-color: var(--deep-navy); /* Darker background for items */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-main);
}

.page-fishing-games__why-choose-title {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-fishing-games__why-choose-description {
  font-size: 15px;
  color: var(--text-secondary);
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 0;
  text-align: center;
}

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

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

.page-fishing-games__step-title {
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-fishing-games__step-description {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  background-color: var(--deep-navy);
  text-align: center;
}

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