/* style/fishing-games.css */

/* Base Styles */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: var(--background-color, #FFFFFF);
}

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

.page-fishing-games__container--narrow {
  max-width: 900px;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

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

.page-fishing-games__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.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-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
  z-index: -1;
}

.page-fishing-games__hero-content {
  z-index: 1;
  color: #FFFFFF;
  max-width: 900px;
  padding: 20px;
}

.page-fishing-games__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
  font-size: 1.5em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

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

/* Buttons */
.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.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  width: auto; /* Allow natural width on desktop */
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFFFF; /* White text for contrast with red background */
  border: 2px solid #C30808;
}

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* Section Specific Styles */
.page-fishing-games__dark-section,
.page-fishing-games__dark-bg {
  background-color: #017439;
  color: #FFFFFF;
  padding: 60px 0;
}

.page-fishing-games__dark-section .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: #FFFFFF;
}

.page-fishing-games__dark-section .page-fishing-games__section-title::after,
.page-fishing-games__dark-bg .page-fishing-games__section-title::after {
  background-color: #FFFFFF;
}

.page-fishing-games__introduction-section {
  padding: 60px 0;
}

.page-fishing-games__features-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.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: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

.page-fishing-games__popular-games-section {
  padding: 60px 0;
}

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

.page-fishing-games__game-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__game-thumbnail {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-fishing-games__game-name {
  font-size: 1.6em;
  color: #017439;
  margin: 20px 0 10px;
}

.page-fishing-games__game-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 20px;
}

.page-fishing-games__guide-section {
  padding: 60px 0;
}

.page-fishing-games__guide-list {
  list-style: none;
  counter-reset: guide-step;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__guide-list li {
  position: relative;
  padding-left: 60px;
  margin-bottom: 30px;
}

.page-fishing-games__guide-list li::before {
  counter-increment: guide-step;
  content: "0" counter(guide-step);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #017439;
  color: #FFFFFF;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-fishing-games__guide-step-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
}

.page-fishing-games__text-link {
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
}

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

.page-fishing-games__strategy-section {
  padding: 60px 0;
}

.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__strategy-list li {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #FFFFFF;
  padding: 20px 30px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-fishing-games__strategy-item-title {
  font-size: 1.4em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-fishing-games__promotions-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-fishing-games__promotion-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__promotion-card .page-fishing-games__card-image {
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  margin-bottom: 0;
}

.page-fishing-games__promotion-card .page-fishing-games__card-title {
  margin-top: 20px;
}

.page-fishing-games__promotion-card .page-fishing-games__card-description {
  padding: 0 20px 20px;
}

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

.page-fishing-games__why-choose-section {
  padding: 60px 0;
}

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

.page-fishing-games__why-choose-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__why-choose-item-title {
  font-size: 1.4em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-fishing-games__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}