/* Custom CSS Variables from palette */
:root {
  --Primary-Color: #113B7A;
  --Secondary-Color: #1D5FD1;
  --Button-Gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --Card-BG: #10233F;
  --Text-Main: #F3F8FF;
  --Text-Secondary: #AFC4E8;
  --Border: #244D84;
  --Glow: #4FA8FF;
  --Gold: #F2C14E;
  --Divider: #1B3357;
  --Deep-Navy: #08162B;
  --Deep-Navy-rgb: 8, 22, 43; /* RGB for rgba() usage */
}

/* Base styles for the fishing games page */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--Text-Main); /* Using custom palette: #F3F8FF */
  background-color: var(--Deep-Navy); /* Body background from shared.css is likely dark, use Deep-Navy from palette */
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: var(--Text-Main); /* #F3F8FF */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fishing-games__sub-title {
  font-size: 1.8em;
  color: var(--Text-Main); /* #F3F8FF */
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-fishing-games__intro-text {
  font-size: 1.1em;
  color: var(--Text-Secondary); /* #AFC4E8 */
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
  padding-bottom: 60px;
  background-color: var(--Deep-Navy); /* Match section background */
}

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

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

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  z-index: 1;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 800;
  color: var(--Text-Main); /* #F3F8FF */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__description {
  font-size: 1.2em;
  color: var(--Text-Secondary); /* #AFC4E8 */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Button styles */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play,
.page-fishing-games__btn-learn-more,
.page-fishing-games__btn-view-promo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  width: auto; /* Default to auto width */
}

.page-fishing-games__btn-primary {
  background: var(--Button-Gradient);
  color: var(--Text-Main); /* #F3F8FF */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--Glow); /* #4FA8FF */
  border: 2px solid var(--Glow); /* #4FA8FF */
}

.page-fishing-games__btn-secondary:hover {
  background: var(--Glow); /* #4FA8FF */
  color: var(--Deep-Navy); /* #08162B */
  transform: translateY(-2px);
}

.page-fishing-games__btn-play,
.page-fishing-games__btn-learn-more,
.page-fishing-games__btn-view-promo {
  background: var(--Button-Gradient);
  color: var(--Text-Main); /* #F3F8FF */
  border: none;
  padding: 10px 25px;
  font-size: 1em;
  border-radius: 6px;
}

.page-fishing-games__btn-play:hover,
.page-fishing-games__btn-learn-more:hover,
.page-fishing-games__btn-view-promo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* About Section */
.page-fishing-games__about-section {
  padding: 60px 0;
  background-color: var(--Deep-Navy); /* #08162B */
}

.page-fishing-games__about-section p {
  color: var(--Text-Secondary); /* #AFC4E8 */
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 60px 0;
  background-color: var(--Primary-Color); /* #113B7A */
}

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

.page-fishing-games__feature-card {
  background: var(--Card-BG); /* #10233F */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--Border); /* #244D84 */
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-fishing-games__feature-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small, min 200x200 */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__feature-title {
  font-size: 1.5em;
  color: var(--Text-Main); /* #F3F8FF */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-fishing-games__feature-card p {
  color: var(--Text-Secondary); /* #AFC4E8 */
  font-size: 1em;
  text-align: justify;
}

/* Games Showcase Section */
.page-fishing-games__games-showcase {
  padding: 60px 0;
  background-color: var(--Deep-Navy); /* #08162B */
}

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

.page-fishing-games__game-card {
  background: var(--Card-BG); /* #10233F */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--Border); /* #244D84 */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__game-image {
  width: 100%;
  height: auto;
  max-width: 300px; /* Min size 200px, larger for display */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-fishing-games__game-title {
  font-size: 1.4em;
  color: var(--Text-Main); /* #F3F8FF */
  margin-bottom: 10px;
  font-weight: 700;
}

.page-fishing-games__game-card p {
  color: var(--Text-Secondary); /* #AFC4E8 */
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: justify;
}

.page-fishing-games__basic-guide {
  margin-top: 60px;
  padding: 40px;
  background: var(--Card-BG); /* #10233F */
  border-radius: 12px;
  border: 1px solid var(--Border); /* #244D84 */
  text-align: center;
}

.page-fishing-games__basic-guide p {
  color: var(--Text-Secondary); /* #AFC4E8 */
  font-size: 1.05em;
  margin-bottom: 30px;
  text-align: justify;
}

/* Strategy Section */
.page-fishing-games__strategy-section {
  padding: 60px 0;
  background-color: var(--Primary-Color); /* #113B7A */
}