/* style/fishing-games.css */

/* Variables and Base Styles */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f9f9f9;
  --background-dark: #26A9E0;
  --border-color: #e0e0e0;
  --button-login-color: #EA7C07; /* Custom color for login/register type buttons */
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark); /* Default text color for light background */
  background-color: var(--background-light); /* Assuming shared.css sets a light body background */
}

/* Ensure body padding-top is handled by shared.css or hero section */
.page-fishing-games__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-fishing-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__section-title {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-fishing-games__section-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
  color: #555555;
}

.page-fishing-games__text-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-fishing-games__text-link:hover {
  color: #1a7bb2; /* Darker shade of primary */
  text-decoration: underline;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Padding for content below image */
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); /* Brand colors gradient */
}

.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;
  overflow: hidden; /* Ensure image doesn't overflow */
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-color-light); /* Light text on potentially dark/gradient background */
}

.page-fishing-games__hero-title {
  font-size: 48px;
  margin-bottom: 15px;
  color: var(--text-color-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__hero-description {
  font-size: 20px;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: var(--text-color-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-login-color); /* Custom login color */
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word breaking */
}

.page-fishing-games__cta-button:hover {
  background: #d66f07; /* Slightly darker orange */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-button--secondary {
  background: var(--primary-color);
}

.page-fishing-games__cta-button--secondary:hover {
  background: #1a7bb2; /* Darker shade of primary */
}

.page-fishing-games__cta-button--centered {
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-width: 300px; /* Limit width for centered button */
  margin-top: 40px;
}

.page-fishing-games__cta-button--large {
  padding: 18px 50px;
  font-size: 20px;
}

/* Overview Section */
.page-fishing-games__overview {
  background-color: var(--background-light);
}

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

.page-fishing-games__image-text-block p {
  font-size: 17px;
  color: #444444;
  line-height: 1.7;
}

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

/* Game Types Section */
.page-fishing-games__game-types {
  background-color: #f0f8ff; /* Light blue tint */
}

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

.page-fishing-games__card {
  background: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-fishing-games__card-title {
  font-size: 22px;
  color: var(--primary-color);
  margin: 20px 20px 10px 20px;
  font-weight: bold;
}

.page-fishing-games__card-text {
  font-size: 16px;
  color: #666666;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-fishing-games__card-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  margin: 0 20px 20px 20px;
  transition: background-color 0.3s ease;
  align-self: flex-start;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__card-button:hover {
  background: #1a7bb2;
}

/* Guide Section */
.page-fishing-games__guide {
  background-color: var(--background-light);
}

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

.page-fishing-games__step-item {
  background: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__step-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__step-item p {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary:hover {
  background: #1a7bb2;
}

.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: transparent;
  color: var(--primary-color);
  text-decoration: none;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-color-light);
}

/* Promotions Section */
.page-fishing-games__promotions {
  background-color: var(--background-dark); /* Using primary color as dark background */
  color: var(--text-color-light); /* Light text for dark background */
}

.page-fishing-games__promotions .page-fishing-games__section-title,
.page-fishing-games__promotions .page-fishing-games__section-description {
  color: var(--text-color-light);
}

.page-fishing-games__promotions .page-fishing-games__text-link {
  color: var(--secondary-color);
}

.page-fishing-games__promotions .page-fishing-games__text-link:hover {
  color: #cccccc;
}

.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: rgba(255, 255, 255, 0.15); /* Semi-transparent white on dark background */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.25);
}

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