/* style/fishing-games.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --background-color-body: #1a1a1a; /* Body background from shared.css */
  --text-color-dark-bg: #FFFFFF;
  --text-color-light-bg: #333333;
  --button-register-bg: #C30808;
  --button-login-bg: #C30808;
  --button-register-text: #FFFF00;
  --button-login-text: #FFFF00;
}

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

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

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

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

.page-fishing-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 3;
  color: var(--text-color-dark-bg);
  max-width: 800px;
}

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

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
}

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

.page-fishing-games__btn-register,
.page-fishing-games__btn-login,
.page-fishing-games__btn-play,
.page-fishing-games__btn-view-all-promos,
.page-fishing-games__btn-contact {
  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: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-fishing-games__btn-register {
  background-color: var(--button-register-bg);
  color: var(--button-register-text);
}

.page-fishing-games__btn-register:hover {
  background-color: #a30707; /* Darker red */
}

.page-fishing-games__btn-login {
  background-color: var(--button-login-bg);
  color: var(--button-login-text);
}

.page-fishing-games__btn-login:hover {
  background-color: #a30707; /* Darker red */
}

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

.page-fishing-games__btn-play:hover {
  background-color: #005a2e;
}

.page-fishing-games__btn-view-all-promos,
.page-fishing-games__btn-contact {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-fishing-games__btn-view-all-promos:hover,
.page-fishing-games__btn-contact:hover {
  background-color: #005a2e;
}

/* General Section Styles */
.page-fishing-games__introduction-section,
.page-fishing-games__features-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__games-showcase-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-fishing-games__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
}

.page-fishing-games__section-title {
  font-size: 2.8em;
  margin-bottom: 25px;
  color: var(--text-color-dark-bg);
}

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

.page-fishing-games__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.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-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-color-dark-bg);
}

.page-fishing-games__feature-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-fishing-games__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--text-color-dark-bg);
}

.page-fishing-games__feature-text {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
}

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

.page-fishing-games__step-item {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: var(--text-color-dark-bg);
}

.page-fishing-games__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
}

.page-fishing-games__step-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: var(--text-color-dark-bg);
}

.page-fishing-games__step-text a {
  color: var(--button-register-text); /* Link color in steps */
  text-decoration: underline;
}

.page-fishing-games__step-text a:hover {
  color: #cccc00; /* Lighter yellow */
}

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

.page-fishing-games__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-color-dark-bg);
}

.page-fishing-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-fishing-games__game-title {
  font-size: 1.8em;
  margin-bottom: 10px;
}

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

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

.page-fishing-games__game-description {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

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

.page-fishing-games__promo-item {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  color: var(--text-color-dark-bg);
}

.page-fishing-games__promo-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--text-color-dark-bg);
}

.page-fishing-games__promo-text {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: var(--text-color-dark-bg);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  font-weight: bold;
  font-size: 1.1em;
  color: var(--text-color-dark-bg);
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-item summary {
  list-style: none;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: rgba(255, 255, 255, 0.7);
}

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

.page-fishing-games__faq-answer a:hover {
  color: #cccccc;
}

/* CTA Section */
.page-fishing-games__cta-section {
  padding-bottom: 100px;
}

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

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

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Re-apply for mobile */
  }
  .page-fishing-games__hero-title {
    font-size: 2.5em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.1em;
  }
  .page-fishing-games__hero-buttons,
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-register,
  .page-fishing-games__btn-login,
  .page-fishing-games__btn-play,
  .page-fishing-games__btn-view-all-promos,
  .page-fishing-games__btn-contact {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__games-showcase-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 60px 0;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-description {
    font-size: 1em;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__games-grid,
  .page-fishing-games__promo-list {
    grid-template-columns: 1fr;
  }

  /* Mobile image responsiveness */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-fishing-games__faq-answer {
    padding: 10px 20px 15px;
  }
}

@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;
  }
}