/* style/fishing-games.css */

/* General styles */
.page-fishing-games {
  font-family: Arial, sans-serif;
  color: var(--text-main, #1F2D3D); /* Fallback to custom color if var not defined */
  background-color: var(--background-color, #F4F7FB); /* Fallback to custom color */
  line-height: 1.6;
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-main, #1F2D3D);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-fishing-games__section-title--light {
  color: #ffffff;
}

.page-fishing-games__sub-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-main, #1F2D3D);
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-fishing-games__paragraph {
  font-size: 17px;
  margin-bottom: 25px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main, #1F2D3D);
}

.page-fishing-games__paragraph--light {
  color: #ffffff;
}

.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  max-width: 100%; /* Base for responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

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

.page-fishing-games__btn-secondary:hover {
  background: var(--primary-color, #2F6BFF);
  color: #ffffff;
}

/* Hero Section */
.page-fishing-games__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--background-color, #F4F7FB);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  margin-bottom: 40px;
}

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

.page-fishing-games__hero-content {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.page-fishing-games__hero-title {
  font-size: clamp(32px, 4.5vw, 56px); /* Use clamp for H1 font size */
  font-weight: 800;
  color: var(--text-main, #1F2D3D);
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-fishing-games__hero-description {
  font-size: 20px;
  color: var(--text-main, #1F2D3D);
  margin-bottom: 35px;
}

.page-fishing-games__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* About Section */
.page-fishing-games__about-section {
  padding: 60px 0;
  background-color: #ffffff; /* Card BG for this section for contrast */
}

.page-fishing-games__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-fishing-games__image-text-block-image {
  flex: 1;
  min-width: 400px; /* Ensure image is not too small on desktop */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-fishing-games__text-content {
  flex: 1;
  text-align: left;
}

.page-fishing-games__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-fishing-games__feature-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--text-main, #1F2D3D);
}

.page-fishing-games__feature-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color, #2F6BFF);
  font-weight: bold;
}

/* Games Showcase Section */
.page-fishing-games__games-showcase-section {
  padding: 60px 0;
  background-color: var(--background-color, #F4F7FB);
}

.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-color: var(--card-bg, #FFFFFF);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for cards, object-fit will ensure aspect ratio */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-fishing-games__game-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main, #1F2D3D);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__game-card-description {
  font-size: 15px;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

.page-fishing-games__game-card-btn {
  width: calc(100% - 30px); /* Adjust button width within card */
  margin: 0 15px;
}

/* CTA Section */
.page-fishing-games__cta-section {
  padding: 80px 0;
  background-color: var(--primary-color, #2F6BFF); /* Use primary color for dark section */
  color: #ffffff;
  text-align: center;
}

.page-fishing-games__cta-section .page-fishing-games__container {
  background-color: var(--primary-color, #2F6BFF); /* Ensure container has dark background */
  padding: 40px;
  border-radius: 12px;
}

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}