/* style/fishing-games.css */

/* --- Global Styles for page-fishing-games --- */
.page-fishing-games {
  font-family: 'Arial', sans-serif; /* Example font */
  color: var(--text-main, #FFF6D6); /* Default text color for dark background */
  background-color: var(--bg-dark, #0A0A0A); /* Main background 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: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H2 */
  color: var(--text-main, #FFF6D6);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
  position: relative;
}

.page-fishing-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--glow-color, #FFD36B);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-fishing-games__text-block {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
  color: var(--text-main, #FFF6D6);
}

.page-fishing-games__card-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--text-main, #FFF6D6);
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-fishing-games__card-text {
  font-size: 1rem;
  color: var(--text-main, #FFF6D6);
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play,
.page-fishing-games__btn-details {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure button doesn't overflow */
}

.page-fishing-games__btn-primary {
  background: var(--btn-gradient, linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%));
  color: #111111; /* Dark text on bright button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.3);
}

.page-fishing-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.5);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--glow-color, #FFD36B);
  border: 2px solid var(--glow-color, #FFD36B);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--glow-color, #FFD36B);
  color: #111111;
  transform: translateY(-2px);
}

.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
}

.page-fishing-games__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.8rem, 5vw, 4.5rem); /* Responsive H1 */
  color: var(--text-main, #FFF6D6);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.page-fishing-games__subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--text-main, #FFF6D6);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* --- About Section --- */
.page-fishing-games__about-section {
  padding: 80px 0;
  background-color: var(--bg-dark, #0A0A0A);
}

/* --- Features Section --- */
.page-fishing-games__features-section {
  padding: 80px 0;
  background-color: var(--bg-card, #111111);
}

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

.page-fishing-games__feature-card {
  background-color: var(--bg-card, #111111);
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main, #FFF6D6); /* Ensure light text on dark card backgrounds */
}

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

.page-fishing-games__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px; /* Adjusted to be > 200px */
  min-width: 200px;
  min-height: 150px; /* To maintain aspect ratio with max-width */
  margin: 0 auto 20px;
  display: block;
  border-radius: 8px; /* Slightly rounded corners for images */
  object-fit: cover;
}

/* --- Games Showcase Section --- */
.page-fishing-games__games-showcase {
  padding: 80px 0;
  background-color: var(--bg-dark, #0A0A0A);
}

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

.page-fishing-games__game-card {
  background-color: var(--bg-card, #111111);
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-fishing-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-card .page-fishing-games__card-title {
  margin-top: 20px;
  padding: 0 20px;
}

.page-fishing-games__game-card .page-fishing-games__card-text {
  padding: 0 20px;
  flex-grow: 1; /* Push button to bottom */
}

.page-fishing-games__btn-play {
  background: var(--btn-gradient, linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%));
  color: #111111;
  border: none;
  margin: 20px auto 20px;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 1rem;
  width: calc(100% - 40px); /* Adjust width for padding */
}

.page-fishing-games__btn-play:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-fishing-games__view-all-games {
  margin-top: 60px;
}

/* --- How to Play Section --- */
.page-fishing-games__how-to-play-section {
  padding: 80px 0;
  background-color: var(--bg-card, #111111);
}

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