/* style/fishing-games.css */

/* Custom Properties for brand colors */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-button-bg: #C30808;
  --login-button-bg: #C30808;
  --register-login-font-color: #FFFF00;
  --default-text-color: #333333;
  --default-bg-color: #FFFFFF;
  --light-gray-bg: #f9f9f9;
  --border-color: #e0e0e0;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--default-text-color); /* Default text color for light body background */
  background-color: var(--default-bg-color); /* Body background is default white */
}

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

/* HERO Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, var(--primary-color), #000000); /* Darker gradient for contrast */
  color: var(--secondary-color);
  overflow: hidden; /* Prevent content overflow */
}

.page-fishing-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1; /* Ensure content is above background effects if any */
}

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 100%; /* Ensure image container doesn't overflow */
  overflow: hidden;
}

.page-fishing-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-fishing-games__hero-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-fishing-games__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  min-width: 180px; /* Ensure minimum width for buttons */
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__cta-button--register {
  background: var(--register-button-bg);
  color: var(--register-login-font-color);
  border: 2px solid var(--register-login-font-color);
}

.page-fishing-games__cta-button--register:hover {
  background: #a10707;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-button--login {
  background: var(--login-button-bg);
  color: var(--register-login-font-color);
  border: 2px solid var(--register-login-font-color);
}

.page-fishing-games__cta-button--login:hover {
  background: #a10707;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-button--play,
.page-fishing-games__cta-button--promotions {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-fishing-games__cta-button--play:hover,
.page-fishing-games__cta-button--promotions:hover {
    background: #005a2e;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}


/* General Section Styles */
.page-fishing-games__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  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: var(--primary-color);
  border-radius: 2px;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--default-text-color);
}

.page-fishing-games__introduction-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__security-support-section {
  padding: 80px 0;
  background-color: var(--default-bg-color);
}

.page-fishing-games__dark-section {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 80px 0;
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
  color: var(--secondary-color);
}

.page-fishing-games__dark-section .page-fishing-games__section-title::after {
  background-color: var(--secondary-color);
}

.page-fishing-games__dark-section .page-fishing-games__text-block {
  color: #f0f0f0;
}

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

/* Image Grid */
.page-fishing-games__image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.page-fishing-games__image-grid img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

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

.page-fishing-games__feature-card {
  background: rgba(255, 255, 255, 0.1); /* Light background for contrast on dark section */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--secondary-color);
}

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

.page-fishing-games__feature-card img {
  width: 100%;
  max-width: 400px; /* Max width for images in cards */
  height: auto;
  min-height: 200px; /* Minimum image size */
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-fishing-games__feature-card p {
  font-size: 1em;
  color: #f0f0f0;
}

/* How To Play Steps */
.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__step-item {
  background: var(--default-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.page-fishing-games__step-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__step-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-fishing-games__step-item p {
  font-size: 1.05em;
  color: var(--default-text-color);
}

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

.page-fishing-games__promo-card {
  background: rgba(255, 255, 255, 0.1); /* Light background for contrast on dark section */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--secondary-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-fishing-games__promo-card img {
  width: 100%;
  max-width: 400px;
  height: auto;
  min-height: 200px; /* Minimum image size */
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-fishing-games__promo-card h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-fishing-games__promo-card p {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1; /* Allow paragraph to take available space */
}

.page-fishing-games__button-small {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95em;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid var(--secondary-color);
}

.page-fishing-games__button-small:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Security & Support */
.page-fishing-games__content-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-fishing-games__text-content {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__image-content {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-fishing-games__image-content img {
  width: 100%;
  height: auto;
  min-height: 200px; /* Minimum image size */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-fishing-games__contact-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-fishing-games__contact-buttons .page-fishing-games__button-small {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-fishing-games__contact-buttons .page-fishing-games__button-small:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--light-gray-bg);
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}
}