/* style/fishing-games.css */

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-button-bg: #C30808;
  --login-button-bg: #C30808;
  --button-text-color: #FFFFFF; /* Changed from #FFFF00 for contrast */
  --background-color-light: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #FFFFFF;
  --border-color-light: #e0e0e0;
}

/* Base styles for the page content area */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--background-color-light);
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-color-dark);
}

.page-fishing-games__inline-link {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small decorative top padding */
  background: var(--primary-color);
  color: var(--text-color-light);
  text-align: center;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__hero-content {
  width: 100%;
  max-width: 900px;
}

.page-fishing-games__main-title {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-color-light);
  margin-bottom: 20px;
}

.page-fishing-games__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-color-light);
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-register,
.page-fishing-games__btn-play {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-register {
  background-color: var(--register-button-bg); /* Custom color #C30808 */
  color: var(--button-text-color); /* #FFFFFF for contrast */
  border: 2px solid var(--register-button-bg);
}

.page-fishing-games__btn-primary:hover,
.page-fishing-games__btn-register:hover {
  background-color: #a30606;
  border-color: #a30606;
}

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

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

.page-fishing-games__btn-large {
  padding: 18px 40px;
  font-size: 1.3em;
}

/* Video Section */
.page-fishing-games__video-section {
  padding: 40px 20px;
  background-color: var(--background-color-light);
  color: var(--text-color-dark);
  text-align: center;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Info Section */
.page-fishing-games__info-section {
  padding: 40px 20px;
  background-color: var(--background-color-light);
  color: var(--text-color-dark);
}

.page-fishing-games__info-section p {
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-fishing-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__image-full-width {
  max-width: 100%;
}

/* Benefits Section */
.page-fishing-games__benefits-section {
  padding: 60px 20px;
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

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

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

.page-fishing-games__card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: var(--text-color-light);
}

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

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

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

.page-fishing-games__step-item {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  padding-top: 70px; /* Space for number */
}

.page-fishing-games__step-number {
  position: absolute;
  top: 20px;
  left: 30px;
  background-color: var(--primary-color);
  color: var(--text-color-light);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  font-weight: bold;
}

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

/* Strategy Section */
.page-fishing-games__strategy-section {
  padding: 60px 20px;
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

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

.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__strategy-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__strategy-list h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--text-color-light);
}

.page-fishing-games__strategy-list p {
  color: var(--text-color-light);
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding: 60px 20px;
  background-color: var(--background-color-light);
  color: var(--text-color-dark);
}

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

.page-fishing-games__game-card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

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

.page-fishing-games__game-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__game-card p {
  padding: 0 15px;
  margin-bottom: 20px;
}

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

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

.page-fishing-games__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid var(--border-color-light);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--primary-color);
  cursor: pointer;
  outline: none;
  user-select: none;
}

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

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
}

.page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: var(--text-color-dark);
}

/* Final CTA Section */
.page-fishing-games__cta-section-final {
  padding: 80px 20px;
  background-color: var(--primary-color);
  color: var(--text-color-light);
  text-align: center;
}

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

.page-fishing-games__cta-section-final .page-fishing-games__btn-primary {
  margin-top: 30px;
  margin-bottom: 40px;
}

/* Dark/Light Background Helpers */
.page-fishing-games__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .page-fishing-games__content-area,
  .page-fishing-games__hero-section,
  .page-fishing-games__video-section,
  .page-fishing-games__info-section,
  .page-fishing-games__benefits-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section-final {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-fishing-games__main-title {
    font-size: 1.8em; /* Adjust for mobile readability */
  }

  .page-fishing-games__intro-text {
    font-size: 1em;
  }

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

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

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-register,
  .page-fishing-games__btn-play {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  .page-fishing-games__video-wrapper {
    padding-bottom: 56.25% !important; /* Ensure aspect ratio */
    height: 0 !important;
  }

  .page-fishing-games__video {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
  }

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-fishing-games__image-content,
  .page-fishing-games__game-image {
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-fishing-games__grid-container,
  .page-fishing-games__step-by-step-guide,
  .page-fishing-games__game-list {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__card,
  .page-fishing-games__step-item,
  .page-fishing-games__game-card,
  .page-fishing-games__strategy-list li,
  .page-fishing-games__faq-item {
    padding: 20px !important;
  }

  .page-fishing-games__game-image {
    height: 180px !important; /* Adjust height for smaller screens */
  }
}