/* Base styles for the fishing-games page */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--deep-navy);
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--gold);
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

/* Hero Section */
.page-fishing-games__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 50px;
  position: relative;
  overflow: hidden;
  color: var(--text-main);
  background: var(--card-bg);
}

.page-fishing-games__hero-content-wrapper {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 0 15px;
}

.page-fishing-games__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.page-fishing-games__hero-text-block {
  text-align: center;
  max-width: 800px;
}

.page-fishing-games__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--gold);
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-fishing-games__intro-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play,
.page-fishing-games__btn-view-promo {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: 2px solid #2B73F6;
}

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

.page-fishing-games__btn-primary--large {
  padding: 18px 40px;
  font-size: 20px;
}

.page-fishing-games__btn-secondary {
  background: #ffffff;
  color: var(--main-color);
  border: 2px solid var(--main-color);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--main-color);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-play,
.page-fishing-games__btn-view-promo {
  background: var(--gold);
  color: var(--deep-navy);
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 30px;
}

.page-fishing-games__btn-play:hover,
.page-fishing-games__btn-view-promo:hover {
  background: #e0b03d;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* About Section */
.page-fishing-games__about-section {
  padding: 80px 0;
  background-color: var(--deep-navy);
  color: var(--text-secondary);
}

.page-fishing-games__about-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 17px;
}

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

.page-fishing-games__feature-item {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-10px);
}

.page-fishing-games__feature-item img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  width: 100%;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-fishing-games__feature-item h3 {
  font-size: 24px;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__feature-item p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 0;
  background-color: var(--deep-navy);
  color: var(--text-secondary);
}

.page-fishing-games__how-to-play-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 17px;
}

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 50px;
  counter-reset: step-counter;
}

.page-fishing-games__steps-list li {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid var(--glow-color);
  position: relative;
}

.page-fishing-games__steps-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--gold);
  color: var(--deep-navy);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__steps-list li h3 {
  font-size: 22px;
  color: var(--text-main);
  margin-top: 0;
  margin-bottom: 10px;
  padding-left: 35px;
}

.page-fishing-games__steps-list li p {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: left;
  margin-bottom: 0;
  padding-left: 35px;
}

.page-fishing-games__steps-list li a {
  color: var(--glow-color);
  text-decoration: underline;
}

.page-fishing-games__steps-list li a:hover {
  color: #fff;
}