:root {
  --primary-color: #0A1931;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --border-color: #e0e0e0;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light backgrounds */
  background-color: #f4f4f4; /* From shared.css body, but ensuring consistency */
}

/* 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;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a345e 100%); /* Using primary color in gradient */
  color: var(--text-light);
  padding-top: var(--header-offset, 120px); /* Desktop and mobile offset */
  overflow: hidden; /* Ensure no overflow issues */
}

.page-fishing-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 100%;
  box-sizing: border-box;
}

.page-fishing-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px; /* Constrain content width */
}

.page-fishing-games__main-title {
  font-size: 3em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light); /* Ensure light text on dark background */
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #e0e0e0; /* Slightly off-white for readability */
}

.page-fishing-games__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure group takes full width to manage wrapping */
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure button itself respects max-width */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-fishing-games__btn-primary {
  background: var(--secondary-color); /* Gold button */
  color: var(--primary-color); /* Dark text on gold */
  border: 2px solid var(--secondary-color);
}

.page-fishing-games__btn-primary:hover {
  background: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-fishing-games__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  width: 100%; /* Ensure container takes full width for responsive padding */
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary-color);
}

.page-fishing-games__section-title--light {
  color: var(--text-light); /* For dark background sections */
}

.page-fishing-games__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__paragraph--light {
  color: #e0e0e0; /* Lighter text for dark backgrounds */
}

.page-fishing-games__image-wrapper {
  text-align: center;
  margin: 30px 0;
  max-width: 100%;
  box-sizing: border-box;
}

.page-fishing-games__image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 0 auto; /* Center image */
}

/* Introduction Section */
.page-fishing-games__introduction-section {
  background: var(--bg-light);
  padding: 60px 0;
}

/* Game Types Section */
.page-fishing-games__game-types-section {
  background: var(--primary-color);
  padding: 60px 0;
  color: var(--text-light);
}

.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: #1a345e; /* Slightly lighter dark blue */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-fishing-games__game-card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-fishing-games__game-card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--secondary-color); /* Gold title */
}

.page-fishing-games__game-card-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow description to take available space */
}

/* Guide Section */
.page-fishing-games__guide-section {
  background: var(--bg-light);
  padding: 60px 0;
}

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

.page-fishing-games__guide-step {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-fishing-games__guide-step:hover {
  transform: translateY(-5px);
}

.page-fishing-games__guide-step-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__guide-step-description {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: left;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  background: var(--bg-light);
  padding: 60px 0;
}

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

.page-fishing-games__promo-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-fishing-games__promo-card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-fishing-games__promo-card-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__promo-card-description {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Security Section */
.page-fishing-games__security-section {
  background: var(--primary-color);
  padding: 60px 0;
  color: var(--text-light);
}

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

.page-fishing-games__security-item {
  text-align: center;
  padding: 25px;
  background: #1a345e; /* Darker background for contrast */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__security-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__security-title {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

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

.page-fishing-games__contact-cta {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  background: var(--bg-light);
  padding: 60px 0;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}