/* style/fishing-games.css */

:root {
  --page-fishing-games-primary-color: #017439;
  --page-fishing-games-secondary-color: #FFFFFF;
  --page-fishing-games-text-dark: #333333;
  --page-fishing-games-text-light: #FFFFFF;
  --page-fishing-games-register-login-bg: #C30808;
  --page-fishing-games-register-login-text: #FFFF00;
  --page-fishing-games-border-light: #e0e0e0;
}

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

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

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

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

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

.page-fishing-games__link-inline {
  color: var(--page-fishing-games-primary-color);
  text-decoration: underline;
}

.page-fishing-games__link-inline:hover {
  color: darken(var(--page-fishing-games-primary-color), 10%);
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  padding: 120px 0 80px;
  text-align: center;
  background-image: url('[GALLERY:hero_main:1920x1080:fishing,game,underwater,adventure,excitement,188bet]'); /* Placeholder, will be replaced by image loader */
  background-size: cover;
  background-position: center;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-fishing-games__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.page-fishing-games__hero-section .page-fishing-games__container {
  position: relative;
  z-index: 2;
}

.page-fishing-games__hero-title {
  font-size: 3.8em;
  color: var(--page-fishing-games-text-light);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.4em;
  color: var(--page-fishing-games-text-light);
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

/* 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: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: var(--page-fishing-games-register-login-bg);
  color: var(--page-fishing-games-register-login-text);
  border-color: var(--page-fishing-games-register-login-bg);
}

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

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

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

/* General Sections */
.page-fishing-games__intro-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__final-cta {
  padding: 80px 0;
}

.page-fishing-games__features-section,
.page-fishing-games__games-section,
.page-fishing-games__download-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
}

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

.page-fishing-games__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__feature-card .page-fishing-games__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px; /* Adjust as needed */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__card-description {
  font-size: 1em;
  line-height: 1.5;
}

/* How To Play */
.page-fishing-games__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  max-width: 800px;
  margin: 40px auto 0;
}

.page-fishing-games__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  position: relative;
  padding-left: 60px;
}

.page-fishing-games__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-text-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  font-weight: bold;
}

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

.page-fishing-games__step-item p {
  font-size: 1em;
  margin-top: 0;
  color: var(--page-fishing-games-text-dark);
}

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

/* Game Grid */
.page-fishing-games__game-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.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--page-fishing-games-text-light);
}

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

.page-fishing-games__game-card .page-fishing-games__card-title {
  margin: 20px 0 10px;
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__game-card .page-fishing-games__card-description {
  padding: 0 20px 20px;
  color: var(--page-fishing-games-text-light);
}

/* Promotions */
.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto 0;
}

.page-fishing-games__promo-item {
  background-color: var(--page-fishing-games-secondary-color);
  border: 1px solid var(--page-fishing-games-border-light);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: var(--page-fishing-games-text-dark);
}

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

/* Download Section */
.page-fishing-games__download-layout {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-fishing-games__download-content {
  flex: 1;
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__download-content .page-fishing-games__section-title,
.page-fishing-games__download-content .page-fishing-games__section-description {
  text-align: left;
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__download-benefits {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 30px;
  font-size: 1.1em;
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__download-benefits li {
  margin-bottom: 10px;
}

.page-fishing-games__download-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-fishing-games__download-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-fishing-games__download-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* Video Section */
.page-fishing-games__video-section {
  padding: 80px 0;
  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: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

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

/* FAQ Section */
.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-fishing-games__faq-title {
  margin: 0;
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 1em;
  line-height: 1.6;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

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

.page-fishing-games__faq-answer p {
  margin-bottom: 1em;
  color: var(--page-fishing-games-text-light);
}

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

/* Global Image/Video/Button Responsive Rules */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-fishing-games video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-fishing-games__hero-cta-buttons,
.page-fishing-games__download-buttons,
.page-fishing-games__cta-buttons {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Responsiveness */
@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;
  }

  .page-fishing-games__download-layout {
    flex-direction: column;
    text-align: center;
  }

  .page-fishing-games__download-content .page-fishing-games__section-title,
  .page-fishing-games__download-content .page-fishing-games__section-description {
    text-align: center;
  }

  .page-fishing-games__download-benefits {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }

  .page-fishing-games__download-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 80px 0 60px;
    min-height: 450px;
    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;
    padding: 0 15px;
  }

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

  .page-fishing-games__intro-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__final-cta,
  .page-fishing-games__features-section,
  .page-fishing-games__games-section,
  .page-fishing-games__download-section,
  .page-fishing-games__video-section,
  .page-fishing-games__faq-section {
    padding: 60px 0;
  }

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

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

  .page-fishing-games__feature-grid,
  .page-fishing-games__game-grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__step-item {
    padding-left: 50px;
  }

  .page-fishing-games__step-item::before {
    width: 35px;
    height: 35px;
    font-size: 1em;
  }

  .page-fishing-games__promo-item,
  .page-fishing-games__faq-item {
    margin: 0 15px 15px;
  }

  .page-fishing-games__video-wrapper {
    margin: 30px 15px 0;
  }

  /* Force responsive for all images and videos */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__hero-section,
  .page-fishing-games__intro-section,
  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__games-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__download-section,
  .page-fishing-games__video-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__final-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

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

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

  .page-fishing-games__faq-question,
  .page-fishing-games__faq-answer {
    padding-left: 15px;
    padding-right: 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;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 0.9em;
    padding: 10px 15px;
  }
}