/* style/fishing-games.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #ffffff;
  --background-dark: #0d0d0d; /* Assuming a dark body background from shared.css */
  --login-button-color: #EA7C07;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--background-dark); /* Ensure contrast */
}

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

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--secondary-color); /* Light color for dark background */
  font-weight: bold;
}

.page-fishing-games__section-subtitle {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-fishing-games__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-fishing-games__paragraph--small {
  font-size: 0.95em;
  opacity: 0.8;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
}

.page-fishing-games__hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-fishing-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Additional darkening */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  max-width: 800px;
  padding: 20px;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--secondary-color);
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-light);
  opacity: 0.9;
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-fishing-games__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

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

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

.page-fishing-games__btn-login {
  background-color: var(--login-button-color);
  color: var(--secondary-color);
  border: 2px solid var(--login-button-color);
}

.page-fishing-games__btn-login:hover {
  background-color: darken(var(--login-button-color), 10%);
  border-color: darken(var(--login-button-color), 10%);
}

/* Game Showcase Section */
.page-fishing-games__game-showcase-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

.page-fishing-games__game-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly visible card background */
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-card-title {
  font-size: 1.4em;
  padding: 15px 20px 10px;
  color: var(--primary-color);
}

.page-fishing-games__game-card-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-fishing-games__game-card-title a:hover {
  text-decoration: underline;
}

.page-fishing-games__game-card-description {
  font-size: 0.95em;
  padding: 0 20px 15px;
  color: var(--text-light);
  flex-grow: 1;
  opacity: 0.8;
}

.page-fishing-games__game-card-btn {
  margin: 0 20px 20px;
  text-align: center;
  width: calc(100% - 40px);
}

/* How-To-Play Section */
.page-fishing-games__how-to-play-section {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-fishing-games__how-to-play-section .page-fishing-games__section-title,
.page-fishing-games__how-to-play-section .page-fishing-games__section-subtitle {
  color: var(--text-dark);
}

.page-fishing-games__how-to-play-section .page-fishing-games__paragraph {
  color: var(--text-dark);
}

.page-fishing-games__step-by-step {
  text-align: left;
  margin-top: 40px;
}

.page-fishing-games__step-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-fishing-games__ordered-list,
.page-fishing-games__unordered-list {
  list-style-position: inside;
  text-align: left;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-fishing-games__ordered-list li,
.page-fishing-games__unordered-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-fishing-games__ordered-list li a,
.page-fishing-games__unordered-list li a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-fishing-games__ordered-list li a:hover,
.page-fishing-games__unordered-list li a:hover {
  text-decoration: underline;
}

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

/* Promotions Section */
.page-fishing-games__promotions-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-fishing-games__promo-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__promo-card-title {
  font-size: 1.3em;
  padding: 15px 20px 10px;
  color: var(--secondary-color);
}

.page-fishing-games__promo-card-description {
  font-size: 0.9em;
  padding: 0 20px 15px;
  color: var(--text-light);
  flex-grow: 1;
  opacity: 0.9;
}

.page-fishing-games__promo-card-description a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-fishing-games__promo-card-description a:hover {
  text-decoration: none;
}

/* Security Section */
.page-fishing-games__security-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

.page-fishing-games__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-fishing-games__feature-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__feature-description {
  font-size: 0.95em;
  color: var(--text-light);
  opacity: 0.85;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: var(--text-dark);
}

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

.page-fishing-games__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: var(--text-dark);
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
  color: var(--text-dark);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-fishing-games__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  color: var(--text-dark);
  background-color: var(--secondary-color);
  border-top: 1px solid #e0e0e0;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 0;
  color: var(--text-dark);
}

.page-fishing-games__faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-fishing-games__faq-answer a:hover {
  text-decoration: underline;
}

/* CTA Section */
.page-fishing-games__cta-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-fishing-games__cta-section .page-fishing-games__section-title,
.page-fishing-games__cta-section .page-fishing-games__paragraph {
  color: var(--text-light);
}

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

/* General link styling for content areas */
.page-fishing-games__paragraph a,
.page-fishing-games__feature-description a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-fishing-games__paragraph a:hover,
.page-fishing-games__feature-description a:hover {
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.2em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-fishing-games__hero-title {
    font-size: 2.5em;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-login,
  .page-fishing-games__game-card-btn {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__section {
    padding: 40px 15px;
  }

  .page-fishing-games__container {
    padding: 0 10px;
  }

  .page-fishing-games__section-title {
    font-size: 1.8em;
  }

  .page-fishing-games__paragraph {
    font-size: 0.95em;
  }

  .page-fishing-games__game-cards-grid,
  .page-fishing-games__promo-cards-grid,
  .page-fishing-games__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__game-card-image,
  .page-fishing-games__promo-card-image {
    height: 180px;
  }

  .page-fishing-games__game-card-title,
  .page-fishing-games__promo-card-title {
    font-size: 1.2em;
  }

  .page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-fishing-games__faq-answer {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  /* Mobile specific image and container rules */
  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; /* Added in container already */
    /* padding-right: 15px; /* Added in container already */
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 2em;
  }
  .page-fishing-games__hero-description {
    font-size: 0.9em;
  }
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
  .page-fishing-games__step-title {
    font-size: 1.3em;
  }
  .page-fishing-games__faq-question {
    font-size: 0.9em;
  }
}